Hi,

I'm working on master oe core master branch and run into problem with file for 
nativesdk (buildtools tarball).
File started to use MAGIC variable initialized from 
.../environment-setup.d/file.sh, like

/usr/local/oe-sdk-hardcoded-buildpath/sysroots/x86_64-xesdk-linux/usr/share/misc/magic.mgc

This path relocation does not covered by relocate_sdk.sh script.

Commit that change behavior from wrapper that use relative path to environment 
variable with absolute path is:

commit 47db876d09d9a4394048579c21d0b394450ce681
Author: Chen Qi <qi.c...@windriver.com>
Date:   Tue Jan 17 12:06:30 2023 +0800

    file: export MAGIC in SDK

    Previously, a wrapper is used for file, which adds '--magic-file'
    option to it. But other components might use libmagic and in such
    case, if there's no MAGIC environent variable set correctly, things
    do not work. For example, rpmbuild makes use of libmagic and it
    requries MAGIC to be set correctly.

    Signed-off-by: Chen Qi <qi.c...@windriver.com>
    Signed-off-by: Luca Ceresoli <luca.ceres...@bootlin.com>
    Signed-off-by: Richard Purdie <richard.pur...@linuxfoundation.org>


I would like to ask if anybody else has such an issue. Any propositions other 
than reverting commit?

Regards,
Oleksiy
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#60348): https://lists.yoctoproject.org/g/yocto/message/60348
Mute This Topic: https://lists.yoctoproject.org/mt/99626082/21656
Group Owner: yocto+ow...@lists.yoctoproject.org
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to