<?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>16093</bug_id>
          
          <creation_ts>2025-12-08 15:49:13 +0000</creation_ts>
          <short_desc>Compatibility with old sed/awk interferes with reproducibility</short_desc>
          <delta_ts>2025-12-11 15:58:08 +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>devtools / tool chain</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></status_whiteboard>
          <keywords></keywords>
          <priority>Medium+</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>6.99</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Yoann Congal">yoann.congal</reporter>
          <assigned_to name="Unassigned">unassigned</assigned_to>
          <cc>ccasciato</cc>
    
    <cc>meta.mr.watcher</cc>
    
    <cc>meta.watcher</cc>
    
    <cc>randy.macleod</cc>
    
    <cc>yoann.congal</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>103508</commentid>
    <comment_count>0</comment_count>
    <who name="Yoann Congal">yoann.congal</who>
    <bug_when>2025-12-08 15:49:13 +0000</bug_when>
    <thetext>For HPUX, Solaris &amp; AIX compatibility, sed/awk literal strings length are limited to &lt;150 characters.
We often try to fix reproducibility with sed by replacing non-reproducible paths by reproducible ones.
In some cases, the line break added to limit literal string length prevent the sed to match the non-reproducible path (because it is split across 2 lines).

An idea is to drop the compatibility with Unixes we don&apos;t support by increasing the maximum line length to something modern sed/awk can handle.

This is the idea of this patch: [PATCH] autoconf: Raise line length limit for sed/awk
https://lists.openembedded.org/g/openembedded-core/message/226850

BUT, it created weird errors on AB when tested by Mathieu:
https://lists.openembedded.org/g/openembedded-core/message/227203
&gt; I&apos;ve had some issues on the autobuilder for a few days, and it looks
&gt; like it was triggered by this patch. While there was no specific error,
&gt; the -tc build jobs had been running for several days and never ending.
&gt; 
&gt; One example:
&gt; https://autobuilder.yoctoproject.org/valkyrie/?#/builders/66/builds/2740
&gt; 
&gt; I&apos;ve had a look on the worker: it looks like the host nfs server, used
&gt; to share files with the tests running in qemu, had been failing:
&gt; 
&gt; pokybui+ 4115014  1.1  0.0      0     0 ?        Z    14:23   4:32 [unfsd] &lt;defunct&gt;
&gt; 
&gt; I clearly can&apos;t see how this can be linked to this patch, yet, git
&gt; bisect points to it, and after its removal I don&apos;t have the issue
&gt; anymore.

Further work is need to understand why this fails or if there is another way to fix reproducibility for packages impacted by compatibility line-break.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>103530</commentid>
    <comment_count>1</comment_count>
    <who name="Randy MacLeod">randy.macleod</who>
    <bug_when>2025-12-11 15:58:08 +0000</bug_when>
    <thetext>Explore the range between 128 and 4000?</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>