[yocto] Yocto 2.7: SSTATEPOSTUNPACKFUNCS_remove not working

Richard Purdie richard.purdie at linuxfoundation.org
Wed May 29 14:27:43 PDT 2019


On Wed, 2019-05-29 at 21:17 +0000, Wolfgang Tolkien wrote:
> Hi there,
> 
> I'm upgrading from Yocto 2.5  to 2.7. I have a recipe that (for
> legacy reasons) builds a 32bit "-native" executable. I am disabling
> uninative by setting
> 
> SSTATEPOSTUNPACKFUNCS_remove = "uninative_changeinterp"
> 
> This worked well with Yocto 2.5, but with Yocto 2.7 I'm getting 
> 
> ERROR: When reparsing virtual:native:my-32bit-
> recipe_1.0.bb.do_populate_sysroot, the basehash value changed from
> <before> to <after>
> ERROR: When reparsing virtual:native:my-32bit-
> recipe_1.0.bb.do_populate_lic, the basehash value changed from
> <before> to <after>
> ERROR: my-32bit-recipe-native-1.0-r0 do_populate_sysroot: Taskhash
> mismatch <hash1> versus <hash2> for virtual:native:my-32bit-
> recipe_1.0.bb.do_populate_sysroot
> [... lots of these...]

I suspect the reason this appeared is a bugfix in bitbake:

http://git.yoctoproject.org/cgit.cgi/poky/commit/bitbake?id=f7f5e30667e1ad8e1ca76ee331be2843f2976bfa

which means this removal is now correctly being accounted for in the
checksum. In your particularly case you were relying on the bug :(

Cheers,

Richard





More information about the yocto mailing list