Created attachment 5038 [details] Re-export OECORE_NATIVE_SYSROOT in the SDK's main environment file Reproduction: 1. Install the Poky external SDK. 2. Source the environment file. 3. Run oe-find-native-sysroot for any component, for instance zlib-native. > $ oe-find-native-sysroot zlib-native > Error: Unable to locate bitbake command. > Did you forget to source the build environment setup script? OECORE_NATIVE_SYSROOT is correctly set up and exported in the SDK's environment file. But it's then unset in buildtools/environment-setup-*. The value is then restored in the SDK's environment file but not exported again. This was tested with the following SDKs: - poky-glibc-x86_64-core-image-sato-core2-64-qemux86-64-toolchain-ext-4.0.17.sh - poky-glibc-x86_64-core-image-sato-core2-64-qemux86-64-toolchain-ext-4.3.3.sh
Gauthier, Can you please send the patch to the openembedded-core@lists.openembedded.org mailing list.
Hi Tim, Sure I will do that. I just need to read the contribution guidelines first. Thanks!
Bump to M2. Any news Gauthier? Do you need help with the work or the process?
Hi Randy, I'm very busy with the project I'm working on. We're close to the final delivery, so I had to put this ticket aside to focus on higher priority tasks. I hope I should be able to move forward in the coming weeks. I'm really sorry for the delay. Cheers
Gauthier, No worries. Thanks for the update.
I finally sent the patch to the mailing list: https://lists.openembedded.org/g/openembedded-core/topic/patch/106905435. Thanks for your patience. Cheers
https://git.openembedded.org/openembedded-core/commit/?id=825c996b7995d3ad510933b1a88229831ca5ea29