Patchwork [bitbake-devel] bitbake cache broken today

login
register
mail settings
Submitter Martin Jansa
Date Feb. 6, 2013, 11:30 p.m.
Message ID <20130206233031.GG3271@jama>
Download mbox | patch
Permalink /patch/44227/
State Not Applicable, archived
Headers show

Comments

Martin Jansa - Feb. 6, 2013, 11:30 p.m.
Very likely by this patch:
cooker/utils: Drop custom 'interactive' variables list and store environment in BB_ORIGENV instead
http://git.openembedded.org/bitbake/commit/?id=0a99563a4ea270594fd9a61da46f9387fb79dc66

$ bitbake -p > test1.cache
$ bitbake -p > test2.cache

$ grep "^Parsing of" test*
test1.cache:Parsing of 773 .bb files complete (0 cached, 773 parsed). 1079 targets, 43 skipped, 0 masked, 0 errors.
test2.cache:Parsing of 773 .bb files complete (0 cached, 773 parsed). 1079 targets, 43 skipped, 0 masked, 0 errors.
Richard Purdie - Feb. 7, 2013, 11:57 p.m.
On Thu, 2013-02-07 at 00:30 +0100, Martin Jansa wrote:
> Very likely by this patch:
> cooker/utils: Drop custom 'interactive' variables list and store environment in BB_ORIGENV instead
> http://git.openembedded.org/bitbake/commit/?id=0a99563a4ea270594fd9a61da46f9387fb79dc66
> 
> $ bitbake -p > test1.cache
> $ bitbake -p > test2.cache
> 
> $ grep "^Parsing of" test*
> test1.cache:Parsing of 773 .bb files complete (0 cached, 773 parsed). 1079 targets, 43 skipped, 0 masked, 0 errors.
> test2.cache:Parsing of 773 .bb files complete (0 cached, 773 parsed). 1079 targets, 43 skipped, 0 masked, 0 errors.

Thanks for reporting, this is fixed in master of OE-Core. We've been
able to spring clean some of the environment handling although we still
have too many hard-coded lists for my liking.

Cheers,

Richard

Patch

--- test1.cache 2013-02-07 00:15:50.930868804 +0100
+++ test2.cache 2013-02-07 00:14:32.044865976 +0100
@@ -4804,7 +4804,7 @@ 
     else:
         oe.path.remove(stfile + ".*")
         oe.path.remove(stfile + "_setscene" + ".*")
-', 'PREFERRED_PROVIDER_virtual/arm-oe-linux-gnueabi-compilerlibs': 'gcc-runtime', 'BB_ORIGENV': <bb.data_smart.DataSmart object at 0x19d6150>, 'BUILDHISTORY_DIR_IMAGE': '${BUILDHISTORY_DIR}/images/${MACHINE_ARCH}/${TCLIBC}/${IMAGE_BASENAME}', 'preferred_ml_updates': 'def preferred_ml_updates(d):
+', 'PREFERRED_PROVIDER_virtual/arm-oe-linux-gnueabi-compilerlibs': 'gcc-runtime', 'BB_ORIGENV': <bb.data_smart.DataSmart object at 0x35e9590>, 'BUILDHISTORY_DIR_IMAGE': '${BUILDHISTORY_DIR}/images/${MACHINE_ARCH}/${TCLIBC}/${IMAGE_BASENAME}', 'preferred_ml_updates': 'def preferred_ml_updates(d):
     # If any PREFERRED_PROVIDER or PREFERRED_VERSIONS are set,
     # we need to mirror these variables in the multilib case;
     # likewise the PNBLACKLIST flags.