<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugzilla.yoctoproject.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugzilla.yoctoproject.org/"
          
          maintainer="it-coreprojects-helpdesk@linuxfoundation.org"
>

    <bug>
          <bug_id>16156</bug_id>
          
          <creation_ts>2026-02-03 09:15:06 +0000</creation_ts>
          <short_desc>Request to enable CentOS Stream 9 as a supported build host for Yocto Scarthgap</short_desc>
          <delta_ts>2026-04-17 13:17:44 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>7</classification_id>
          <classification>Build System, Metadata &amp; Runtime</classification>
          <product>BitBake</product>
          <component>bitbake</component>
          <version>unspecified</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          <see_also>https://bugzilla.yoctoproject.org/show_bug.cgi?id=16143</see_also>
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>Medium+</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>5.0.17</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Alessandro Quirile">alessandro.quirile</reporter>
          <assigned_to name="Yoann Congal">yoann.congal</assigned_to>
          <cc>antonin.godard</cc>
    
    <cc>paul</cc>
    
    <cc>poky.bs.watcher</cc>
    
    <cc>poky.watcher</cc>
    
    <cc>randy.macleod</cc>
    
    <cc>yoann.congal</cc>
          
          
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>Yes (doc changes required)</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>104137</commentid>
    <comment_count>0</comment_count>
    <who name="Alessandro Quirile">alessandro.quirile</who>
    <bug_when>2026-02-03 09:15:06 +0000</bug_when>
    <thetext>We would like to request support for using CentOS Stream 9 as a valid build host for Yocto Project Scarthgap.

At the moment, Scarthgap does not officially support CentOS Stream 9 as a host distribution (see: https://docs.yoctoproject.org/5.0.15/ref-manual/system-requirements.html#supported-linux-distributions). This prevents our development team from running the Yocto build system in our standard corporate Linux environment, where CentOS Stream 9 is the (only) approved platform.

Expected outcome: official inclusion of CentOS Stream 9 in the list of supported host distributions.

Below is the system kernel information, with any sensitive identifiers removed: Linux &lt;redacted-hostname&gt; 5.14.0-598.el9.x86_64 #1 SMP PREEMPT_DYNAMIC Tue Jul 8 16:37:49 UTC 2025 x86_64 x86_64 x86_64 GNU/Linux</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>104140</commentid>
    <comment_count>1</comment_count>
    <who name="Paul Barker">paul</who>
    <bug_when>2026-02-03 13:22:05 +0000</bug_when>
    <thetext>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&apos;ll discuss whether we can extend our testing to include CentOS Stream 9 for Scarthgap.

Thanks!</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>104141</commentid>
    <comment_count>2</comment_count>
    <who name="Alessandro Quirile">alessandro.quirile</who>
    <bug_when>2026-02-03 13:39:59 +0000</bug_when>
    <thetext>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&apos;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!</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>104154</commentid>
    <comment_count>3</comment_count>
    <who name="Paul Barker">paul</who>
    <bug_when>2026-02-05 09:27:26 +0000</bug_when>
    <thetext>Hi Alessandro,

I have a few questions to help us narrow down the issue. I&apos;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)?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>104155</commentid>
    <comment_count>4</comment_count>
    <who name="Paul Barker">paul</who>
    <bug_when>2026-02-05 09:31:09 +0000</bug_when>
    <thetext>Sorry, I pasted the OE-core commit.... the latest commit in poky is 353491479086e8d3f209d5cce0019a29e143b064 which I think you&apos;re already using based on the build log you shared.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>104156</commentid>
    <comment_count>5</comment_count>
    <who name="Alessandro Quirile">alessandro.quirile</who>
    <bug_when>2026-02-05 11:43:32 +0000</bug_when>
    <thetext>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.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>104164</commentid>
    <comment_count>6</comment_count>
    <who name="Randy MacLeod">randy.macleod</who>
    <bug_when>2026-02-05 15:46:01 +0000</bug_when>
    <thetext>We&apos;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.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>104193</commentid>
    <comment_count>7</comment_count>
    <who name="Alessandro Quirile">alessandro.quirile</who>
    <bug_when>2026-02-09 08:34:55 +0000</bug_when>
    <thetext>Thank you. Just let me know whether this platform will be supported or not</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>104198</commentid>
    <comment_count>8</comment_count>
    <who name="Alessandro Quirile">alessandro.quirile</who>
    <bug_when>2026-02-09 10:30:49 +0000</bug_when>
    <thetext>Do you have any idea about the time this activity is going to take?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>104233</commentid>
    <comment_count>9</comment_count>
    <who name="Paul Barker">paul</who>
    <bug_when>2026-02-11 16:16:58 +0000</bug_when>
    <thetext>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.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>104241</commentid>
    <comment_count>10</comment_count>
    <who name="Yoann Congal">yoann.congal</who>
    <bug_when>2026-02-12 09:05:48 +0000</bug_when>
    <thetext>Note: #16143 &quot;AB-INT: do_image_wic: tar command return exit status 2&quot; will most likely be seen on scarthgap/stream9</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>104550</commentid>
    <comment_count>11</comment_count>
    <who name="Yoann Congal">yoann.congal</who>
    <bug_when>2026-03-06 12:54:42 +0000</bug_when>
    <thetext>(In reply to Yoann Congal from comment #10)
&gt; Note: #16143 &quot;AB-INT: do_image_wic: tar command return exit status 2&quot; will
&gt; most likely be seen on scarthgap/stream9

Those are now fixed on scarthgap.

I&apos;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</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>104821</commentid>
    <comment_count>12</comment_count>
    <who name="Yoann Congal">yoann.congal</who>
    <bug_when>2026-03-26 13:58:56 +0000</bug_when>
    <thetext>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&amp;id=f87e76ef6bd6745038616876af07c6a74b49f8c9

Left to do: documentation: Stream9 should appear here: https://docs.yoctoproject.org/scarthgap/ref-manual/system-requirements.html#supported-linux-distributions</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>104839</commentid>
    <comment_count>13</comment_count>
    <who name="Yoann Congal">yoann.congal</who>
    <bug_when>2026-03-26 15:48:22 +0000</bug_when>
    <thetext>(In reply to Yoann Congal from comment #12)
&gt; Left to do: documentation: Stream9 should appear here:
&gt; 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</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>105116</commentid>
    <comment_count>14</comment_count>
    <who name="Yoann Congal">yoann.congal</who>
    <bug_when>2026-04-16 15:41:14 +0000</bug_when>
    <thetext>Doc merged as https://git.yoctoproject.org/yocto-docs/commit/?h=scarthgap&amp;id=aa7226705451e6c1ef964d49963bbed29b267c27 (5.0.17)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>105120</commentid>
    <comment_count>15</comment_count>
    <who name="Alessandro Quirile">alessandro.quirile</who>
    <bug_when>2026-04-17 06:54:29 +0000</bug_when>
    <thetext>(In reply to Yoann Congal from comment #14)
&gt; Doc merged as
&gt; https://git.yoctoproject.org/yocto-docs/commit/
&gt; ?h=scarthgap&amp;id=aa7226705451e6c1ef964d49963bbed29b267c27 (5.0.17)

Thank you.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>105135</commentid>
    <comment_count>16</comment_count>
    <who name="Alessandro Quirile">alessandro.quirile</who>
    <bug_when>2026-04-17 13:00:04 +0000</bug_when>
    <thetext>(In reply to Yoann Congal from comment #14)
&gt; Doc merged as
&gt; https://git.yoctoproject.org/yocto-docs/commit/
&gt; ?h=scarthgap&amp;id=aa7226705451e6c1ef964d49963bbed29b267c27 (5.0.17)

I ran git pull command on my poky/ repository, but I am still facing this warning &quot;WARNING: Host distribution &quot;centos-9&quot; 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.&quot;

This is happening when I run bitbake core-image-minimal.

Build Configuration:
BB_VERSION           = &quot;2.8.1&quot;
BUILD_SYS            = &quot;x86_64-linux&quot;
NATIVELSBSTRING      = &quot;centos-9&quot;
TARGET_SYS           = &quot;x86_64-poky-linux&quot;
MACHINE              = &quot;qemux86-64&quot;
DISTRO               = &quot;poky&quot;
DISTRO_VERSION       = &quot;5.0.17&quot;
TUNE_FEATURES        = &quot;m64 core2&quot;
TARGET_FPU           = &quot;&quot;
meta
meta-poky
meta-yocto-bsp       = &quot;my-scarthgap:cb2dcb4963e5fbe449f1bcb019eae883ddecc8ec&quot;

How is that?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>105136</commentid>
    <comment_count>17</comment_count>
    <who name="Antonin Godard">antonin.godard</who>
    <bug_when>2026-04-17 13:08:51 +0000</bug_when>
    <thetext>(In reply to Alessandro Quirile from comment #16)
&gt; I ran git pull command on my poky/ repository, but I am still facing this
&gt; warning &quot;WARNING: Host distribution &quot;centos-9&quot; has not been validated with
&gt; this version of the build system; you may possibly experience unexpected
&gt; failures. It is recommended that you use a tested distribution.&quot;
&gt; 
&gt; This is happening when I run bitbake core-image-minimal.
&gt; 
&gt; Build Configuration:
&gt; BB_VERSION           = &quot;2.8.1&quot;
&gt; BUILD_SYS            = &quot;x86_64-linux&quot;
&gt; NATIVELSBSTRING      = &quot;centos-9&quot;
&gt; TARGET_SYS           = &quot;x86_64-poky-linux&quot;
&gt; MACHINE              = &quot;qemux86-64&quot;
&gt; DISTRO               = &quot;poky&quot;
&gt; DISTRO_VERSION       = &quot;5.0.17&quot;
&gt; TUNE_FEATURES        = &quot;m64 core2&quot;
&gt; TARGET_FPU           = &quot;&quot;
&gt; meta
&gt; meta-poky
&gt; meta-yocto-bsp       =
&gt; &quot;my-scarthgap:cb2dcb4963e5fbe449f1bcb019eae883ddecc8ec&quot;
&gt; 
&gt; 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</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>105140</commentid>
    <comment_count>18</comment_count>
    <who name="Yoann Congal">yoann.congal</who>
    <bug_when>2026-04-17 13:17:44 +0000</bug_when>
    <thetext>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&amp;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&amp;id=0845965f1d81d22d47dcf28c525c7463fafe5245

(reopening this bug until the above fixes are merged)</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>