>>> libcap 2.42 Extracting xzcat /data/buildroot-test/instance-1/dl/libcap/libcap-2.42.tar.xz | /data/buildroot-test/instance-1/output-1/host/bin/tar --strip-components=1 -C /data/buildroot-test/instance-1/output-1/build/libcap-2.42 -xf - >>> libcap 2.42 Patching Applying 0001-Support-dynamic-test-compilation-and-execution.patch using patch: patching file Make.Rules patching file go/Makefile patching file go/try-launching.go patching file progs/.gitignore patching file progs/Makefile patching file progs/quicktest.sh patching file tests/Makefile Applying 0002-Migrate-all-uses-of-tcapsh-static-to-sudotest-target.patch using patch: patching file go/Makefile patching file progs/Makefile Applying 0003-libcap-Makefile-disable-building-installing-shared-l.patch using patch: patching file libcap/Makefile >>> libcap 2.42 Configuring >>> libcap 2.42 Building PATH="/data/buildroot-test/instance-1/output-1/host/bin:/data/buildroot-test/instance-1/output-1/host/sbin:/usr/local/sbin:/usr/local/bin:/usr/bin" PATH="/data/buildroot-test/instance-1/output-1/host/bin:/data/buildroot-test/instance-1/output-1/host/sbin:/usr/local/sbin:/usr/local/bin:/usr/bin" AR="/data/buildroot-test/instance-1/output-1/host/bin/arm-linux-ar" AS="/data/buildroot-test/instance-1/output-1/host/bin/arm-linux-as" LD="/data/buildroot-test/instance-1/output-1/host/bin/arm-linux-ld" NM="/data/buildroot-test/instance-1/output-1/host/bin/arm-linux-nm" CC="/data/buildroot-test/instance-1/output-1/host/bin/arm-linux-gcc" GCC="/data/buildroot-test/instance-1/output-1/host/bin/arm-linux-gcc" CPP="/data/buildroot-test/instance-1/output-1/host/bin/arm-linux-cpp" CXX="/data/buildroot-test/instance-1/output-1/host/bin/arm-linux-g++" FC="/data/buildroot-test/instance-1/output-1/host/bin/arm-linux-gfortran" F77="/data/buildroot-test/instance-1/output-1/host/bin/arm-linux-gfortran" RANLIB="/data/buildroot-test/instance-1/output-1/host/bin/arm-linux-ranlib" READELF="/data/buildroot-test/instance-1/output-1/host/bin/arm-linux-readelf" STRIP="/data/buildroot-test/instance-1/output-1/host/bin/arm-linux-strip" OBJCOPY="/data/buildroot-test/instance-1/output-1/host/bin/arm-linux-objcopy" OBJDUMP="/data/buildroot-test/instance-1/output-1/host/bin/arm-linux-objdump" AR_FOR_BUILD="/usr/bin/ar" AS_FOR_BUILD="/usr/bin/as" CC_FOR_BUILD="/usr/bin/gcc" GCC_FOR_BUILD="/usr/bin/gcc" CXX_FOR_BUILD="/usr/bin/g++" LD_FOR_BUILD="/usr/bin/ld" CPPFLAGS_FOR_BUILD="-I/data/buildroot-test/instance-1/output-1/host/include" CFLAGS_FOR_BUILD="-O2 -I/data/buildroot-test/instance-1/output-1/host/include" CXXFLAGS_FOR_BUILD="-O2 -I/data/buildroot-test/instance-1/output-1/host/include" LDFLAGS_FOR_BUILD="-L/data/buildroot-test/instance-1/output-1/host/lib -Wl,-rpath,/data/buildroot-test/instance-1/output-1/host/lib" FCFLAGS_FOR_BUILD="" DEFAULT_ASSEMBLER="/data/buildroot-test/instance-1/output-1/host/bin/arm-linux-as" DEFAULT_LINKER="/data/buildroot-test/instance-1/output-1/host/bin/arm-linux-ld" CPPFLAGS="-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64" CFLAGS="-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g2 " CXXFLAGS="-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g2 " LDFLAGS="" FCFLAGS=" -O2 -g2" FFLAGS=" -O2 -g2" PKG_CONFIG="/data/buildroot-test/instance-1/output-1/host/bin/pkg-config" STAGING_DIR="/data/buildroot-test/instance-1/output-1/host/arm-buildroot-linux-uclibcgnueabihf/sysroot" INTLTOOL_PERL=/usr/bin/perl /usr/bin/make -j12 -C /data/buildroot-test/instance-1/output-1/build/libcap-2.42/libcap BUILD_CC="/usr/bin/gcc" BUILD_CFLAGS="-O2 -I/data/buildroot-test/instance-1/output-1/host/include" DYNAMIC=yes all make[1]: Entering directory '/data/buildroot-test/instance-1/output-1/build/libcap-2.42/libcap' => making cap_names.list.h from /data/buildroot-test/instance-1/output-1/build/libcap-2.42/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"; } }' /data/buildroot-test/instance-1/output-1/build/libcap-2.42/libcap/../libcap/include/uapi/linux/capability.h | fgrep -v 0x > cap_names.list.h sed -e 's,@prefix@,/usr,' \ -e 's,@exec_prefix@,,' \ -e 's,@libdir@,/lib64,' \ -e 's,@includedir@,/usr/include,' \ -e 's,@VERSION@,2.42,' \ -e 's,@deps@,,' \ libcap.pc.in >libcap.pc sed -e 's,@prefix@,/usr,' \ -e 's,@exec_prefix@,,' \ -e 's,@libdir@,/lib64,' \ -e 's,@includedir@,/usr/include,' \ -e 's,@VERSION@,2.42,' \ -e 's,@deps@,,' \ libpsx.pc.in >libpsx.pc /usr/bin/gcc -O2 -I/data/buildroot-test/instance-1/output-1/host/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 sed -e 's/unsigned int len/size_t len/' -i _caps_output.gperf ./_makenames > cap_names.h /data/buildroot-test/instance-1/output-1/host/bin/arm-linux-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g2 -Dlinux -Wall -Wwrite-strings -Wpointer-arith -Wcast-qual -Wcast-align -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Winline -Wshadow -g -fPIC -I/data/buildroot-test/instance-1/output-1/build/libcap-2.42/libcap/../libcap/include/uapi -I/data/buildroot-test/instance-1/output-1/build/libcap-2.42/libcap/../libcap/include -c cap_alloc.c -o cap_alloc.o /data/buildroot-test/instance-1/output-1/host/bin/arm-linux-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g2 -Dlinux -Wall -Wwrite-strings -Wpointer-arith -Wcast-qual -Wcast-align -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Winline -Wshadow -g -fPIC -I/data/buildroot-test/instance-1/output-1/build/libcap-2.42/libcap/../libcap/include/uapi -I/data/buildroot-test/instance-1/output-1/build/libcap-2.42/libcap/../libcap/include -c cap_proc.c -o cap_proc.o /data/buildroot-test/instance-1/output-1/host/bin/arm-linux-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g2 -Dlinux -Wall -Wwrite-strings -Wpointer-arith -Wcast-qual -Wcast-align -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Winline -Wshadow -g -fPIC -I/data/buildroot-test/instance-1/output-1/build/libcap-2.42/libcap/../libcap/include/uapi -I/data/buildroot-test/instance-1/output-1/build/libcap-2.42/libcap/../libcap/include -c cap_extint.c -o cap_extint.o /data/buildroot-test/instance-1/output-1/host/bin/arm-linux-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g2 -Dlinux -Wall -Wwrite-strings -Wpointer-arith -Wcast-qual -Wcast-align -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Winline -Wshadow -g -fPIC -I/data/buildroot-test/instance-1/output-1/build/libcap-2.42/libcap/../libcap/include/uapi -I/data/buildroot-test/instance-1/output-1/build/libcap-2.42/libcap/../libcap/include -c cap_flag.c -o cap_flag.o /data/buildroot-test/instance-1/output-1/host/bin/arm-linux-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g2 -Dlinux -Wall -Wwrite-strings -Wpointer-arith -Wcast-qual -Wcast-align -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Winline -Wshadow -g -fPIC -I/data/buildroot-test/instance-1/output-1/build/libcap-2.42/libcap/../libcap/include/uapi -I/data/buildroot-test/instance-1/output-1/build/libcap-2.42/libcap/../libcap/include -DINCLUDE_GPERF_OUTPUT='"_caps_output.gperf"' -c cap_text.c -o cap_text.o /data/buildroot-test/instance-1/output-1/host/bin/arm-linux-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g2 -Dlinux -Wall -Wwrite-strings -Wpointer-arith -Wcast-qual -Wcast-align -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Winline -Wshadow -g -fPIC -I/data/buildroot-test/instance-1/output-1/build/libcap-2.42/libcap/../libcap/include/uapi -I/data/buildroot-test/instance-1/output-1/build/libcap-2.42/libcap/../libcap/include -c cap_file.c -o cap_file.o /data/buildroot-test/instance-1/output-1/host/bin/arm-linux-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g2 -Dlinux -Wall -Wwrite-strings -Wpointer-arith -Wcast-qual -Wcast-align -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Winline -Wshadow -g -fPIC -I/data/buildroot-test/instance-1/output-1/build/libcap-2.42/libcap/../libcap/include/uapi -I/data/buildroot-test/instance-1/output-1/build/libcap-2.42/libcap/../libcap/include -c ../psx/psx.c -o ../psx/psx.o ../psx/psx.c:20:10: fatal error: pthread.h: No such file or directory #include ^~~~~~~~~~~ compilation terminated. make[1]: *** [Makefile:85: ../psx/psx.o] Error 1 make[1]: *** Waiting for unfinished jobs.... make[1]: Leaving directory '/data/buildroot-test/instance-1/output-1/build/libcap-2.42/libcap' make: *** [package/pkg-generic.mk:250: /data/buildroot-test/instance-1/output-1/build/libcap-2.42/.stamp_built] Error 2 make: Leaving directory '/data/buildroot-test/instance-1/buildroot'