>>> libusb 1.0.27 Extracting bzcat /home/buildroot/instance-0/dl/libusb/libusb-1.0.27.tar.bz2 | /home/buildroot/instance-0/output-1/host/bin/tar --strip-components=1 -C /home/buildroot/instance-0/output-1/build/libusb-1.0.27 -xf - >>> libusb 1.0.27 Patching >>> libusb 1.0.27 Updating config.sub and config.guess for file in config.guess config.sub; do for i in $(find /home/buildroot/instance-0/output-1/build/libusb-1.0.27 -name $file); do cp support/gnuconfig/$file $i; done; done >>> libusb 1.0.27 Patching libtool patching file /home/buildroot/instance-0/output-1/build/libusb-1.0.27/ltmain.sh Hunk #1 succeeded at 2951 (offset 264 lines). Hunk #2 succeeded at 4544 (offset 267 lines). Hunk #3 succeeded at 6840 (offset 286 lines). Hunk #4 succeeded at 6850 (offset 286 lines). Hunk #5 succeeded at 7150 (offset 293 lines). Hunk #6 succeeded at 7454 (offset 305 lines). Hunk #7 succeeded at 8435 (offset 323 lines). Hunk #8 succeeded at 11070 (offset 360 lines). >>> libusb 1.0.27 Configuring (cd /home/buildroot/instance-0/output-1/build/libusb-1.0.27/ && rm -rf config.cache && GIT_DIR=. PATH="/home/buildroot/instance-0/output-1/host/bin:/home/buildroot/instance-0/output-1/host/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" AR="/home/buildroot/instance-0/output-1/host/bin/arm-linux-gcc-ar" AS="/home/buildroot/instance-0/output-1/host/bin/arm-linux-as" LD="/home/buildroot/instance-0/output-1/host/bin/arm-linux-ld" NM="/home/buildroot/instance-0/output-1/host/bin/arm-linux-gcc-nm" CC="/home/buildroot/instance-0/output-1/host/bin/arm-linux-gcc" GCC="/home/buildroot/instance-0/output-1/host/bin/arm-linux-gcc" CPP="/home/buildroot/instance-0/output-1/host/bin/arm-linux-cpp" CXX="/home/buildroot/instance-0/output-1/host/bin/arm-linux-g++" FC="/home/buildroot/instance-0/output-1/host/bin/arm-linux-gfortran" F77="/home/buildroot/instance-0/output-1/host/bin/arm-linux-gfortran" RANLIB="/home/buildroot/instance-0/output-1/host/bin/arm-linux-gcc-ranlib" READELF="/home/buildroot/instance-0/output-1/host/bin/arm-linux-readelf" STRIP="/home/buildroot/instance-0/output-1/host/bin/arm-linux-strip" OBJCOPY="/home/buildroot/instance-0/output-1/host/bin/arm-linux-objcopy" OBJDUMP="/home/buildroot/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/home/buildroot/instance-0/output-1/host/include" CFLAGS_FOR_BUILD="-O2 -I/home/buildroot/instance-0/output-1/host/include" CXXFLAGS_FOR_BUILD="-O2 -I/home/buildroot/instance-0/output-1/host/include" LDFLAGS_FOR_BUILD="-L/home/buildroot/instance-0/output-1/host/lib -Wl,-rpath,/home/buildroot/instance-0/output-1/host/lib" FCFLAGS_FOR_BUILD="" DEFAULT_ASSEMBLER="/home/buildroot/instance-0/output-1/host/bin/arm-linux-as" DEFAULT_LINKER="/home/buildroot/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 -O2 -g0 " CXXFLAGS="-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 " LDFLAGS="" FCFLAGS=" -O2 -g0" FFLAGS=" -O2 -g0" PKG_CONFIG="/home/buildroot/instance-0/output-1/host/bin/pkg-config" STAGING_DIR="/home/buildroot/instance-0/output-1/host/arm-buildroot-linux-uclibcgnueabihf/sysroot" INTLTOOL_PERL=/usr/bin/perl ac_cv_lbl_unaligned_fail=yes ac_cv_func_mmap_fixed_mapped=yes ac_cv_func_memcmp_working=yes ac_cv_have_decl_malloc=yes gl_cv_func_malloc_0_nonnull=yes ac_cv_func_malloc_0_nonnull=yes ac_cv_func_calloc_0_nonnull=yes ac_cv_func_realloc_0_nonnull=yes lt_cv_sys_lib_search_path_spec="" ac_cv_c_bigendian=no CONFIG_SITE=/dev/null ./configure --target=arm-buildroot-linux-uclibcgnueabihf --host=arm-buildroot-linux-uclibcgnueabihf --build=x86_64-pc-linux-gnu --prefix=/usr --exec-prefix=/usr --sysconfdir=/etc --localstatedir=/var --program-prefix="" --disable-gtk-doc --disable-gtk-doc-html --disable-doc --disable-docs --disable-documentation --with-xmlto=no --with-fop=no --disable-dependency-tracking --enable-ipv6 --enable-nls --disable-static --enable-shared --disable-udev ) configure: WARNING: unrecognized options: --disable-gtk-doc, --disable-gtk-doc-html, --disable-doc, --disable-docs, --disable-documentation, --with-xmlto, --with-fop, --enable-ipv6, --enable-nls checking for arm-buildroot-linux-uclibcgnueabihf-gcc... /home/buildroot/instance-0/output-1/host/bin/arm-linux-gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... yes checking for suffix of object files... o checking whether the compiler supports GNU C... yes checking whether /home/buildroot/instance-0/output-1/host/bin/arm-linux-gcc accepts -g... yes checking for /home/buildroot/instance-0/output-1/host/bin/arm-linux-gcc option to enable C11 features... none needed checking whether /home/buildroot/instance-0/output-1/host/bin/arm-linux-gcc understands -c and -o together... yes checking whether the compiler supports GNU C++... yes checking whether /home/buildroot/instance-0/output-1/host/bin/arm-linux-g++ accepts -g... yes checking for /home/buildroot/instance-0/output-1/host/bin/arm-linux-g++ option to enable C++11 features... none needed checking for inline... inline checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for arm-buildroot-linux-uclibcgnueabihf-strip... /home/buildroot/instance-0/output-1/host/bin/arm-linux-strip checking for a race-free mkdir -p... /bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports the include directive... yes (GNU style) checking whether make supports nested variables... yes checking dependency style of /home/buildroot/instance-0/output-1/host/bin/arm-linux-gcc... none checking dependency style of /home/buildroot/instance-0/output-1/host/bin/arm-linux-g++... none checking build system type... x86_64-pc-linux-gnu checking host system type... arm-buildroot-linux-uclibcgnueabihf checking how to print strings... printf checking for a sed that does not truncate output... /bin/sed checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for fgrep... /bin/grep -F checking for ld used by /home/buildroot/instance-0/output-1/host/bin/arm-linux-gcc... /home/buildroot/instance-0/output-1/host/bin/arm-linux-ld checking if the linker (/home/buildroot/instance-0/output-1/host/bin/arm-linux-ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /home/buildroot/instance-0/output-1/host/bin/arm-linux-gcc-nm checking the name lister (/home/buildroot/instance-0/output-1/host/bin/arm-linux-gcc-nm) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... 1572864 checking how to convert x86_64-pc-linux-gnu file names to arm-buildroot-linux-uclibcgnueabihf format... func_convert_file_noop checking how to convert x86_64-pc-linux-gnu file names to toolchain format... func_convert_file_noop checking for /home/buildroot/instance-0/output-1/host/bin/arm-linux-ld option to reload object files... -r checking for arm-buildroot-linux-uclibcgnueabihf-file... no checking for file... file configure: WARNING: using cross tools not prefixed with host triplet checking for arm-buildroot-linux-uclibcgnueabihf-objdump... /home/buildroot/instance-0/output-1/host/bin/arm-linux-objdump checking how to recognize dependent libraries... pass_all checking for arm-buildroot-linux-uclibcgnueabihf-dlltool... no checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for arm-buildroot-linux-uclibcgnueabihf-ar... /home/buildroot/instance-0/output-1/host/bin/arm-linux-gcc-ar checking for archiver @FILE support... @ checking for arm-buildroot-linux-uclibcgnueabihf-strip... (cached) /home/buildroot/instance-0/output-1/host/bin/arm-linux-strip checking for arm-buildroot-linux-uclibcgnueabihf-ranlib... /home/buildroot/instance-0/output-1/host/bin/arm-linux-gcc-ranlib checking command to parse /home/buildroot/instance-0/output-1/host/bin/arm-linux-gcc-nm output from /home/buildroot/instance-0/output-1/host/bin/arm-linux-gcc object... ok checking for sysroot... no checking for a working dd... /bin/dd checking how to truncate binary pipes... /bin/dd bs=4096 count=1 checking for arm-buildroot-linux-uclibcgnueabihf-mt... no checking for mt... mt checking if mt is a manifest tool... no checking for stdio.h... yes checking for stdlib.h... yes checking for string.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for strings.h... yes checking for sys/stat.h... yes checking for sys/types.h... yes checking for unistd.h... yes checking for dlfcn.h... yes checking for objdir... .libs checking if /home/buildroot/instance-0/output-1/host/bin/arm-linux-gcc supports -fno-rtti -fno-exceptions... no checking for /home/buildroot/instance-0/output-1/host/bin/arm-linux-gcc option to produce PIC... -fPIC -DPIC checking if /home/buildroot/instance-0/output-1/host/bin/arm-linux-gcc PIC flag -fPIC -DPIC works... yes checking if /home/buildroot/instance-0/output-1/host/bin/arm-linux-gcc static flag -static works... yes checking if /home/buildroot/instance-0/output-1/host/bin/arm-linux-gcc supports -c -o file.o... yes checking if /home/buildroot/instance-0/output-1/host/bin/arm-linux-gcc supports -c -o file.o... (cached) yes checking whether the /home/buildroot/instance-0/output-1/host/bin/arm-linux-gcc linker (/home/buildroot/instance-0/output-1/host/bin/arm-linux-ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no checking how to run the C++ preprocessor... /home/buildroot/instance-0/output-1/host/bin/arm-linux-g++ -E checking for ld used by /home/buildroot/instance-0/output-1/host/bin/arm-linux-g++... /home/buildroot/instance-0/output-1/host/bin/arm-linux-ld checking if the linker (/home/buildroot/instance-0/output-1/host/bin/arm-linux-ld) is GNU ld... yes checking whether the /home/buildroot/instance-0/output-1/host/bin/arm-linux-g++ linker (/home/buildroot/instance-0/output-1/host/bin/arm-linux-ld) supports shared libraries... yes checking for /home/buildroot/instance-0/output-1/host/bin/arm-linux-g++ option to produce PIC... -fPIC -DPIC checking if /home/buildroot/instance-0/output-1/host/bin/arm-linux-g++ PIC flag -fPIC -DPIC works... yes checking if /home/buildroot/instance-0/output-1/host/bin/arm-linux-g++ static flag -static works... yes checking if /home/buildroot/instance-0/output-1/host/bin/arm-linux-g++ supports -c -o file.o... yes checking if /home/buildroot/instance-0/output-1/host/bin/arm-linux-g++ supports -c -o file.o... (cached) yes checking whether the /home/buildroot/instance-0/output-1/host/bin/arm-linux-g++ linker (/home/buildroot/instance-0/output-1/host/bin/arm-linux-ld) supports shared libraries... yes checking dynamic linker characteristics... (cached) GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking for arm-buildroot-linux-uclibcgnueabihf-windres... no checking for windres... no checking whether make supports nested variables... (cached) yes checking if /home/buildroot/instance-0/output-1/host/bin/arm-linux-gcc supports -std=gnu11... yes checking operating system... Linux checking for nfds_t... yes checking for pipe2... yes checking if /home/buildroot/instance-0/output-1/host/bin/arm-linux-gcc recognizes -pthread... yes checking for library containing pthread_create... no checking whether __atomic_load_n is supported... yes checking for library containing clock_gettime... none required checking for pthread_setname_np... no checking for asm/types.h... yes checking for linux/netlink.h... yes checking for sys/socket.h... yes checking for sys/time.h... yes checking for clock_gettime... yes checking for /home/buildroot/instance-0/output-1/host/bin/arm-linux-gcc options needed to detect all undeclared functions... none needed checking whether CLOCK_MONOTONIC is declared... yes checking for pthread_condattr_setclock... no checking whether CLOCK_REALTIME is declared... yes checking for sys/eventfd.h... yes checking whether EFD_NONBLOCK is declared... yes checking whether EFD_CLOEXEC is declared... yes checking for eventfd... yes checking whether to use eventfd for signalling... yes checking for sys/timerfd.h... yes checking whether TFD_NONBLOCK is declared... yes checking whether TFD_CLOEXEC is declared... yes checking for timerfd_create... yes checking whether to use timerfd for timing... yes checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating libusb-1.0.pc config.status: creating Makefile config.status: creating libusb/Makefile config.status: creating examples/Makefile config.status: creating tests/Makefile config.status: creating doc/Makefile config.status: creating doc/doxygen.cfg config.status: creating config.h config.status: executing depfiles commands config.status: executing libtool commands configure: WARNING: unrecognized options: --disable-gtk-doc, --disable-gtk-doc-html, --disable-doc, --disable-docs, --disable-documentation, --with-xmlto, --with-fop, --enable-ipv6, --enable-nls >>> libusb 1.0.27 Building GIT_DIR=. PATH="/home/buildroot/instance-0/output-1/host/bin:/home/buildroot/instance-0/output-1/host/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" /usr/bin/make -j17 -C /home/buildroot/instance-0/output-1/build/libusb-1.0.27/ make[1]: Entering directory '/home/buildroot/instance-0/output-1/build/libusb-1.0.27' /usr/bin/make all-recursive make[2]: Entering directory '/home/buildroot/instance-0/output-1/build/libusb-1.0.27' Making all in libusb make[3]: Entering directory '/home/buildroot/instance-0/output-1/build/libusb-1.0.27/libusb' CC core.lo CC descriptor.lo CC hotplug.lo CC io.lo CC strerror.lo CC sync.lo CC os/events_posix.lo CC os/threads_posix.lo CC os/linux_usbfs.lo CC os/linux_netlink.lo In file included from /home/buildroot/instance-0/output-1/host/arm-buildroot-linux-uclibcgnueabihf/sysroot/usr/include/assert.h:31, from libusbi.h:29, from hotplug.c:22: /home/buildroot/instance-0/output-1/host/arm-buildroot-linux-uclibcgnueabihf/sysroot/usr/include/features.h:218:5: warning: #warning requested reentrant code, but thread support was disabled [-Wcpp] 218 | # warning requested reentrant code, but thread support was disabled | ^~~~~~~ In file included from /home/buildroot/instance-0/output-1/host/arm-buildroot-linux-uclibcgnueabihf/sysroot/usr/include/assert.h:31, from libusbi.h:29, from io.c:24: /home/buildroot/instance-0/output-1/host/arm-buildroot-linux-uclibcgnueabihf/sysroot/usr/include/features.h:218:5: warning: #warning requested reentrant code, but thread support was disabled [-Wcpp] 218 | # warning requested reentrant code, but thread support was disabled | ^~~~~~~ In file included from /home/buildroot/instance-0/output-1/host/arm-buildroot-linux-uclibcgnueabihf/sysroot/usr/include/assert.h:31, from libusbi.h:29, from sync.c:23: /home/buildroot/instance-0/output-1/host/arm-buildroot-linux-uclibcgnueabihf/sysroot/usr/include/features.h:218:5: warning: #warning requested reentrant code, but thread support was disabled [-Wcpp] 218 | # warning requested reentrant code, but thread support was disabled | ^~~~~~~ In file included from /home/buildroot/instance-0/output-1/host/arm-buildroot-linux-uclibcgnueabihf/sysroot/usr/include/assert.h:31, from ./libusbi.h:29, from os/linux_usbfs.c:25: /home/buildroot/instance-0/output-1/host/arm-buildroot-linux-uclibcgnueabihf/sysroot/usr/include/features.h:218:5: warning: #warning requested reentrant code, but thread support was disabled [-Wcpp] 218 | # warning requested reentrant code, but thread support was disabled | ^~~~~~~ In file included from /home/buildroot/instance-0/output-1/host/arm-buildroot-linux-uclibcgnueabihf/sysroot/usr/include/assert.h:31, from libusbi.h:29, from core.c:23: /home/buildroot/instance-0/output-1/host/arm-buildroot-linux-uclibcgnueabihf/sysroot/usr/include/features.h:218:5: warning: #warning requested reentrant code, but thread support was disabled [-Wcpp] 218 | # warning requested reentrant code, but thread support was disabled | ^~~~~~~ In file included from /home/buildroot/instance-0/output-1/host/arm-buildroot-linux-uclibcgnueabihf/sysroot/usr/include/assert.h:31, from libusbi.h:29, from descriptor.c:22: /home/buildroot/instance-0/output-1/host/arm-buildroot-linux-uclibcgnueabihf/sysroot/usr/include/features.h:218:5: warning: #warning requested reentrant code, but thread support was disabled [-Wcpp] 218 | # warning requested reentrant code, but thread support was disabled | ^~~~~~~ In file included from /home/buildroot/instance-0/output-1/host/arm-buildroot-linux-uclibcgnueabihf/sysroot/usr/include/assert.h:31, from libusbi.h:29, from strerror.c:20: /home/buildroot/instance-0/output-1/host/arm-buildroot-linux-uclibcgnueabihf/sysroot/usr/include/features.h:218:5: warning: #warning requested reentrant code, but thread support was disabled [-Wcpp] 218 | # warning requested reentrant code, but thread support was disabled | ^~~~~~~ In file included from /home/buildroot/instance-0/output-1/host/arm-buildroot-linux-uclibcgnueabihf/sysroot/usr/include/assert.h:31, from ./libusbi.h:29, from os/events_posix.c:21: /home/buildroot/instance-0/output-1/host/arm-buildroot-linux-uclibcgnueabihf/sysroot/usr/include/features.h:218:5: warning: #warning requested reentrant code, but thread support was disabled [-Wcpp] 218 | # warning requested reentrant code, but thread support was disabled | ^~~~~~~ In file included from /home/buildroot/instance-0/output-1/host/arm-buildroot-linux-uclibcgnueabihf/sysroot/usr/include/assert.h:31, from ./libusbi.h:29, from os/linux_netlink.c:24: /home/buildroot/instance-0/output-1/host/arm-buildroot-linux-uclibcgnueabihf/sysroot/usr/include/features.h:218:5: warning: #warning requested reentrant code, but thread support was disabled [-Wcpp] 218 | # warning requested reentrant code, but thread support was disabled | ^~~~~~~ In file included from /home/buildroot/instance-0/output-1/host/arm-buildroot-linux-uclibcgnueabihf/sysroot/usr/include/assert.h:31, from ./libusbi.h:29, from os/threads_posix.c:22: /home/buildroot/instance-0/output-1/host/arm-buildroot-linux-uclibcgnueabihf/sysroot/usr/include/features.h:218:5: warning: #warning requested reentrant code, but thread support was disabled [-Wcpp] 218 | # warning requested reentrant code, but thread support was disabled | ^~~~~~~ In file included from libusbi.h:117, from hotplug.c:22: os/threads_posix.h:24:10: fatal error: pthread.h: No such file or directory 24 | #include | ^~~~~~~~~~~ compilation terminated. In file included from libusbi.h:117, from io.c:24: os/threads_posix.h:24:10: fatal error: pthread.h: No such file or directory 24 | #include | ^~~~~~~~~~~ compilation terminated. In file included from libusbi.h:117, from sync.c:23: os/threads_posix.h:24:10: fatal error: pthread.h: No such file or directory 24 | #include | ^~~~~~~~~~~ compilation terminated. In file included from ./libusbi.h:117, from os/linux_usbfs.c:25: ./os/threads_posix.h:24:10: fatal error: pthread.h: No such file or directory 24 | #include | ^~~~~~~~~~~ compilation terminated. make[3]: *** [Makefile:689: hotplug.lo] Error 1 make[3]: *** Waiting for unfinished jobs.... make[3]: *** [Makefile:689: io.lo] Error 1 make[3]: *** [Makefile:689: sync.lo] Error 1 make[3]: *** [Makefile:689: os/linux_usbfs.lo] Error 1 In file included from ./libusbi.h:117, from os/events_posix.c:21: ./os/threads_posix.h:24:10: fatal error: pthread.h: No such file or directory 24 | #include | ^~~~~~~~~~~ In file included from ./libusbi.h:117, from os/linux_netlink.c:24: ./os/threads_posix.h:24:10: fatal error: pthread.h: No such file or directory 24 | #include | ^~~~~~~~~~~ compilation terminated. compilation terminated. make[3]: *** [Makefile:689: os/events_posix.lo] Error 1 make[3]: *** [Makefile:689: os/linux_netlink.lo] Error 1 In file included from libusbi.h:117, from descriptor.c:22: os/threads_posix.h:24:10: fatal error: pthread.h: No such file or directory 24 | #include | ^~~~~~~~~~~ compilation terminated. In file included from libusbi.h:117, from core.c:23: os/threads_posix.h:24:10: fatal error: pthread.h: No such file or directory 24 | #include | ^~~~~~~~~~~ compilation terminated. make[3]: *** [Makefile:689: descriptor.lo] Error 1 make[3]: *** [Makefile:689: core.lo] Error 1 In file included from libusbi.h:117, from strerror.c:20: os/threads_posix.h:24:10: fatal error: pthread.h: No such file or directory 24 | #include | ^~~~~~~~~~~ compilation terminated. make[3]: *** [Makefile:689: strerror.lo] Error 1 In file included from ./libusbi.h:117, from os/threads_posix.c:22: ./os/threads_posix.h:24:10: fatal error: pthread.h: No such file or directory 24 | #include | ^~~~~~~~~~~ compilation terminated. make[3]: *** [Makefile:689: os/threads_posix.lo] Error 1 make[3]: Leaving directory '/home/buildroot/instance-0/output-1/build/libusb-1.0.27/libusb' make[2]: *** [Makefile:491: all-recursive] Error 1 make[2]: Leaving directory '/home/buildroot/instance-0/output-1/build/libusb-1.0.27' make[1]: *** [Makefile:396: all] Error 2 make[1]: Leaving directory '/home/buildroot/instance-0/output-1/build/libusb-1.0.27' make: *** [package/pkg-generic.mk:289: /home/buildroot/instance-0/output-1/build/libusb-1.0.27/.stamp_built] Error 2 make: Leaving directory '/home/buildroot/instance-0/buildroot'