Below is an excerpt of running make -j1 V=s
and here is the complete output. Is this something on my side?
% make -j1 V=s
...
make[4]: Entering directory '/scratch/union/build_dir/host/fakeroot-1.25.3'
make all-recursive
make[5]: Entering directory '/scratch/union/build_dir/host/fakeroot-1.25.3'
Making all in scripts
make[6]: Entering directory '/scratch/union/build_dir/host/fakeroot-1.25.3/scripts'
make[6]: Nothing to be done for 'all'.
make[6]: Leaving directory '/scratch/union/build_dir/host/fakeroot-1.25.3/scripts'
Making all in test
make[6]: Entering directory '/scratch/union/build_dir/host/fakeroot-1.25.3/test'
make[6]: Nothing to be done for 'all'.
make[6]: Leaving directory '/scratch/union/build_dir/host/fakeroot-1.25.3/test'
make[6]: Entering directory '/scratch/union/build_dir/host/fakeroot-1.25.3'
/usr/bin/env bash ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I/scratch/union/staging_dir/host/include -O2 -I/scratch/union/staging_dir/host/include -MT libfakeroot.lo -MD -MP -MF .deps/libfakeroot.Tpo -c -o libfakeroot.lo libfakeroot.c
OpenWrt-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I/scratch/union/staging_dir/host/include -O2 -I/scratch/union/staging_dir/host/include -MT libfakeroot.lo -MD -MP -MF .deps/libfakeroot.Tpo -c libfakeroot.c -fPIC -DPIC -o .libs/libfakeroot.o
In file included from communicate.h:20,
from libfakeroot.c:60:
libfakeroot.c: In function 'chown':
libfakeroot.c:99:40: error: '_STAT_VER' undeclared (first use in this function)
99 | #define INT_NEXT_STAT(a,b) NEXT_STAT64(_STAT_VER,a,b)
| ^~~~~~~~~
fakerootconfig.h:9:43: note: in definition of macro 'NEXT_STAT64'
9 | #define NEXT_STAT64(a,b,c) next___xstat64(a,b,c)
| ^
libfakeroot.c:827:5: note: in expansion of macro 'INT_NEXT_STAT'
827 | r=INT_NEXT_STAT(path, &st);
| ^~~~~~~~~~~~~
libfakeroot.c:99:40: note: each undeclared identifier is reported only once for each function it appears in
99 | #define INT_NEXT_STAT(a,b) NEXT_STAT64(_STAT_VER,a,b)
| ^~~~~~~~~
fakerootconfig.h:9:43: note: in definition of macro 'NEXT_STAT64'
9 | #define NEXT_STAT64(a,b,c) next___xstat64(a,b,c)
| ^
libfakeroot.c:827:5: note: in expansion of macro 'INT_NEXT_STAT'
827 | r=INT_NEXT_STAT(path, &st);
| ^~~~~~~~~~~~~
libfakeroot.c: In function 'lchown':
libfakeroot.c:100:42: error: '_STAT_VER' undeclared (first use in this function)
100 | #define INT_NEXT_LSTAT(a,b) NEXT_LSTAT64(_STAT_VER,a,b)
| ^~~~~~~~~
fakerootconfig.h:13:45: note: in definition of macro 'NEXT_LSTAT64'
13 | #define NEXT_LSTAT64(a,b,c) next___lxstat64(a,b,c)
| ^
libfakeroot.c:859:5: note: in expansion of macro 'INT_NEXT_LSTAT'
859 | r=INT_NEXT_LSTAT(path, &st);
| ^~~~~~~~~~~~~~
libfakeroot.c: In function 'fchown':
libfakeroot.c:101:42: error: '_STAT_VER' undeclared (first use in this function)
101 | #define INT_NEXT_FSTAT(a,b) NEXT_FSTAT64(_STAT_VER,a,b)
| ^~~~~~~~~
fakerootconfig.h:11:45: note: in definition of macro 'NEXT_FSTAT64'
11 | #define NEXT_FSTAT64(a,b,c) next___fxstat64(a,b,c)
| ^
libfakeroot.c:880:5: note: in expansion of macro 'INT_NEXT_FSTAT'
880 | r=INT_NEXT_FSTAT(fd, &st);
| ^~~~~~~~~~~~~~
libfakeroot.c: In function 'fchownat':
libfakeroot.c:102:50: error: '_STAT_VER' undeclared (first use in this function)
102 | #define INT_NEXT_FSTATAT(a,b,c,d) NEXT_FSTATAT64(_STAT_VER,a,b,c,d)
| ^~~~~~~~~
fakerootconfig.h:15:53: note: in definition of macro 'NEXT_FSTATAT64'
15 | #define NEXT_FSTATAT64(a,b,c,d,e) next___fxstatat64(a,b,c,d,e)
| ^
libfakeroot.c:906:5: note: in expansion of macro 'INT_NEXT_FSTATAT'
906 | r=INT_NEXT_FSTATAT(dir_fd, path, &st, (flags & (AT_SYMLINK_NOFOLLOW | AT_EMPTY_PATH | AT_NO_AUTOMOUNT)));
| ^~~~~~~~~~~~~~~~
libfakeroot.c: In function 'chmod':
libfakeroot.c:99:40: error: '_STAT_VER' undeclared (first use in this function)
99 | #define INT_NEXT_STAT(a,b) NEXT_STAT64(_STAT_VER,a,b)
| ^~~~~~~~~
fakerootconfig.h:9:43: note: in definition of macro 'NEXT_STAT64'
9 | #define NEXT_STAT64(a,b,c) next___xstat64(a,b,c)
| ^
libfakeroot.c:937:5: note: in expansion of macro 'INT_NEXT_STAT'
937 | r=INT_NEXT_STAT(path, &st);
| ^~~~~~~~~~~~~
libfakeroot.c: In function 'lchmod':
libfakeroot.c:100:42: error: '_STAT_VER' undeclared (first use in this function)
100 | #define INT_NEXT_LSTAT(a,b) NEXT_LSTAT64(_STAT_VER,a,b)
| ^~~~~~~~~
fakerootconfig.h:13:45: note: in definition of macro 'NEXT_LSTAT64'
13 | #define NEXT_LSTAT64(a,b,c) next___lxstat64(a,b,c)
| ^
libfakeroot.c:977:5: note: in expansion of macro 'INT_NEXT_LSTAT'
977 | r=INT_NEXT_LSTAT(path, &st);
| ^~~~~~~~~~~~~~
libfakeroot.c: In function 'fchmod':
libfakeroot.c:101:42: error: '_STAT_VER' undeclared (first use in this function)
101 | #define INT_NEXT_FSTAT(a,b) NEXT_FSTAT64(_STAT_VER,a,b)
| ^~~~~~~~~
fakerootconfig.h:11:45: note: in definition of macro 'NEXT_FSTAT64'
11 | #define NEXT_FSTAT64(a,b,c) next___fxstat64(a,b,c)
| ^
libfakeroot.c:1011:5: note: in expansion of macro 'INT_NEXT_FSTAT'
1011 | r=INT_NEXT_FSTAT(fd, &st);
| ^~~~~~~~~~~~~~
libfakeroot.c: In function 'fchmodat':
libfakeroot.c:102:50: error: '_STAT_VER' undeclared (first use in this function)
102 | #define INT_NEXT_FSTATAT(a,b,c,d) NEXT_FSTATAT64(_STAT_VER,a,b,c,d)
| ^~~~~~~~~
fakerootconfig.h:15:53: note: in definition of macro 'NEXT_FSTATAT64'
15 | #define NEXT_FSTATAT64(a,b,c,d,e) next___fxstatat64(a,b,c,d,e)
| ^
libfakeroot.c:1043:5: note: in expansion of macro 'INT_NEXT_FSTATAT'
1043 | r=INT_NEXT_FSTATAT(dir_fd, path, &st, flags & (AT_SYMLINK_NOFOLLOW | AT_EMPTY_PATH | AT_NO_AUTOMOUNT));
| ^~~~~~~~~~~~~~~~
libfakeroot.c: In function '__xmknod':
libfakeroot.c:100:42: error: '_STAT_VER' undeclared (first use in this function)
100 | #define INT_NEXT_LSTAT(a,b) NEXT_LSTAT64(_STAT_VER,a,b)
| ^~~~~~~~~
fakerootconfig.h:13:45: note: in definition of macro 'NEXT_LSTAT64'
13 | #define NEXT_LSTAT64(a,b,c) next___lxstat64(a,b,c)
| ^
libfakeroot.c:1090:5: note: in expansion of macro 'INT_NEXT_LSTAT'
1090 | r=INT_NEXT_LSTAT(pathname, &st);
| ^~~~~~~~~~~~~~
libfakeroot.c: In function '__xmknodat':
libfakeroot.c:102:50: error: '_STAT_VER' undeclared (first use in this function)
102 | #define INT_NEXT_FSTATAT(a,b,c,d) NEXT_FSTATAT64(_STAT_VER,a,b,c,d)
| ^~~~~~~~~
fakerootconfig.h:15:53: note: in definition of macro 'NEXT_FSTATAT64'
15 | #define NEXT_FSTATAT64(a,b,c,d,e) next___fxstatat64(a,b,c,d,e)
| ^
libfakeroot.c:1130:5: note: in expansion of macro 'INT_NEXT_FSTATAT'
1130 | r=INT_NEXT_FSTATAT(dir_fd, pathname, &st, 0);
| ^~~~~~~~~~~~~~~~
libfakeroot.c: In function 'mkdir':
libfakeroot.c:99:40: error: '_STAT_VER' undeclared (first use in this function)
99 | #define INT_NEXT_STAT(a,b) NEXT_STAT64(_STAT_VER,a,b)
| ^~~~~~~~~
fakerootconfig.h:9:43: note: in definition of macro 'NEXT_STAT64'
9 | #define NEXT_STAT64(a,b,c) next___xstat64(a,b,c)
| ^
libfakeroot.c:1166:5: note: in expansion of macro 'INT_NEXT_STAT'
1166 | r=INT_NEXT_STAT(path, &st);
| ^~~~~~~~~~~~~
libfakeroot.c: In function 'mkdirat':
libfakeroot.c:102:50: error: '_STAT_VER' undeclared (first use in this function)
102 | #define INT_NEXT_FSTATAT(a,b,c,d) NEXT_FSTATAT64(_STAT_VER,a,b,c,d)
| ^~~~~~~~~
fakerootconfig.h:15:53: note: in definition of macro 'NEXT_FSTATAT64'
15 | #define NEXT_FSTATAT64(a,b,c,d,e) next___fxstatat64(a,b,c,d,e)
| ^
libfakeroot.c:1196:5: note: in expansion of macro 'INT_NEXT_FSTATAT'
1196 | r=INT_NEXT_FSTATAT(dir_fd, path, &st, 0);
| ^~~~~~~~~~~~~~~~
libfakeroot.c: In function 'unlink':
libfakeroot.c:100:42: error: '_STAT_VER' undeclared (first use in this function)
100 | #define INT_NEXT_LSTAT(a,b) NEXT_LSTAT64(_STAT_VER,a,b)
| ^~~~~~~~~
fakerootconfig.h:13:45: note: in definition of macro 'NEXT_LSTAT64'
13 | #define NEXT_LSTAT64(a,b,c) next___lxstat64(a,b,c)
| ^
libfakeroot.c:1230:5: note: in expansion of macro 'INT_NEXT_LSTAT'
1230 | r=INT_NEXT_LSTAT(pathname, &st);
| ^~~~~~~~~~~~~~
libfakeroot.c: In function 'unlinkat':
libfakeroot.c:102:50: error: '_STAT_VER' undeclared (first use in this function)
102 | #define INT_NEXT_FSTATAT(a,b,c,d) NEXT_FSTATAT64(_STAT_VER,a,b,c,d)
| ^~~~~~~~~
fakerootconfig.h:15:53: note: in definition of macro 'NEXT_FSTATAT64'
15 | #define NEXT_FSTATAT64(a,b,c,d,e) next___fxstatat64(a,b,c,d,e)
| ^
libfakeroot.c:1249:5: note: in expansion of macro 'INT_NEXT_FSTATAT'
1249 | r=INT_NEXT_FSTATAT(dir_fd, pathname, &st, (flags&~AT_REMOVEDIR) | AT_SYMLINK_NOFOLLOW);
| ^~~~~~~~~~~~~~~~
libfakeroot.c: In function 'rmdir':
libfakeroot.c:100:42: error: '_STAT_VER' undeclared (first use in this function)
100 | #define INT_NEXT_LSTAT(a,b) NEXT_LSTAT64(_STAT_VER,a,b)
| ^~~~~~~~~
fakerootconfig.h:13:45: note: in definition of macro 'NEXT_LSTAT64'
13 | #define NEXT_LSTAT64(a,b,c) next___lxstat64(a,b,c)
| ^
libfakeroot.c:1273:5: note: in expansion of macro 'INT_NEXT_LSTAT'
1273 | r=INT_NEXT_LSTAT(pathname, &st);
| ^~~~~~~~~~~~~~
libfakeroot.c: In function 'remove':
libfakeroot.c:100:42: error: '_STAT_VER' undeclared (first use in this function)
100 | #define INT_NEXT_LSTAT(a,b) NEXT_LSTAT64(_STAT_VER,a,b)
| ^~~~~~~~~
fakerootconfig.h:13:45: note: in definition of macro 'NEXT_LSTAT64'
13 | #define NEXT_LSTAT64(a,b,c) next___lxstat64(a,b,c)
| ^
libfakeroot.c:1293:5: note: in expansion of macro 'INT_NEXT_LSTAT'
1293 | r=INT_NEXT_LSTAT(pathname, &st);
| ^~~~~~~~~~~~~~
libfakeroot.c: In function 'rename':
libfakeroot.c:100:42: error: '_STAT_VER' undeclared (first use in this function)
100 | #define INT_NEXT_LSTAT(a,b) NEXT_LSTAT64(_STAT_VER,a,b)
| ^~~~~~~~~
fakerootconfig.h:13:45: note: in definition of macro 'NEXT_LSTAT64'
13 | #define NEXT_LSTAT64(a,b,c) next___lxstat64(a,b,c)
| ^
libfakeroot.c:1323:5: note: in expansion of macro 'INT_NEXT_LSTAT'
1323 | r=INT_NEXT_LSTAT(newpath, &st);
| ^~~~~~~~~~~~~~
libfakeroot.c: In function 'renameat':
libfakeroot.c:102:50: error: '_STAT_VER' undeclared (first use in this function)
102 | #define INT_NEXT_FSTATAT(a,b,c,d) NEXT_FSTATAT64(_STAT_VER,a,b,c,d)
| ^~~~~~~~~
fakerootconfig.h:15:53: note: in definition of macro 'NEXT_FSTATAT64'
15 | #define NEXT_FSTATAT64(a,b,c,d,e) next___fxstatat64(a,b,c,d,e)
| ^
libfakeroot.c:1347:5: note: in expansion of macro 'INT_NEXT_FSTATAT'
1347 | r=INT_NEXT_FSTATAT(newdir_fd, newpath, &st, AT_SYMLINK_NOFOLLOW);
| ^~~~~~~~~~~~~~~~
libfakeroot.c: In function 'setxattr':
libfakeroot.c:99:40: error: '_STAT_VER' undeclared (first use in this function)
99 | #define INT_NEXT_STAT(a,b) NEXT_STAT64(_STAT_VER,a,b)
| ^~~~~~~~~
fakerootconfig.h:9:43: note: in definition of macro 'NEXT_STAT64'
9 | #define NEXT_STAT64(a,b,c) next___xstat64(a,b,c)
| ^
libfakeroot.c:1691:5: note: in expansion of macro 'INT_NEXT_STAT'
1691 | r=INT_NEXT_STAT(path, &st);
| ^~~~~~~~~~~~~
libfakeroot.c: In function 'lsetxattr':
libfakeroot.c:100:42: error: '_STAT_VER' undeclared (first use in this function)
100 | #define INT_NEXT_LSTAT(a,b) NEXT_LSTAT64(_STAT_VER,a,b)
| ^~~~~~~~~
fakerootconfig.h:13:45: note: in definition of macro 'NEXT_LSTAT64'
13 | #define NEXT_LSTAT64(a,b,c) next___lxstat64(a,b,c)
| ^
libfakeroot.c:1712:5: note: in expansion of macro 'INT_NEXT_LSTAT'
1712 | r=INT_NEXT_LSTAT(path, &st);
| ^~~~~~~~~~~~~~
libfakeroot.c: In function 'fsetxattr':
libfakeroot.c:101:42: error: '_STAT_VER' undeclared (first use in this function)
101 | #define INT_NEXT_FSTAT(a,b) NEXT_FSTAT64(_STAT_VER,a,b)
| ^~~~~~~~~
fakerootconfig.h:11:45: note: in definition of macro 'NEXT_FSTAT64'
11 | #define NEXT_FSTAT64(a,b,c) next___fxstat64(a,b,c)
| ^
libfakeroot.c:1733:5: note: in expansion of macro 'INT_NEXT_FSTAT'
1733 | r=INT_NEXT_FSTAT(fd, &st);
| ^~~~~~~~~~~~~~
libfakeroot.c: In function 'getxattr':
libfakeroot.c:99:40: error: '_STAT_VER' undeclared (first use in this function)
99 | #define INT_NEXT_STAT(a,b) NEXT_STAT64(_STAT_VER,a,b)
| ^~~~~~~~~
fakerootconfig.h:9:43: note: in definition of macro 'NEXT_STAT64'
9 | #define NEXT_STAT64(a,b,c) next___xstat64(a,b,c)
| ^
libfakeroot.c:1754:5: note: in expansion of macro 'INT_NEXT_STAT'
1754 | r=INT_NEXT_STAT(path, &st);
| ^~~~~~~~~~~~~
libfakeroot.c: In function 'lgetxattr':
libfakeroot.c:100:42: error: '_STAT_VER' undeclared (first use in this function)
100 | #define INT_NEXT_LSTAT(a,b) NEXT_LSTAT64(_STAT_VER,a,b)
| ^~~~~~~~~
fakerootconfig.h:13:45: note: in definition of macro 'NEXT_LSTAT64'
13 | #define NEXT_LSTAT64(a,b,c) next___lxstat64(a,b,c)
| ^
libfakeroot.c:1775:5: note: in expansion of macro 'INT_NEXT_LSTAT'
1775 | r=INT_NEXT_LSTAT(path, &st);
| ^~~~~~~~~~~~~~
libfakeroot.c: In function 'fgetxattr':
libfakeroot.c:101:42: error: '_STAT_VER' undeclared (first use in this function)
101 | #define INT_NEXT_FSTAT(a,b) NEXT_FSTAT64(_STAT_VER,a,b)
| ^~~~~~~~~
fakerootconfig.h:11:45: note: in definition of macro 'NEXT_FSTAT64'
11 | #define NEXT_FSTAT64(a,b,c) next___fxstat64(a,b,c)
| ^
libfakeroot.c:1796:5: note: in expansion of macro 'INT_NEXT_FSTAT'
1796 | r=INT_NEXT_FSTAT(fd, &st);
| ^~~~~~~~~~~~~~
libfakeroot.c: In function 'listxattr':
libfakeroot.c:99:40: error: '_STAT_VER' undeclared (first use in this function)
99 | #define INT_NEXT_STAT(a,b) NEXT_STAT64(_STAT_VER,a,b)
| ^~~~~~~~~
fakerootconfig.h:9:43: note: in definition of macro 'NEXT_STAT64'
9 | #define NEXT_STAT64(a,b,c) next___xstat64(a,b,c)
| ^
libfakeroot.c:1817:5: note: in expansion of macro 'INT_NEXT_STAT'
1817 | r=INT_NEXT_STAT(path, &st);
| ^~~~~~~~~~~~~
libfakeroot.c: In function 'llistxattr':
libfakeroot.c:100:42: error: '_STAT_VER' undeclared (first use in this function)
100 | #define INT_NEXT_LSTAT(a,b) NEXT_LSTAT64(_STAT_VER,a,b)
| ^~~~~~~~~
fakerootconfig.h:13:45: note: in definition of macro 'NEXT_LSTAT64'
13 | #define NEXT_LSTAT64(a,b,c) next___lxstat64(a,b,c)
| ^
libfakeroot.c:1838:5: note: in expansion of macro 'INT_NEXT_LSTAT'
1838 | r=INT_NEXT_LSTAT(path, &st);
| ^~~~~~~~~~~~~~
libfakeroot.c: In function 'flistxattr':
libfakeroot.c:101:42: error: '_STAT_VER' undeclared (first use in this function)
101 | #define INT_NEXT_FSTAT(a,b) NEXT_FSTAT64(_STAT_VER,a,b)
| ^~~~~~~~~
fakerootconfig.h:11:45: note: in definition of macro 'NEXT_FSTAT64'
11 | #define NEXT_FSTAT64(a,b,c) next___fxstat64(a,b,c)
| ^
libfakeroot.c:1859:5: note: in expansion of macro 'INT_NEXT_FSTAT'
1859 | r=INT_NEXT_FSTAT(fd, &st);
| ^~~~~~~~~~~~~~
libfakeroot.c: In function 'removexattr':
libfakeroot.c:99:40: error: '_STAT_VER' undeclared (first use in this function)
99 | #define INT_NEXT_STAT(a,b) NEXT_STAT64(_STAT_VER,a,b)
| ^~~~~~~~~
fakerootconfig.h:9:43: note: in definition of macro 'NEXT_STAT64'
9 | #define NEXT_STAT64(a,b,c) next___xstat64(a,b,c)
| ^
libfakeroot.c:1880:5: note: in expansion of macro 'INT_NEXT_STAT'
1880 | r=INT_NEXT_STAT(path, &st);
| ^~~~~~~~~~~~~
libfakeroot.c: In function 'lremovexattr':
libfakeroot.c:100:42: error: '_STAT_VER' undeclared (first use in this function)
100 | #define INT_NEXT_LSTAT(a,b) NEXT_LSTAT64(_STAT_VER,a,b)
| ^~~~~~~~~
fakerootconfig.h:13:45: note: in definition of macro 'NEXT_LSTAT64'
13 | #define NEXT_LSTAT64(a,b,c) next___lxstat64(a,b,c)
| ^
libfakeroot.c:1901:5: note: in expansion of macro 'INT_NEXT_LSTAT'
1901 | r=INT_NEXT_LSTAT(path, &st);
| ^~~~~~~~~~~~~~
libfakeroot.c: In function 'fremovexattr':
libfakeroot.c:101:42: error: '_STAT_VER' undeclared (first use in this function)
101 | #define INT_NEXT_FSTAT(a,b) NEXT_FSTAT64(_STAT_VER,a,b)
| ^~~~~~~~~
fakerootconfig.h:11:45: note: in definition of macro 'NEXT_FSTAT64'
11 | #define NEXT_FSTAT64(a,b,c) next___fxstat64(a,b,c)
| ^
libfakeroot.c:1922:5: note: in expansion of macro 'INT_NEXT_FSTAT'
1922 | r=INT_NEXT_FSTAT(fd, &st);
| ^~~~~~~~~~~~~~
libfakeroot.c: In function 'fts_read':
libfakeroot.c:2028:22: warning: passing argument 1 of 'send_get_stat64' from incompatible pointer type [-Wincompatible-pointer-types]
2028 | SEND_GET_STAT64(r->fts_statp, _STAT_VER);
| ~^~~~~~~~~~~
| |
| struct stat *
libfakeroot.c:89:46: note: in definition of macro 'SEND_GET_STAT64'
89 | #define SEND_GET_STAT64(a,b) send_get_stat64(a)
| ^
In file included from libfakeroot.c:60:
communicate.h:209:44: note: expected 'struct stat64 *' but argument is of type 'struct stat *'
209 | extern void send_get_stat64(struct stat64 *buf);
| ~~~~~~~~~~~~~~~^~~
libfakeroot.c: In function 'fts_children':
libfakeroot.c:2051:24: warning: passing argument 1 of 'send_get_stat64' from incompatible pointer type [-Wincompatible-pointer-types]
2051 | SEND_GET_STAT64(r->fts_statp, _STAT_VER);
| ~^~~~~~~~~~~
| |
| struct stat *
libfakeroot.c:89:46: note: in definition of macro 'SEND_GET_STAT64'
89 | #define SEND_GET_STAT64(a,b) send_get_stat64(a)
| ^
In file included from libfakeroot.c:60:
communicate.h:209:44: note: expected 'struct stat64 *' but argument is of type 'struct stat *'
209 | extern void send_get_stat64(struct stat64 *buf);
| ~~~~~~~~~~~~~~~^~~
In file included from communicate.h:20,
from libfakeroot.c:60:
libfakeroot.c: In function 'statx':
libfakeroot.c:102:50: error: '_STAT_VER' undeclared (first use in this function)
102 | #define INT_NEXT_FSTATAT(a,b,c,d) NEXT_FSTATAT64(_STAT_VER,a,b,c,d)
| ^~~~~~~~~
fakerootconfig.h:15:53: note: in definition of macro 'NEXT_FSTATAT64'
15 | #define NEXT_FSTATAT64(a,b,c,d,e) next___fxstatat64(a,b,c,d,e)
| ^
libfakeroot.c:2489:5: note: in expansion of macro 'INT_NEXT_FSTATAT'
2489 | r=INT_NEXT_FSTATAT(dirfd, path, &st, flags);
| ^~~~~~~~~~~~~~~~
make[6]: *** [Makefile:650: libfakeroot.lo] Error 1
make[6]: Leaving directory '/scratch/union/build_dir/host/fakeroot-1.25.3'
make[5]: *** [Makefile:672: all-recursive] Error 1
make[5]: Leaving directory '/scratch/union/build_dir/host/fakeroot-1.25.3'
make[4]: *** [Makefile:447: all] Error 2
make[4]: Leaving directory '/scratch/union/build_dir/host/fakeroot-1.25.3'
make[3]: *** [Makefile:28: /scratch/union/build_dir/host/fakeroot-1.25.3/.built] Error 2
make[3]: Leaving directory '/scratch/union/tools/fakeroot'
time: tools/fakeroot/compile#0.10#0.01#0.11
ERROR: tools/fakeroot failed to build.
make[2]: *** [tools/Makefile:159: tools/fakeroot/compile] Error 1
make[2]: Leaving directory '/scratch/union'
make[1]: *** [tools/Makefile:155: /scratch/union/staging_dir/host/stamp/.tools_compile_yyyyyynnyyynyyyyyynyynnyyyynyyyyyyyyyyyyyyyynynnyyyyyyy] Error 2
make[1]: Leaving directory '/scratch/union'
make: *** [/scratch/union/include/toplevel.mk:230: world] Error 2