I think it hasn’t been noticed because openembedded-core doesn't build `file` in buildtools-tarball.
To reproduce the error, you need to do the following: 1. Download openembedded-core and bitbake, source init script 2. Add nativesdk-file to TOOLCHAIN_HOST_TASK, e.g. add the following line to conf/local.conf: TOOLCHAIN_HOST_TASK:append = " nativesdk-file" 3. Run `bitbake buildtools-tarball` 4. Install buildtools: `tmp-glibc/deploy/sdk/x86_64-buildtools-nativesdk-standalone-nodistro.0.sh -y -d $buildtools_install_dir` 5. Same as (1) but in a different empty directory (first one built the buildtools, this one will use them) 6. Source the script provided by buildtools, e.g.: `source $buildtools_install_dir/environment-setup-x86_64-oesdk-linux` 7. Run `bitbake quilt-native` You should get the following error: ERROR: quilt-native-0.67-r0 do_populate_sysroot: Fatal errors occurred in subprocesses: Command '['file', '-b', '/path/to/openembedded-core/build/tmp-glibc/work/x86_64-linux/quilt-native/0.67-r0/sysroot-destdir/path/to/openembedded-core/build/tmp-glibc/work/x86_64-linux/quilt-native/0.67-r0/recipe-sysroot-native/usr/bin/quilt']' returned non-zero exit status 1. The same error is repeated for each invocation of `file` in do_populate_sysroot Regards, Oleksandr From: Alexander Kanavin <alex.kana...@gmail.com> Sent: Tuesday, June 27, 2023 7:46 PM To: Oleksandr Hnatiuk -X (ohnatiuk - GLOBALLOGIC INC at Cisco) <ohnat...@cisco.com> Cc: yocto@lists.yoctoproject.org <yocto@lists.yoctoproject.org> Subject: Re: [yocto] File magic/sdk relocation Before we think of a solution, can you provide steps or a test case where the issue can be seen? It’s in one of the most important tasks, so I’d like to know why it hasn’t been a problem and what is the scenario where it is. Alex
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#60495): https://lists.yoctoproject.org/g/yocto/message/60495 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] -=-=-=-=-=-=-=-=-=-=-=-