>>> host-libcap 2.51 Downloading wget --passive-ftp -nd -t 3 --no-check-certificate -O '/home/buildroot/autobuild/run/instance-3/output-1/build/.libcap-2.51.tar.xz.NZZBty/output' 'https://www.kernel.org/pub/linux/libs/security/linux-privs/libcap2/libcap-2.51.tar.xz' --2021-07-20 02:07:53-- https://www.kernel.org/pub/linux/libs/security/linux-privs/libcap2/libcap-2.51.tar.xz Resolving www.kernel.org (www.kernel.org)... 2604:1380:40b0:1a00::1, 136.144.49.103 Connecting to www.kernel.org (www.kernel.org)|2604:1380:40b0:1a00::1|:443... connected. WARNING: cannot verify www.kernel.org's certificate, issued by '/C=FR/ST=Paris/L=Paris/O=Gandi/CN=Gandi Standard SSL CA 2': Unable to locally verify the issuer's authority. HTTP request sent, awaiting response... 301 Moved Permanently Location: https://mirrors.edge.kernel.org/pub/linux/libs/security/linux-privs/libcap2/libcap-2.51.tar.xz [following] --2021-07-20 02:07:54-- https://mirrors.edge.kernel.org/pub/linux/libs/security/linux-privs/libcap2/libcap-2.51.tar.xz Resolving mirrors.edge.kernel.org (mirrors.edge.kernel.org)... 2604:1380:2001:3900::1, 147.75.101.1 Connecting to mirrors.edge.kernel.org (mirrors.edge.kernel.org)|2604:1380:2001:3900::1|:443... connected. HTTP request sent, awaiting response... 200 OK Length: 145440 (142K) [application/x-xz] Saving to: '/home/buildroot/autobuild/run/instance-3/output-1/build/.libcap-2.51.tar.xz.NZZBty/output' 0K .......... .......... .......... .......... .......... 35% 7.32M 0s 50K .......... .......... .......... .......... .......... 70% 7.71M 0s 100K .......... .......... .......... .......... .. 100% 130M=0.01s 2021-07-20 02:07:54 (10.4 MB/s) - '/home/buildroot/autobuild/run/instance-3/output-1/build/.libcap-2.51.tar.xz.NZZBty/output' saved [145440/145440] libcap-2.51.tar.xz: OK (sha256: 6609f3ab7aebcc8f9277f53a577c657d9f3056d1352ea623da7fd7c0f00890f9) >>> host-libcap 2.51 Extracting xzcat /home/buildroot/autobuild/run/instance-3/dl/libcap/libcap-2.51.tar.xz | tar --strip-components=1 -C /home/buildroot/autobuild/run/instance-3/output-1/build/host-libcap-2.51 -xf - >>> host-libcap 2.51 Patching >>> host-libcap 2.51 Configuring >>> host-libcap 2.51 Building PATH="/home/buildroot/autobuild/run/instance-3/output-1/host/bin:/home/buildroot/autobuild/run/instance-3/output-1/host/sbin:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games" PKG_CONFIG="/home/buildroot/autobuild/run/instance-3/output-1/host/bin/pkg-config" PKG_CONFIG_SYSROOT_DIR="/" PKG_CONFIG_ALLOW_SYSTEM_CFLAGS=1 PKG_CONFIG_ALLOW_SYSTEM_LIBS=1 PKG_CONFIG_LIBDIR="/home/buildroot/autobuild/run/instance-3/output-1/host/lib/pkgconfig:/home/buildroot/autobuild/run/instance-3/output-1/host/share/pkgconfig" PATH="/home/buildroot/autobuild/run/instance-3/output-1/host/bin:/home/buildroot/autobuild/run/instance-3/output-1/host/sbin:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games" PKG_CONFIG="/home/buildroot/autobuild/run/instance-3/output-1/host/bin/pkg-config" PKG_CONFIG_SYSROOT_DIR="/" PKG_CONFIG_ALLOW_SYSTEM_CFLAGS=1 PKG_CONFIG_ALLOW_SYSTEM_LIBS=1 PKG_CONFIG_LIBDIR="/home/buildroot/autobuild/run/instance-3/output-1/host/lib/pkgconfig:/home/buildroot/autobuild/run/instance-3/output-1/host/share/pkgconfig" AR="/usr/bin/ar" AS="/usr/bin/as" LD="/usr/bin/ld" NM="/usr/bin/nm" CC="/usr/bin/gcc" GCC="/usr/bin/gcc" CXX="/usr/bin/g++" CPP="/usr/bin/cpp" OBJCOPY="/usr/bin/objcopy" RANLIB="/usr/bin/ranlib" CPPFLAGS="-I/home/buildroot/autobuild/run/instance-3/output-1/host/include" CFLAGS="-O2 -I/home/buildroot/autobuild/run/instance-3/output-1/host/include" CXXFLAGS="-O2 -I/home/buildroot/autobuild/run/instance-3/output-1/host/include" LDFLAGS="-L/home/buildroot/autobuild/run/instance-3/output-1/host/lib -Wl,-rpath,/home/buildroot/autobuild/run/instance-3/output-1/host/lib" INTLTOOL_PERL=/usr/bin/perl /usr/bin/make -j4 -C /home/buildroot/autobuild/run/instance-3/output-1/build/host-libcap-2.51 DYNAMIC=yes GOLANG=no lib=lib prefix=/home/buildroot/autobuild/run/instance-3/output-1/host RAISE_SETFCAP=no make[1]: Entering directory `/home/buildroot/autobuild/run/instance-3/output-1/build/host-libcap-2.51' /usr/bin/make -C libcap all make[2]: Entering directory `/home/buildroot/autobuild/run/instance-3/output-1/build/host-libcap-2.51/libcap' sed -e 's,@prefix@,/home/buildroot/autobuild/run/instance-3/output-1/host,' \ -e 's,@exec_prefix@,/home/buildroot/autobuild/run/instance-3/output-1/host,' \ -e 's,@libdir@,/home/buildroot/autobuild/run/instance-3/output-1/host/lib,' \ -e 's,@includedir@,/home/buildroot/autobuild/run/instance-3/output-1/host/include,' \ -e 's,@VERSION@,2.51,' \ -e 's,@deps@,,' \ libcap.pc.in >libcap.pc => making cap_names.list.h from /home/buildroot/autobuild/run/instance-3/output-1/build/host-libcap-2.51/libcap/../libcap/include/uapi/linux/capability.h perl -e 'while ($l=<>) { if ($l =~ /^\#define[ \t](CAP[_A-Z]+)[ \t]+([0-9]+)\s+$/) { $tok=$1; $val=$2; $tok =~ tr/A-Z/a-z/; print "{\"$tok\",$val},\n"; } }' /home/buildroot/autobuild/run/instance-3/output-1/build/host-libcap-2.51/libcap/../libcap/include/uapi/linux/capability.h | fgrep -v 0x > cap_names.list.h /usr/bin/make libpsx.pc gcc -O2 -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -fPIC -I/home/buildroot/autobuild/run/instance-3/output-1/build/host-libcap-2.51/libcap/../libcap/include/uapi -I/home/buildroot/autobuild/run/instance-3/output-1/build/host-libcap-2.51/libcap/../libcap/include _makenames.c -o _makenames perl -e 'print "struct __cap_token_s { const char *name; int index; };\n%{\nconst struct __cap_token_s *__cap_lookup_name(const char *, size_t);\n%}\n%%\n"; while ($l = <>) { $l =~ s/[\{\"]//g; $l =~ s/\}.*// ; print $l; }' < cap_names.list.h | gperf --ignore-case --language=ANSI-C --readonly --null-strings --global-table --hash-function-name=__cap_hash_name --lookup-function-name="__cap_lookup_name" -c -t -m20 > _caps_output.gperf make[3]: Entering directory `/home/buildroot/autobuild/run/instance-3/output-1/build/host-libcap-2.51/libcap' sed -e 's,@prefix@,/home/buildroot/autobuild/run/instance-3/output-1/host,' \ -e 's,@exec_prefix@,/home/buildroot/autobuild/run/instance-3/output-1/host,' \ -e 's,@libdir@,/home/buildroot/autobuild/run/instance-3/output-1/host/lib,' \ -e 's,@includedir@,/home/buildroot/autobuild/run/instance-3/output-1/host/include,' \ -e 's,@VERSION@,2.51,' \ -e 's,@deps@,,' \ libpsx.pc.in >libpsx.pc sed -e 's/unsigned int len/size_t len/' -i _caps_output.gperf make[3]: Leaving directory `/home/buildroot/autobuild/run/instance-3/output-1/build/host-libcap-2.51/libcap' ./_makenames > cap_names.h gcc -O2 -I/home/buildroot/autobuild/run/instance-3/output-1/host/include -Dlinux -Wall -Wwrite-strings -Wpointer-arith -Wcast-qual -Wcast-align -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Winline -Wshadow -g -Dlinux -Wall -Wwrite-strings -Wpointer-arith -Wcast-qual -Wcast-align -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Winline -Wshadow -g -fPIC -I/home/buildroot/autobuild/run/instance-3/output-1/build/host-libcap-2.51/libcap/../libcap/include/uapi -I/home/buildroot/autobuild/run/instance-3/output-1/build/host-libcap-2.51/libcap/../libcap/include -c cap_alloc.c -o cap_alloc.o gcc -O2 -I/home/buildroot/autobuild/run/instance-3/output-1/host/include -Dlinux -Wall -Wwrite-strings -Wpointer-arith -Wcast-qual -Wcast-align -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Winline -Wshadow -g -Dlinux -Wall -Wwrite-strings -Wpointer-arith -Wcast-qual -Wcast-align -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Winline -Wshadow -g -fPIC -I/home/buildroot/autobuild/run/instance-3/output-1/build/host-libcap-2.51/libcap/../libcap/include/uapi -I/home/buildroot/autobuild/run/instance-3/output-1/build/host-libcap-2.51/libcap/../libcap/include -c cap_proc.c -o cap_proc.o gcc -O2 -I/home/buildroot/autobuild/run/instance-3/output-1/host/include -Dlinux -Wall -Wwrite-strings -Wpointer-arith -Wcast-qual -Wcast-align -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Winline -Wshadow -g -Dlinux -Wall -Wwrite-strings -Wpointer-arith -Wcast-qual -Wcast-align -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Winline -Wshadow -g -fPIC -I/home/buildroot/autobuild/run/instance-3/output-1/build/host-libcap-2.51/libcap/../libcap/include/uapi -I/home/buildroot/autobuild/run/instance-3/output-1/build/host-libcap-2.51/libcap/../libcap/include -c cap_extint.c -o cap_extint.o gcc -O2 -I/home/buildroot/autobuild/run/instance-3/output-1/host/include -Dlinux -Wall -Wwrite-strings -Wpointer-arith -Wcast-qual -Wcast-align -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Winline -Wshadow -g -Dlinux -Wall -Wwrite-strings -Wpointer-arith -Wcast-qual -Wcast-align -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Winline -Wshadow -g -fPIC -I/home/buildroot/autobuild/run/instance-3/output-1/build/host-libcap-2.51/libcap/../libcap/include/uapi -I/home/buildroot/autobuild/run/instance-3/output-1/build/host-libcap-2.51/libcap/../libcap/include -c cap_flag.c -o cap_flag.o gcc -O2 -I/home/buildroot/autobuild/run/instance-3/output-1/host/include -Dlinux -Wall -Wwrite-strings -Wpointer-arith -Wcast-qual -Wcast-align -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Winline -Wshadow -g -Dlinux -Wall -Wwrite-strings -Wpointer-arith -Wcast-qual -Wcast-align -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Winline -Wshadow -g -fPIC -I/home/buildroot/autobuild/run/instance-3/output-1/build/host-libcap-2.51/libcap/../libcap/include/uapi -I/home/buildroot/autobuild/run/instance-3/output-1/build/host-libcap-2.51/libcap/../libcap/include -DINCLUDE_GPERF_OUTPUT='"_caps_output.gperf"' -c cap_text.c -o cap_text.o gcc -O2 -I/home/buildroot/autobuild/run/instance-3/output-1/host/include -Dlinux -Wall -Wwrite-strings -Wpointer-arith -Wcast-qual -Wcast-align -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Winline -Wshadow -g -Dlinux -Wall -Wwrite-strings -Wpointer-arith -Wcast-qual -Wcast-align -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Winline -Wshadow -g -fPIC -I/home/buildroot/autobuild/run/instance-3/output-1/build/host-libcap-2.51/libcap/../libcap/include/uapi -I/home/buildroot/autobuild/run/instance-3/output-1/build/host-libcap-2.51/libcap/../libcap/include -c cap_file.c -o cap_file.o cap_text.c: In function 'cap_to_name': cap_text.c:318:2: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] (void) asprintf(&tmp, "%u", cap); ^ ar rcs libcap.a cap_alloc.o cap_proc.o cap_extint.o cap_flag.o cap_text.o cap_file.o ranlib libcap.a /usr/bin/make libcap.so make[3]: Entering directory `/home/buildroot/autobuild/run/instance-3/output-1/build/host-libcap-2.51/libcap' gcc -Wl,-x -shared -O2 -I/home/buildroot/autobuild/run/instance-3/output-1/host/include -Dlinux -Wall -Wwrite-strings -Wpointer-arith -Wcast-qual -Wcast-align -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Winline -Wshadow -g -Dlinux -Wall -Wwrite-strings -Wpointer-arith -Wcast-qual -Wcast-align -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Winline -Wshadow -g -Dlinux -Wall -Wwrite-strings -Wpointer-arith -Wcast-qual -Wcast-align -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Winline -Wshadow -g -L/home/buildroot/autobuild/run/instance-3/output-1/host/lib -Wl,-rpath,/home/buildroot/autobuild/run/instance-3/output-1/host/lib -L/home/buildroot/autobuild/run/instance-3/output-1/build/host-libcap-2.51/libcap -L/home/buildroot/autobuild/run/instance-3/output-1/build/host-libcap-2.51/libcap/../libcap -L/home/buildroot/autobuild/run/instance-3/output-1/build/host-libcap-2.51/libcap/../libcap -Wl,-soname,libcap.so.2 -o libcap.so.2.51 cap_alloc.o cap_proc.o cap_extint.o cap_flag.o cap_text.o cap_file.o ln -sf libcap.so.2.51 libcap.so.2 ln -sf libcap.so.2 libcap.so make[3]: Leaving directory `/home/buildroot/autobuild/run/instance-3/output-1/build/host-libcap-2.51/libcap' /usr/bin/make libpsx.a make[3]: Entering directory `/home/buildroot/autobuild/run/instance-3/output-1/build/host-libcap-2.51/libcap' gcc -O2 -I/home/buildroot/autobuild/run/instance-3/output-1/host/include -Dlinux -Wall -Wwrite-strings -Wpointer-arith -Wcast-qual -Wcast-align -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Winline -Wshadow -g -Dlinux -Wall -Wwrite-strings -Wpointer-arith -Wcast-qual -Wcast-align -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Winline -Wshadow -g -Dlinux -Wall -Wwrite-strings -Wpointer-arith -Wcast-qual -Wcast-align -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Winline -Wshadow -g -fPIC -I/home/buildroot/autobuild/run/instance-3/output-1/build/host-libcap-2.51/libcap/../libcap/include/uapi -I/home/buildroot/autobuild/run/instance-3/output-1/build/host-libcap-2.51/libcap/../libcap/include -c ../psx/psx.c -o ../psx/psx.o rm -f include/sys/psx_syscall.h ln -s ../../../psx/psx_syscall.h include/sys/psx_syscall.h ar rcs libpsx.a ../psx/psx.o ranlib libpsx.a make[3]: Leaving directory `/home/buildroot/autobuild/run/instance-3/output-1/build/host-libcap-2.51/libcap' /usr/bin/make libpsx.so make[3]: Entering directory `/home/buildroot/autobuild/run/instance-3/output-1/build/host-libcap-2.51/libcap' gcc -Wl,-x -shared -O2 -I/home/buildroot/autobuild/run/instance-3/output-1/host/include -Dlinux -Wall -Wwrite-strings -Wpointer-arith -Wcast-qual -Wcast-align -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Winline -Wshadow -g -Dlinux -Wall -Wwrite-strings -Wpointer-arith -Wcast-qual -Wcast-align -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Winline -Wshadow -g -Dlinux -Wall -Wwrite-strings -Wpointer-arith -Wcast-qual -Wcast-align -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Winline -Wshadow -g -L/home/buildroot/autobuild/run/instance-3/output-1/host/lib -Wl,-rpath,/home/buildroot/autobuild/run/instance-3/output-1/host/lib -L/home/buildroot/autobuild/run/instance-3/output-1/build/host-libcap-2.51/libcap -L/home/buildroot/autobuild/run/instance-3/output-1/build/host-libcap-2.51/libcap/../libcap -L/home/buildroot/autobuild/run/instance-3/output-1/build/host-libcap-2.51/libcap/../libcap -Wl,-soname,libpsx.so.2 -o libpsx.so.2.51 ../psx/psx.o -lpthread -Wl,-wrap,pthread_create ln -sf libpsx.so.2.51 libpsx.so.2 ln -sf libpsx.so.2 libpsx.so make[3]: Leaving directory `/home/buildroot/autobuild/run/instance-3/output-1/build/host-libcap-2.51/libcap' make[2]: Leaving directory `/home/buildroot/autobuild/run/instance-3/output-1/build/host-libcap-2.51/libcap' /usr/bin/make -C tests all make[2]: Entering directory `/home/buildroot/autobuild/run/instance-3/output-1/build/host-libcap-2.51/tests' /usr/bin/make libcap_launch_test uns_test make[3]: Entering directory `/home/buildroot/autobuild/run/instance-3/output-1/build/host-libcap-2.51/tests' gcc -O2 -I/home/buildroot/autobuild/run/instance-3/output-1/host/include -Dlinux -Wall -Wwrite-strings -Wpointer-arith -Wcast-qual -Wcast-align -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Winline -Wshadow -g -Dlinux -Wall -Wwrite-strings -Wpointer-arith -Wcast-qual -Wcast-align -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Winline -Wshadow -g -Dlinux -Wall -Wwrite-strings -Wpointer-arith -Wcast-qual -Wcast-align -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Winline -Wshadow -g -fPIC -I/home/buildroot/autobuild/run/instance-3/output-1/build/host-libcap-2.51/tests/../libcap/include/uapi -I/home/buildroot/autobuild/run/instance-3/output-1/build/host-libcap-2.51/tests/../libcap/include libcap_launch_test.c -o libcap_launch_test -Wl,-rpath,../libcap -L/home/buildroot/autobuild/run/instance-3/output-1/build/host-libcap-2.51/tests/../libcap -lcap -L/home/buildroot/autobuild/run/instance-3/output-1/host/lib -Wl,-rpath,/home/buildroot/autobuild/run/instance-3/output-1/host/lib -L/home/buildroot/autobuild/run/instance-3/output-1/build/host-libcap-2.51/libcap -L/home/buildroot/autobuild/run/instance-3/output-1/build/host-libcap-2.51/tests/../libcap -L/home/buildroot/autobuild/run/instance-3/output-1/build/host-libcap-2.51/tests/../libcap gcc -O2 -I/home/buildroot/autobuild/run/instance-3/output-1/host/include -Dlinux -Wall -Wwrite-strings -Wpointer-arith -Wcast-qual -Wcast-align -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Winline -Wshadow -g -Dlinux -Wall -Wwrite-strings -Wpointer-arith -Wcast-qual -Wcast-align -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Winline -Wshadow -g -Dlinux -Wall -Wwrite-strings -Wpointer-arith -Wcast-qual -Wcast-align -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Winline -Wshadow -g -fPIC -I/home/buildroot/autobuild/run/instance-3/output-1/build/host-libcap-2.51/tests/../libcap/include/uapi -I/home/buildroot/autobuild/run/instance-3/output-1/build/host-libcap-2.51/tests/../libcap/include uns_test.c -o uns_test -Wl,-rpath,../libcap -L/home/buildroot/autobuild/run/instance-3/output-1/build/host-libcap-2.51/tests/../libcap -lcap -L/home/buildroot/autobuild/run/instance-3/output-1/host/lib -Wl,-rpath,/home/buildroot/autobuild/run/instance-3/output-1/host/lib -L/home/buildroot/autobuild/run/instance-3/output-1/build/host-libcap-2.51/libcap -L/home/buildroot/autobuild/run/instance-3/output-1/build/host-libcap-2.51/tests/../libcap -L/home/buildroot/autobuild/run/instance-3/output-1/build/host-libcap-2.51/tests/../libcap uns_test.c: In function 'main': uns_test.c:118:5: error: 'for' loop initial declarations are only allowed in C99 mode for (int i=0; i<2; i++) { ^ uns_test.c:118:5: note: use option -std=c99 or -std=gnu99 to compile your code uns_test.c:155:5: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] (void) write(fds.to[1], "!", 1); ^ libcap_launch_test.c: In function 'main': libcap_launch_test.c:208:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ make[3]: *** [uns_test] Error 1 make[3]: *** Waiting for unfinished jobs.... make[3]: Leaving directory `/home/buildroot/autobuild/run/instance-3/output-1/build/host-libcap-2.51/tests' make[2]: *** [all] Error 2 make[2]: Leaving directory `/home/buildroot/autobuild/run/instance-3/output-1/build/host-libcap-2.51/tests' make[1]: *** [all] Error 2 make[1]: Leaving directory `/home/buildroot/autobuild/run/instance-3/output-1/build/host-libcap-2.51' make: *** [/home/buildroot/autobuild/run/instance-3/output-1/build/host-libcap-2.51/.stamp_built] Error 2 make: Leaving directory `/home/buildroot/autobuild/run/instance-3/buildroot'