Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

host-fakeroot 1.25.3 Building error #3

Open
juanmcc opened this issue Sep 21, 2022 · 1 comment
Open

host-fakeroot 1.25.3 Building error #3

juanmcc opened this issue Sep 21, 2022 · 1 comment

Comments

@juanmcc
Copy link

juanmcc commented Sep 21, 2022

I'm receiving this error after solving the other related with SIGSTKSZ. I'm using WSL Ubuntu 22.04 on Windows 10.

host-fakeroot 1.25.3 Building
PATH="/home/holoh/buildroot/imx8mp_build/build/buildroot/output/host/bin:/home/holoh/buildroot/imx8mp_build/build/buildroot/output/host/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/usr/lib/wsl/lib:/mnt/c/Program Files/WindowsApps/CanonicalGroupLimited.Ubuntu22.04LTS_2204.1.22.0_x64__79rhkp1fndgsc:/mnt/c/Program Files/Common Files/Oracle/Java/javapath:/mnt/c/windows/system32:/mnt/c/windows:/mnt/c/windows/System32/Wbem:/mnt/c/windows/System32/WindowsPowerShell/v1.0/:/mnt/c/windows/System32/OpenSSH/:/mnt/c/Program Files (x86)/NVIDIA Corporation/PhysX/Common:/mnt/c/Program Files/NVIDIA Corporation/NVIDIA NvDLISR:/mnt/c/Windows/system32:/mnt/c/Windows:/mnt/c/Windows/System32/Wbem:/mnt/c/Windows/System32/WindowsPowerShell/v1.0/:/mnt/c/Windows/System32/OpenSSH/:/mnt/c/Program Files/PuTTY/:/mnt/c/Program Files (x86)/Windows Kits/8.1/Windows Performance Toolkit/:/mnt/c/Program Files/Git/cmd:/mnt/c/Program Files/Docker/Docker/resources/bin:/mnt/c/ProgramData/DockerDesktop/version-bin:/mnt/c/Users/juan_/AppData/Local/Programs/Python/Python310/Scripts/:/mnt/c/Users/juan_/AppData/Local/Programs/Python/Python310/:/mnt/c/Users/juan_/AppData/Local/Microsoft/WindowsApps:/mnt/c/Users/juan_/AppData/Local/Programs/Microsoft VS Code/bin:/snap/bin" PKG_CONFIG="/home/holoh/buildroot/imx8mp_build/build/buildroot/output/host/bin/pkg-config" PKG_CONFIG_SYSROOT_DIR="/" PKG_CONFIG_ALLOW_SYSTEM_CFLAGS=1 PKG_CONFIG_ALLOW_SYSTEM_LIBS=1 PKG_CONFIG_LIBDIR="/home/holoh/buildroot/imx8mp_build/build/buildroot/output/host/lib/pkgconfig:/home/holoh/buildroot/imx8mp_build/build/buildroot/output/host/share/pkgconfig" /usr/bin/make -j17 -C /home/holoh/buildroot/imx8mp_build/build/buildroot/output/build/host-fakeroot-1.25.3/
make[1]: se entra en el directorio '/home/holoh/buildroot/imx8mp_build/build/buildroot/output/build/host-fakeroot-1.25.3'
/usr/bin/make all-recursive
make[2]: se entra en el directorio '/home/holoh/buildroot/imx8mp_build/build/buildroot/output/build/host-fakeroot-1.25.3'
Making all in doc
make[3]: se entra en el directorio '/home/holoh/buildroot/imx8mp_build/build/buildroot/output/build/host-fakeroot-1.25.3/doc'
make[3]: No se hace nada para 'all'.
make[3]: se sale del directorio '/home/holoh/buildroot/imx8mp_build/build/buildroot/output/build/host-fakeroot-1.25.3/doc'
Making all in scripts
make[3]: se entra en el directorio '/home/holoh/buildroot/imx8mp_build/build/buildroot/output/build/host-fakeroot-1.25.3/scripts'
sed -e 's,[@]prefix[@],/home/holoh/buildroot/imx8mp_build/build/buildroot/output/host,g' -e 's,[@]bindir[@],/home/holoh/buildroot/imx8mp_build/build/buildroot/output/host/bin,g' -e 's,[@]libdir[@],/home/holoh/buildroot/imx8mp_build/build/buildroot/output/host/lib,g' -e 's,[@]fakeroot_transformed[@],'echo fakeroot | sed -e 's,x,x,'',g' -e 's,[@]faked_transformed[@],'echo faked | sed -e 's,x,x,'',g' -e 's,[@]signal[@],TERM,g' -e 's,[@]SHELL[@],/bin/bash,g' -e 's,[@]VERSION[@],1.25.3,g' -e 's,[@]DLSUFFIX[@],.so,g' -e 's,[@]LDLIBPATHVAR[@],LD_LIBRARY_PATH,g' -e 's,[@]LDPRELOADVAR[@],LD_PRELOAD,g' -e 's,[@]LDPRELOADABS[@],0,g' -e 's,[@]LDEXTRAVAR[@],,g' -e 's,[@]MACOSX_FALSE[@],,g' -e 's,[@]MACOSX_TRUE[@],#,g' < ./fakeroot.in > fakeroot
chmod +x fakeroot
make[3]: se sale del directorio '/home/holoh/buildroot/imx8mp_build/build/buildroot/output/build/host-fakeroot-1.25.3/scripts'
Making all in test
make[3]: se entra en el directorio '/home/holoh/buildroot/imx8mp_build/build/buildroot/output/build/host-fakeroot-1.25.3/test'
make[3]: No se hace nada para 'all'.
make[3]: se sale del directorio '/home/holoh/buildroot/imx8mp_build/build/buildroot/output/build/host-fakeroot-1.25.3/test'
make[3]: se entra en el directorio '/home/holoh/buildroot/imx8mp_build/build/buildroot/output/build/host-fakeroot-1.25.3'
awk -f ./wrapawk < ./wrapfunc.inp
awk -f ./wrapawk < ./wrapfunc.inp
awk -f ./wrapawk < ./wrapfunc.inp
/bin/bash ./libtool --tag=CC --mode=compile /usr/bin/gcc -DHAVE_CONFIG_H -I. -I/home/holoh/buildroot/imx8mp_build/build/buildroot/output/host/include -O2 -I/home/holoh/buildroot/imx8mp_build/build/buildroot/output/host/include -c -o communicate.lo communicate.c
/bin/bash ./libtool --tag=CC --mode=compile /usr/bin/gcc -DHAVE_CONFIG_H -I. -I/home/holoh/buildroot/imx8mp_build/build/buildroot/output/host/include -O2 -I/home/holoh/buildroot/imx8mp_build/build/buildroot/output/host/include -c -o libfakeroot_inode64.lo libfakeroot_inode64.c
/bin/bash ./libtool --tag=CC --mode=compile /usr/bin/gcc -DHAVE_CONFIG_H -I. -I/home/holoh/buildroot/imx8mp_build/build/buildroot/output/host/include -O2 -I/home/holoh/buildroot/imx8mp_build/build/buildroot/output/host/include -c -o libfakeroot_unix2003.lo libfakeroot_unix2003.c
/usr/bin/gcc -DHAVE_CONFIG_H -I. -I/home/holoh/buildroot/imx8mp_build/build/buildroot/output/host/include -O2 -I/home/holoh/buildroot/imx8mp_build/build/buildroot/output/host/include -c -o faked.o faked.c
/usr/bin/gcc -DHAVE_CONFIG_H -I. -I/home/holoh/buildroot/imx8mp_build/build/buildroot/output/host/include -O2 -I/home/holoh/buildroot/imx8mp_build/build/buildroot/output/host/include -c -o simple.o simple.c
awk: awk: awk: ./wrapawk:./wrapawk:./wrapawk:27: 27: 27: aviso: aviso: regexp escape sequence \#' is not a known regexp operatorregexp escape sequence #' is not a known regexp operatoraviso:
regexp escape sequence `#' is not a known regexp operator

/bin/bash ./libtool --tag=CC --mode=compile /usr/bin/gcc -DHAVE_CONFIG_H -I. -I/home/holoh/buildroot/imx8mp_build/build/buildroot/output/host/include -O2 -I/home/holoh/buildroot/imx8mp_build/build/buildroot/output/host/include -c -o libfakeroot.lo libfakeroot.c
/bin/bash ./libtool --tag=CC --mode=link /usr/bin/gcc -O2 -I/home/holoh/buildroot/imx8mp_build/build/buildroot/output/host/include -L/home/holoh/buildroot/imx8mp_build/build/buildroot/output/host/lib -Wl,-rpath,/home/holoh/buildroot/imx8mp_build/build/buildroot/output/host/lib -o simple simple.o -ldl
libtool: compile: /usr/bin/gcc -DHAVE_CONFIG_H -I. -I/home/holoh/buildroot/imx8mp_build/build/buildroot/output/host/include -O2 -I/home/holoh/buildroot/imx8mp_build/build/buildroot/output/host/include -c libfakeroot_inode64.c -fPIC -DPIC -o .libs/libfakeroot_inode64.o
libtool: compile: /usr/bin/gcc -DHAVE_CONFIG_H -I. -I/home/holoh/buildroot/imx8mp_build/build/buildroot/output/host/include -O2 -I/home/holoh/buildroot/imx8mp_build/build/buildroot/output/host/include -c communicate.c -fPIC -DPIC -o .libs/communicate.o
libtool: compile: /usr/bin/gcc -DHAVE_CONFIG_H -I. -I/home/holoh/buildroot/imx8mp_build/build/buildroot/output/host/include -O2 -I/home/holoh/buildroot/imx8mp_build/build/buildroot/output/host/include -c libfakeroot_unix2003.c -fPIC -DPIC -o .libs/libfakeroot_unix2003.o
libtool: compile: /usr/bin/gcc -DHAVE_CONFIG_H -I. -I/home/holoh/buildroot/imx8mp_build/build/buildroot/output/host/include -O2 -I/home/holoh/buildroot/imx8mp_build/build/buildroot/output/host/include -c libfakeroot.c -fPIC -DPIC -o .libs/libfakeroot.o
/bin/bash ./libtool --tag=CC --mode=link /usr/bin/gcc -O2 -I/home/holoh/buildroot/imx8mp_build/build/buildroot/output/host/include -L/home/holoh/buildroot/imx8mp_build/build/buildroot/output/host/lib -Wl,-rpath,/home/holoh/buildroot/imx8mp_build/build/buildroot/output/host/lib -o libmacosx.la libfakeroot_inode64.lo libfakeroot_unix2003.lo -ldl
faked.c: In function ‘save_database’:
faked.c:617:23: warning: format ‘%llx’ expects argument of type ‘long long unsigned int’, but argument 3 has type ‘long unsigned int’ [-Wformat=]
617 | fprintf(f,"dev=%llx,ino=%llu,mode=%llo,uid=%llu,gid=%llu,nlink=%llu,rdev=%llu\n",
| ~~~^
| |
| long long unsigned int
| %lx
618 | (uint64_t) i->buf.dev,(uint64_t) i->buf.ino,(uint64_t) i->buf.mode,
| ~~~~~~~~~~~~~~~~~~~~~
| |
| long unsigned int
faked.c:617:32: warning: format ‘%llu’ expects argument of type ‘long long unsigned int’, but argument 4 has type ‘long unsigned int’ [-Wformat=]
617 | fprintf(f,"dev=%llx,ino=%llu,mode=%llo,uid=%llu,gid=%llu,nlink=%llu,rdev=%llu\n",
| ~~~^
| |
| long long unsigned int
| %lu
618 | (uint64_t) i->buf.dev,(uint64_t) i->buf.ino,(uint64_t) i->buf.mode,
| ~~~~~~~~~~~~~~~~~~~~~
| |
| long unsigned int
faked.c:617:42: warning: format ‘%llo’ expects argument of type ‘long long unsigned int’, but argument 5 has type ‘long unsigned int’ [-Wformat=]
617 | fprintf(f,"dev=%llx,ino=%llu,mode=%llo,uid=%llu,gid=%llu,nlink=%llu,rdev=%llu\n",
| ~~~^
| |
| long long unsigned int
| %lo
618 | (uint64_t) i->buf.dev,(uint64_t) i->buf.ino,(uint64_t) i->buf.mode,
| ~~~~~~~~~~~~~~~~~~~~~~
| |
| long unsigned int
faked.c:617:51: warning: format ‘%llu’ expects argument of type ‘long long unsigned int’, but argument 6 has type ‘long unsigned int’ [-Wformat=]
617 | fprintf(f,"dev=%llx,ino=%llu,mode=%llo,uid=%llu,gid=%llu,nlink=%llu,rdev=%llu\n",
| ~~~^
| |
| long long unsigned int
| %lu
618 | (uint64_t) i->buf.dev,(uint64_t) i->buf.ino,(uint64_t) i->buf.mode,
619 | (uint64_t) i->buf.uid,(uint64_t) i->buf.gid,(uint64_t) i->buf.nlink,
| ~~~~~~~~~~~~~~~~~~~~~
| |
| long unsigned int
faked.c:617:60: warning: format ‘%llu’ expects argument of type ‘long long unsigned int’, but argument 7 has type ‘long unsigned int’ [-Wformat=]
617 | fprintf(f,"dev=%llx,ino=%llu,mode=%llo,uid=%llu,gid=%llu,nlink=%llu,rdev=%llu\n",
| ~~~^
| |
| long long unsigned int
| %lu
618 | (uint64_t) i->buf.dev,(uint64_t) i->buf.ino,(uint64_t) i->buf.mode,
619 | (uint64_t) i->buf.uid,(uint64_t) i->buf.gid,(uint64_t) i->buf.nlink,
| ~~~~~~~~~~~~~~~~~~~~~
| |
| long unsigned int
faked.c:617:71: warning: format ‘%llu’ expects argument of type ‘long long unsigned int’, but argument 8 has type ‘long unsigned int’ [-Wformat=]
617 | fprintf(f,"dev=%llx,ino=%llu,mode=%llo,uid=%llu,gid=%llu,nlink=%llu,rdev=%llu\n",
| ~~~^
| |
| long long unsigned int
| %lu
618 | (uint64_t) i->buf.dev,(uint64_t) i->buf.ino,(uint64_t) i->buf.mode,
619 | (uint64_t) i->buf.uid,(uint64_t) i->buf.gid,(uint64_t) i->buf.nlink,
| ~~~~~~~~~~~~~~~~~~~~~~~
| |
| long unsigned int
faked.c:617:81: warning: format ‘%llu’ expects argument of type ‘long long unsigned int’, but argument 9 has type ‘long unsigned int’ [-Wformat=]
617 | fprintf(f,"dev=%llx,ino=%llu,mode=%llo,uid=%llu,gid=%llu,nlink=%llu,rdev=%llu\n",
| ~~~^
| |
| long long unsigned int
| %lu
......
620 | (uint64_t) i->buf.rdev);
| ~~~~~~~~~~~~~~~~~~~~~~
| |
| long unsigned int
faked.c: In function ‘load_database’:
faked.c:658:21: warning: format ‘%llx’ expects argument of type ‘long long unsigned int *’, but argument 2 has type ‘uint64_t *’ {aka ‘long unsigned int *’} [-Wformat=]
658 | r=scanf("dev=%llx,ino=%llu,mode=%llo,uid=%llu,gid=%llu,nlink=%llu,rdev=%llu\n",
| ~~~^
| |
| long long unsigned int *
| %lx
659 | &stdev, &stino, &stmode, &stuid, &stgid, &stnlink, &strdev);
| ~~~~~~
| |
| uint64_t * {aka long unsigned int *}
faked.c:658:30: warning: format ‘%llu’ expects argument of type ‘long long unsigned int *’, but argument 3 has type ‘uint64_t *’ {aka ‘long unsigned int *’} [-Wformat=]
658 | r=scanf("dev=%llx,ino=%llu,mode=%llo,uid=%llu,gid=%llu,nlink=%llu,rdev=%llu\n",
| ~~~^
| |
| long long unsigned int *
| %lu
659 | &stdev, &stino, &stmode, &stuid, &stgid, &stnlink, &strdev);
| ~~~~~~
| |
| uint64_t * {aka long unsigned int *}
faked.c:658:40: warning: format ‘%llo’ expects argument of type ‘long long unsigned int *’, but argument 4 has type ‘uint64_t *’ {aka ‘long unsigned int *’} [-Wformat=]
658 | r=scanf("dev=%llx,ino=%llu,mode=%llo,uid=%llu,gid=%llu,nlink=%llu,rdev=%llu\n",
| ~~~^
| |
| long long unsigned int *
| %lo
659 | &stdev, &stino, &stmode, &stuid, &stgid, &stnlink, &strdev);
| ~~~~~~~
| |
| uint64_t * {aka long unsigned int *}
faked.c:658:49: warning: format ‘%llu’ expects argument of type ‘long long unsigned int *’, but argument 5 has type ‘uint64_t *’ {aka ‘long unsigned int *’} [-Wformat=]
658 | r=scanf("dev=%llx,ino=%llu,mode=%llo,uid=%llu,gid=%llu,nlink=%llu,rdev=%llu\n",
| ~~~^
| |
| long long unsigned int *
| %lu
659 | &stdev, &stino, &stmode, &stuid, &stgid, &stnlink, &strdev);
| ~~~~~~
| |
| uint64_t * {aka long unsigned int *}
faked.c:658:58: warning: format ‘%llu’ expects argument of type ‘long long unsigned int *’, but argument 6 has type ‘uint64_t *’ {aka ‘long unsigned int *’} [-Wformat=]
658 | r=scanf("dev=%llx,ino=%llu,mode=%llo,uid=%llu,gid=%llu,nlink=%llu,rdev=%llu\n",
| ~~~^
| |
| long long unsigned int *
| %lu
659 | &stdev, &stino, &stmode, &stuid, &stgid, &stnlink, &strdev);
| ~~~~~~
| |
| uint64_t * {aka long unsigned int *}
faked.c:658:69: warning: format ‘%llu’ expects argument of type ‘long long unsigned int *’, but argument 7 has type ‘uint64_t *’ {aka ‘long unsigned int *’} [-Wformat=]
658 | r=scanf("dev=%llx,ino=%llu,mode=%llo,uid=%llu,gid=%llu,nlink=%llu,rdev=%llu\n",
| ~~~^
| |
| long long unsigned int *
| %lu
659 | &stdev, &stino, &stmode, &stuid, &stgid, &stnlink, &strdev);
| ~~~~~~~~
| |
| uint64_t * {aka long unsigned int *}
faked.c:658:79: warning: format ‘%llu’ expects argument of type ‘long long unsigned int *’, but argument 8 has type ‘uint64_t *’ {aka ‘long unsigned int *’} [-Wformat=]
658 | r=scanf("dev=%llx,ino=%llu,mode=%llo,uid=%llu,gid=%llu,nlink=%llu,rdev=%llu\n",
| ~~~^
| |
| long long unsigned int *
| %lu
659 | &stdev, &stino, &stmode, &stuid, &stgid, &stnlink, &strdev);
| ~~~~~~~
| |
| uint64_t * {aka long unsigned int *}
faked.c: In function ‘debug_stat’:
faked.c:685:31: warning: format ‘%llx’ expects argument of type ‘long long unsigned int’, but argument 3 has type ‘fake_dev_t’ {aka ‘long unsigned int’} [-Wformat=]
685 | fprintf(stderr,"dev:ino=(%llx:%lli), mode=0%lo, own=(%li,%li), nlink=%li, rdev=%lli\n",
| ~~~^
| |
| long long unsigned int
| %lx
686 | st->dev,
| ~~~~~~~
| |
| fake_dev_t {aka long unsigned int}
faked.c:685:36: warning: format ‘%lli’ expects argument of type ‘long long int’, but argument 4 has type ‘fake_ino_t’ {aka ‘long unsigned int’} [-Wformat=]
685 | fprintf(stderr,"dev:ino=(%llx:%lli), mode=0%lo, own=(%li,%li), nlink=%li, rdev=%lli\n",
| ~~~^
| |
| long long int
| %li
686 | st->dev,
687 | st->ino,
| ~~~~~~~
| |
| fake_ino_t {aka long unsigned int}
faked.c:685:85: warning: format ‘%lli’ expects argument of type ‘long long int’, but argument 9 has type ‘fake_dev_t’ {aka ‘long unsigned int’} [-Wformat=]
685 | fprintf(stderr,"dev:ino=(%llx:%lli), mode=0%lo, own=(%li,%li), nlink=%li, rdev=%lli\n",
| ~~~^
| |
| long long int
| %li
......
692 | st->rdev);
| ~~~~~~~~
| |
| fake_dev_t {aka long unsigned int}
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:811:5: note: in expansion of macro ‘INT_NEXT_STAT’
811 | 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:811:5: note: in expansion of macro ‘INT_NEXT_STAT’
811 | 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:843:5: note: in expansion of macro ‘INT_NEXT_LSTAT’
843 | r=INT_NEXT_LSTAT(path, &st);
| ^~~~~~~~~~~~~~
libtool: link: /usr/bin/gcc -O2 -I/home/holoh/buildroot/imx8mp_build/build/buildroot/output/host/include -Wl,-rpath -Wl,/home/holoh/buildroot/imx8mp_build/build/buildroot/output/host/lib -o simple simple.o -L/home/holoh/buildroot/imx8mp_build/build/buildroot/output/host/lib -ldl
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:864:5: note: in expansion of macro ‘INT_NEXT_FSTAT’
864 | 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:890:5: note: in expansion of macro ‘INT_NEXT_FSTATAT’
890 | 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:921:5: note: in expansion of macro ‘INT_NEXT_STAT’
921 | 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:961:5: note: in expansion of macro ‘INT_NEXT_LSTAT’
961 | 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:995:5: note: in expansion of macro ‘INT_NEXT_FSTAT’
995 | 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:1027:5: note: in expansion of macro ‘INT_NEXT_FSTATAT’
1027 | 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:1074:5: note: in expansion of macro ‘INT_NEXT_LSTAT’
1074 | 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:1114:5: note: in expansion of macro ‘INT_NEXT_FSTATAT’
1114 | 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:1150:5: note: in expansion of macro ‘INT_NEXT_STAT’
1150 | 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:1180:5: note: in expansion of macro ‘INT_NEXT_FSTATAT’
1180 | 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:1214:5: note: in expansion of macro ‘INT_NEXT_LSTAT’
1214 | 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:1233:5: note: in expansion of macro ‘INT_NEXT_FSTATAT’
1233 | 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:1257:5: note: in expansion of macro ‘INT_NEXT_LSTAT’
1257 | 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:1277:5: note: in expansion of macro ‘INT_NEXT_LSTAT’
1277 | r=INT_NEXT_LSTAT(pathname, &st);
| ^~~~~~~~~~~~~~
libtool: link: /usr/bin/ar cru .libs/libmacosx.a .libs/libfakeroot_inode64.o .libs/libfakeroot_unix2003.o
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:1307:5: note: in expansion of macro ‘INT_NEXT_LSTAT’
1307 | r=INT_NEXT_LSTAT(newpath, &st);
| ^~~~~~~~~~~~~~
/usr/bin/ar: u' modifier ignored since D' is the default (see `U')
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:1331:5: note: in expansion of macro ‘INT_NEXT_FSTATAT’
1331 | 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:1675:5: note: in expansion of macro ‘INT_NEXT_STAT’
1675 | 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:1696:5: note: in expansion of macro ‘INT_NEXT_LSTAT’
1696 | 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:1717:5: note: in expansion of macro ‘INT_NEXT_FSTAT’
1717 | 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:1738:5: note: in expansion of macro ‘INT_NEXT_STAT’
1738 | 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:1759:5: note: in expansion of macro ‘INT_NEXT_LSTAT’
1759 | 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:1780:5: note: in expansion of macro ‘INT_NEXT_FSTAT’
1780 | r=INT_NEXT_FSTAT(fd, &st);
| ^~~~~~~~~~~~~~
libtool: link: /usr/bin/ranlib .libs/libmacosx.a
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:1801:5: note: in expansion of macro ‘INT_NEXT_STAT’
1801 | 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:1822:5: note: in expansion of macro ‘INT_NEXT_LSTAT’
1822 | 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:1843:5: note: in expansion of macro ‘INT_NEXT_FSTAT’
1843 | 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:1864:5: note: in expansion of macro ‘INT_NEXT_STAT’
1864 | 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:1885:5: note: in expansion of macro ‘INT_NEXT_LSTAT’
1885 | 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:1906:5: note: in expansion of macro ‘INT_NEXT_FSTAT’
1906 | r=INT_NEXT_FSTAT(fd, &st);
| ^~~~~~~~~~~~~~
libfakeroot.c: In function ‘fts_read’:
libfakeroot.c:2012:22: warning: passing argument 1 of ‘send_get_stat64’ from incompatible pointer type [-Wincompatible-pointer-types]
2012 | 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:2035:24: warning: passing argument 1 of ‘send_get_stat64’ from incompatible pointer type [-Wincompatible-pointer-types]
2035 | 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:2473:5: note: in expansion of macro ‘INT_NEXT_FSTATAT’
2473 | r=INT_NEXT_FSTATAT(dirfd, path, &st, flags);
| ^~~~~~~~~~~~~~~~
make[3]: *** [Makefile:659: libfakeroot.lo] Error 1

@YAOHaoweiya
Copy link

急,请问解决了嘛

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants