Message ID | 20250317200926.3247948-1-yoann.congal@smile.fr |
---|---|
State | New |
Headers | show |
Series | [yocto-autobuilder2] config: Ban Ubuntu 20.04 from running "reproducible-meta-oe" | expand |
On Mon, Mar 17, 2025 at 1:09 PM Yoann Congal <yoann.congal@smile.fr> wrote: > > From: Yoann Congal <yoann.congal@smile.fr> > > Ubuntu 20.04 lacks a g++ recent enough to build nodejs. Nodejs builds a > native C++ program using std=g++20 which is not supported in Ubuntu > 20.04 g++ (9.4). > > For example, see these AB runs: > * https://autobuilder.yoctoproject.org/valkyrie/#/builders/87/builds/33/steps/32/logs/stdio > * https://autobuilder.yoctoproject.org/valkyrie/#/builders/87/builds/36/steps/32/logs/stdio > Note, these logs show the nodejs failure but not the reason (I > reproduced locally to get it). > > Link: https://lists.openembedded.org/g/openembedded-devel/topic/111740469 > Cc: Khem Raj <raj.khem@gmail.com> > Signed-off-by: Yoann Congal <yoann.congal@smile.fr> > --- > config.py | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/config.py b/config.py > index 74c7c0a..8fb34d1 100644 > --- a/config.py > +++ b/config.py > @@ -236,6 +236,8 @@ builder_to_workers = { > # Have gitstats and gnuplot > "metrics-gitstats": ["ubuntu2404-vk-2", "ubuntu2404-vk-3", "ubuntu2410-vk-1"], > "toaster": workers_toaster, > + # Ban Ubuntu 20.04 from trying "reproducible-meta-oe" (lacks a g++ recent enough (std=g++20) to build nodejs) > + "reproducible-meta-oe": [worker for worker in workers if not worker.startswith("ubuntu2004-")], Another option would be to ask for buildtools tarball to be used. I think that might be a slightly better option going forward. > "default": workers > } >
diff --git a/config.py b/config.py index 74c7c0a..8fb34d1 100644 --- a/config.py +++ b/config.py @@ -236,6 +236,8 @@ builder_to_workers = { # Have gitstats and gnuplot "metrics-gitstats": ["ubuntu2404-vk-2", "ubuntu2404-vk-3", "ubuntu2410-vk-1"], "toaster": workers_toaster, + # Ban Ubuntu 20.04 from trying "reproducible-meta-oe" (lacks a g++ recent enough (std=g++20) to build nodejs) + "reproducible-meta-oe": [worker for worker in workers if not worker.startswith("ubuntu2004-")], "default": workers }