On Sun, 2023-07-23 at 14:03 +0200, Alexander Kanavin wrote: > On Fri, 21 Jul 2023 at 19:11, Oleksandr Hnatiuk via > lists.yoctoproject.org <ohnatiuk=cisco....@lists.yoctoproject.org> > wrote: > > > > On Mon, Jun 19, 2023 at 08:27 PM, Alexander Kanavin wrote: > > > > On closer look, it should even say: > > export MAGIC="\$OECORE_NATIVE_SYSROOT/usr/share/misc/magic.mgc" > > > > Hi Alexander, > > > > We have submitted the patch[1] which fixes the build for our case but > > doesn't change the contents of file.sh which is a separate issue. > > You suggested changing MAGIC to > > "\$OECORE_NATIVE_SYSROOT/usr/share/misc/magic.mgc". > > We can also get the same result with "${datadir}/misc/magic.mgc" which is > > what was used for create_cmdline_wrapper in this recipe. > > Which one is preferred? > > I don't have a preference. If both options work, there's clearly more > sdk relocation magic in various places than I thought was happening, > so I would pick the option that is less likely to quietly regress, but > right now I can't say which one that would be.
Personally, I'd really like to patch libmagic to move the path to it's own section, then we can use the relocation technique we use with gcc to change the patch and most of these issues go away... Cheers, Richard
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#60647): https://lists.yoctoproject.org/g/yocto/message/60647 Mute This Topic: https://lists.yoctoproject.org/mt/99626082/21656 Group Owner: yocto+ow...@lists.yoctoproject.org Unsubscribe: https://lists.yoctoproject.org/g/yocto/leave/6691583/21656/737036229/xyzzy [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-