[yocto] Yocto 2.7: SSTATEPOSTUNPACKFUNCS_remove not working

Wolfgang Tolkien w at tolkien.email
Wed May 29 15:37:02 PDT 2019


Thanks,

not sure I follow: 'SSTATEPOSTUNPACKFUNCS_remove' is not valid any more and previously only worked because there was a bug?

Also, what about running bitbake-dumpsig on the task sigdata and finding a line containing

"_remove of" (and nothing else)


That doesn't seem quite right...

Cheers,
Wolfgang




‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐
On Wednesday, May 29, 2019 2:27 PM, Richard Purdie <richard.purdie at linuxfoundation.org> wrote:

> 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