* Package: net-libs/libbtbb-2020.12.1 * Repository: gentoo * Maintainer: zerochaos@gentoo.org * USE: abi_x86_64 amd64 elibc_musl kernel_linux userland_GNU * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox >>> Unpacking source... >>> Unpacking libbtbb-2020-12-R1.tar.gz to /var/tmp/portage/net-libs/libbtbb-2020.12.1/work >>> Source unpacked in /var/tmp/portage/net-libs/libbtbb-2020.12.1/work >>> Preparing source in /var/tmp/portage/net-libs/libbtbb-2020.12.1/work/libbtbb-2020-12-R1 ... * Source directory (CMAKE_USE_DIR): "/var/tmp/portage/net-libs/libbtbb-2020.12.1/work/libbtbb-2020-12-R1" * Build directory (BUILD_DIR): "/var/tmp/portage/net-libs/libbtbb-2020.12.1/work/libbtbb-2020-12-R1_build" >>> Source prepared. >>> Configuring source in /var/tmp/portage/net-libs/libbtbb-2020.12.1/work/libbtbb-2020-12-R1 ... * Source directory (CMAKE_USE_DIR): "/var/tmp/portage/net-libs/libbtbb-2020.12.1/work/libbtbb-2020-12-R1" * Build directory (BUILD_DIR): "/var/tmp/portage/net-libs/libbtbb-2020.12.1/work/libbtbb-2020-12-R1_build" cmake -C /var/tmp/portage/net-libs/libbtbb-2020.12.1/work/libbtbb-2020-12-R1_build/gentoo_common_config.cmake -G Ninja -DCMAKE_INSTALL_PREFIX=/usr -DENABLE_PYTHON=OFF -DBUILD_STATIC_LIB=no -DBUILD_ROOT=/var/tmp/portage/net-libs/libbtbb-2020.12.1/image -DCMAKE_BUILD_TYPE=Gentoo -DCMAKE_TOOLCHAIN_FILE=/var/tmp/portage/net-libs/libbtbb-2020.12.1/work/libbtbb-2020-12-R1_build/gentoo_toolchain.cmake /var/tmp/portage/net-libs/libbtbb-2020.12.1/work/libbtbb-2020-12-R1 loading initial cache file /var/tmp/portage/net-libs/libbtbb-2020.12.1/work/libbtbb-2020-12-R1_build/gentoo_common_config.cmake CMake Deprecation Warning at CMakeLists.txt:23 (cmake_minimum_required): Compatibility with CMake < 2.8.12 will be removed from a future version of CMake. Update the VERSION argument value or use a ... suffix to tell CMake that the project does not need compatibility with older versions. -- The C compiler identification is GNU 11.2.1 -- The CXX compiler identification is GNU 11.2.1 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /usr/bin/x86_64-gentoo-linux-musl-gcc - skipped -- Detecting C compile features -- Detecting C compile features - done -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Check for working CXX compiler: /usr/bin/x86_64-gentoo-linux-musl-g++ - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done -- Setting version string 2018-06-R1 -- Building shared library -- <<< Gentoo configuration >>> Build type Gentoo Install path /usr Compiler flags: C -pipe -march=native -fno-diagnostics-color -O2 C++ -pipe -march=native -fno-diagnostics-color -O2 Linker flags: Executable -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 Module -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 Shared -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -- Configuring done -- Generating done CMake Warning: Manually-specified variables were not used by the project: BUILD_ROOT -- Build files have been written to: /var/tmp/portage/net-libs/libbtbb-2020.12.1/work/libbtbb-2020-12-R1_build >>> Source configured. >>> Compiling source in /var/tmp/portage/net-libs/libbtbb-2020.12.1/work/libbtbb-2020-12-R1 ... * Source directory (CMAKE_USE_DIR): "/var/tmp/portage/net-libs/libbtbb-2020.12.1/work/libbtbb-2020-12-R1" * Build directory (BUILD_DIR): "/var/tmp/portage/net-libs/libbtbb-2020.12.1/work/libbtbb-2020-12-R1_build" ninja -v -j4 -l0 [1/9] /usr/bin/x86_64-gentoo-linux-musl-gcc -DRELEASE=\"2018-06-R1\" -DVERSION=\"1.0\" -Dbtbb_EXPORTS -pipe -march=native -fno-diagnostics-color -O2 -std=gnu90 -fPIC -Wall -MD -MT lib/src/CMakeFiles/btbb.dir/pcap.c.o -MF lib/src/CMakeFiles/btbb.dir/pcap.c.o.d -o lib/src/CMakeFiles/btbb.dir/pcap.c.o -c /var/tmp/portage/net-libs/libbtbb-2020.12.1/work/libbtbb-2020-12-R1/lib/src/pcap.c FAILED: lib/src/CMakeFiles/btbb.dir/pcap.c.o /usr/bin/x86_64-gentoo-linux-musl-gcc -DRELEASE=\"2018-06-R1\" -DVERSION=\"1.0\" -Dbtbb_EXPORTS -pipe -march=native -fno-diagnostics-color -O2 -std=gnu90 -fPIC -Wall -MD -MT lib/src/CMakeFiles/btbb.dir/pcap.c.o -MF lib/src/CMakeFiles/btbb.dir/pcap.c.o.d -o lib/src/CMakeFiles/btbb.dir/pcap.c.o -c /var/tmp/portage/net-libs/libbtbb-2020.12.1/work/libbtbb-2020-12-R1/lib/src/pcap.c /var/tmp/portage/net-libs/libbtbb-2020.12.1/work/libbtbb-2020-12-R1/lib/src/pcap.c:113:61: error: unknown type name 'u_char'; did you mean 'char'? 113 | void btbb_pcap_dump(FILE *file, pcaprec_hdr_t *pcap_header, u_char *data) { | ^~~~~~ | char /var/tmp/portage/net-libs/libbtbb-2020.12.1/work/libbtbb-2020-12-R1/lib/src/pcap.c: In function 'btbb_pcap_append_packet': /var/tmp/portage/net-libs/libbtbb-2020.12.1/work/libbtbb-2020-12-R1/lib/src/pcap.c:205:17: warning: implicit declaration of function 'btbb_pcap_dump'; did you mean 'btbb_pcap_open'? [-Wimplicit-function-declaration] 205 | btbb_pcap_dump(h->pcap_file, &pcap_pkt.pcap_header, (u_char *)&pcap_pkt.bredr_bb_header); | ^~~~~~~~~~~~~~ | btbb_pcap_open /var/tmp/portage/net-libs/libbtbb-2020.12.1/work/libbtbb-2020-12-R1/lib/src/pcap.c:205:70: error: 'u_char' undeclared (first use in this function); did you mean 'putchar'? 205 | btbb_pcap_dump(h->pcap_file, &pcap_pkt.pcap_header, (u_char *)&pcap_pkt.bredr_bb_header); | ^~~~~~ | putchar /var/tmp/portage/net-libs/libbtbb-2020.12.1/work/libbtbb-2020-12-R1/lib/src/pcap.c:205:70: note: each undeclared identifier is reported only once for each function it appears in /var/tmp/portage/net-libs/libbtbb-2020.12.1/work/libbtbb-2020-12-R1/lib/src/pcap.c:205:78: error: expected expression before ')' token 205 | btbb_pcap_dump(h->pcap_file, &pcap_pkt.pcap_header, (u_char *)&pcap_pkt.bredr_bb_header); | ^ /var/tmp/portage/net-libs/libbtbb-2020.12.1/work/libbtbb-2020-12-R1/lib/src/pcap.c: In function 'lell_pcap_append_packet': /var/tmp/portage/net-libs/libbtbb-2020.12.1/work/libbtbb-2020-12-R1/lib/src/pcap.c:334:70: error: 'u_char' undeclared (first use in this function); did you mean 'putchar'? 334 | btbb_pcap_dump(h->pcap_file, &pcap_pkt.pcap_header, (u_char *)&pcap_pkt.le_ll_header); | ^~~~~~ | putchar /var/tmp/portage/net-libs/libbtbb-2020.12.1/work/libbtbb-2020-12-R1/lib/src/pcap.c:334:78: error: expected expression before ')' token 334 | btbb_pcap_dump(h->pcap_file, &pcap_pkt.pcap_header, (u_char *)&pcap_pkt.le_ll_header); | ^ /var/tmp/portage/net-libs/libbtbb-2020.12.1/work/libbtbb-2020-12-R1/lib/src/pcap.c: In function 'lell_pcap_append_ppi_packet': /var/tmp/portage/net-libs/libbtbb-2020.12.1/work/libbtbb-2020-12-R1/lib/src/pcap.c:413:70: error: 'u_char' undeclared (first use in this function); did you mean 'putchar'? 413 | btbb_pcap_dump(h->pcap_file, &pcap_pkt.pcap_header, (u_char *)&pcap_pkt.ppi_packet_header); | ^~~~~~ | putchar /var/tmp/portage/net-libs/libbtbb-2020.12.1/work/libbtbb-2020-12-R1/lib/src/pcap.c:413:78: error: expected expression before ')' token 413 | btbb_pcap_dump(h->pcap_file, &pcap_pkt.pcap_header, (u_char *)&pcap_pkt.ppi_packet_header); | ^ [2/9] /usr/bin/x86_64-gentoo-linux-musl-gcc -DRELEASE=\"2018-06-R1\" -DVERSION=\"1.0\" -Dbtbb_EXPORTS -pipe -march=native -fno-diagnostics-color -O2 -std=gnu90 -fPIC -Wall -MD -MT lib/src/CMakeFiles/btbb.dir/pcapng-bt.c.o -MF lib/src/CMakeFiles/btbb.dir/pcapng-bt.c.o.d -o lib/src/CMakeFiles/btbb.dir/pcapng-bt.c.o -c /var/tmp/portage/net-libs/libbtbb-2020.12.1/work/libbtbb-2020-12-R1/lib/src/pcapng-bt.c [3/9] /usr/bin/x86_64-gentoo-linux-musl-gcc -DRELEASE=\"2018-06-R1\" -DVERSION=\"1.0\" -Dbtbb_EXPORTS -pipe -march=native -fno-diagnostics-color -O2 -std=gnu90 -fPIC -Wall -MD -MT lib/src/CMakeFiles/btbb.dir/bluetooth_le_packet.c.o -MF lib/src/CMakeFiles/btbb.dir/bluetooth_le_packet.c.o.d -o lib/src/CMakeFiles/btbb.dir/bluetooth_le_packet.c.o -c /var/tmp/portage/net-libs/libbtbb-2020.12.1/work/libbtbb-2020-12-R1/lib/src/bluetooth_le_packet.c [4/9] /usr/bin/x86_64-gentoo-linux-musl-gcc -DRELEASE=\"2018-06-R1\" -DVERSION=\"1.0\" -Dbtbb_EXPORTS -pipe -march=native -fno-diagnostics-color -O2 -std=gnu90 -fPIC -Wall -MD -MT lib/src/CMakeFiles/btbb.dir/companies.c.o -MF lib/src/CMakeFiles/btbb.dir/companies.c.o.d -o lib/src/CMakeFiles/btbb.dir/companies.c.o -c /var/tmp/portage/net-libs/libbtbb-2020.12.1/work/libbtbb-2020-12-R1/lib/src/companies.c ninja: build stopped: subcommand failed. * ERROR: net-libs/libbtbb-2020.12.1::gentoo failed (compile phase): * ninja -v -j4 -l0 failed * * Call stack: * ebuild.sh, line 127: Called src_compile * environment, line 2099: Called cmake_src_compile * environment, line 814: Called cmake_build * environment, line 783: Called eninja * environment, line 1266: Called die * The specific snippet of code: * "$@" || die "${nonfatal_args[@]}" "${*} failed" * * If you need support, post the output of `emerge --info '=net-libs/libbtbb-2020.12.1::gentoo'`, * the complete build log and the output of `emerge -pqv '=net-libs/libbtbb-2020.12.1::gentoo'`. * The complete build log is located at '/var/log/portage/net-libs:libbtbb-2020.12.1:20211215-082746.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/net-libs/libbtbb-2020.12.1/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/net-libs/libbtbb-2020.12.1/temp/environment'. * Working directory: '/var/tmp/portage/net-libs/libbtbb-2020.12.1/work/libbtbb-2020-12-R1_build' * S: '/var/tmp/portage/net-libs/libbtbb-2020.12.1/work/libbtbb-2020-12-R1'