On Fri, 21 Apr 2023 at 08:54, Alexander Kanavin via lists.openembedded.org <alex.kanavin=gmail....@lists.openembedded.org> wrote: > > > Thank you, I understand this now. I'm fine with the fix, but can you > > > add this additional information to the commit message? So that it's > > > available in git history if anyone needs to understand it. > > > > I think there is something additional we need to do. If the path > > compiled into perl breaks when it is installed from sstate, we should > > make sure this path is *always* incorrect. That way things will work or > > fail deterministicly. > > That's right. I'll take a look at what happens inside perl, finding > the correct place to patch can be tricky.
I have a patch for this now, which I'll take into testing: --- a/meta/recipes-devtools/perl/perl_5.36.0.bb +++ b/meta/recipes-devtools/perl/perl_5.36.0.bb @@ -109,6 +109,10 @@ do_configure:class-native() { -Ui_xlocale \ -Alddlflags=' ${LDFLAGS}' \ ${PACKAGECONFIG_CONFARGS} + + # This prevents leakage of build paths into perl-native binaries, which + # causes non-deterministic troubles when those paths no longer exist or aren't accessible. + sed -i -e "s,${STAGING_LIBDIR},/completelyboguspath,g" config.h } do_configure:append() { Alex
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#180282): https://lists.openembedded.org/g/openembedded-core/message/180282 Mute This Topic: https://lists.openembedded.org/mt/98383506/21656 Group Owner: openembedded-core+ow...@lists.openembedded.org Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-