Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 713166

Summary: sys-apps/fakeroot-1.24 : libfakeroot.c: error: _STAT_VER undeclared (first use in this function)
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Gentoo's Team for Core System packages <base-system>
Status: RESOLVED FIXED    
Severity: normal CC: gentoo, gentoo, lssndrbarbieri, myloveyuxuan, sam, treecleaner, vivo75
Priority: Normal Keywords: PATCH
Version: unspecified   
Hardware: All   
OS: Linux   
URL: https://salsa.debian.org/clint/fakeroot/-/merge_requests/10
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 768369    
Attachments: emerge-info.txt
emerge-history.txt
environment
etc.portage.tbz2
logs.tbz2
sys-apps:fakeroot-1.24:20200318-020822.log
temp.tbz2

Description Toralf Förster gentoo-dev 2020-03-18 08:39:41 UTC
                 from libfakeroot.c:60:
libfakeroot.c: In function chown:
libfakeroot.c:107:38: error: _STAT_VER undeclared (first use in this function)
  107 | #define INT_NEXT_STAT(a,b) NEXT_STAT(_STAT_VER,a,b)
      |                                      ^~~~~~~~~
fakerootconfig.h:1:39: note: in definition of macro NEXT_STAT

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.0_musl-20200316-165821

  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-gentoo-linux-musl-9.3.0 *
clang version 10.0.0 
Target: x86_64-gentoo-linux-musl
Thread model: posix
InstalledDir: /usr/lib/llvm/10/bin
/usr/lib/llvm/10
10.0.0
Available Python interpreters, in order of preference:
  [1]   python3.8
  [2]   python3.7
  [3]   python3.6
  [4]   python2.7 (fallback)
Available Ruby profiles:
  [1]   ruby24 (with Rubygems)
  [2]   ruby25 (with Rubygems) *

repository:
==> /var/db/repos/gentoo/metadata/timestamp.chk <==
Wed, 18 Mar 2020 00:38:26 +0000
emerge -qpvO sys-apps/fakeroot
[ebuild  N    ] sys-apps/fakeroot-1.24  USE="acl -debug -static-libs -test"
Comment 1 Toralf Förster gentoo-dev 2020-03-18 08:39:44 UTC
Created attachment 621442 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-03-18 08:39:47 UTC
Created attachment 621444 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2020-03-18 08:39:49 UTC
Created attachment 621446 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2020-03-18 08:39:52 UTC
Created attachment 621448 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2020-03-18 08:39:55 UTC
Created attachment 621450 [details]
logs.tbz2
Comment 6 Toralf Förster gentoo-dev 2020-03-18 08:39:58 UTC
Created attachment 621452 [details]
sys-apps:fakeroot-1.24:20200318-020822.log
Comment 7 Toralf Förster gentoo-dev 2020-03-18 08:40:00 UTC
Created attachment 621454 [details]
temp.tbz2
Comment 8 Toralf Förster gentoo-dev 2021-03-09 08:15:12 UTC
not musl specific, happens at 17.1-20210306-163653 too
Comment 9 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2021-03-29 13:16:00 UTC
*** Bug 779043 has been marked as a duplicate of this bug. ***
Comment 10 Magnus Granberg gentoo-dev 2021-04-05 19:27:29 UTC
Can confirm it on my buildbot tinderbox with glibc 2.33
Comment 12 Agostino Sarubbo gentoo-dev 2021-04-19 20:34:32 UTC
Dear treecleaner@:

I'm still able to reproduce this issue right now.

Since it has not been fixed for a long time, I'd suggest to evaluate if it is the case to remove this package from the tree. Thanks
Comment 13 Larry the Git Cow gentoo-dev 2021-04-19 21:00:52 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fc06661f8db900a0ad9502e01b7e571341e988ca

commit fc06661f8db900a0ad9502e01b7e571341e988ca
Author:     Mike Gilbert <floppym@gentoo.org>
AuthorDate: 2021-04-19 20:56:50 +0000
Commit:     Mike Gilbert <floppym@gentoo.org>
CommitDate: 2021-04-19 21:00:44 +0000

    sys-apps/fakeroot: fix build with glibc-2.33
    
    Closes: https://bugs.gentoo.org/713166
    Signed-off-by: Mike Gilbert <floppym@gentoo.org>

 ...-1.25.3-r1.ebuild => fakeroot-1.25.3-r2.ebuild} |   3 +
 .../files/fakeroot-1.25.3-glibc-2.33.patch         | 413 +++++++++++++++++++++
 2 files changed, 416 insertions(+)
Comment 14 Larry the Git Cow gentoo-dev 2021-04-19 21:02:35 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e39d72574d6578e592a80ce6fe5779e46ccb8ade

commit e39d72574d6578e592a80ce6fe5779e46ccb8ade
Author:     Mike Gilbert <floppym@gentoo.org>
AuthorDate: 2021-04-19 21:02:18 +0000
Commit:     Mike Gilbert <floppym@gentoo.org>
CommitDate: 2021-04-19 21:02:18 +0000

    sys-apps/fakeroot: undo revbump for previous build fix
    
    Bug: https://bugs.gentoo.org/713166
    Signed-off-by: Mike Gilbert <floppym@gentoo.org>

 .../fakeroot/{fakeroot-1.25.3-r2.ebuild => fakeroot-1.25.3-r1.ebuild}     | 0
 1 file changed, 0 insertions(+), 0 deletions(-)