>>> libcap 2.42 Extracting mkdir -p /home/buildroot/autobuild/run/instance-0/output-1/per-package/libcap/host mkdir -p /home/buildroot/autobuild/run/instance-0/output-1/per-package/libcap/target xzcat /home/buildroot/autobuild/run/instance-0/dl/libcap/libcap-2.42.tar.xz | tar --strip-components=1 -C /home/buildroot/autobuild/run/instance-0/output-1/build/libcap-2.42 -xf - >>> libcap 2.42 Patching >>> libcap 2.42 Configuring mkdir -p /home/buildroot/autobuild/run/instance-0/output-1/per-package/libcap/host rsync -a --link-dest=/home/buildroot/autobuild/run/instance-0/output-1/per-package/host-gperf/host/ /home/buildroot/autobuild/run/instance-0/output-1/per-package/host-gperf/host/ /home/buildroot/autobuild/run/instance-0/output-1/per-package/libcap/host rsync -a --link-dest=/home/buildroot/autobuild/run/instance-0/output-1/per-package/host-libcap/host/ /home/buildroot/autobuild/run/instance-0/output-1/per-package/host-libcap/host/ /home/buildroot/autobuild/run/instance-0/output-1/per-package/libcap/host rsync -a --link-dest=/home/buildroot/autobuild/run/instance-0/output-1/per-package/host-skeleton/host/ /home/buildroot/autobuild/run/instance-0/output-1/per-package/host-skeleton/host/ /home/buildroot/autobuild/run/instance-0/output-1/per-package/libcap/host rsync -a --link-dest=/home/buildroot/autobuild/run/instance-0/output-1/per-package/skeleton/host/ /home/buildroot/autobuild/run/instance-0/output-1/per-package/skeleton/host/ /home/buildroot/autobuild/run/instance-0/output-1/per-package/libcap/host rsync -a --link-dest=/home/buildroot/autobuild/run/instance-0/output-1/per-package/toolchain/host/ /home/buildroot/autobuild/run/instance-0/output-1/per-package/toolchain/host/ /home/buildroot/autobuild/run/instance-0/output-1/per-package/libcap/host mkdir -p /home/buildroot/autobuild/run/instance-0/output-1/per-package/libcap/target rsync -a --link-dest=/home/buildroot/autobuild/run/instance-0/output-1/per-package/host-gperf/target/ /home/buildroot/autobuild/run/instance-0/output-1/per-package/host-gperf/target/ /home/buildroot/autobuild/run/instance-0/output-1/per-package/libcap/target rsync -a --link-dest=/home/buildroot/autobuild/run/instance-0/output-1/per-package/host-libcap/target/ /home/buildroot/autobuild/run/instance-0/output-1/per-package/host-libcap/target/ /home/buildroot/autobuild/run/instance-0/output-1/per-package/libcap/target rsync -a --link-dest=/home/buildroot/autobuild/run/instance-0/output-1/per-package/host-skeleton/target/ /home/buildroot/autobuild/run/instance-0/output-1/per-package/host-skeleton/target/ /home/buildroot/autobuild/run/instance-0/output-1/per-package/libcap/target rsync -a --link-dest=/home/buildroot/autobuild/run/instance-0/output-1/per-package/skeleton/target/ /home/buildroot/autobuild/run/instance-0/output-1/per-package/skeleton/target/ /home/buildroot/autobuild/run/instance-0/output-1/per-package/libcap/target rsync -a --link-dest=/home/buildroot/autobuild/run/instance-0/output-1/per-package/toolchain/target/ /home/buildroot/autobuild/run/instance-0/output-1/per-package/toolchain/target/ /home/buildroot/autobuild/run/instance-0/output-1/per-package/libcap/target >>> libcap 2.42 Building PATH="/home/buildroot/autobuild/run/instance-0/output-1/per-package/libcap/host/bin:/home/buildroot/autobuild/run/instance-0/output-1/per-package/libcap/host/sbin:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games" PATH="/home/buildroot/autobuild/run/instance-0/output-1/per-package/libcap/host/bin:/home/buildroot/autobuild/run/instance-0/output-1/per-package/libcap/host/sbin:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games" AR="/home/buildroot/autobuild/run/instance-0/output-1/per-package/libcap/host/bin/arm-linux-ar" AS="/home/buildroot/autobuild/run/instance-0/output-1/per-package/libcap/host/bin/arm-linux-as" LD="/home/buildroot/autobuild/run/instance-0/output-1/per-package/libcap/host/bin/arm-linux-ld" NM="/home/buildroot/autobuild/run/instance-0/output-1/per-package/libcap/host/bin/arm-linux-nm" CC="/home/buildroot/autobuild/run/instance-0/output-1/per-package/libcap/host/bin/arm-linux-gcc" GCC="/home/buildroot/autobuild/run/instance-0/output-1/per-package/libcap/host/bin/arm-linux-gcc" CPP="/home/buildroot/autobuild/run/instance-0/output-1/per-package/libcap/host/bin/arm-linux-cpp" CXX="/home/buildroot/autobuild/run/instance-0/output-1/per-package/libcap/host/bin/arm-linux-g++" FC="/home/buildroot/autobuild/run/instance-0/output-1/per-package/libcap/host/bin/arm-linux-gfortran" F77="/home/buildroot/autobuild/run/instance-0/output-1/per-package/libcap/host/bin/arm-linux-gfortran" RANLIB="/home/buildroot/autobuild/run/instance-0/output-1/per-package/libcap/host/bin/arm-linux-ranlib" READELF="/home/buildroot/autobuild/run/instance-0/output-1/per-package/libcap/host/bin/arm-linux-readelf" STRIP="/home/buildroot/autobuild/run/instance-0/output-1/per-package/libcap/host/bin/arm-linux-strip" OBJCOPY="/home/buildroot/autobuild/run/instance-0/output-1/per-package/libcap/host/bin/arm-linux-objcopy" OBJDUMP="/home/buildroot/autobuild/run/instance-0/output-1/per-package/libcap/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/home/buildroot/autobuild/run/instance-0/output-1/per-package/libcap/host/include" CFLAGS_FOR_BUILD="-O2 -I/home/buildroot/autobuild/run/instance-0/output-1/per-package/libcap/host/include" CXXFLAGS_FOR_BUILD="-O2 -I/home/buildroot/autobuild/run/instance-0/output-1/per-package/libcap/host/include" LDFLAGS_FOR_BUILD="-L/home/buildroot/autobuild/run/instance-0/output-1/per-package/libcap/host/lib -Wl,-rpath,/home/buildroot/autobuild/run/instance-0/output-1/per-package/libcap/host/lib" FCFLAGS_FOR_BUILD="" DEFAULT_ASSEMBLER="/home/buildroot/autobuild/run/instance-0/output-1/per-package/libcap/host/bin/arm-linux-as" DEFAULT_LINKER="/home/buildroot/autobuild/run/instance-0/output-1/per-package/libcap/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 -static" CXXFLAGS="-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -static -static" LDFLAGS=" -static" FCFLAGS=" -O2 -static" FFLAGS=" -O2 -static" PKG_CONFIG="/home/buildroot/autobuild/run/instance-0/output-1/per-package/libcap/host/bin/pkg-config" STAGING_DIR="/home/buildroot/autobuild/run/instance-0/output-1/per-package/libcap/host/arm-buildroot-linux-uclibcgnueabi/sysroot" INTLTOOL_PERL=/usr/bin/perl /usr/bin/make -j4 -C /home/buildroot/autobuild/run/instance-0/output-1/build/libcap-2.42/libcap BUILD_CC="/usr/bin/gcc" BUILD_CFLAGS="-O2 -I/home/buildroot/autobuild/run/instance-0/output-1/per-package/libcap/host/include" libcap.a libcap.pc make[1]: Entering directory `/home/buildroot/autobuild/run/instance-0/output-1/build/libcap-2.42/libcap' => making cap_names.list.h from /home/buildroot/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"; } }' /home/buildroot/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/home/buildroot/autobuild/run/instance-0/output-1/per-package/libcap/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 /home/buildroot/autobuild/run/instance-0/output-1/per-package/libcap/host/bin/arm-linux-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -static -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-0/output-1/build/libcap-2.42/libcap/../libcap/include/uapi -I/home/buildroot/autobuild/run/instance-0/output-1/build/libcap-2.42/libcap/../libcap/include -c cap_alloc.c -o cap_alloc.o /home/buildroot/autobuild/run/instance-0/output-1/per-package/libcap/host/bin/arm-linux-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -static -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-0/output-1/build/libcap-2.42/libcap/../libcap/include/uapi -I/home/buildroot/autobuild/run/instance-0/output-1/build/libcap-2.42/libcap/../libcap/include -c cap_proc.c -o cap_proc.o /home/buildroot/autobuild/run/instance-0/output-1/per-package/libcap/host/bin/arm-linux-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -static -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-0/output-1/build/libcap-2.42/libcap/../libcap/include/uapi -I/home/buildroot/autobuild/run/instance-0/output-1/build/libcap-2.42/libcap/../libcap/include -c cap_extint.c -o cap_extint.o /home/buildroot/autobuild/run/instance-0/output-1/per-package/libcap/host/bin/arm-linux-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -static -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-0/output-1/build/libcap-2.42/libcap/../libcap/include/uapi -I/home/buildroot/autobuild/run/instance-0/output-1/build/libcap-2.42/libcap/../libcap/include -c cap_flag.c -o cap_flag.o /home/buildroot/autobuild/run/instance-0/output-1/per-package/libcap/host/bin/arm-linux-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -static -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-0/output-1/build/libcap-2.42/libcap/../libcap/include/uapi -I/home/buildroot/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 /home/buildroot/autobuild/run/instance-0/output-1/per-package/libcap/host/bin/arm-linux-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -static -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-0/output-1/build/libcap-2.42/libcap/../libcap/include/uapi -I/home/buildroot/autobuild/run/instance-0/output-1/build/libcap-2.42/libcap/../libcap/include -c cap_file.c -o cap_file.o /home/buildroot/autobuild/run/instance-0/output-1/per-package/libcap/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 /home/buildroot/autobuild/run/instance-0/output-1/per-package/libcap/host/bin/arm-linux-ranlib libcap.a make[1]: Leaving directory `/home/buildroot/autobuild/run/instance-0/output-1/build/libcap-2.42/libcap' >>> libcap 2.42 Installing to staging directory PATH="/home/buildroot/autobuild/run/instance-0/output-1/per-package/libcap/host/bin:/home/buildroot/autobuild/run/instance-0/output-1/per-package/libcap/host/sbin:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games" /usr/bin/make -j4 -C /home/buildroot/autobuild/run/instance-0/output-1/build/libcap-2.42/libcap BUILD_CC="/usr/bin/gcc" BUILD_CFLAGS="-O2 -I/home/buildroot/autobuild/run/instance-0/output-1/per-package/libcap/host/include" DESTDIR=/home/buildroot/autobuild/run/instance-0/output-1/per-package/libcap/host/arm-buildroot-linux-uclibcgnueabi/sysroot prefix=/usr lib=lib install-static make[1]: Entering directory `/home/buildroot/autobuild/run/instance-0/output-1/build/libcap-2.42/libcap' cc -O2 -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -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-0/output-1/build/libcap-2.42/libcap/../libcap/include/uapi -I/home/buildroot/autobuild/run/instance-0/output-1/build/libcap-2.42/libcap/../libcap/include -c ../psx/psx.c -o ../psx/psx.o sed -e 's,@prefix@,/usr,' \ -e 's,@exec_prefix@,/usr,' \ -e 's,@libdir@,/usr/lib,' \ -e 's,@includedir@,/usr/include,' \ -e 's,@VERSION@,2.42,' \ -e 's,@deps@,,' \ libpsx.pc.in >libpsx.pc mkdir -p -m 0755 /home/buildroot/autobuild/run/instance-0/output-1/per-package/libcap/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/include/sys install -m 0644 include/sys/capability.h /home/buildroot/autobuild/run/instance-0/output-1/per-package/libcap/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/include/sys install -m 0644 include/sys/psx_syscall.h /home/buildroot/autobuild/run/instance-0/output-1/per-package/libcap/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/include/sys mkdir -p -m 0755 /home/buildroot/autobuild/run/instance-0/output-1/per-package/libcap/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/lib/pkgconfig install -m 0644 libcap.pc /home/buildroot/autobuild/run/instance-0/output-1/per-package/libcap/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/lib/pkgconfig/libcap.pc install -m 0644 libpsx.pc /home/buildroot/autobuild/run/instance-0/output-1/per-package/libcap/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/lib/pkgconfig/libpsx.pc ar rcs libpsx.a ../psx/psx.o ranlib libpsx.a mkdir -p -m 0755 /home/buildroot/autobuild/run/instance-0/output-1/per-package/libcap/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/lib install -m 0644 libcap.a /home/buildroot/autobuild/run/instance-0/output-1/per-package/libcap/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/lib/libcap.a install -m 0644 libpsx.a /home/buildroot/autobuild/run/instance-0/output-1/per-package/libcap/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/lib/libpsx.a make[1]: Leaving directory `/home/buildroot/autobuild/run/instance-0/output-1/build/libcap-2.42/libcap' >>> libcap 2.42 Fixing libtool files for la in $(find /home/buildroot/autobuild/run/instance-0/output-1/per-package/libcap/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/lib* -name "*.la"); do \ cp -a "${la}" "${la}.fixed" && \ /bin/sed -i -e "s:/home/buildroot/autobuild/run/instance-0/output-1:@BASE_DIR@:g" \ -e "s:/home/buildroot/autobuild/run/instance-0/output-1/per-package/libcap/host/arm-buildroot-linux-uclibcgnueabi/sysroot:@STAGING_DIR@:g" \ -e "s:/home/buildroot/autobuild/run/instance-0/output-1/per-package/libcap/host/opt/ext-toolchain:@TOOLCHAIN_EXTERNAL_INSTALL_DIR@:g" \ -e "s:\(['= ]\)/usr:\\1@STAGING_DIR@/usr:g" \ -e "s:\(['= ]\)/lib:\\1@STAGING_DIR@/lib:g" \ -e "s:@TOOLCHAIN_EXTERNAL_INSTALL_DIR@:/home/buildroot/autobuild/run/instance-0/output-1/per-package/libcap/host/opt/ext-toolchain:g" \ -e "s:@STAGING_DIR@:/home/buildroot/autobuild/run/instance-0/output-1/per-package/libcap/host/arm-buildroot-linux-uclibcgnueabi/sysroot:g" \ -e "s:@BASE_DIR@:/home/buildroot/autobuild/run/instance-0/output-1:g" \ "${la}.fixed" && \ if cmp -s "${la}" "${la}.fixed"; then \ rm -f "${la}.fixed"; \ else \ mv "${la}.fixed" "${la}"; \ fi || exit 1; \ done >>> libcap 2.42 Installing to target PATH="/home/buildroot/autobuild/run/instance-0/output-1/per-package/libcap/host/bin:/home/buildroot/autobuild/run/instance-0/output-1/per-package/libcap/host/sbin:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games" /usr/bin/make -j4 -C /home/buildroot/autobuild/run/instance-0/output-1/build/libcap-2.42/libcap BUILD_CC="/usr/bin/gcc" BUILD_CFLAGS="-O2 -I/home/buildroot/autobuild/run/instance-0/output-1/per-package/libcap/host/include" DESTDIR=/home/buildroot/autobuild/run/instance-0/output-1/per-package/libcap/target prefix=/usr lib=lib install-static make[1]: Entering directory `/home/buildroot/autobuild/run/instance-0/output-1/build/libcap-2.42/libcap' mkdir -p -m 0755 /home/buildroot/autobuild/run/instance-0/output-1/per-package/libcap/target/usr/include/sys install -m 0644 include/sys/capability.h /home/buildroot/autobuild/run/instance-0/output-1/per-package/libcap/target/usr/include/sys install -m 0644 include/sys/psx_syscall.h /home/buildroot/autobuild/run/instance-0/output-1/per-package/libcap/target/usr/include/sys mkdir -p -m 0755 /home/buildroot/autobuild/run/instance-0/output-1/per-package/libcap/target/usr/lib/pkgconfig install -m 0644 libcap.pc /home/buildroot/autobuild/run/instance-0/output-1/per-package/libcap/target/usr/lib/pkgconfig/libcap.pc install -m 0644 libpsx.pc /home/buildroot/autobuild/run/instance-0/output-1/per-package/libcap/target/usr/lib/pkgconfig/libpsx.pc mkdir -p -m 0755 /home/buildroot/autobuild/run/instance-0/output-1/per-package/libcap/target/usr/lib install -m 0644 libcap.a /home/buildroot/autobuild/run/instance-0/output-1/per-package/libcap/target/usr/lib/libcap.a install -m 0644 libpsx.a /home/buildroot/autobuild/run/instance-0/output-1/per-package/libcap/target/usr/lib/libpsx.a make[1]: Leaving directory `/home/buildroot/autobuild/run/instance-0/output-1/build/libcap-2.42/libcap' ERROR: architecture for "/usr/lib/libpsx.a" is "Advanced Micro Devices X86-64", should be "ARM" make: *** [/home/buildroot/autobuild/run/instance-0/output-1/build/libcap-2.42/.stamp_installed] Error 1 make: Leaving directory `/home/buildroot/autobuild/run/instance-0/buildroot'