<?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>15186</bug_id>
          
          <creation_ts>2023-08-10 14:25:40 +0000</creation_ts>
          <short_desc>AB-INT: build-sysroots do_build_native_sysroot: failure</short_desc>
          <delta_ts>2023-09-12 08:04:02 +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>OE-Core</product>
          <component>core</component>
          <version>unspecified</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</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>4.3</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Alexandre Belloni">alexandre.belloni</reporter>
          <assigned_to name="Richard Purdie">richard.purdie</assigned_to>
          <cc>alexandre.belloni</cc>
    
    <cc>meta.mr.watcher</cc>
    
    <cc>meta.watcher</cc>
    
    <cc>randy.macleod</cc>
    
    <cc>richard.purdie</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>96223</commentid>
    <comment_count>0</comment_count>
    <who name="Alexandre Belloni">alexandre.belloni</who>
    <bug_when>2023-08-10 14:25:40 +0000</bug_when>
    <thetext>https://autobuilder.yoctoproject.org/typhoon/#/builders/60/builds/7514/steps/17/logs/stdio

Exception: FileNotFoundError: [Errno 2] No such file or directory: &apos;/home/pokybuild/yocto-worker/qemumips/build/build/tmp/work/qemumips-poky-linux/core-image-minimal/1.0-r0/testsdkext/tmp/sysroots-components/x86_64/patch-native/usr/bin/patch&apos; -&gt; &apos;/home/pokybuild/yocto-worker/qemumips/build/build/tmp/work/qemumips-poky-linux/core-image-minimal/1.0-r0/testsdkext/tmp/sysroots/x86_64/usr/bin/patch&apos;

qemumips opensuse154-ty-1</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>96290</commentid>
    <comment_count>1</comment_count>
    <who name="Richard Purdie">richard.purdie</who>
    <bug_when>2023-08-21 14:50:33 +0000</bug_when>
    <thetext>The logs clearly show:

NOTE: recipe patch-native-2.7.6-r0: task do_populate_sysroot_setscene: Started
NOTE: recipe build-sysroots-1.0-r0: task do_build_native_sysroot: Started

so the two tasks are racing over the patch-native provided usr/bin/patch.

I&apos;d guess there was something in the sysroot but sstate is cleaning and adding a new version, hence the missing file error. The logs from a failed build for patch-native would confirm that.

Not sure how we fix this.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>96291</commentid>
    <comment_count>2</comment_count>
    <who name="Richard Purdie">richard.purdie</who>
    <bug_when>2023-08-21 14:51:18 +0000</bug_when>
    <thetext>https://autobuilder.yoctoproject.org/typhoon/#/builders/59/builds/7572/steps/17/logs/stdio</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>96398</commentid>
    <comment_count>3</comment_count>
    <who name="Richard Purdie">richard.purdie</who>
    <bug_when>2023-09-12 08:04:02 +0000</bug_when>
    <thetext>https://git.yoctoproject.org/poky/commit/?id=57109584605d3ec6028cbbdead07dafa4ab757a7</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>