FS#71741 - [fakechroot] Fails to build with latest glibc

Attached to Project: Arch Linux
Opened by Santosh Mahto (santoshmahto) - Thursday, 05 August 2021, 15:00 GMT
Last edited by Jelle van der Waa (jelly) - Saturday, 22 July 2023, 13:38 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Jelle van der Waa (jelly)
Architecture x86_64
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

Description:
Arch fails to build fakechroot with error: ‘_STAT_VER’ undeclared
full log:
```
CC dl_iterate_phdr.lo
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’
108 | if ((status = STAT(path, &sb)) != 0) {
| ^~~~
chroot.c:38:45: note: each undeclared identifier is reported only once for each function it appears in
38 | # define STAT(path, sb) nextcall(__xstat64)(_STAT_VER, path, sb)
| ^~~~~~~~~
chroot.c:108:19: note: in expansion of macro ‘STAT’
108 | if ((status = STAT(path, &sb)) != 0) {
| ^~~~
CC dladdr.lo
make[2]: *** [Makefile:900: chroot.lo] Error 1
```

This issue has been seen on Fedora[1].

https://bugzilla.redhat.com/show_bug.cgi?id=1889862

Additional info:
* package version(s) : 2.20.1-2
* config and/or log files etc.
* link to upstream bug report, if any https://github.com/dex4er/fakechroot/issues/82

Steps to reproduce:
Build fakechroot on latest arch(having latest glibc)

This task depends upon

Closed by  Jelle van der Waa (jelly)
Saturday, 22 July 2023, 13:38 GMT
Reason for closing:  Fixed
Additional comments about closing:  2.20.1-3

Loading...