From: Luca Ceresoli <luca.ceresoli@bootlin.com>
To: "Maxime Roussin-Bélanger" <maxime.roussinbelanger@gmail.com>
Cc: openembedded-core@lists.openembedded.org
Subject: Re: [OE-core] [PATCH] package: fix src packaging path for nativesdk
Date: Thu, 22 Jun 2023 11:34:28 +0200 [thread overview]
Message-ID: <20230622113428.5551d875@booty> (raw)
In-Reply-To: <20230620213640.2050758-1-maxime.roussinbelanger@gmail.com>
Hello Maxime,
On Tue, 20 Jun 2023 17:36:40 -0400
Maxime Roussin-Bélanger <maxime.roussinbelanger@gmail.com> wrote:
> From: Maxime Roussin-Belanger <maxime.roussinbelanger@gmail.com>
>
> 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 <maxime.roussinbelanger@gmail.com>
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
prev parent reply other threads:[~2023-06-22 9:34 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-06-20 21:36 [PATCH] package: fix src packaging path for nativesdk Maxime Roussin-Bélanger
2023-06-22 9:34 ` Luca Ceresoli [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20230622113428.5551d875@booty \
--to=luca.ceresoli@bootlin.com \
--cc=maxime.roussinbelanger@gmail.com \
--cc=openembedded-core@lists.openembedded.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox