<?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>16393</bug_id>
          
          <creation_ts>2026-08-11 14:41:49 +0000</creation_ts>
          <short_desc>AB-INT: ./init-build-env: No such file or directory</short_desc>
          <delta_ts>2026-08-13 14:38:33 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>5</classification_id>
          <classification>Infrastructure</classification>
          <product>AutoBuilder</product>
          <component>autobuilder</component>
          <version>unspecified</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>NEW</bug_status>
          <resolution></resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard>AB-INT</status_whiteboard>
          <keywords></keywords>
          <priority>Medium</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>6.1</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Mathieu Dubois-Briand">mathieu.dubois-briand</reporter>
          <assigned_to name="Unassigned">unassigned</assigned_to>
          <cc>infras.ab.watcher</cc>
    
    <cc>Infras.watcher</cc>
    
    <cc>paul</cc>
    
    <cc>randy.macleod</cc>
          
          
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>No (bug/feature does not impact docs)</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>106491</commentid>
    <comment_count>0</comment_count>
    <who name="Mathieu Dubois-Briand">mathieu.dubois-briand</who>
    <bug_when>2026-08-11 14:41:49 +0000</bug_when>
    <thetext>That&apos;s a strange one...

In the config step of the build, we had:

Running &apos;. ./init-build-env; bitbake-config-build disable-all-fragments&apos; in /srv/pokybuild/yocto-worker/oe-selftest-fedora/build/build

/bin/bash: line 1: ./init-build-env: No such file or directory
/bin/bash: line 1: bitbake-config-build: command not found
Traceback (most recent call last):
  File &quot;/srv/pokybuild/yocto-worker/oe-selftest-fedora/yocto-autobuilder-helper/scripts/setup-config&quot;, line 151, in &lt;module&gt;
    disable_all_fragments()
    ~~~~~~~~~~~~~~~~~~~~~^^
  File &quot;/srv/pokybuild/yocto-worker/oe-selftest-fedora/yocto-autobuilder-helper/scripts/setup-config&quot;, line 75, in disable_all_fragments
    runcmd(cmd)
    ~~~~~~^^^^^
  File &quot;/srv/pokybuild/yocto-worker/oe-selftest-fedora/yocto-autobuilder-helper/scripts/setup-config&quot;, line 71, in runcmd
    subprocess.check_call([&quot;/bin/bash&quot;, &quot;-c&quot;, cmd], cwd=cmdpath)
    ~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File &quot;/usr/lib64/python3.13/subprocess.py&quot;, line 419, in check_call
    raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command &apos;[&apos;/bin/bash&apos;, &apos;-c&apos;, &apos;. ./init-build-env; bitbake-config-build disable-all-fragments&apos;]&apos; returned non-zero exit status 127.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>106496</commentid>
    <comment_count>1</comment_count>
    <who name="Mathieu Dubois-Briand">mathieu.dubois-briand</who>
    <bug_when>2026-08-11 14:54:48 +0000</bug_when>
    <thetext>oe-selftest-fedora opensuse160-vk-2 mathieu/master-next&amp;master completed at 2026-08-07 11:39:59+00:00
https://autobuilder.yoctoproject.org/valkyrie/#/builders/48/builds/4312/steps/13/logs/stdio</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>106499</commentid>
    <comment_count>2</comment_count>
    <who name="Paul Barker">paul</who>
    <bug_when>2026-08-11 16:09:34 +0000</bug_when>
    <thetext>Looking at that build (https://autobuilder.yoctoproject.org/valkyrie/#/builders/48/builds/4312/steps/13/logs/stdio)

The first failed step is &quot;Bitbake Selftest: Write config&quot;, but that&apos;s not actually where the first error happened. In &quot;Unpack shared repositories&quot; I see:

    ERROR: Could not find oe-init-build-env in any of the layers; please use another mechanism to initialize the bitbake environment

No theory yet but wanted to flag that.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>106517</commentid>
    <comment_count>3</comment_count>
    <who name="Randy MacLeod">randy.macleod</who>
    <bug_when>2026-08-13 14:38:33 +0000</bug_when>
    <thetext>We could have bitbake-setup list the head commit when it sets things up.
See if it happens again.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>