<?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>16323</bug_id>
          
          <creation_ts>2026-06-18 10:34:32 +0000</creation_ts>
          <short_desc>AB-INT: git: error while loading shared libraries: libpython3.14.so.1.0</short_desc>
          <delta_ts>2026-07-23 15:58:52 +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>Scripts and Tools</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>6.1</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Mathieu Dubois-Briand">mathieu.dubois-briand</reporter>
          <assigned_to name="Richard Purdie">richard.purdie</assigned_to>
          <cc>randy.macleod</cc>
    
    <cc>richard.purdie</cc>
    
    <cc>ross.burton</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>105919</commentid>
    <comment_count>0</comment_count>
    <who name="Mathieu Dubois-Briand">mathieu.dubois-briand</who>
    <bug_when>2026-06-18 10:34:32 +0000</bug_when>
    <thetext>We got this failure, only once so far. Richard does not remember having any related change in his branch.

ERROR: babeltrace2-2.1.2-r0 do_unpack: Bitbake Fetcher Error: FetchError(&quot;Fetch command [&apos;git&apos;, &apos;-c&apos;, &apos;gc.autoDetach=false&apos;, &apos;-c&apos;, &apos;core.pager=cat&apos;, &apos;-c&apos;, &apos;safe.bareRepository=all&apos;, &apos;-c&apos;, &apos;clone.defaultRemoteName=origin&apos;, &apos;rev-list&apos;, &apos;-n&apos;, &apos;1&apos;, &apos;d0e946a71faf5f0c2d7f1fb5b92a369983e9cf10&apos;] failed with exit code 127, output:\npython3: error while loading shared libraries: libpython3.14.so.1.0: cannot open shared object file: No such file or directory\n&quot;, None)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>105920</commentid>
    <comment_count>1</comment_count>
    <who name="Mathieu Dubois-Briand">mathieu.dubois-briand</who>
    <bug_when>2026-06-18 10:35:51 +0000</bug_when>
    <thetext>pkgman-non-rpm debian13-vk-2 master-next completed at 2026-06-18 04:55:20+00:00
https://autobuilder.yoctoproject.org/valkyrie/#/builders/67/builds/3977/steps/26/logs/stdio</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>105933</commentid>
    <comment_count>2</comment_count>
    <who name="Richard Purdie">richard.purdie</who>
    <bug_when>2026-06-18 14:01:11 +0000</bug_when>
    <thetext>Some extra data. This build has the vardepsexclude patches in which means it rebuilds every time PACKAGE_CLASSES is changed.

That meant for this build, lots of sstate tasks were invalid and being replaced.

There were two tasks running at the time:

pokybuild@debian13-vk-2:~/yocto-worker/pkgman-non-rpm/build/build/tmp/work/cortexa57-poky-linux/babeltrace2/2.1.2/temp$ tail -n 4 log.task_order 
20260618-033948.185268 do_create_package_spdx (4020795): log.do_create_package_spdx.4020795
20260618-043242.937024 do_fetch (596760): log.do_fetch.596760
20260618-043243.278254 do_unpack (597065): log.do_unpack.597065
20260618-043243.294757 do_prepare_recipe_sysroot (597069): log.do_prepare_recipe_sysroot.597069

NOTE: python3 exists in sysroot, but is stale (python3.5aa073fd57c8f749a841396c1b5da03cbea6c1bfd33cf281366a6f32e5e2a26d vs. python3.caef672044878ee492a67390c83f8818dc20aa04f7143a53476e37e55f6469c3), removing.
NOTE: python3-native exists in sysroot, but is stale (python3-native.6363ac386d19013c4360e4df54382c1c8785b21476db12fc033716ae0466cf69 vs. python3-native.e99ddcbf0526f810136cf7cacc1d31009b37e69b803767e3e12a8858cade5556), removing

There is no mention or trace of git-replacement-native having been involved.

I&apos;d therefore guess git from the host was finding libpython from the native sysroot and got upset when it was removed. Why it would do that...</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>105934</commentid>
    <comment_count>3</comment_count>
    <who name="Richard Purdie">richard.purdie</who>
    <bug_when>2026-06-18 14:03:03 +0000</bug_when>
    <thetext>Although python on the host ($ python --version) is Python 3.13.5 so perhaps git used python from the sysroot while it was being removed?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>105941</commentid>
    <comment_count>4</comment_count>
    <who name="Richard Purdie">richard.purdie</who>
    <bug_when>2026-06-18 14:53:59 +0000</bug_when>
    <thetext>Bug triage noted we have an intercept script for git written in python3 which is why we would have triggered a python failure here.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>106319</commentid>
    <comment_count>5</comment_count>
    <who name="Richard Purdie">richard.purdie</who>
    <bug_when>2026-07-23 15:58:52 +0000</bug_when>
    <thetext>https://git.openembedded.org/openembedded-core/commit/?id=d595615c6a027b80d6f7ea80ab25e85e97b2436f</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>