^
libfakeroot.c:1895:5: note: in expansion of macro 'INT_NEXT_FSTAT'
1895
r=INT_NEXT_FSTAT(fd, &st);
^~~~~~
libfakeroot.c: In function 'fts_read':
libfakeroot.c:1959:22: warning: passing argument 1 of 'send_get_stat64' from incompatible pointer type [-Wincompatible-pointer-types]
1959
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:1982:24: warning: passing argument 1 of 'send_get_stat64' from incompatible pointer type [-Wincompatible-pointer-types]
1982
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);
| ~~~^~~
make[3]: [Makefile:642: libfakeroot.lo] Error 1
make[3]: se sale del directorio '/home/user/workspace/berryboot/buildroot-2018.08/output/build/host-fakeroot-1.20.2'
make[2]: [Makefile:660: all-recursive] Error 1
make[2]: se sale del directorio '/home/user/workspace/berryboot/buildroot-2018.08/output/build/host-fakeroot-1.20.2'
make[1]: [Makefile:434: all] Error 2
make[1]: se sale del directorio '/home/user/workspace/berryboot/buildroot-2018.08/output/build/host-fakeroot-1.20.2'
make: [package/pkg-generic.mk:232: /home/user/workspace/berryboot/buildroot-2018.08/output/build/host-fakeroot-1.20.2/.stamp_built] Error 2
`
I've seen _STAT_VER is defined in builtroot/output/build/host-fakeroot-1.20.2/configure and configure.ac, but the same error is launched in next version, with a fixed .patch (old):
When I launched the compilation script:
./build-berryboot.sh device_pi64
It throws this error:
~~~~ fakerootconfig.h:9:43: note: in definition of macro 'NEXT_STAT64' 9~~~~ libfakeroot.c:99:40: note: each undeclared identifier is reported only once for each function it appears in 99~~~~ fakerootconfig.h:9:43: note: in definition of macro 'NEXT_STAT64' 9~~~~ libfakeroot.c: In function 'lchown': libfakeroot.c:100:42: error: '_STAT_VER' undeclared (first use in this function) 100~~~~ fakerootconfig.h:13:45: note: in definition of macro 'NEXT_LSTAT64' 13~~~~~ libfakeroot.c: In function 'fchown': libfakeroot.c:101:42: error: '_STAT_VER' undeclared (first use in this function) 101~~~~ fakerootconfig.h:11:45: note: in definition of macro 'NEXT_FSTAT64' 11~~~~~ libfakeroot.c: In function 'fchownat': libfakeroot.c:102:50: error: '_STAT_VER' undeclared (first use in this function) 102~~~~ fakerootconfig.h:15:53: note: in definition of macro 'NEXT_FSTATAT64' 15~~~libfakeroot.c: In function 'chmod': libfakeroot.c:99:40: error: '_STAT_VER' undeclared (first use in this function) 99~~~~ fakerootconfig.h:9:43: note: in definition of macro 'NEXT_STAT64' 9~~~~ libfakeroot.c: In function 'lchmod': libfakeroot.c:100:42: error: '_STAT_VER' undeclared (first use in this function) 100~~~~ fakerootconfig.h:13:45: note: in definition of macro 'NEXT_LSTAT64' 13~~~~~ libfakeroot.c: In function 'fchmod': libfakeroot.c:101:42: error: '_STAT_VER' undeclared (first use in this function) 101~~~~ fakerootconfig.h:11:45: note: in definition of macro 'NEXT_FSTAT64' 11~~~~~ libfakeroot.c: In function 'fchmodat': libfakeroot.c:102:50: error: '_STAT_VER' undeclared (first use in this function) 102~~~~ fakerootconfig.h:15:53: note: in definition of macro 'NEXT_FSTATAT64' 15~~~libfakeroot.c: In function '__xmknod': libfakeroot.c:100:42: error: '_STAT_VER' undeclared (first use in this function) 100~~~~ fakerootconfig.h:13:45: note: in definition of macro 'NEXT_LSTAT64' 13~~~~~ libfakeroot.c: In function '__xmknodat': libfakeroot.c:102:50: error: '_STAT_VER' undeclared (first use in this function) 102~~~~ fakerootconfig.h:15:53: note: in definition of macro 'NEXT_FSTATAT64' 15~~~libfakeroot.c: In function 'mkdir': libfakeroot.c:99:40: error: '_STAT_VER' undeclared (first use in this function) 99~~~~ fakerootconfig.h:9:43: note: in definition of macro 'NEXT_STAT64' 9~~~~ libfakeroot.c: In function 'mkdirat': libfakeroot.c:102:50: error: '_STAT_VER' undeclared (first use in this function) 102~~~~ fakerootconfig.h:15:53: note: in definition of macro 'NEXT_FSTATAT64' 15~~~libfakeroot.c: In function 'unlink': libfakeroot.c:100:42: error: '_STAT_VER' undeclared (first use in this function) 100~~~~ fakerootconfig.h:13:45: note: in definition of macro 'NEXT_LSTAT64' 13~~~~~ libfakeroot.c: In function 'unlinkat': libfakeroot.c:102:50: error: '_STAT_VER' undeclared (first use in this function) 102~~~~ fakerootconfig.h:15:53: note: in definition of macro 'NEXT_FSTATAT64' 15~~~libfakeroot.c: In function 'rmdir': libfakeroot.c:100:42: error: '_STAT_VER' undeclared (first use in this function) 100~~~~ fakerootconfig.h:13:45: note: in definition of macro 'NEXT_LSTAT64' 13~~~~~ libfakeroot.c: In function 'remove': libfakeroot.c:100:42: error: '_STAT_VER' undeclared (first use in this function) 100~~~~ fakerootconfig.h:13:45: note: in definition of macro 'NEXT_LSTAT64' 13~~~~~ libfakeroot.c: In function 'rename': libfakeroot.c:100:42: error: '_STAT_VER' undeclared (first use in this function) 100~~~~ fakerootconfig.h:13:45: note: in definition of macro 'NEXT_LSTAT64' 13~~~~~ libfakeroot.c: In function 'renameat': libfakeroot.c:102:50: error: '_STAT_VER' undeclared (first use in this function) 102~~~~ fakerootconfig.h:15:53: note: in definition of macro 'NEXT_FSTATAT64' 15~~~libfakeroot.c: In function 'setxattr': libfakeroot.c:99:40: error: '_STAT_VER' undeclared (first use in this function) 99~~~~ fakerootconfig.h:9:43: note: in definition of macro 'NEXT_STAT64' 9~~~~ libfakeroot.c: In function 'lsetxattr': libfakeroot.c:100:42: error: '_STAT_VER' undeclared (first use in this function) 100~~~~ fakerootconfig.h:13:45: note: in definition of macro 'NEXT_LSTAT64' 13~~~~~ libfakeroot.c: In function 'fsetxattr': libfakeroot.c:101:42: error: '_STAT_VER' undeclared (first use in this function) 101~~~~ fakerootconfig.h:11:45: note: in definition of macro 'NEXT_FSTAT64' 11~~~~~ libfakeroot.c: In function 'getxattr': libfakeroot.c:99:40: error: '_STAT_VER' undeclared (first use in this function) 99~~~~ fakerootconfig.h:9:43: note: in definition of macro 'NEXT_STAT64' 9~~~~ libfakeroot.c: In function 'lgetxattr': libfakeroot.c:100:42: error: '_STAT_VER' undeclared (first use in this function) 100~~~~ fakerootconfig.h:13:45: note: in definition of macro 'NEXT_LSTAT64' 13~~~~~ libfakeroot.c: In function 'fgetxattr': libfakeroot.c:101:42: error: '_STAT_VER' undeclared (first use in this function) 101~~~~ fakerootconfig.h:11:45: note: in definition of macro 'NEXT_FSTAT64' 11~~~~~ libfakeroot.c: In function 'listxattr': libfakeroot.c:99:40: error: '_STAT_VER' undeclared (first use in this function) 99~~~~ fakerootconfig.h:9:43: note: in definition of macro 'NEXT_STAT64' 9~~~~ libfakeroot.c: In function 'llistxattr': libfakeroot.c:100:42: error: '_STAT_VER' undeclared (first use in this function) 100~~~~ fakerootconfig.h:13:45: note: in definition of macro 'NEXT_LSTAT64' 13~~~~~ libfakeroot.c: In function 'flistxattr': libfakeroot.c:101:42: error: '_STAT_VER' undeclared (first use in this function) 101~~~~ fakerootconfig.h:11:45: note: in definition of macro 'NEXT_FSTAT64' 11~~~~~ libfakeroot.c: In function 'removexattr': libfakeroot.c:99:40: error: '_STAT_VER' undeclared (first use in this function) 99~~~~ fakerootconfig.h:9:43: note: in definition of macro 'NEXT_STAT64' 9~~~~ libfakeroot.c: In function 'lremovexattr': libfakeroot.c:100:42: error: '_STAT_VER' undeclared (first use in this function) 100~~~~ fakerootconfig.h:13:45: note: in definition of macro 'NEXT_LSTAT64' 13~~~~~ libfakeroot.c: In function 'fremovexattr': libfakeroot.c:101:42: error: '_STAT_VER' undeclared (first use in this function) 101~~~~ fakerootconfig.h:11:45: note: in definition of macro 'NEXT_FSTAT64' 11~~~~~ libfakeroot.c: In function 'fts_read': libfakeroot.c:1959:22: warning: passing argument 1 of 'send_get_stat64' from incompatible pointer type [-Wincompatible-pointer-types] 1959~~~~~^~~ libfakeroot.c: In function 'fts_children': libfakeroot.c:1982:24: warning: passing argument 1 of 'send_get_stat64' from incompatible pointer type [-Wincompatible-pointer-types] 1982~~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); |
~~~^~~ make[3]: [Makefile:642: libfakeroot.lo] Error 1 make[3]: se sale del directorio '/home/user/workspace/berryboot/buildroot-2018.08/output/build/host-fakeroot-1.20.2' make[2]: [Makefile:660: all-recursive] Error 1 make[2]: se sale del directorio '/home/user/workspace/berryboot/buildroot-2018.08/output/build/host-fakeroot-1.20.2' make[1]: [Makefile:434: all] Error 2 make[1]: se sale del directorio '/home/user/workspace/berryboot/buildroot-2018.08/output/build/host-fakeroot-1.20.2' make: [package/pkg-generic.mk:232: /home/user/workspace/berryboot/buildroot-2018.08/output/build/host-fakeroot-1.20.2/.stamp_built] Error 2 `I've seen _STAT_VER is defined in builtroot/output/build/host-fakeroot-1.20.2/configure and configure.ac, but the same error is launched in next version, with a fixed .patch (old):
https://git.busybox.net/buildroot/commit/?id=f45925a951318e9e53bead80b363e004301adc6f
It happens launching the build script on ArchLinux with Linux bitlap 5.13.13-arch1-1 #1 SMP PREEMPT Thu, 26 Aug 2021 19:14:36 +0000 x86_64 GNU/Linux