| Summary: | Request to enable CentOS Stream 9 as a supported build host for Yocto Scarthgap | ||
|---|---|---|---|
| Product: | [Build System, Metadata & Runtime] BitBake | Reporter: | Alessandro Quirile <alessandro.quirile> |
| Component: | bitbake | Assignee: | Yoann Congal <yoann.congal> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | Medium+ | CC: | antonin.godard, paul, poky.bs.watcher, poky.watcher, randy.macleod, yoann.congal |
| Version: | unspecified | ||
| Target Milestone: | 5.0.17 | ||
| Hardware: | x86 | ||
| OS: | Multiple | ||
| See Also: | https://bugzilla.yoctoproject.org/show_bug.cgi?id=16143 | ||
| Whiteboard: | |||
| OS type for building Yocto: | --- | Type of Regression: | --- |
| Verified: | Documentation change: | Yes (doc changes required) | |
|
Description
Alessandro Quirile
2026-02-03 09:15:06 UTC
Hi Alessandro, We do support AlmaLinux 9 and Rocky Linux 9 for scarthgap, these are similar to CentOS Stream 9 so I expect that a build should probably work. Are you seeing any specific issues or failures? We'll discuss whether we can extend our testing to include CentOS Stream 9 for Scarthgap. Thanks! Hello Paul, Thanks for your feedback. I tried building core-image-minimal, but I am hitting several failures in the build (all during do_recipe_qa for multiple native recipes). The full log is available here: https://friendpaste.com/1Z90Gl1rv8p2GMEujgL1Ga The build stops with repeated errors like this: ERROR: texinfo-dummy-native-1.0-r0 do_recipe_qa: zstd: can't stat 8 : No such file or directory tar: Child returned status 1 This happens consistently across several native recipes (texinfo-dummy-native, gettext-minimal-native, quilt-native, m4-native, libtool-native, autoconf-native, automake-native, xz-native, etc.). I’m not applying any custom layers or modifications: this is a clean Scarthgap checkout. Let me know if you need additional information or if I can help with further testing on CentOS Stream 9. Thanks! Hi Alessandro, I have a few questions to help us narrow down the issue. I'll also run some tests on Stream 9 on our autobuilder if I can. Do you have any modifications in site.conf or local.conf? Do you know of any relevant changes to the CentOS Stream 9 config, e.g. selinux profile, etc? Are the system packages up-to-date? Have you previously had successful builds with Scarthgap on this system? If so, do you know if the issues started with a system package upgrade or by updating the Yocto layers? Do you see the same issues if you use the latest commit on the scarthgap branch (d50e4680ed6f930582d907b37c9ed545a89f5c27 in poky)? Sorry, I pasted the OE-core commit.... the latest commit in poky is 353491479086e8d3f209d5cce0019a29e143b064 which I think you're already using based on the build log you shared. Hello Paul, I do not have any relevant modifications in poky/build/conf/local.conf file (see: https://friendpaste.com/iQmqYjJuEQYxTFLuwJuEM) My system packages are all up-to-date. I do not know any relevant changes to the CentOS Stream 9 config, e.g. selinux profile. I have never had previous succesful builds with Scarthgap on this system. Thank you. We'll try Centos Stream 9 builds on the YP autobuilder and if that works, we *may* add it to the supported list and documentation but we may need help to get this supported if there are problems. Thank you. Just let me know whether this platform will be supported or not Do you have any idea about the time this activity is going to take? Hi Alessandro, We have an upcoming release build for Scarthgap 5.0.16, once that is built we will enable Scarthgap builds on the stream9 worker and run some testing. Hopefully this will allow us to declare compatibility with Scarthgap in the 5.0.17 release in March. Note: #16143 "AB-INT: do_image_wic: tar command return exit status 2" will most likely be seen on scarthgap/stream9 (In reply to Yoann Congal from comment #10) > Note: #16143 "AB-INT: do_image_wic: tar command return exit status 2" will > most likely be seen on scarthgap/stream9 Those are now fixed on scarthgap. I've sent a patch to start testing: [yocto-autobuilder2][PATCH] config: add stream9 to scarthgap worker list https://lore.kernel.org/yocto-patches/20260306124952.402090-1-yoann.congal@smile.fr/T/#u Commits merged: * config: add stream9 to scarthgap worker list * https://git.yoctoproject.org/yocto-autobuilder2/commit/?id=89448317a64e78c1add79f744ab69aed708dc4dc * poky.conf: add Centos Stream 9 to SANITY_TESTED_DISTROS * https://git.yoctoproject.org/meta-yocto/commit/?h=scarthgap&id=f87e76ef6bd6745038616876af07c6a74b49f8c9 Left to do: documentation: Stream9 should appear here: https://docs.yoctoproject.org/scarthgap/ref-manual/system-requirements.html#supported-linux-distributions (In reply to Yoann Congal from comment #12) > Left to do: documentation: Stream9 should appear here: > https://docs.yoctoproject.org/scarthgap/ref-manual/system-requirements.html#supported-linux-distributions Antonin already sent it a few days ago: [scarthgap][PATCH RESEND] ref-manual/system-requirements.rst: add CentOS Stream 9 to supported distros https://lore.kernel.org/yocto-docs/20260320-centos-stream-9-scarthgap-v1-1-601d01ce86e0@bootlin.com/T/#u Doc merged as https://git.yoctoproject.org/yocto-docs/commit/?h=scarthgap&id=aa7226705451e6c1ef964d49963bbed29b267c27 (5.0.17) (In reply to Yoann Congal from comment #14) > Doc merged as > https://git.yoctoproject.org/yocto-docs/commit/ > ?h=scarthgap&id=aa7226705451e6c1ef964d49963bbed29b267c27 (5.0.17) Thank you. (In reply to Yoann Congal from comment #14) > Doc merged as > https://git.yoctoproject.org/yocto-docs/commit/ > ?h=scarthgap&id=aa7226705451e6c1ef964d49963bbed29b267c27 (5.0.17) I ran git pull command on my poky/ repository, but I am still facing this warning "WARNING: Host distribution "centos-9" has not been validated with this version of the build system; you may possibly experience unexpected failures. It is recommended that you use a tested distribution." This is happening when I run bitbake core-image-minimal. Build Configuration: BB_VERSION = "2.8.1" BUILD_SYS = "x86_64-linux" NATIVELSBSTRING = "centos-9" TARGET_SYS = "x86_64-poky-linux" MACHINE = "qemux86-64" DISTRO = "poky" DISTRO_VERSION = "5.0.17" TUNE_FEATURES = "m64 core2" TARGET_FPU = "" meta meta-poky meta-yocto-bsp = "my-scarthgap:cb2dcb4963e5fbe449f1bcb019eae883ddecc8ec" How is that? (In reply to Alessandro Quirile from comment #16) > I ran git pull command on my poky/ repository, but I am still facing this > warning "WARNING: Host distribution "centos-9" has not been validated with > this version of the build system; you may possibly experience unexpected > failures. It is recommended that you use a tested distribution." > > This is happening when I run bitbake core-image-minimal. > > Build Configuration: > BB_VERSION = "2.8.1" > BUILD_SYS = "x86_64-linux" > NATIVELSBSTRING = "centos-9" > TARGET_SYS = "x86_64-poky-linux" > MACHINE = "qemux86-64" > DISTRO = "poky" > DISTRO_VERSION = "5.0.17" > TUNE_FEATURES = "m64 core2" > TARGET_FPU = "" > meta > meta-poky > meta-yocto-bsp = > "my-scarthgap:cb2dcb4963e5fbe449f1bcb019eae883ddecc8ec" > > How is that? There was a mistake made when adding the LSB string in the poky.conf distro configuration file. It can be fixed by applying patch [1]. I expect it to be fixed soon on the scarthgap branch. [1]: https://lore.kernel.org/r/20260408114639.453987-2-antonin.godard@bootlin.com I guess you will need these 2 patches (I will add them to the next scarthgap review cycle): * poky: Fix CentOS Stream 9 distro name - meta-yocto - Yocto Project integration layers (Poky distro configuration, reference hardware BSPs) https://git.yoctoproject.org/meta-yocto/commit/?id=2ed5aa3ac9eb7082b2534f12fb6b2f7fc3dc4bee * scripts/yocto-supported-distros: fix the centos stream regular expression - yocto-autobuilder-helper - Decoupled release build scripts https://git.yoctoproject.org/yocto-autobuilder-helper/commit/?h=whinlatter&id=175c16ca5807c8d6285ccdac08e2e2a50dc056dd In the meantime, you can apply the meta-yocto one to your tree: poky: Fix CentOS Stream distro names https://git.yoctoproject.org/meta-yocto-contrib/commit/?h=stable/scarthgap-nut&id=0845965f1d81d22d47dcf28c525c7463fafe5245 (reopening this bug until the above fixes are merged) |