From: "Mathieu Dubois-Briand" <mathieu.dubois-briand@bootlin.com>
To: <twoerner@gmail.com>, <openembedded-core@lists.openembedded.org>
Subject: Re: [OE-core] [PATCH] ruby: scrub build host paths from rbconfig.rb in every class
Date: Thu, 06 Aug 2026 08:10:45 +0200 [thread overview]
Message-ID: <DKHMZ0CQ9GFM.3BVI3AS9841HO@bootlin.com> (raw)
In-Reply-To: <20260805070009.3498678-1-twoerner@gmail.com>
On Wed Aug 5, 2026 at 9:00 AM CEST, Trevor Woerner via lists.openembedded.org wrote:
> rbconfig.rb records the full configure invocation, which contains the
> recipe sysroot, the hosttools directory and the debug prefix map, all of
> them paths on the machine that did the build. The recipe removes them,
> but only for class-target, so a nativesdk build ships them.
>
> Nothing noticed because nativesdk-ruby has not been installed into an
> SDK before. Doing so fails do_package_qa outright:
>
> QA Issue: File .../rbconfig.rb in package nativesdk-ruby contains
> reference to TMPDIR [buildpaths]
>
> Drop the class-target restriction so the same scrubbing runs whatever
> class is being built. The variables it substitutes are defined for every
> class, and for a target build the result is byte for byte what it was.
>
> AI-Generated: codex/claude-opus 5 (xhigh)
> Signed-off-by: Trevor Woerner <twoerner@gmail.com>
> ---
Hi Trevor,
It looks like this is breaking webkitgtk build:
ERROR: webkitgtk-2.52.5-r0 do_configure: Execution of '/srv/pokybuild/yocto-worker/qemux86-world/build/build/tmp/work/x86-64-v3-poky-linux/webkitgtk/2.52.5/temp/run.do_configure.610119' failed with exit code 1
...
| -- Using source list file: inspector/remote/SourcesGLib.txt
| /srv/pokybuild/yocto-worker/qemux86-world/build/build/tmp/work/x86-64-v3-poky-linux/webkitgtk/2.52.5/recipe-sysroot-native/usr/lib/ruby/4.0.0/did_you_mean/core_ext/name_error.rb:11: warning: getoptlong is not part of the default gems since Ruby 3.4.0. Install getoptlong from RubyGems.
| /srv/pokybuild/yocto-worker/qemux86-world/build/build/tmp/work/x86-64-v3-poky-linux/webkitgtk/2.52.5/build/WTF/Scripts/generate-unified-source-bundles.rb:27:in 'Kernel#require': cannot load such file -- getoptlong (LoadError)
| from /srv/pokybuild/yocto-worker/qemux86-world/build/build/tmp/work/x86-64-v3-poky-linux/webkitgtk/2.52.5/build/WTF/Scripts/generate-unified-source-bundles.rb:27:in '<main>'
| CMake Error at Source/cmake/WebKitMacros.cmake:30 (message):
| generate-unified-source-bundles.rb exited with non-zero status, exiting
| Call Stack (most recent call first):
| Source/JavaScriptCore/CMakeLists.txt:1719 (WEBKIT_COMPUTE_SOURCES)
|
|
| -- Configuring incomplete, errors occurred!
| WARNING: exit code 1 from a shell command.
NOTE: recipe webkitgtk-2.52.5-r0: task do_configure: Failed
NOTE: recipe lib32-xf86-video-vmware-2_13.4.0-r0: task do_package: Started
ERROR: Task (/srv/pokybuild/yocto-worker/qemux86-world/build/layers/openembedded-core/meta/recipes-sato/webkit/webkitgtk_2.52.5.bb:do_configure) failed with exit code '1'
https://autobuilder.yoctoproject.org/valkyrie/#/builders/59/builds/4346
Can you have a look at the issue?
Thanks,
Mathieu
--
Mathieu Dubois-Briand, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
prev parent reply other threads:[~2026-08-06 6:11 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-08-05 7:00 [PATCH] ruby: scrub build host paths from rbconfig.rb in every class Trevor Woerner
2026-08-06 6:10 ` Mathieu Dubois-Briand [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=DKHMZ0CQ9GFM.3BVI3AS9841HO@bootlin.com \
--to=mathieu.dubois-briand@bootlin.com \
--cc=openembedded-core@lists.openembedded.org \
--cc=twoerner@gmail.com \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.