<?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>15074</bug_id>
          
          <creation_ts>2023-03-17 08:00:41 +0000</creation_ts>
          <short_desc>syncfs probe fails with newer compilers</short_desc>
          <delta_ts>2023-12-15 17:30:16 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>6</classification_id>
          <classification>Yocto Project Subprojects</classification>
          <product>Pseudo</product>
          <component>pseudo</component>
          <version>master</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></status_whiteboard>
          <keywords></keywords>
          <priority>Medium+</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>4.3 M4</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Florian Weimer">fweimer</reporter>
          <assigned_to name="Eilís Ní Fhlannagáin">pidge</assigned_to>
          <cc>pidge</cc>
    
    <cc>randy.macleod</cc>
    
    <cc>richard.purdie</cc>
    
    <cc>yp.pseudo.watcher</cc>
    
    <cc>yp.watcher</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>95161</commentid>
    <comment_count>0</comment_count>
      <attachid>4937</attachid>
    <who name="Florian Weimer">fweimer</who>
    <bug_when>2023-03-17 08:00:41 +0000</bug_when>
    <thetext>Created attachment 4937
pseudo-configure-c99.patch

The syncfs probe in ports/unix/subports fails on glibc systems if the compiler does not support implicit function declarations. Defining _GNU_SOURCE makes sure that &lt;unistd.h&gt; provides a function prototype for syncfs.

Related to:

  &lt;https://fedoraproject.org/wiki/Changes/PortingToModernC&gt;
  &lt;https://fedoraproject.org/wiki/Toolchain/PortingToModernC&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>97584</commentid>
    <comment_count>1</comment_count>
    <who name="Richard Purdie">richard.purdie</who>
    <bug_when>2023-12-15 17:30:16 +0000</bug_when>
    <thetext>Fixed with the following commits firstly to pseudo and then to update OpenEmbedded-Core to use it:
https://git.yoctoproject.org/pseudo/commit/?id=a8453eea4d902bbb0e01c786f1cb4a178c3bbee3
https://git.yoctoproject.org/poky/commit/?id=b3d1a7297fb80af41bd1e8dbc2e448abf5e7df08</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>4937</attachid>
            <date>2023-03-17 08:00:41 +0000</date>
            <delta_ts>2023-03-17 08:00:41 +0000</delta_ts>
            <desc>pseudo-configure-c99.patch</desc>
            <filename>pseudo-configure-c99.patch</filename>
            <type>text/plain</type>
            <size>352</size>
            <attacher name="Florian Weimer">fweimer</attacher>
            
              <data encoding="base64">ZGlmZiAtdXIgcHNldWRvLTEuOS4wLm9yaWcvcG9ydHMvdW5peC9zdWJwb3J0cyBwc2V1ZG8tMS45
LjAvcG9ydHMvdW5peC9zdWJwb3J0cwotLS0gcHNldWRvLTEuOS4wLm9yaWcvcG9ydHMvdW5peC9z
dWJwb3J0cwkyMDE4LTAxLTIzIDIxOjE4OjAzLjAwMDAwMDAwMCArMDEwMAorKysgcHNldWRvLTEu
OS4wL3BvcnRzL3VuaXgvc3VicG9ydHMJMjAyMy0wMy0xNyAwODo1Mjo1NS4xNzkwODI5MjAgKzAx
MDAKQEAgLTEsNSArMSw2IEBACiAjIS9iaW4vc2gKIGNhdCA+IGR1bW15LmMgPDxFT0YKKyNkZWZp
bmUgX0dOVV9TT1VSQ0UKICNpbmNsdWRlIDx1bmlzdGQuaD4KIGludCBtYWluKHZvaWQpIHsKIAlz
eW5jZnMoMCk7Cg==
</data>

          </attachment>
      

    </bug>

</bugzilla>