>>> libcap 2.42 Extracting xzcat /srv/storage/autobuild/run/instance-0/dl/libcap/libcap-2.42.tar.xz | /srv/storage/autobuild/run/instance-0/output-1/host/bin/tar --strip-components=1 -C /srv/storage/autobuild/run/instance-0/output-1/build/libcap-2.42 -xf - >>> libcap 2.42 Patching >>> libcap 2.42 Configuring >>> libcap 2.42 Building PATH="/srv/storage/autobuild/run/instance-0/output-1/host/bin:/srv/storage/autobuild/run/instance-0/output-1/host/sbin:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games" PATH="/srv/storage/autobuild/run/instance-0/output-1/host/bin:/srv/storage/autobuild/run/instance-0/output-1/host/sbin:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games" AR="/srv/storage/autobuild/run/instance-0/output-1/host/bin/arm-linux-ar" AS="/srv/storage/autobuild/run/instance-0/output-1/host/bin/arm-linux-as" LD="/srv/storage/autobuild/run/instance-0/output-1/host/bin/arm-linux-ld" NM="/srv/storage/autobuild/run/instance-0/output-1/host/bin/arm-linux-nm" CC="/srv/storage/autobuild/run/instance-0/output-1/host/bin/arm-linux-gcc" GCC="/srv/storage/autobuild/run/instance-0/output-1/host/bin/arm-linux-gcc" CPP="/srv/storage/autobuild/run/instance-0/output-1/host/bin/arm-linux-cpp" CXX="/srv/storage/autobuild/run/instance-0/output-1/host/bin/arm-linux-g++" FC="/srv/storage/autobuild/run/instance-0/output-1/host/bin/arm-linux-gfortran" F77="/srv/storage/autobuild/run/instance-0/output-1/host/bin/arm-linux-gfortran" RANLIB="/srv/storage/autobuild/run/instance-0/output-1/host/bin/arm-linux-ranlib" READELF="/srv/storage/autobuild/run/instance-0/output-1/host/bin/arm-linux-readelf" STRIP="/srv/storage/autobuild/run/instance-0/output-1/host/bin/arm-linux-strip" OBJCOPY="/srv/storage/autobuild/run/instance-0/output-1/host/bin/arm-linux-objcopy" OBJDUMP="/srv/storage/autobuild/run/instance-0/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/srv/storage/autobuild/run/instance-0/output-1/host/include" CFLAGS_FOR_BUILD="-O2 -I/srv/storage/autobuild/run/instance-0/output-1/host/include" CXXFLAGS_FOR_BUILD="-O2 -I/srv/storage/autobuild/run/instance-0/output-1/host/include" LDFLAGS_FOR_BUILD="-L/srv/storage/autobuild/run/instance-0/output-1/host/lib -Wl,-rpath,/srv/storage/autobuild/run/instance-0/output-1/host/lib" FCFLAGS_FOR_BUILD="" DEFAULT_ASSEMBLER="/srv/storage/autobuild/run/instance-0/output-1/host/bin/arm-linux-as" DEFAULT_LINKER="/srv/storage/autobuild/run/instance-0/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 -Os -static" CXXFLAGS="-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -static" LDFLAGS=" -static" FCFLAGS=" -Os -static" FFLAGS=" -Os -static" PKG_CONFIG="/srv/storage/autobuild/run/instance-0/output-1/host/bin/pkg-config" STAGING_DIR="/srv/storage/autobuild/run/instance-0/output-1/host/arm-buildroot-linux-uclibcgnueabi/sysroot" INTLTOOL_PERL=/usr/bin/perl /usr/bin/make -j4 -C /srv/storage/autobuild/run/instance-0/output-1/build/libcap-2.42/libcap BUILD_CC="/usr/bin/gcc" BUILD_CFLAGS="-O2 -I/srv/storage/autobuild/run/instance-0/output-1/host/include" libcap.a libcap.pc make[1]: Entering directory '/srv/storage/autobuild/run/instance-0/output-1/build/libcap-2.42/libcap' => making cap_names.list.h from /srv/storage/autobuild/run/instance-0/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"; } }' /srv/storage/autobuild/run/instance-0/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 /usr/bin/gcc -O2 -I/srv/storage/autobuild/run/instance-0/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 /srv/storage/autobuild/run/instance-0/output-1/host/bin/arm-linux-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -Dlinux -Wall -Wwrite-strings -Wpointer-arith -Wcast-qual -Wcast-align -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Winline -Wshadow -g -fPIC -I/srv/storage/autobuild/run/instance-0/output-1/build/libcap-2.42/libcap/../libcap/include/uapi -I/srv/storage/autobuild/run/instance-0/output-1/build/libcap-2.42/libcap/../libcap/include -c cap_alloc.c -o cap_alloc.o /srv/storage/autobuild/run/instance-0/output-1/host/bin/arm-linux-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -Dlinux -Wall -Wwrite-strings -Wpointer-arith -Wcast-qual -Wcast-align -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Winline -Wshadow -g -fPIC -I/srv/storage/autobuild/run/instance-0/output-1/build/libcap-2.42/libcap/../libcap/include/uapi -I/srv/storage/autobuild/run/instance-0/output-1/build/libcap-2.42/libcap/../libcap/include -c cap_proc.c -o cap_proc.o /srv/storage/autobuild/run/instance-0/output-1/host/bin/arm-linux-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -Dlinux -Wall -Wwrite-strings -Wpointer-arith -Wcast-qual -Wcast-align -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Winline -Wshadow -g -fPIC -I/srv/storage/autobuild/run/instance-0/output-1/build/libcap-2.42/libcap/../libcap/include/uapi -I/srv/storage/autobuild/run/instance-0/output-1/build/libcap-2.42/libcap/../libcap/include -c cap_extint.c -o cap_extint.o /srv/storage/autobuild/run/instance-0/output-1/host/bin/arm-linux-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -Dlinux -Wall -Wwrite-strings -Wpointer-arith -Wcast-qual -Wcast-align -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Winline -Wshadow -g -fPIC -I/srv/storage/autobuild/run/instance-0/output-1/build/libcap-2.42/libcap/../libcap/include/uapi -I/srv/storage/autobuild/run/instance-0/output-1/build/libcap-2.42/libcap/../libcap/include -c cap_flag.c -o cap_flag.o /srv/storage/autobuild/run/instance-0/output-1/host/bin/arm-linux-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -Dlinux -Wall -Wwrite-strings -Wpointer-arith -Wcast-qual -Wcast-align -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Winline -Wshadow -g -fPIC -I/srv/storage/autobuild/run/instance-0/output-1/build/libcap-2.42/libcap/../libcap/include/uapi -I/srv/storage/autobuild/run/instance-0/output-1/build/libcap-2.42/libcap/../libcap/include -DINCLUDE_GPERF_OUTPUT='"_caps_output.gperf"' -c cap_text.c -o cap_text.o /srv/storage/autobuild/run/instance-0/output-1/host/bin/arm-linux-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -Dlinux -Wall -Wwrite-strings -Wpointer-arith -Wcast-qual -Wcast-align -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Winline -Wshadow -g -fPIC -I/srv/storage/autobuild/run/instance-0/output-1/build/libcap-2.42/libcap/../libcap/include/uapi -I/srv/storage/autobuild/run/instance-0/output-1/build/libcap-2.42/libcap/../libcap/include -c cap_file.c -o cap_file.o /srv/storage/autobuild/run/instance-0/output-1/host/bin/arm-linux-ar rcs libcap.a cap_alloc.o cap_proc.o cap_extint.o cap_flag.o cap_text.o cap_file.o /srv/storage/autobuild/run/instance-0/output-1/host/bin/arm-linux-ranlib libcap.a make[1]: Leaving directory '/srv/storage/autobuild/run/instance-0/output-1/build/libcap-2.42/libcap' PATH="/srv/storage/autobuild/run/instance-0/output-1/host/bin:/srv/storage/autobuild/run/instance-0/output-1/host/sbin:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games" PATH="/srv/storage/autobuild/run/instance-0/output-1/host/bin:/srv/storage/autobuild/run/instance-0/output-1/host/sbin:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games" AR="/srv/storage/autobuild/run/instance-0/output-1/host/bin/arm-linux-ar" AS="/srv/storage/autobuild/run/instance-0/output-1/host/bin/arm-linux-as" LD="/srv/storage/autobuild/run/instance-0/output-1/host/bin/arm-linux-ld" NM="/srv/storage/autobuild/run/instance-0/output-1/host/bin/arm-linux-nm" CC="/srv/storage/autobuild/run/instance-0/output-1/host/bin/arm-linux-gcc" GCC="/srv/storage/autobuild/run/instance-0/output-1/host/bin/arm-linux-gcc" CPP="/srv/storage/autobuild/run/instance-0/output-1/host/bin/arm-linux-cpp" CXX="/srv/storage/autobuild/run/instance-0/output-1/host/bin/arm-linux-g++" FC="/srv/storage/autobuild/run/instance-0/output-1/host/bin/arm-linux-gfortran" F77="/srv/storage/autobuild/run/instance-0/output-1/host/bin/arm-linux-gfortran" RANLIB="/srv/storage/autobuild/run/instance-0/output-1/host/bin/arm-linux-ranlib" READELF="/srv/storage/autobuild/run/instance-0/output-1/host/bin/arm-linux-readelf" STRIP="/srv/storage/autobuild/run/instance-0/output-1/host/bin/arm-linux-strip" OBJCOPY="/srv/storage/autobuild/run/instance-0/output-1/host/bin/arm-linux-objcopy" OBJDUMP="/srv/storage/autobuild/run/instance-0/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/srv/storage/autobuild/run/instance-0/output-1/host/include" CFLAGS_FOR_BUILD="-O2 -I/srv/storage/autobuild/run/instance-0/output-1/host/include" CXXFLAGS_FOR_BUILD="-O2 -I/srv/storage/autobuild/run/instance-0/output-1/host/include" LDFLAGS_FOR_BUILD="-L/srv/storage/autobuild/run/instance-0/output-1/host/lib -Wl,-rpath,/srv/storage/autobuild/run/instance-0/output-1/host/lib" FCFLAGS_FOR_BUILD="" DEFAULT_ASSEMBLER="/srv/storage/autobuild/run/instance-0/output-1/host/bin/arm-linux-as" DEFAULT_LINKER="/srv/storage/autobuild/run/instance-0/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 -Os -static" CXXFLAGS="-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -static" LDFLAGS=" -static" FCFLAGS=" -Os -static" FFLAGS=" -Os -static" PKG_CONFIG="/srv/storage/autobuild/run/instance-0/output-1/host/bin/pkg-config" STAGING_DIR="/srv/storage/autobuild/run/instance-0/output-1/host/arm-buildroot-linux-uclibcgnueabi/sysroot" INTLTOOL_PERL=/usr/bin/perl /usr/bin/make -j4 -C /srv/storage/autobuild/run/instance-0/output-1/build/libcap-2.42/progs BUILD_CC="/usr/bin/gcc" BUILD_CFLAGS="-O2 -I/srv/storage/autobuild/run/instance-0/output-1/host/include" make[1]: Entering directory '/srv/storage/autobuild/run/instance-0/output-1/build/libcap-2.42/progs' /srv/storage/autobuild/run/instance-0/output-1/host/bin/arm-linux-gcc -fPIC -I/srv/storage/autobuild/run/instance-0/output-1/build/libcap-2.42/progs/../libcap/include/uapi -I/srv/storage/autobuild/run/instance-0/output-1/build/libcap-2.42/progs/../libcap/include -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -Dlinux -Wall -Wwrite-strings -Wpointer-arith -Wcast-qual -Wcast-align -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Winline -Wshadow -g -c getpcaps.c -o getpcaps.o make -C ../libcap all make[2]: Entering directory '/srv/storage/autobuild/run/instance-0/output-1/build/libcap-2.42/progs' make[2]: warning: jobserver unavailable: using -j1. Add '+' to parent make rule. /srv/storage/autobuild/run/instance-0/output-1/host/bin/arm-linux-gcc -fPIC -I/srv/storage/autobuild/run/instance-0/output-1/build/libcap-2.42/progs/../libcap/include/uapi -I/srv/storage/autobuild/run/instance-0/output-1/build/libcap-2.42/progs/../libcap/include -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -Dlinux -Wall -Wwrite-strings -Wpointer-arith -Wcast-qual -Wcast-align -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Winline -Wshadow -g -c capsh.c -o capsh.o /srv/storage/autobuild/run/instance-0/output-1/host/bin/arm-linux-gcc -fPIC -I/srv/storage/autobuild/run/instance-0/output-1/build/libcap-2.42/progs/../libcap/include/uapi -I/srv/storage/autobuild/run/instance-0/output-1/build/libcap-2.42/progs/../libcap/include -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -Dlinux -Wall -Wwrite-strings -Wpointer-arith -Wcast-qual -Wcast-align -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Winline -Wshadow -g -c getcap.c -o getcap.o /srv/storage/autobuild/run/instance-0/output-1/host/bin/arm-linux-gcc -Wl,-x -shared -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -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 -static -L/srv/storage/autobuild/run/instance-0/output-1/build/libcap-2.42/progs/../libcap -L/srv/storage/autobuild/run/instance-0/output-1/build/libcap-2.42/libcap/../libcap -Wl,-soname,libcap.so.2 -o libcap.so.2.42 cap_alloc.o cap_proc.o cap_extint.o cap_flag.o cap_text.o cap_file.o /srv/storage/autobuild/run/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/arm-buildroot-linux-uclibcgnueabi/8.3.0/../../../../arm-buildroot-linux-uclibcgnueabi/bin/ld: /srv/storage/autobuild/run/instance-0/output-1/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/lib/libc.a(__uClibc_main.os): in function `__uClibc_fini': __uClibc_main.c:(.text+0x15c): undefined reference to `__fini_array_start' /srv/storage/autobuild/run/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/arm-buildroot-linux-uclibcgnueabi/8.3.0/../../../../arm-buildroot-linux-uclibcgnueabi/bin/ld: __uClibc_main.c:(.text+0x160): undefined reference to `__fini_array_end' /srv/storage/autobuild/run/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/arm-buildroot-linux-uclibcgnueabi/8.3.0/../../../../arm-buildroot-linux-uclibcgnueabi/bin/ld: __uClibc_main.c:(.text+0x164): undefined reference to `__fini_array_start' /srv/storage/autobuild/run/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/arm-buildroot-linux-uclibcgnueabi/8.3.0/../../../../arm-buildroot-linux-uclibcgnueabi/bin/ld: /srv/storage/autobuild/run/instance-0/output-1/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/lib/libc.a(__uClibc_main.os): in function `__uClibc_main': __uClibc_main.c:(.text+0x56c): undefined reference to `__preinit_array_start' /srv/storage/autobuild/run/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/arm-buildroot-linux-uclibcgnueabi/8.3.0/../../../../arm-buildroot-linux-uclibcgnueabi/bin/ld: __uClibc_main.c:(.text+0x570): undefined reference to `__preinit_array_end' /srv/storage/autobuild/run/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/arm-buildroot-linux-uclibcgnueabi/8.3.0/../../../../arm-buildroot-linux-uclibcgnueabi/bin/ld: __uClibc_main.c:(.text+0x578): undefined reference to `__init_array_start' /srv/storage/autobuild/run/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/arm-buildroot-linux-uclibcgnueabi/8.3.0/../../../../arm-buildroot-linux-uclibcgnueabi/bin/ld: __uClibc_main.c:(.text+0x57c): undefined reference to `__init_array_end' /srv/storage/autobuild/run/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/arm-buildroot-linux-uclibcgnueabi/8.3.0/../../../../arm-buildroot-linux-uclibcgnueabi/bin/ld: libcap.so.2.42: hidden symbol `__fini_array_end' isn't defined /srv/storage/autobuild/run/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/arm-buildroot-linux-uclibcgnueabi/8.3.0/../../../../arm-buildroot-linux-uclibcgnueabi/bin/ld: final link failed: bad value collect2: error: ld returned 1 exit status make[2]: *** [Makefile:80: libcap.so.2.42] Error 1 make[2]: Leaving directory '/srv/storage/autobuild/run/instance-0/output-1/build/libcap-2.42/libcap' make[1]: *** [Makefile:20: ../libcap/libpsx.a] Error 2 make[1]: *** Waiting for unfinished jobs.... make[1]: Leaving directory '/srv/storage/autobuild/run/instance-0/output-1/build/libcap-2.42/progs' make: *** [package/pkg-generic.mk:250: /srv/storage/autobuild/run/instance-0/output-1/build/libcap-2.42/.stamp_built] Error 2 make: Leaving directory '/srv/storage/autobuild/run/instance-0/buildroot'