Hello Maxime, On Tue, 20 Jun 2023 17:36:40 -0400 Maxime Roussin-Bélanger <[email protected]> wrote:
> From: Maxime Roussin-Belanger <[email protected]> > > Directory tree doesn't contain the correct structure when packaging > for source files for the sdk. Since the structure is incorrect, > they won't be part of the installed sdk. > > Having source files in nativesdk is necessary when using it as a > development sysroot for debugging. Otherwise, when debugging in an > emulation mode it's impossible to step in 3rd party library code. > > Signed-off-by: Maxime Roussin-Belanger <[email protected]> These errors appeared when testing on the autobuilders with your patch applied. I'm not totally sure this patch is the cause for all of them, but it looks like the most likely cause. Some errors appear as: ERROR: nativesdk-libgcc-13.1.1-r0 do_package: Error executing a ... python function in exec_func_python() autogenerated: Exception: Exception: KeyError: 'getpwuid(): uid not found: 6000' Path ./package/usr/local/oe-sdk-hardcoded-buildpath/sysroots/x86_64-pokysdk-linux/usr/src/debug/nativesdk-libgcc/13.1.1-r0/gcc/gcov-io.cc is owned by uid 6000, gid 6000, which doesn't match any user/group on target. This may be due to host contamination. NOTE: recipe nativesdk-libgcc-13.1.1-r0: task do_package: Failed Here are some logs: https://autobuilder.yoctoproject.org/typhoon/#/builders/20/builds/7737/steps/12/logs/stdio https://autobuilder.yoctoproject.org/typhoon/#/builders/20/builds/7737/steps/15/logs/stdio https://autobuilder.yoctoproject.org/typhoon/#/builders/37/builds/7356/steps/12/logs/stdio Others come in this form: ERROR: buildtools-tarball-1.0-r0 do_testsdk: The toolchain /home/pokybuild/yocto-worker/buildtools/build/build/tmp/deploy/sdk/x86_64-buildtools-nativesdk-standalone-4.2.sh is not built. Build it before running the tests: 'bitbake <image> -c populate_sdk' . Some logs for this are: https://autobuilder.yoctoproject.org/typhoon/#/builders/20/builds/7737/steps/13/logs/stdio https://autobuilder.yoctoproject.org/typhoon/#/builders/37/builds/7356/steps/13/logs/stdio Luca -- Luca Ceresoli, Bootlin Embedded Linux and Kernel engineering https://bootlin.com
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#183233): https://lists.openembedded.org/g/openembedded-core/message/183233 Mute This Topic: https://lists.openembedded.org/mt/99664905/21656 Group Owner: [email protected] Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
