<?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>14229</bug_id>
          
          <creation_ts>2021-02-09 03:20:52 +0000</creation_ts>
          <short_desc>pseudo doesn&apos;t compile with glibc 2.33</short_desc>
          <delta_ts>2021-03-15 23:41:09 +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>All</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>High</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>3.3 M3</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Bernhard Rosenkränzer">bero</reporter>
          <assigned_to name="Richard Purdie">richard.purdie</assigned_to>
          <cc>open.john.macgregor</cc>
    
    <cc>randy.macleod</cc>
    
    <cc>ross.burton</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>89174</commentid>
    <comment_count>0</comment_count>
    <who name="Bernhard Rosenkränzer">bero</who>
    <bug_when>2021-02-09 03:20:52 +0000</bug_when>
    <thetext>pseudo uses _STAT_VER, which is no longer defined in glibc 2.33, in various places.

First error:


| In file included from port_wrappers.c:3,
|                  from pseudo_wrappers.c:296:
| ports/linux/pseudo_wrappers.c: In function ‘pseudo_stat’:
| ports/linux/pseudo_wrappers.c:11:22: error: ‘_STAT_VER’ undeclared (first use in this function)
|    11 |  return real___xstat(_STAT_VER, path, buf);
|       |                      ^~~~~~~~~
| ports/linux/pseudo_wrappers.c:11:22: note: each undeclared identifier is reported only once for each function it appears in</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>89175</commentid>
    <comment_count>1</comment_count>
    <who name="Bernhard Rosenkränzer">bero</who>
    <bug_when>2021-02-09 03:24:36 +0000</bug_when>
    <thetext>https://github.com/bminor/glibc/commit/8ed005daf0ab03e142500324a34087ce179ae78e

is the glibc commit removing _STAT_VER.
_STAT_VER is now in an internal header that isn&apos;t accessible outside the glibc source tree.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>89176</commentid>
    <comment_count>2</comment_count>
    <who name="Bernhard Rosenkränzer">bero</who>
    <bug_when>2021-02-09 03:39:12 +0000</bug_when>
    <thetext>_MKNOD_VER (also used by pseudo) is also gone.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>89221</commentid>
    <comment_count>3</comment_count>
    <who name="Ross Burton">ross.burton</who>
    <bug_when>2021-02-11 15:48:33 +0000</bug_when>
    <thetext>pseudo also doesn&apos;t current wrap faccessat2.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>89225</commentid>
    <comment_count>4</comment_count>
    <who name="Randy MacLeod">randy.macleod</who>
    <bug_when>2021-02-11 16:00:19 +0000</bug_when>
    <thetext>Partially addressed by:
http://cgit.openembedded.org/openembedded-core/commit/?id=c897ac317926b132547578b1f6bd347fe5677dfc</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>89226</commentid>
    <comment_count>5</comment_count>
    <who name="Richard Purdie">richard.purdie</who>
    <bug_when>2021-02-11 16:00:31 +0000</bug_when>
    <thetext>http://git.yoctoproject.org/cgit.cgi/poky/commit/?id=77d9b5f02aec991540926fe144076e122c17f64d fixes the STAT_VER and MKNOD_VER but doesn&apos;t add the syscall</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>89296</commentid>
    <comment_count>6</comment_count>
    <who name="Richard Purdie">richard.purdie</who>
    <bug_when>2021-02-18 15:53:39 +0000</bug_when>
    <thetext>http://git.yoctoproject.org/cgit.cgi/poky/commit/?id=f162c34fdba51902abb9e8fb79ddc5044deab275</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>89617</commentid>
    <comment_count>7</comment_count>
    <who name="John MacGregor">open.john.macgregor</who>
    <bug_when>2021-03-12 12:52:02 +0000</bug_when>
    <thetext>Hi, 

This bug doesn&apos;t seem to have much description, but I assume it covers my problem.  I&apos;m sticking this here just in case....

I&quot;m a member of the ELISA Linux Foundation project (and a newby) and am trying to build an ELISA demo system that is based on an agl platform.  For reasans that i don&apos;t want to discuss, I&apos;m using an OpenSuse Tumbleweed machine with glibc 2.33.  The pseudo build craps out with failed compiles because _STAT_VER has not been defined.  After a bit of investigation, I&apos;ve found out that io/sys/stat.h has eliminated references to _STAT_VER in 2.33 (it was in 2.32).  The pseudo source code is littered with references to _STAT_VER, and according to the overview in the documentation, this is intentional. Note that OpenSuse Tumbleweed may be a bit obscure, but Ubuntu 21.04 is scheduled to upgrade to glibc 2.33. 

Just for reference, diff 2.32 - 2.33
https://fossies.org/diffs/glibc/2.32_vs_2.33/io/sys/stat.h-diff.html</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>89629</commentid>
    <comment_count>8</comment_count>
    <who name="Richard Purdie">richard.purdie</who>
    <bug_when>2021-03-15 23:41:09 +0000</bug_when>
    <thetext>Hi, I happened by chance to see this, I wouldn&apos;t recommend asking questions on closed bugs as people are unlikely to see them. It would be better on a mailing list.

You didn&apos;t mention which branch you&apos;re on, likely dunfell or gatesgarth. The glibc 2.33 updates are making their way through on those branches and updating pseudo there should fix this issue. Updating to use the most recent OE-Core for your branch is probably the best way forward.

Any further discussion should go to the mailing lists...

Cheers,

Richard</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>