* Re: [oe-commits] Khem Raj : lib/oe/sstatesig.py: Exclude git-native from sstate checksum
[not found] <20120717095159.1190C10333@opal>
@ 2012-07-20 7:45 ` Martin Jansa
0 siblings, 0 replies; only message in thread
From: Martin Jansa @ 2012-07-20 7:45 UTC (permalink / raw)
To: openembedded-core; +Cc: openembedded-commits
[-- Attachment #1: Type: text/plain, Size: 4553 bytes --]
On Tue, Jul 17, 2012 at 09:51:57AM +0000, git@git.openembedded.org wrote:
> Module: openembedded-core.git
> Branch: master
> Commit: 72cc3df204c4b838cc0358a7ac989adfdd5c1760
> URL: http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=72cc3df204c4b838cc0358a7ac989adfdd5c1760
>
> Author: Khem Raj <raj.khem@gmail.com>
> Date: Mon Jul 9 12:31:38 2012 -0700
>
> lib/oe/sstatesig.py: Exclude git-native from sstate checksum
>
> gcc exposed this issue where cross gcc recipes were not having
> same task checksums as libgcc or gcc-runtime the target recipes
> which use same shared workdir and it was triggering the unpack
> fetch and patch tasks to reexecute and hence the trouble
>
> Now that we have more than 1 package to consider lets combine
> the check
>
> Thanks RP for help and this is on the line of patch
> 793ce6cd9aa632e0f13789c8293770a86085d28d
>
> Signed-off-by: Khem Raj <raj.khem@gmail.com>
> Signed-off-by: Saul Wold <sgw@linux.intel.com>
> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
I still see this behavior with latest oe-core
Complete cooker.log + do_compile error:
http://build.shr-project.org/tests/jama/gcc-parallel-unpack/
interesting part from cooker.log (stripped eglibc tasks between)
NOTE: package gcc-crosssdk-initial-4.7.1.0+git1+d07e24f4ab59f264d68d21838795349faab5dede-r7: task do_compile: Started
NOTE: Running task 608 of 5331 (ID: 1559, /OE/shr-core/openembedded-core/meta/recipes-devtools/gcc/gcc-crosssdk-intermediate_4.7.bb, do_rm_old_works)
NOTE: package gcc-crosssdk-intermediate-4.7.1.0+git1+d07e24f4ab59f264d68d21838795349faab5dede-r7: task do_rm_old_works: Started
NOTE: package gcc-crosssdk-intermediate-4.7.1.0+git1+d07e24f4ab59f264d68d21838795349faab5dede-r7: task do_rm_old_works: Succeeded
NOTE: Running task 610 of 5331 (ID: 1554, /OE/shr-core/openembedded-core/meta/recipes-devtools/gcc/gcc-crosssdk-intermediate_4.7.bb, do_unpack)
NOTE: package gcc-crosssdk-intermediate-4.7.1.0+git1+d07e24f4ab59f264d68d21838795349faab5dede-r7: task do_unpack: Started
ERROR: Function failed: do_compile (see /OE/shr-core/tmp-eglibc/work/i686-oesdk-linux/gcc-crosssdk-initial/gcc-crosssdk-initial-4.7.1.0+git1+d07e24f4ab59f264d68d21838795349faab5dede-r7/temp/log.do_compile.19681 for further information)
NOTE: package gcc-crosssdk-initial-4.7.1.0+git1+d07e24f4ab59f264d68d21838795349faab5dede-r7: task do_compile: Failed
ERROR: Task 4532 (/OE/shr-core/openembedded-core/meta/recipes-devtools/gcc/gcc-crosssdk-initial_4.7.bb, do_compile) failed with exit code '1'
NOTE: package gcc-crosssdk-intermediate-4.7.1.0+git1+d07e24f4ab59f264d68d21838795349faab5dede-r7: task do_unpack: Succeeded
NOTE: Running task 614 of 5331 (ID: 1555, /OE/shr-core/openembedded-core/meta/recipes-devtools/gcc/gcc-crosssdk-intermediate_4.7.bb, do_patch)
NOTE: package gcc-crosssdk-intermediate-4.7.1.0+git1+d07e24f4ab59f264d68d21838795349faab5dede-r7: task do_patch: Started
NOTE: Running task 627 of 5331 (ID: 529, /OE/shr-core/openembedded-core/meta/recipes-devtools/gcc/gcc-crosssdk_4.7.bb, do_rm_old_works)
NOTE: package gcc-crosssdk-intermediate-4.7.1.0+git1+d07e24f4ab59f264d68d21838795349faab5dede-r7: task do_patch: Succeeded
Maybe it's caused by rm_old_works.bbclass..
Cheers,
>
> ---
>
> meta/lib/oe/sstatesig.py | 6 ++----
> 1 files changed, 2 insertions(+), 4 deletions(-)
>
> diff --git a/meta/lib/oe/sstatesig.py b/meta/lib/oe/sstatesig.py
> index 4cd1221..20d94b2 100644
> --- a/meta/lib/oe/sstatesig.py
> +++ b/meta/lib/oe/sstatesig.py
> @@ -17,10 +17,8 @@ def sstate_rundepfilter(siggen, fn, recipename, task, dep, depname, dataCache):
> return True
>
> # Quilt (patch application) changing isn't likely to affect anything
> - if depname == "quilt-native" and recipename != "quilt-native":
> - return False
> - # Subversion also isn't likely to affect anything
> - if depname == "subversion-native" and recipename != "subversion-native":
> + excludelist = ['quilt-native', 'subversion-native', 'git-native']
> + if depname in excludelist and recipename != depname:
> return False
>
> # Don't change native/cross/nativesdk recipe dependencies any further
>
>
> _______________________________________________
> Openembedded-commits mailing list
> Openembedded-commits@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-commits
--
Martin 'JaMa' Jansa jabber: Martin.Jansa@gmail.com
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 205 bytes --]
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2012-07-20 7:57 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <20120717095159.1190C10333@opal>
2012-07-20 7:45 ` [oe-commits] Khem Raj : lib/oe/sstatesig.py: Exclude git-native from sstate checksum Martin Jansa
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox