On Fri, 2022-01-14 at 11:12 -0600, Joshua Watt wrote: > Native task outputs are directly run on the target (host) system after > being built. Even if the output of a native recipe doesn't change, a > change in one of its dependencies may cause a change in the output it > generates (e.g. rpm output depends on the output of its dependent zstd > library). > > This can cause poor interactions with hash equivalence, since this > recipes output-changing dependency is "hidden" and downstream task only > see that this recipe has the same outhash and therefore is equivalent. > This can result in different output in different cases. > > To resolve this, unhide the output-changing dependency by adding it's > unihash to this tasks outhash calculation. Unfortunately, don't know > specifically know which dependencies are output-changing, so we have to > add all of them. > > [YOCTO #14685] > > Signed-off-by: Joshua Watt <jpewhac...@gmail.com> > --- > meta/classes/native.bbclass | 31 +++++++++++++++++++++++++++++++ > meta/lib/oe/sstatesig.py | 10 +++++++--- > 2 files changed, 38 insertions(+), 3 deletions(-)
Thanks for this. I know it was an RFC but after testing over the weekend and doing some checks of my own, I've merged it. I think it is the correct solution and we don't have any other good option to fix the issue which is breaking builds on the autobuilder. Cheers, Richard
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#160641): https://lists.openembedded.org/g/openembedded-core/message/160641 Mute This Topic: https://lists.openembedded.org/mt/88425608/21656 Group Owner: openembedded-core+ow...@lists.openembedded.org Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-