>>> apitrace 9.0 Extracting gzip -d -c /data/buildroot/buildroot-test/instance-0/dl/apitrace/apitrace-9.0.tar.gz | /data/buildroot/buildroot-test/instance-0/output/host/bin/tar --strip-components=1 -C /data/buildroot/buildroot-test/instance-0/output/build/apitrace-9.0 -xf - >>> apitrace 9.0 Patching Applying 0001-dlsym-Fix-build-under-uClibc.patch using patch: patching file wrappers/dlsym.cpp >>> apitrace 9.0 Configuring (mkdir -p /data/buildroot/buildroot-test/instance-0/output/build/apitrace-9.0/ && cd /data/buildroot/buildroot-test/instance-0/output/build/apitrace-9.0/ && rm -f CMakeCache.txt && PATH="/data/buildroot/buildroot-test/instance-0/output/host/bin:/data/buildroot/buildroot-test/instance-0/output/host/sbin:/data/buildroot/buildroot-test/venv/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl" /data/buildroot/buildroot-test/instance-0/output/host/bin/cmake /data/buildroot/buildroot-test/instance-0/output/build/apitrace-9.0/ -DCMAKE_TOOLCHAIN_FILE="/data/buildroot/buildroot-test/instance-0/output/host/share/buildroot/toolchainfile.cmake" -DCMAKE_INSTALL_PREFIX="/usr" -DCMAKE_COLOR_MAKEFILE=OFF -DBUILD_DOC=OFF -DBUILD_DOCS=OFF -DBUILD_EXAMPLE=OFF -DBUILD_EXAMPLES=OFF -DBUILD_TEST=OFF -DBUILD_TESTS=OFF -DBUILD_TESTING=OFF -DBUILD_SHARED_LIBS=OFF -DENABLE_X11=OFF -DENABLE_GUI=false ) -- The C compiler identification is GNU 7.4.0 -- The CXX compiler identification is GNU 7.4.0 -- Check for working C compiler: /data/buildroot/buildroot-test/instance-0/output/host/bin/arm-linux-gcc -- Check for working C compiler: /data/buildroot/buildroot-test/instance-0/output/host/bin/arm-linux-gcc -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Detecting C compile features -- Detecting C compile features - done -- Check for working CXX compiler: /data/buildroot/buildroot-test/instance-0/output/host/bin/arm-linux-g++ -- Check for working CXX compiler: /data/buildroot/buildroot-test/instance-0/output/host/bin/arm-linux-g++ -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Detecting CXX compile features -- Detecting CXX compile features - done -- Performing Test HAVE_COMPILER_TLS -- Performing Test HAVE_COMPILER_TLS - Success -- Found Python3: /data/buildroot/buildroot-test/instance-0/output/host/bin/python3.8 (found version "3.8.0") found components: Interpreter -- Looking for pthread.h -- Looking for pthread.h - found -- Performing Test CMAKE_HAVE_LIBC_PTHREAD -- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success -- Found Threads: TRUE -- Could NOT find procps (missing: PROCPS_LIBRARY PROCPS_INCLUDE_DIR) -- Performing Test CXX_COMPILER_FLAG_VISIBILITY -- Performing Test CXX_COMPILER_FLAG_VISIBILITY - Success -- Performing Test CXX_COMPILER_FLAG_STD_GNUXX11 -- Performing Test CXX_COMPILER_FLAG_STD_GNUXX11 - Success -- Check if the system is big endian -- Searching 16 bit integer -- Looking for sys/types.h -- Looking for sys/types.h - found -- Looking for stdint.h -- Looking for stdint.h - found -- Looking for stddef.h -- Looking for stddef.h - found -- Check size of unsigned short -- Check size of unsigned short - done -- Using unsigned short -- Check if the system is big endian - little endian -- Using bundled SNAPPY -- Found ZLIB: /data/buildroot/buildroot-test/instance-0/output/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/lib/libz.a (found suitable version "1.2.11", minimum required is "1.2.6") -- Found ZLIB: /data/buildroot/buildroot-test/instance-0/output/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/lib/libz.a (found version "1.2.11") -- Found PNG: /data/buildroot/buildroot-test/instance-0/output/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/lib/libpng.a (found version "1.6.37") -- Looking for _Unwind_Backtrace -- Looking for _Unwind_Backtrace - found -- Looking for _Unwind_GetIPInfo -- Looking for _Unwind_GetIPInfo - found -- Performing Test FLAG_UNWIND_TABLES -- Performing Test FLAG_UNWIND_TABLES - Success -- Performing Test HAVE_SYNC_FUNCTIONS -- Performing Test HAVE_SYNC_FUNCTIONS - Success -- Performing Test HAVE_ATOMIC_FUNCTIONS -- Performing Test HAVE_ATOMIC_FUNCTIONS - Success -- Looking for mmap -- Looking for mmap - found -- Looking for MAP_ANONYMOUS -- Looking for MAP_ANONYMOUS - found -- Looking for MAP_ANON -- Looking for MAP_ANON - found -- Looking for dl_iterate_phdr -- Looking for dl_iterate_phdr - found -- Looking for fcntl -- Looking for fcntl - found -- Looking for strnlen -- Looking for strnlen - found -- Looking for getexecname -- Looking for getexecname - not found -- Looking for dwarf.h -- Looking for dwarf.h - not found -- Looking for libdwarf/dwarf.h -- Looking for libdwarf/dwarf.h - not found -- libdwarf not found. Disabling Backtrace support. -- Performing Test STATIC_LIBSTDCXX_PIC -- Performing Test STATIC_LIBSTDCXX_PIC - Failed -- Configuring done -- Generating done CMake Warning: Manually-specified variables were not used by the project: BUILD_DOC BUILD_DOCS BUILD_EXAMPLE BUILD_EXAMPLES BUILD_TEST BUILD_TESTING BUILD_TESTS -- Build files have been written to: /data/buildroot/buildroot-test/instance-0/output/build/apitrace-9.0 >>> apitrace 9.0 Building PATH="/data/buildroot/buildroot-test/instance-0/output/host/bin:/data/buildroot/buildroot-test/instance-0/output/host/sbin:/data/buildroot/buildroot-test/venv/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl" /usr/bin/make -j12 -C /data/buildroot/buildroot-test/instance-0/output/build/apitrace-9.0/ make[1]: Entering directory '/data/buildroot/buildroot-test/instance-0/output/build/apitrace-9.0' make[2]: Entering directory '/data/buildroot/buildroot-test/instance-0/output/build/apitrace-9.0' make[3]: Entering directory '/data/buildroot/buildroot-test/instance-0/output/build/apitrace-9.0' make[3]: Entering directory '/data/buildroot/buildroot-test/instance-0/output/build/apitrace-9.0' make[3]: Entering directory '/data/buildroot/buildroot-test/instance-0/output/build/apitrace-9.0' make[3]: Entering directory '/data/buildroot/buildroot-test/instance-0/output/build/apitrace-9.0' make[3]: Entering directory '/data/buildroot/buildroot-test/instance-0/output/build/apitrace-9.0' make[3]: Entering directory '/data/buildroot/buildroot-test/instance-0/output/build/apitrace-9.0' make[3]: Entering directory '/data/buildroot/buildroot-test/instance-0/output/build/apitrace-9.0' make[3]: Entering directory '/data/buildroot/buildroot-test/instance-0/output/build/apitrace-9.0' make[3]: Entering directory '/data/buildroot/buildroot-test/instance-0/output/build/apitrace-9.0' make[3]: Entering directory '/data/buildroot/buildroot-test/instance-0/output/build/apitrace-9.0' make[3]: Entering directory '/data/buildroot/buildroot-test/instance-0/output/build/apitrace-9.0' Scanning dependencies of target highlight make[3]: Leaving directory '/data/buildroot/buildroot-test/instance-0/output/build/apitrace-9.0' [ 1%] Generating glproc.hpp, glproc.cpp Scanning dependencies of target md5_bundled make[3]: Leaving directory '/data/buildroot/buildroot-test/instance-0/output/build/apitrace-9.0' Scanning dependencies of target guids Scanning dependencies of target backtrace make[3]: Leaving directory '/data/buildroot/buildroot-test/instance-0/output/build/apitrace-9.0' make[3]: Leaving directory '/data/buildroot/buildroot-test/instance-0/output/build/apitrace-9.0' Scanning dependencies of target crc32c make[3]: Entering directory '/data/buildroot/buildroot-test/instance-0/output/build/apitrace-9.0' make[3]: Leaving directory '/data/buildroot/buildroot-test/instance-0/output/build/apitrace-9.0' Scanning dependencies of target brotli_common make[3]: Leaving directory '/data/buildroot/buildroot-test/instance-0/output/build/apitrace-9.0' Scanning dependencies of target snappy_bundled make[3]: Leaving directory '/data/buildroot/buildroot-test/instance-0/output/build/apitrace-9.0' Scanning dependencies of target brotli_dec make[3]: Entering directory '/data/buildroot/buildroot-test/instance-0/output/build/apitrace-9.0' make[3]: Leaving directory '/data/buildroot/buildroot-test/instance-0/output/build/apitrace-9.0' make[3]: Entering directory '/data/buildroot/buildroot-test/instance-0/output/build/apitrace-9.0' make[3]: Entering directory '/data/buildroot/buildroot-test/instance-0/output/build/apitrace-9.0' make[3]: Entering directory '/data/buildroot/buildroot-test/instance-0/output/build/apitrace-9.0' [ 2%] Building CXX object lib/highlight/CMakeFiles/highlight.dir/highlight.cpp.o make[3]: Entering directory '/data/buildroot/buildroot-test/instance-0/output/build/apitrace-9.0' make[3]: Entering directory '/data/buildroot/buildroot-test/instance-0/output/build/apitrace-9.0' [ 3%] Building C object thirdparty/md5/CMakeFiles/md5_bundled.dir/md5.c.o make[3]: Entering directory '/data/buildroot/buildroot-test/instance-0/output/build/apitrace-9.0' Scanning dependencies of target gtest [ 3%] Building CXX object lib/guids/CMakeFiles/guids.dir/guids.cpp.o make[3]: Leaving directory '/data/buildroot/buildroot-test/instance-0/output/build/apitrace-9.0' [ 3%] Building C object thirdparty/brotli/CMakeFiles/brotli_common.dir/c/common/transform.c.o [ 3%] Building C object thirdparty/crc32c/CMakeFiles/crc32c.dir/crc32c.c.o [ 4%] Building C object thirdparty/libbacktrace/CMakeFiles/backtrace.dir/backtrace.c.o [ 5%] Building C object thirdparty/brotli/CMakeFiles/brotli_common.dir/c/common/dictionary.c.o [ 6%] Building CXX object thirdparty/snappy/CMakeFiles/snappy_bundled.dir/snappy-c.cc.o make[3]: Entering directory '/data/buildroot/buildroot-test/instance-0/output/build/apitrace-9.0' [ 7%] Building C object thirdparty/brotli/CMakeFiles/brotli_dec.dir/c/dec/bit_reader.c.o [ 7%] Building CXX object CMakeFiles/gtest.dir/thirdparty/gtest/src/gtest-all.cc.o Scanning dependencies of target brotli_enc make[3]: Leaving directory '/data/buildroot/buildroot-test/instance-0/output/build/apitrace-9.0' make[3]: Entering directory '/data/buildroot/buildroot-test/instance-0/output/build/apitrace-9.0' [ 8%] Building C object thirdparty/brotli/CMakeFiles/brotli_enc.dir/c/enc/backward_references.c.o [ 9%] Linking C static library libcrc32c.a [ 9%] Building C object thirdparty/brotli/CMakeFiles/brotli_dec.dir/c/dec/decode.c.o [ 9%] Building C object thirdparty/libbacktrace/CMakeFiles/backtrace.dir/simple.c.o make[3]: Leaving directory '/data/buildroot/buildroot-test/instance-0/output/build/apitrace-9.0' [ 9%] Building C object thirdparty/brotli/CMakeFiles/brotli_enc.dir/c/enc/backward_references_hq.c.o [ 9%] Built target crc32c [ 10%] Building CXX object thirdparty/snappy/CMakeFiles/snappy_bundled.dir/snappy-sinksource.cc.o [ 10%] Linking C static library libmd5_bundled.a make[3]: Leaving directory '/data/buildroot/buildroot-test/instance-0/output/build/apitrace-9.0' [ 10%] Built target md5_bundled [ 11%] Building C object thirdparty/libbacktrace/CMakeFiles/backtrace.dir/mmapio.c.o [ 11%] Building C object thirdparty/libbacktrace/CMakeFiles/backtrace.dir/unknown.c.o [ 11%] Building CXX object thirdparty/snappy/CMakeFiles/snappy_bundled.dir/snappy-stubs-internal.cc.o [ 12%] Building C object thirdparty/brotli/CMakeFiles/brotli_enc.dir/c/enc/bit_cost.c.o [ 13%] Building C object thirdparty/libbacktrace/CMakeFiles/backtrace.dir/mmap.c.o [ 14%] Linking CXX static library libguids.a [ 15%] Building C object thirdparty/libbacktrace/CMakeFiles/backtrace.dir/atomic.c.o make[3]: Leaving directory '/data/buildroot/buildroot-test/instance-0/output/build/apitrace-9.0' [ 15%] Building C object thirdparty/libbacktrace/CMakeFiles/backtrace.dir/fileline.c.o [ 16%] Linking C static library libbrotli_common.a make[3]: Leaving directory '/data/buildroot/buildroot-test/instance-0/output/build/apitrace-9.0' [ 17%] Building C object thirdparty/libbacktrace/CMakeFiles/backtrace.dir/posix.c.o [ 17%] Linking CXX static library libhighlight.a make[3]: Leaving directory '/data/buildroot/buildroot-test/instance-0/output/build/apitrace-9.0' [ 17%] Building C object thirdparty/libbacktrace/CMakeFiles/backtrace.dir/print.c.o [ 18%] Building C object thirdparty/libbacktrace/CMakeFiles/backtrace.dir/state.c.o [ 19%] Building C object thirdparty/libbacktrace/CMakeFiles/backtrace.dir/sort.c.o [ 19%] Linking C static library libbacktrace.a make[3]: Leaving directory '/data/buildroot/buildroot-test/instance-0/output/build/apitrace-9.0' Scanning dependencies of target glproc make[3]: Leaving directory '/data/buildroot/buildroot-test/instance-0/output/build/apitrace-9.0' make[3]: Entering directory '/data/buildroot/buildroot-test/instance-0/output/build/apitrace-9.0' make[3]: Entering directory '/data/buildroot/buildroot-test/instance-0/output/build/apitrace-9.0' [ 21%] Building C object thirdparty/brotli/CMakeFiles/brotli_dec.dir/c/dec/huffman.c.o [ 21%] Building CXX object thirdparty/snappy/CMakeFiles/snappy_bundled.dir/snappy.cc.o [ 21%] Built target highlight [ 21%] Built target brotli_common [ 21%] Building CXX object dispatch/CMakeFiles/glproc.dir/glproc.cpp.o Scanning dependencies of target image make[3]: Leaving directory '/data/buildroot/buildroot-test/instance-0/output/build/apitrace-9.0' [ 22%] Building C object thirdparty/brotli/CMakeFiles/brotli_enc.dir/c/enc/brotli_bit_stream.c.o [ 22%] Building C object thirdparty/brotli/CMakeFiles/brotli_enc.dir/c/enc/block_splitter.c.o make[3]: Entering directory '/data/buildroot/buildroot-test/instance-0/output/build/apitrace-9.0' [ 23%] Building CXX object lib/image/CMakeFiles/image.dir/image_bmp.cpp.o [ 23%] Built target guids [ 23%] Building C object thirdparty/brotli/CMakeFiles/brotli_dec.dir/c/dec/state.c.o [ 23%] Built target backtrace [ 24%] Building CXX object lib/image/CMakeFiles/image.dir/image_png.cpp.o [ 24%] Building CXX object lib/image/CMakeFiles/image.dir/image_pnm.cpp.o make[3]: Entering directory '/data/buildroot/buildroot-test/instance-0/output/build/apitrace-9.0' Scanning dependencies of target btest make[3]: Leaving directory '/data/buildroot/buildroot-test/instance-0/output/build/apitrace-9.0' make[3]: Entering directory '/data/buildroot/buildroot-test/instance-0/output/build/apitrace-9.0' [ 25%] Building C object thirdparty/libbacktrace/CMakeFiles/btest.dir/btest.c.o /data/buildroot/buildroot-test/instance-0/output/build/apitrace-9.0/thirdparty/libbacktrace/btest.c:624:1: warning: 'test5' defined but not used [-Wunused-function] test5 (void) ^~~~~ [ 26%] Linking C executable ../../btest make[3]: Leaving directory '/data/buildroot/buildroot-test/instance-0/output/build/apitrace-9.0' [ 26%] Built target btest [ 27%] Building CXX object lib/image/CMakeFiles/image.dir/image_raw.cpp.o [ 28%] Linking C static library libbrotli_dec.a make[3]: Leaving directory '/data/buildroot/buildroot-test/instance-0/output/build/apitrace-9.0' [ 28%] Built target brotli_dec make[3]: Entering directory '/data/buildroot/buildroot-test/instance-0/output/build/apitrace-9.0' Scanning dependencies of target stest make[3]: Leaving directory '/data/buildroot/buildroot-test/instance-0/output/build/apitrace-9.0' make[3]: Entering directory '/data/buildroot/buildroot-test/instance-0/output/build/apitrace-9.0' [ 29%] Building C object thirdparty/libbacktrace/CMakeFiles/stest.dir/stest.c.o [ 30%] Linking C executable ../../stest make[3]: Entering directory '/data/buildroot/buildroot-test/instance-0/output/build/apitrace-9.0' Scanning dependencies of target os make[3]: Leaving directory '/data/buildroot/buildroot-test/instance-0/output/build/apitrace-9.0' make[3]: Leaving directory '/data/buildroot/buildroot-test/instance-0/output/build/apitrace-9.0' make[3]: Entering directory '/data/buildroot/buildroot-test/instance-0/output/build/apitrace-9.0' [ 30%] Built target stest [ 31%] Building CXX object lib/os/CMakeFiles/os.dir/os_posix.cpp.o [ 31%] Building CXX object lib/image/CMakeFiles/image.dir/image_md5.cpp.o [ 32%] Building C object thirdparty/brotli/CMakeFiles/brotli_enc.dir/c/enc/cluster.c.o [ 32%] Building CXX object lib/os/CMakeFiles/os.dir/os_backtrace.cpp.o [ 32%] Building C object thirdparty/brotli/CMakeFiles/brotli_enc.dir/c/enc/compress_fragment.c.o /data/buildroot/buildroot-test/instance-0/output/build/apitrace-9.0/lib/os/os_backtrace.cpp:43:12: fatal error: dlfcn.h: No such file or directory # include ^~~~~~~~~ compilation terminated. make[3]: *** [lib/os/CMakeFiles/os.dir/build.make:76: lib/os/CMakeFiles/os.dir/os_backtrace.cpp.o] Error 1 make[3]: *** Waiting for unfinished jobs.... [ 33%] Building C object thirdparty/brotli/CMakeFiles/brotli_enc.dir/c/enc/compress_fragment_two_pass.c.o [ 33%] Building C object thirdparty/brotli/CMakeFiles/brotli_enc.dir/c/enc/dictionary_hash.c.o [ 34%] Building C object thirdparty/brotli/CMakeFiles/brotli_enc.dir/c/enc/encode.c.o [ 35%] Building C object thirdparty/brotli/CMakeFiles/brotli_enc.dir/c/enc/encoder_dict.c.o [ 35%] Linking CXX static library libsnappy_bundled.a make[3]: Leaving directory '/data/buildroot/buildroot-test/instance-0/output/build/apitrace-9.0' [ 35%] Built target snappy_bundled [ 35%] Building C object thirdparty/brotli/CMakeFiles/brotli_enc.dir/c/enc/entropy_encode.c.o [ 36%] Linking CXX static library libimage.a make[3]: Leaving directory '/data/buildroot/buildroot-test/instance-0/output/build/apitrace-9.0' [ 36%] Built target image [ 37%] Building C object thirdparty/brotli/CMakeFiles/brotli_enc.dir/c/enc/histogram.c.o [ 37%] Building C object thirdparty/brotli/CMakeFiles/brotli_enc.dir/c/enc/literal_cost.c.o [ 38%] Building C object thirdparty/brotli/CMakeFiles/brotli_enc.dir/c/enc/memory.c.o [ 39%] Building C object thirdparty/brotli/CMakeFiles/brotli_enc.dir/c/enc/metablock.c.o [ 39%] Building C object thirdparty/brotli/CMakeFiles/brotli_enc.dir/c/enc/static_dict.c.o [ 40%] Building C object thirdparty/brotli/CMakeFiles/brotli_enc.dir/c/enc/utf8_util.c.o make[3]: Leaving directory '/data/buildroot/buildroot-test/instance-0/output/build/apitrace-9.0' make[2]: *** [CMakeFiles/Makefile2:584: lib/os/CMakeFiles/os.dir/all] Error 2 make[2]: *** Waiting for unfinished jobs.... [ 40%] Linking C static library libbrotli_enc.a make[3]: Leaving directory '/data/buildroot/buildroot-test/instance-0/output/build/apitrace-9.0' [ 40%] Built target brotli_enc [ 41%] Linking CXX static library libgtest.a make[3]: Leaving directory '/data/buildroot/buildroot-test/instance-0/output/build/apitrace-9.0' [ 41%] Built target gtest [ 42%] Linking CXX static library libglproc.a make[3]: Leaving directory '/data/buildroot/buildroot-test/instance-0/output/build/apitrace-9.0' [ 42%] Built target glproc make[2]: Leaving directory '/data/buildroot/buildroot-test/instance-0/output/build/apitrace-9.0' make[1]: *** [Makefile:163: all] Error 2 make[1]: Leaving directory '/data/buildroot/buildroot-test/instance-0/output/build/apitrace-9.0' make: *** [package/pkg-generic.mk:260: /data/buildroot/buildroot-test/instance-0/output/build/apitrace-9.0/.stamp_built] Error 2 make: Leaving directory '/data/buildroot/buildroot-test/instance-0/buildroot'