<?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>14096</bug_id>
          
          <creation_ts>2020-10-19 06:00:49 +0000</creation_ts>
          <short_desc>perl install race (pod2text)</short_desc>
          <delta_ts>2025-02-14 16:48:19 +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>3.2</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.1</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Richard Purdie">richard.purdie</reporter>
          <assigned_to name="Sakib Sajal">sakib.sajal</assigned_to>
          <cc>alex.kanavin</cc>
    
    <cc>alexandre.belloni</cc>
    
    <cc>bluelightning</cc>
    
    <cc>meta.mr.watcher</cc>
    
    <cc>meta.watcher</cc>
    
    <cc>randy.macleod</cc>
    
    <cc>sgw</cc>
    
    <cc>steve</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>88416</commentid>
    <comment_count>0</comment_count>
    <who name="Richard Purdie">richard.purdie</who>
    <bug_when>2020-10-19 06:00:49 +0000</bug_when>
    <thetext>|   /home/pokybuild/yocto-worker/oe-selftest-ubuntu/build/build-st-42781/reproducibleB/tmp/work/x86_64-linux/perl-native/5.32.0-r0/recipe-sysroot-native/usr/share/man/man3/autodie::hints.3
|   /home/pokybuild/yocinstallman: Can&apos;t open cpan/podlators/blib/script/pod2text: No such file or directory
| ABORTED
| to-worker/oe-selftest-ubuntu/build/build-st-42781/reproducibleB/tmp/work/x86_64-linux/perl-native/5.32.0-r0/recipe-sysroot-native/usr/share/man/man3/autodie::skip.3

Full log in:

https://autobuilder.yoctoproject.org/typhoon/#/builders/80/builds/1453/steps/8/logs/step2d</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>88423</commentid>
    <comment_count>1</comment_count>
    <who name="Alexander Kanavin">alex.kanavin</who>
    <bug_when>2020-10-19 07:43:44 +0000</bug_when>
    <thetext>Reported upstream here:
https://github.com/arsv/perl-cross/issues/75</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>88456</commentid>
    <comment_count>2</comment_count>
    <who name="Randy MacLeod">randy.macleod</who>
    <bug_when>2020-10-22 07:46:15 +0000</bug_when>
    <thetext>Likely a very rare failure that happened with 14095, 14097.
recurrence of 13244; dup?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>88898</commentid>
    <comment_count>3</comment_count>
    <who name="Richard Purdie">richard.purdie</who>
    <bug_when>2021-01-09 09:29:30 +0000</bug_when>
    <thetext>https://autobuilder.yoctoproject.org/typhoon/#/builders/47/builds/2909</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>91755</commentid>
    <comment_count>4</comment_count>
    <who name="Randy MacLeod">randy.macleod</who>
    <bug_when>2021-10-14 14:57:12 +0000</bug_when>
    <thetext>Sakib, can you try to reproduce this or better still review the code to find the race.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>91760</commentid>
    <comment_count>5</comment_count>
    <who name="Alexander Kanavin">alex.kanavin</who>
    <bug_when>2021-10-14 15:31:16 +0000</bug_when>
    <thetext>FWIW, this is a fiendishly difficult issue. The race happens on the AB every once in a blue moon, upstream, RP and O had all taken a look at the failing build tree and the code, and we still couldn&apos;t see how it could happen.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>92167</commentid>
    <comment_count>6</comment_count>
    <who name="Alexandre Belloni">alexandre.belloni</who>
    <bug_when>2021-12-15 21:25:04 +0000</bug_when>
    <thetext>https://autobuilder.yoctoproject.org/typhoon/#/builders/87/builds/2961/steps/14/logs/stdio</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>92169</commentid>
    <comment_count>7</comment_count>
    <who name="Alexandre Belloni">alexandre.belloni</who>
    <bug_when>2021-12-15 22:41:27 +0000</bug_when>
    <thetext>https://autobuilder.yoctoproject.org/typhoon/#/builders/47/builds/4422/steps/17/logs/stdio

https://autobuilder.yoctoproject.org/typhoon/#/builders/97/builds/3740/steps/15/logs/stdio

In the logs, we can see:

|   /usr/local/oe-sdk-hardcoded-buildpath/sysroots/aarch64-pokysdk-linux/usr/lib/perl5/5.34.0/aarch64-linux/CORE/thread.h
|   /usr/local/oe-sdk-hardcoded-buildpath/sysroots/aarch64-pokysdk-linux/usr/lib/perl5/5.34.0/aarch64-linux/CORE/time64.h
|   /usr/local/oe-sdk-hardcoded-buildpath/sysroots/aarch64-pokysdk-linuxCouldn&apos;t copy cpan/podlators/blib/script/pod2text to /home/pokybuild/yocto-worker/qemuarm64-armhost/build/build/tmp/work/aarch64-nativesdk-pokysdk-linux/nativesdk-perl/5.34.0-r0/image/usr/local/oe-sdk-hardcoded-buildpath/sysroots/aarch64-pokysdk-linux/usr/bin/pod2text: No such file or directory
| Couldn&apos;t chmod 755 /home/pokybuild/yocto-worker/qemuarm64-armhost/build/build/tmp/work/aarch64-nativesdk-pokysdk-linux/nativesdk-perl/5.34.0-r0/image/usr/local/oe-sdk-hardcoded-buildpath/sysroots/aarch64-pokysdk-linux/usr/bin/pod2text: No such file or directory
| /usr/lib/perl5/5.34.0/aarch64-linux/CORE/time64_config.h
|   /usr/local/oe-sdk-hardcoded-buildpath/sysroots/aarch64-pokysdk-linux/usr/lib/perl5/5.34.0/aarch64-linux/CORE/try.h
|   /usr/local/oe-sdk-hardcoded-buildpath/sysroots/aarch64-pokysdk-linux/usr/lib/perl5/5.34.0/aarch64-linux/CORE/uconfig.h
|   /usr/local/oe-sdk-hardcoded-buildpath/sysroots/aarch64-pokysdk-linux/usr/lib/perl5/5.34.0/aarch64-linux/CORE/uni_keywords.h
|   /usr/local/oe-sdk-hardcoded-buildpath/sysroots/aarch64-pokysdk-linux/usr/lib/perl5/5.34.0/aarch64-linux/CORE/unicode_constants.h
|   /usr/local/oe-sdk-hardcoded-buildpath/sysroots/aarch64-pokysdk-linux/usr/lib/perl5/5.34.0/aarch64-linux/CORE/unixish.h
|   /usr/local/oe-sdk-hardcoded-buildpath/sysroots/aarch64-pokysdk-linux/usr/lib/perl5/5.34.0/aarch64-linux/CORE/utf8.h
|   /usr/local/oe-sdk-hardcoded-buildpath/sysroots/aarch64-pokysdk-linux/usr/lib/perl5/5.34.0/aarch64-linux/CORE/utfebcdic.h
|   /usr/local/oe-sdk-hardcoded-buildpath/sysroots/aarch64-pokysdk-linux/usr/lib/perl5/5.34.0/aarch64-linux/CORE/util.h
|   /usr/local/oe-sdk-hardcoded-buildpath/sysroots/aarch64-pokysdk-linux/usr/lib/perl5/5.34.0/aarch64-linux/CORE/uudmap.h
|   /usr/local/oe-sdk-hardcoded-buildpath/sysroots/aarch64-pokysdk-linux/usr/lib/perl5/5.34.0/aarch64-linux/CORE/vutil.h
|   /usr/local/oe-sdk-hardcoded-buildpath/sysroots/aarch64-pokysdk-linux/usr/lib/perl5/5.34.0/aarch64-linux/CORE/warnings.h
|   /usr/local/oe-sdk-hardcoded-buildpath/sysroots/aarch64-pokysdk-linux/usr/lib/perl5/5.34.0/aarch64-linux/CORE/xconfig.h
|   /usr/local/oe-sdk-hardcoded-buildpath/sysroots/aarch64-pokysdk-linux/usr/lib/perl5/5.34.0/aarch64-linux/CORE/zaphod32_hash.h
|   /usr/local/oe-sdk-hardcoded-buildpath/sysroots/aarch64-pokysdk-linux/usr/lib/libperl.so.5.34.0
|   /usr/local/oe-sdk-hardcoded-buildpath/sysroots/aarch64-pokysdk-linux/usr/bin/perl
|   /usr/local/oe-sdk-hardcoded-buildpath/sysroots/aarch64-pokysdk-linux/usr/bin/pod2man
|   /usr/local/oe-sdk-hardcoded-buildpath/sysroots/aarch64-pokysdk-linux/usr/bin/pod2text
|   /usr/local/oe-sdk-hardcoded-buildpath/sysroots/aarch64-pokysdk-linux/usr/bin/pod2usage

So pod2text seems to be compiled after trying to install it.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>92170</commentid>
    <comment_count>8</comment_count>
    <who name="Alexander Kanavin">alex.kanavin</who>
    <bug_when>2021-12-15 22:46:38 +0000</bug_when>
    <thetext>It&apos;s a bit more involved than that. pod2text is supposed to be built in do_compile, and most of the time it is. But not all of the time. We&apos;ve discussed this with upstream: https://github.com/arsv/perl-cross/issues/75</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>92666</commentid>
    <comment_count>9</comment_count>
    <who name="Steve Sakoman">steve</who>
    <bug_when>2022-02-24 16:42:21 +0000</bug_when>
    <thetext>Dunfell occurrence:

https://autobuilder.yoctoproject.org/typhoon/#/builders/119/builds/1322

reproducible-ubuntu ubuntu1604-ty-1</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>93196</commentid>
    <comment_count>10</comment_count>
    <who name="Randy MacLeod">randy.macleod</who>
    <bug_when>2022-04-28 14:39:07 +0000</bug_when>
    <thetext>Keeping open, we suspect this will happen again due to an actual race in the code.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>93399</commentid>
    <comment_count>11</comment_count>
    <who name="Richard Purdie">richard.purdie</who>
    <bug_when>2022-06-04 12:42:41 +0000</bug_when>
    <thetext>*** Bug 13244 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>93400</commentid>
    <comment_count>12</comment_count>
    <who name="Richard Purdie">richard.purdie</who>
    <bug_when>2022-06-04 12:43:48 +0000</bug_when>
    <thetext>Details in email form with extracted Makefile and links:

https://lists.yoctoproject.org/g/swat/topic/oe_core_perl_makefile_race/91539210</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>93434</commentid>
    <comment_count>13</comment_count>
    <who name="Alexandre Belloni">alexandre.belloni</who>
    <bug_when>2022-06-09 13:03:08 +0000</bug_when>
    <thetext>https://autobuilder.yoctoproject.org/typhoon/#/builders/37/builds/5315/steps/11/logs/stdio

genericx86-64 ubuntu1804-ty-3</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>93437</commentid>
    <comment_count>14</comment_count>
    <who name="Alexandre Belloni">alexandre.belloni</who>
    <bug_when>2022-06-09 13:17:19 +0000</bug_when>
    <thetext>https://autobuilder.yoctoproject.org/typhoon/#builders/37/builds/5315/steps/11/logs/stdio
genericx86-64 ubuntu1804-ty-3</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>93450</commentid>
    <comment_count>15</comment_count>
    <who name="Randy MacLeod">randy.macleod</who>
    <bug_when>2022-06-09 14:57:11 +0000</bug_when>
    <thetext>There were some issues with rare races in older versions of make so add a dependency on our own version.

https://git.openembedded.org/openembedded-core/log/?qt=range&amp;q=692b7c518637c77804caf7b3cfc60a83afa2e4f4</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>100957</commentid>
    <comment_count>16</comment_count>
    <who name="Randy MacLeod">randy.macleod</who>
    <bug_when>2025-02-14 16:46:20 +0000</bug_when>
    <thetext>bulk change to add Saul&apos;s non-WR address.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>101054</commentid>
    <comment_count>17</comment_count>
    <who name="Randy MacLeod">randy.macleod</who>
    <bug_when>2025-02-14 16:48:19 +0000</bug_when>
    <thetext>Bulk change: Remove Saul&apos;s old WR address.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>