<?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>15088</bug_id>
          
          <creation_ts>2023-03-30 14:37:15 +0000</creation_ts>
          <short_desc>AB-INT: do_fetch unable to fetch local file</short_desc>
          <delta_ts>2023-07-20 14:50:26 +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>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard>AB-INT AB-HAVE-PLAN</status_whiteboard>
          <keywords></keywords>
          <priority>Medium+</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>4.3 M2</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Alexandre Belloni">alexandre.belloni</reporter>
          <assigned_to name="Unassigned">unassigned</assigned_to>
          <cc>alexandre.belloni</cc>
    
    <cc>changqing.li</cc>
    
    <cc>pavel</cc>
    
    <cc>poky.bs.watcher</cc>
    
    <cc>poky.watcher</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>95226</commentid>
    <comment_count>0</comment_count>
    <who name="Alexandre Belloni">alexandre.belloni</who>
    <bug_when>2023-03-30 14:37:15 +0000</bug_when>
    <thetext>https://autobuilder.yoctoproject.org/typhoon/#/builders/108/builds/4332/steps/11/logs/stdio

qemux86-world-alt ubuntu2204-ty-3

WARNING: lib32-busybox-1.36.0-r0 do_fetch: Failed to fetch URL file://0001-depmod-Ignore-.debug-directories.patch, attempting MIRRORS if available
ERROR: lib32-busybox-1.36.0-r0 do_fetch: Fetcher failure: Unable to find file file://0001-depmod-Ignore-.debug-directories.patch anywhere. The paths that were searched were:
    /home/pokybuild/yocto-worker/qemux86-world-alt/build/meta-poky/recipes-core/busybox/busybox/poky-altcfg
    /home/pokybuild/yocto-worker/qemux86-world-alt/build/meta/recipes-core/busybox/busybox-1.36.0/poky-altcfg
    /home/pokybuild/yocto-worker/qemux86-world-alt/build/meta/recipes-core/busybox/busybox/poky-altcfg
    /home/pokybuild/yocto-worker/qemux86-world-alt/build/meta/recipes-core/busybox/files/poky-altcfg
    /home/pokybuild/yocto-worker/qemux86-world-alt/build/meta-poky/recipes-core/busybox/busybox/poky
    /home/pokybuild/yocto-worker/qemux86-world-alt/build/meta/recipes-core/busybox/busybox-1.36.0/poky
    /home/pokybuild/yocto-worker/qemux86-world-alt/build/meta/recipes-core/busybox/busybox/poky
    /home/pokybuild/yocto-worker/qemux86-world-alt/build/meta/recipes-core/busybox/files/poky
    /home/pokybuild/yocto-worker/qemux86-world-alt/build/meta-poky/recipes-core/busybox/busybox/qemux86-64
    /home/pokybuild/yocto-worker/qemux86-world-alt/build/meta/recipes-core/busybox/busybox-1.36.0/qemux86-64
    /home/pokybuild/yocto-worker/qemux86-world-alt/build/meta/recipes-core/busybox/busybox/qemux86-64
    /home/pokybuild/yocto-worker/qemux86-world-alt/build/meta/recipes-core/busybox/files/qemux86-64
    /home/pokybuild/yocto-worker/qemux86-world-alt/build/meta-poky/recipes-core/busybox/busybox/qemuall
    /home/pokybuild/yocto-worker/qemux86-world-alt/build/meta/recipes-core/busybox/busybox-1.36.0/qemuall
    /home/pokybuild/yocto-worker/qemux86-world-alt/build/meta/recipes-core/busybox/busybox/qemuall
    /home/pokybuild/yocto-worker/qemux86-world-alt/build/meta/recipes-core/busybox/files/qemuall
    /home/pokybuild/yocto-worker/qemux86-world-alt/build/meta-poky/recipes-core/busybox/busybox/x86
    /home/pokybuild/yocto-worker/qemux86-world-alt/build/meta/recipes-core/busybox/busybox-1.36.0/x86
    /home/pokybuild/yocto-worker/qemux86-world-alt/build/meta/recipes-core/busybox/busybox/x86
    /home/pokybuild/yocto-worker/qemux86-world-alt/build/meta/recipes-core/busybox/files/x86
    /home/pokybuild/yocto-worker/qemux86-world-alt/build/meta-poky/recipes-core/busybox/busybox/i686
    /home/pokybuild/yocto-worker/qemux86-world-alt/build/meta/recipes-core/busybox/busybox-1.36.0/i686
    /home/pokybuild/yocto-worker/qemux86-world-alt/build/meta/recipes-core/busybox/busybox/i686
    /home/pokybuild/yocto-worker/qemux86-world-alt/build/meta/recipes-core/busybox/files/i686
    /home/pokybuild/yocto-worker/qemux86-world-alt/build/meta-poky/recipes-core/busybox/busybox/
    /home/pokybuild/yocto-worker/qemux86-world-alt/build/meta/recipes-core/busybox/busybox-1.36.0/
    /home/pokybuild/yocto-worker/qemux86-world-alt/build/meta/recipes-core/busybox/busybox/
    /home/pokybuild/yocto-worker/qemux86-world-alt/build/meta/recipes-core/busybox/files/
ERROR: lib32-busybox-1.36.0-r0 do_fetch: Bitbake Fetcher Error: FetchError(&apos;Unable to fetch URL from any source.&apos;, &apos;file://0001-depmod-Ignore-.debug-directories.patch&apos;)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>95231</commentid>
    <comment_count>1</comment_count>
    <who name="Randy MacLeod">randy.macleod</who>
    <bug_when>2023-03-30 14:55:29 +0000</bug_when>
    <thetext>Also seen in the WR autobuilder environment.
There is a patch added to make this more debugable if it happens again.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>95232</commentid>
    <comment_count>2</comment_count>
    <who name="Richard Purdie">richard.purdie</who>
    <bug_when>2023-03-30 14:55:57 +0000</bug_when>
    <thetext>Patch added to aid debugging if it fails again: https://git.yoctoproject.org/poky/commit/?id=c28a9a5799618ae1ddcccdd3a7f448d759e7a9a4</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>95233</commentid>
    <comment_count>3</comment_count>
    <who name="Randy MacLeod">randy.macleod</who>
    <bug_when>2023-03-30 14:57:23 +0000</bug_when>
    <thetext>Randy to add more info from WR logs.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>95319</commentid>
    <comment_count>4</comment_count>
    <who name="Randy MacLeod">randy.macleod</who>
    <bug_when>2023-04-07 20:25:08 +0000</bug_when>
    <thetext>The WR autobuilder has seen this odd failure at least 3 times:

1. 2023-02-03, 20:40 ET fedora34_64 build container
   busybox_1.36.0 failed (do_patch) of 
      wrlinux-graphics_qemux86_sysvinit_world_predefined_cd.

      tmp-glibc/work/cortexa8hf-neon-oe-linux-gnueabi/busybox/1.36.0-r0/recipe-sysroot-native

      Error link: http://ala-lpggp7.wrs.com:8090/Errors/Details/16713/

and then:
2. 2023-03-05, 07:10 ET wrlfull-lts21 build container
   busybox_1.36.0 failed (do_patch) of 
      nodistro_beaglebone-yocto_core-image-full-cmdline_cd.

      tmp-glibc/work/cortexa8hf-neon-oe-linux-gnueabi/busybox/1.36.0-r0/

      Error link: http://ala-lpggp7.wrs.com:8090/Errors/Build/13586/

3. 2023-03-30, 18:50 ET  fedora37_64 build container
   busybox_1.36.0 failed (do_patch) of 
      nodistro_beaglebone-yocto_core-image-full-cmdline_cd., 18:50

      tmp-glibc/work/cortexa8hf-neon-oe-linux-gnueabi/busybox/1.36.0-r0/recipe-sysroot-native

      Error link: http://ala-lpggp7.wrs.com:8090/Errors/Build/14330/

for 1.
log:
DEBUG: Executing python function extend_recipe_sysroot
NOTE: Direct dependencies are [&apos;/home/wrlbuild/builds/builds-48fccb38-1ac0-489f-b81a-618397ea2b7c/layers/oe-core/meta/recipes-devtools/quilt/quilt-native_0.67.bb:do_populate_sysroot&apos;, &apos;virtual:native:/home/wrlbuild/builds/builds-48fccb38-1ac0-489f-b81a-618397ea2b7c/layers/oe-core/meta/recipes-devtools/patch/patch_2.7.6.bb:do_populate_sysroot&apos;]
NOTE: Installed into sysroot: [&apos;quilt-native&apos;, &apos;patch-native&apos;, &apos;libtool-native&apos;, &apos;attr-native&apos;, &apos;texinfo-dummy-native&apos;, &apos;gettext-minimal-native&apos;]
NOTE: Skipping as already exists in sysroot: []
DEBUG: sed -e &apos;s:^[^/]*/:TOPDIR/tmp-glibc/work/cortexa8hf-neon-oe-linux-gnueabi/busybox/1.36.0-r0/recipe-sysroot-native/:g&apos; TOPDIR/tmp-glibc/sysroots-components/x86_64/quilt-native/fixmepath TOPDIR/tmp-glibc/sysroots-components/x86_64/libtool-native/fixmepath | xargs sed -i -e &apos;s:FIXMESTAGINGDIRTARGET:TOPDIR/tmp-glibc/work/cortexa8hf-neon-oe-linux-gnueabi/busybox/1.36.0-r0/recipe-sysroot:g; s:FIXMESTAGINGDIRHOST:TOPDIR/tmp-glibc/work/cortexa8hf-neon-oe-linux-gnueabi/busybox/1.36.0-r0/recipe-sysroot-native:g&apos; -e &apos;s:FIXME_PSEUDO_SYSROOT:TOPDIR/tmp-glibc/sysroots-components/x86_64/pseudo-native:g&apos; -e &apos;s:FIXME_HOSTTOOLS_DIR:TOPDIR/tmp-glibc/hosttools:g&apos; -e &apos;s:FIXME_PKGDATA_DIR:TOPDIR/tmp-glibc/pkgdata/beaglebone-yocto:g&apos; -e &apos;s:FIXME_PSEUDO_LOCALSTATEDIR:TOPDIR/tmp-glibc/work/cortexa8hf-neon-oe-linux-gnueabi/busybox/1.36.0-r0/pseudo/:g&apos; -e &apos;s:FIXME_LOGFIFO:TOPDIR/tmp-glibc/work/cortexa8hf-neon-oe-linux-gnueabi/busybox/1.36.0-r0/temp/fifo.1092067:g&apos;
DEBUG: Python function extend_recipe_sysroot finished
DEBUG: Executing python function do_patch
DEBUG: Executing python function patch_do_patch
NOTE: Applying patch &apos;0001-depmod-Ignore-.debug-directories.patch&apos; (../layers/oe-core/meta/recipes-core/busybox/files/0001-depmod-Ignore-.debug-directories.patch)
ERROR: Importing patch &apos;0001-depmod-Ignore-.debug-directories.patch&apos; with striplevel &apos;1&apos;
FileNotFoundError(2, &apos;No such file or directory&apos;)
DEBUG: Python function patch_do_patch finished
DEBUG: Python function do_patch finished



The problem is NOT seen in kirkstone-based or older builds.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>95320</commentid>
    <comment_count>5</comment_count>
    <who name="Randy MacLeod">randy.macleod</who>
    <bug_when>2023-04-07 20:36:31 +0000</bug_when>
    <thetext>Actually, there are two failure modes related to the file: 0001-depmod-Ignore-.debug-directories.patch - error on fetch and error on patch.

There are 9 do_fetch errors starting on 2023-02-01, 02:30  ET
and the most recent occurrence is on 2023-04-05, 02:20 ET



DEBUG: For url [&apos;file&apos;, &apos;&apos;, &apos;0001-depmod-Ignore-.debug-directories.patch&apos;, &apos;&apos;, &apos;&apos;, OrderedDict()] comparing [&apos;.*&apos;, &apos;.*&apos;, &apos;/.*&apos;, &apos;&apos;, &apos;&apos;, OrderedDict()] to [&apos;file&apos;, &apos;&apos;, &apos;/home/wrlbuild/builds/builds-b6910524-52cd-4f22-aa20-96b56217b0b5/layers/local/downloads/&apos;, &apos;&apos;, &apos;&apos;, OrderedDict()]
DEBUG: For url [&apos;file&apos;, &apos;&apos;, &apos;0001-depmod-Ignore-.debug-directories.patch&apos;, &apos;&apos;, &apos;&apos;, OrderedDict()] comparing [&apos;git&apos;, &apos;.*&apos;, &apos;/.*&apos;, &apos;&apos;, &apos;&apos;, OrderedDict()] to [&apos;git&apos;, &apos;&apos;, &apos;/home/wrlbuild/builds/builds-b6910524-52cd-4f22-aa20-96b56217b0b5/layers/local/git/BASENAME&apos;, &apos;&apos;, &apos;&apos;, OrderedDict([(&apos;protocol&apos;, &apos;file&apos;)])]
DEBUG: For url [&apos;file&apos;, &apos;&apos;, &apos;0001-depmod-Ignore-.debug-directories.patch&apos;, &apos;&apos;, &apos;&apos;, OrderedDict()] comparing [&apos;git&apos;, &apos;sourceware.org&apos;, &apos;/git/glibc.git&apos;, &apos;&apos;, &apos;&apos;, OrderedDict()] to [&apos;https&apos;, &apos;downloads.yoctoproject.org&apos;, &apos;/mirror/sources/&apos;, &apos;&apos;, &apos;&apos;, OrderedDict()]
DEBUG: For url [&apos;file&apos;, &apos;&apos;, &apos;0001-depmod-Ignore-.debug-directories.patch&apos;, &apos;&apos;, &apos;&apos;, OrderedDict()] comparing [&apos;git&apos;, &apos;sourceware.org&apos;, &apos;/git/binutils-gdb.git&apos;, &apos;&apos;, &apos;&apos;, OrderedDict()] to [&apos;https&apos;, &apos;downloads.yoctoproject.org&apos;, &apos;/mirror/sources/&apos;, &apos;&apos;, &apos;&apos;, OrderedDict()]
DEBUG: Trying Upstream
WARNING: Failed to fetch URL file://0001-depmod-Ignore-.debug-directories.patch, attempting MIRRORS if available
DEBUG: Fetcher failure: Unable to find file file://0001-depmod-Ignore-.debug-directories.patch anywhere. The paths that were searched were:
    /home/wrlbuild/builds/builds-b6910524-52cd-4f22-aa20-96b56217b0b5/layers/meta-clang/recipes-core/busybox/busybox/nodistro
    /home/wrlbuild/builds/builds-b6910524-52cd-4f22-aa20-96b56217b0b5/layers/oe-core/meta/recipes-core/busybox/busybox-1.36.0/nodistro
    /home/wrlbuild/builds/builds-b6910524-52cd-4f22-aa20-96b56217b0b5/layers/oe-core/meta/recipes-core/busybox/busybox/nodistro
    /home/wrlbuild/builds/builds-b6910524-52cd-4f22-aa20-96b56217b0b5/layers/oe-core/meta/recipes-core/busybox/files/nodistro
    /home/wrlbuild/builds/builds-b6910524-52cd-4f22-aa20-96b56217b0b5/layers/meta-clang/recipes-core/busybox/busybox/ti-j72xx
    /home/wrlbuild/builds/builds-b6910524-52cd-4f22-aa20-96b56217b0b5/layers/oe-core/meta/recipes-core/busybox/busybox-1.36.0/ti-j72xx
    /home/wrlbuild/builds/builds-b6910524-52cd-4f22-aa20-96b56217b0b5/layers/oe-core/meta/recipes-core/busybox/busybox/ti-j72xx
    /home/wrlbuild/builds/builds-b6910524-52cd-4f22-aa20-96b56217b0b5/layers/oe-core/meta/recipes-core/busybox/files/ti-j72xx
    /home/wrlbuild/builds/builds-b6910524-52cd-4f22-aa20-96b56217b0b5/layers/meta-clang/recipes-core/busybox/busybox/armv8a
    /home/wrlbuild/builds/builds-b6910524-52cd-4f22-aa20-96b56217b0b5/layers/oe-core/meta/recipes-core/busybox/busybox-1.36.0/armv8a
    /home/wrlbuild/builds/builds-b6910524-52cd-4f22-aa20-96b56217b0b5/layers/oe-core/meta/recipes-core/busybox/busybox/armv8a
    /home/wrlbuild/builds/builds-b6910524-52cd-4f22-aa20-96b56217b0b5/layers/oe-core/meta/recipes-core/busybox/files/armv8a
    /home/wrlbuild/builds/builds-b6910524-52cd-4f22-aa20-96b56217b0b5/layers/meta-clang/recipes-core/busybox/busybox/aarch64
    /home/wrlbuild/builds/builds-b6910524-52cd-4f22-aa20-96b56217b0b5/layers/oe-core/meta/recipes-core/busybox/busybox-1.36.0/aarch64
    /home/wrlbuild/builds/builds-b6910524-52cd-4f22-aa20-96b56217b0b5/layers/oe-core/meta/recipes-core/busybox/busybox/aarch64
    /home/wrlbuild/builds/builds-b6910524-52cd-4f22-aa20-96b56217b0b5/layers/oe-core/meta/recipes-core/busybox/files/aarch64
    /home/wrlbuild/builds/builds-b6910524-52cd-4f22-aa20-96b56217b0b5/layers/meta-clang/recipes-core/busybox/busybox/aarch64
    /home/wrlbuild/builds/builds-b6910524-52cd-4f22-aa20-96b56217b0b5/layers/oe-core/meta/recipes-core/busybox/busybox-1.36.0/aarch64
    /home/wrlbuild/builds/builds-b6910524-52cd-4f22-aa20-96b56217b0b5/layers/oe-core/meta/recipes-core/busybox/busybox/aarch64
    /home/wrlbuild/builds/builds-b6910524-52cd-4f22-aa20-96b56217b0b5/layers/oe-core/meta/recipes-core/busybox/files/aarch64
    /home/wrlbuild/builds/builds-b6910524-52cd-4f22-aa20-96b56217b0b5/layers/meta-clang/recipes-core/busybox/busybox/
    /home/wrlbuild/builds/builds-b6910524-52cd-4f22-aa20-96b56217b0b5/layers/oe-core/meta/recipes-core/busybox/busybox-1.36.0/
    /home/wrlbuild/builds/builds-b6910524-52cd-4f22-aa20-96b56217b0b5/layers/oe-core/meta/recipes-core/busybox/busybox/
    /home/wrlbuild/builds/builds-b6910524-52cd-4f22-aa20-96b56217b0b5/layers/oe-core/meta/recipes-core/busybox/files/</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>95321</commentid>
    <comment_count>6</comment_count>
    <who name="Alexandre Belloni">alexandre.belloni</who>
    <bug_when>2023-04-08 11:54:56 +0000</bug_when>
    <thetext>The second one is tracked as bug 15041</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>95550</commentid>
    <comment_count>7</comment_count>
    <who name="Alexandre Belloni">alexandre.belloni</who>
    <bug_when>2023-05-17 23:28:04 +0000</bug_when>
    <thetext>https://autobuilder.yoctoproject.org/typhoon/#/builders/44/builds/7083/steps/11/logs/stdio

multilib alma9-ty-2</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>95997</commentid>
    <comment_count>8</comment_count>
    <who name="Randy MacLeod">randy.macleod</who>
    <bug_when>2023-07-20 14:50:26 +0000</bug_when>
    <thetext>There was a rare corruption in the fetcher code that should have fixed this issue. Exact commit not known right now. -- YP Bug review</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>