libtool: compile: x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -O2 -pipe -march=native -fno-diagnostics-color -c chroot.c -fPIC -DPIC -o .libs/chroot.o chroot.c: In function ‘chroot’: chroot.c:38:45: error: ‘_STAT_VER’ undeclared (first use in this function) 38 | # define STAT(path, sb) nextcall(__xstat64)(_STAT_VER, path, sb) | ^~~~~~~~~ chroot.c:108:19: note: in expansion of macro ‘STAT’ ------------------------------------------------------------------- This is an unstable amd64 chroot image at a tinderbox (==build bot) name: 17.1_systemd-20210303-131616 ------------------------------------------------------------------- gcc-config -l: [1] x86_64-pc-linux-gnu-10.2.0 * clang version 11.1.0 Target: x86_64-pc-linux-gnu Thread model: posix InstalledDir: /usr/lib/llvm/11/bin /usr/lib/llvm/11 11.1.0 Python 3.8.8 Available Ruby profiles: [1] ruby26 (with Rubygems) [2] ruby27 (with Rubygems) * Available Rust versions: [1] rust-1.50.0 * The following VMs are available for generation-2: *) AdoptOpenJDK 8.282_p08 [openjdk-bin-8] Available Java Virtual Machines: [1] openjdk-bin-8 system-vm The Glorious Glasgow Haskell Compilation System, version 8.8.4 timestamp(s) of HEAD at this tinderbox image: /var/db/repos/gentoo Sun Mar 7 13:20:58 UTC 2021 emerge -qpvO sys-apps/fakechroot [ebuild N ] sys-apps/fakechroot-2.20.1
Created attachment 689772 [details] emerge-info.txt
Created attachment 689775 [details] emerge-history.txt
Created attachment 689778 [details] environment
Created attachment 689781 [details] etc.portage.tar.bz2
Created attachment 689784 [details] logs.tar.bz2
Created attachment 689787 [details] sys-apps:fakechroot-2.20.1:20210307-133800.log
Created attachment 689790 [details] temp.tar.bz2
This issue was apparently addressed: https://github.com/dex4er/fakechroot/pull/85 A patch prepared from https://github.com/dex4er/fakechroot/compare/statx...lipnitsk:master.patch with the diffs specific to NEWS.md, .gitlab-ci.yml and test/archlinux.sh removed compiles, but gives me QA warnings (implicit function definitions which are invalid in C99) and is possibly not the minimum required, but I lack fluency in C.
Created attachment 700449 [details, diff] Usable but improper patch See Comment #8. Still triggers QA warnings.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7196d1665ae9b57cd3c063d868e281d8f733170d commit 7196d1665ae9b57cd3c063d868e281d8f733170d Author: Mike Gilbert <floppym@gentoo.org> AuthorDate: 2021-04-19 21:13:41 +0000 Commit: Mike Gilbert <floppym@gentoo.org> CommitDate: 2021-04-19 21:13:57 +0000 sys-apps/fakechroot: fix build with glibc-2.33 Closes: https://bugs.gentoo.org/774666 Signed-off-by: Mike Gilbert <floppym@gentoo.org> sys-apps/fakechroot/fakechroot-2.20.1.ebuild | 4 + .../files/fakechroot-2.20.1-glibc-2.33.patch | 469 +++++++++++++++++++++ 2 files changed, 473 insertions(+)