* Package: net-analyzer/netdata-1.45.0:0 * Repository: gentoo * Maintainer: candrews@gentoo.org * USE: abi_x86_64 aclk amd64 bpf cloud cups elibc_glibc filecaps kernel_linux mongodb mysql nfacct nodejs prometheus python python_single_target_python3_11 tor * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox * Using python3.11 to build * Determining the location of the kernel source code * Found kernel source directory: * /usr/src/linux * Found sources for kernel version: * 6.7.10-gentoo-dist >>> Unpacking source... >>> Unpacking netdata-1.45.0.tar.gz to /var/tmp/portage/net-analyzer/netdata-1.45.0/work >>> Source unpacked in /var/tmp/portage/net-analyzer/netdata-1.45.0/work >>> Preparing source in /var/tmp/portage/net-analyzer/netdata-1.45.0/work/netdata-v1.45.0 ... * Source directory (CMAKE_USE_DIR): "/var/tmp/portage/net-analyzer/netdata-1.45.0/work/netdata-v1.45.0" * Build directory (BUILD_DIR): "/var/tmp/portage/net-analyzer/netdata-1.45.0/work/netdata-v1.45.0_build" * Hardcoded definition(s) removed in src/fluent-bit/lib/cfl/lib/xxhash/cmake_unofficial/CMakeLists.txt: * set(CMAKE_BUILD_TYPE "Release" CACHE STRING "Project build type" FORCE) * Hardcoded definition(s) removed in src/fluent-bit/lib/cfl/tests/lib/acutest/CMakeLists.txt: * set(CMAKE_BUILD_TYPE $ENV{CMAKE_BUILD_TYPE}) * set(CMAKE_BUILD_TYPE "Release") * Hardcoded definition(s) removed in src/fluent-bit/lib/cfl/CMakeLists.txt: * set(CMAKE_BUILD_TYPE Debug) * Hardcoded definition(s) removed in src/fluent-bit/lib/chunkio/tests/lib/acutest/CMakeLists.txt: * set(CMAKE_BUILD_TYPE $ENV{CMAKE_BUILD_TYPE}) * set(CMAKE_BUILD_TYPE "Release") * Hardcoded definition(s) removed in src/fluent-bit/lib/ctraces/CMakeLists.txt: * set(CMAKE_BUILD_TYPE Debug) * Hardcoded definition(s) removed in src/fluent-bit/lib/miniz/CMakeLists.txt: * set(CMAKE_VERBOSE_MAKEFILE ON) * Hardcoded definition(s) removed in src/fluent-bit/lib/monkey/CMakeLists.txt: * set(CMAKE_BUILD_TYPE "Debug") * Hardcoded definition(s) removed in src/fluent-bit/lib/onigmo/CMakeLists.txt: * set(CMAKE_BUILD_TYPE None) * Hardcoded definition(s) removed in src/fluent-bit/lib/wasm-micro-runtime-WAMR-1.2.2/build-scripts/esp-idf/wamr/CMakeLists.txt: * set(CMAKE_BUILD_TYPE Release) * Hardcoded definition(s) removed in src/fluent-bit/lib/wasm-micro-runtime-WAMR-1.2.2/core/iwasm/libraries/wasi-nn/test/CMakeLists.txt: * set (CMAKE_VERBOSE_MAKEFILE OFF) * set(CMAKE_BUILD_TYPE Release) * Hardcoded definition(s) removed in src/fluent-bit/lib/wasm-micro-runtime-WAMR-1.2.2/product-mini/platforms/android/CMakeLists.txt: * set (CMAKE_VERBOSE_MAKEFILE on) * set (CMAKE_BUILD_TYPE Release) * set(CMAKE_BUILD_TYPE Release) * Hardcoded definition(s) removed in src/fluent-bit/lib/wasm-micro-runtime-WAMR-1.2.2/product-mini/platforms/darwin/CMakeLists.txt: * set(CMAKE_BUILD_TYPE Release) * Hardcoded definition(s) removed in src/fluent-bit/lib/wasm-micro-runtime-WAMR-1.2.2/product-mini/platforms/freebsd/CMakeLists.txt: * set(CMAKE_BUILD_TYPE Release) * Hardcoded definition(s) removed in src/fluent-bit/lib/wasm-micro-runtime-WAMR-1.2.2/product-mini/platforms/ios/CMakeLists.txt: * set(CMAKE_BUILD_TYPE Release) * Hardcoded definition(s) removed in src/fluent-bit/lib/wasm-micro-runtime-WAMR-1.2.2/product-mini/platforms/linux/CMakeLists.txt: * set (CMAKE_VERBOSE_MAKEFILE OFF) * set(CMAKE_BUILD_TYPE Release) * Hardcoded definition(s) removed in src/fluent-bit/lib/wasm-micro-runtime-WAMR-1.2.2/product-mini/platforms/linux-sgx/CMakeLists.txt: * set(CMAKE_BUILD_TYPE Release) * Hardcoded definition(s) removed in src/fluent-bit/lib/wasm-micro-runtime-WAMR-1.2.2/product-mini/platforms/vxworks/CMakeLists.txt: * set(CMAKE_BUILD_TYPE Release) * Hardcoded definition(s) removed in src/fluent-bit/lib/wasm-micro-runtime-WAMR-1.2.2/product-mini/platforms/windows/CMakeLists.txt: * set(CMAKE_BUILD_TYPE Release) * Hardcoded definition(s) removed in src/fluent-bit/lib/wasm-micro-runtime-WAMR-1.2.2/samples/basic/CMakeLists.txt: * set (CMAKE_BUILD_TYPE Release) * Hardcoded definition(s) removed in src/fluent-bit/lib/wasm-micro-runtime-WAMR-1.2.2/samples/file/src/CMakeLists.txt: * set (CMAKE_BUILD_TYPE Release) * Hardcoded definition(s) removed in src/fluent-bit/lib/wasm-micro-runtime-WAMR-1.2.2/samples/multi-module/CMakeLists.txt: * set (CMAKE_BUILD_TYPE Release) * Hardcoded definition(s) removed in src/fluent-bit/lib/wasm-micro-runtime-WAMR-1.2.2/samples/multi-thread/CMakeLists.txt: * set (CMAKE_BUILD_TYPE Release) * Hardcoded definition(s) removed in src/fluent-bit/lib/wasm-micro-runtime-WAMR-1.2.2/samples/native-lib/CMakeLists.txt: * set (CMAKE_BUILD_TYPE Release) * Hardcoded definition(s) removed in src/fluent-bit/lib/wasm-micro-runtime-WAMR-1.2.2/samples/ref-types/CMakeLists.txt: * set (CMAKE_BUILD_TYPE Release) * Hardcoded definition(s) removed in src/fluent-bit/lib/wasm-micro-runtime-WAMR-1.2.2/samples/sgx-ra/CMakeLists.txt: * set (CMAKE_BUILD_TYPE Release) * Hardcoded definition(s) removed in src/fluent-bit/lib/wasm-micro-runtime-WAMR-1.2.2/samples/socket-api/CMakeLists.txt: * set (CMAKE_BUILD_TYPE Release) * Hardcoded definition(s) removed in src/fluent-bit/lib/wasm-micro-runtime-WAMR-1.2.2/samples/spawn-thread/CMakeLists.txt: * set (CMAKE_BUILD_TYPE Release) * Hardcoded definition(s) removed in src/fluent-bit/lib/wasm-micro-runtime-WAMR-1.2.2/samples/wasi-threads/CMakeLists.txt: * set (CMAKE_BUILD_TYPE Release) * Hardcoded definition(s) removed in src/fluent-bit/lib/wasm-micro-runtime-WAMR-1.2.2/samples/wasm-c-api/CMakeLists.txt: * set(CMAKE_BUILD_TYPE Release) * Hardcoded definition(s) removed in src/fluent-bit/lib/wasm-micro-runtime-WAMR-1.2.2/samples/wasm-c-api-imports/host/CMakeLists.txt: * set(CMAKE_BUILD_TYPE Debug) * Hardcoded definition(s) removed in src/fluent-bit/lib/wasm-micro-runtime-WAMR-1.2.2/samples/wasm-c-api-imports/CMakeLists.txt: * set (CMAKE_BUILD_TYPE Release) * Hardcoded definition(s) removed in src/fluent-bit/lib/wasm-micro-runtime-WAMR-1.2.2/test-tools/host-tool/CMakeLists.txt: * SET(CMAKE_BUILD_TYPE Debug) * Hardcoded definition(s) removed in src/fluent-bit/lib/wasm-micro-runtime-WAMR-1.2.2/wamr-compiler/CMakeLists.txt: * set(CMAKE_BUILD_TYPE Release) * Hardcoded definition(s) removed in src/fluent-bit/lib/wasm-micro-runtime-WAMR-1.2.2/wamr-sdk/runtime/CMakeLists.txt: * set (CMAKE_BUILD_TYPE Release) * Hardcoded definition(s) removed in src/fluent-bit/lib/wasm-micro-runtime-WAMR-1.2.2/CMakeLists.txt: * set (CMAKE_VERBOSE_MAKEFILE OFF) * set(CMAKE_BUILD_TYPE Release) * Hardcoded definition(s) removed in src/fluent-bit/src/wamrc/CMakeLists.txt: * set (CMAKE_BUILD_TYPE Release) * Hardcoded definition(s) removed in src/fluent-bit/src/wasm/CMakeLists.txt: * set (CMAKE_BUILD_TYPE Release) * Hardcoded definition(s) removed in src/fluent-bit/CMakeLists.txt: * set(CMAKE_BUILD_TYPE None) * set(CMAKE_BUILD_TYPE "Debug") * set(CMAKE_BUILD_TYPE None) # Avoid flag conflicts (See CMakeList.txt:L18) * set(CMAKE_BUILD_TYPE "Debug") * set(CMAKE_BUILD_TYPE "RelWithDebInfo") * Hardcoded definition(s) removed in CMakeLists.txt: * set(CMAKE_BUILD_TYPE "Release") >>> Source prepared. >>> Configuring source in /var/tmp/portage/net-analyzer/netdata-1.45.0/work/netdata-v1.45.0 ... * Source directory (CMAKE_USE_DIR): "/var/tmp/portage/net-analyzer/netdata-1.45.0/work/netdata-v1.45.0" * Build directory (BUILD_DIR): "/var/tmp/portage/net-analyzer/netdata-1.45.0/work/netdata-v1.45.0_build" cmake -C /var/tmp/portage/net-analyzer/netdata-1.45.0/work/netdata-v1.45.0_build/gentoo_common_config.cmake -G Ninja -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_DISABLE_FIND_PACKAGE_Git=TRUE -DCMAKE_INSTALL_PREFIX=/ -DENABLE_ACLK=yes -DENABLE_CLOUD=yes -DENABLE_DBENGINE=no -DENABLE_PLUGIN_CUPS=yes -DENABLE_PLUGIN_NFACCT=yes -DENABLE_PLUGIN_FREEIPMI=no -DENABLE_EXPORTER_MONGODB=yes -DENABLE_EXPORTER_PROMETHEUS_REMOTE_WRITE=yes -DENABLE_PLUGIN_XENSTAT=no -DENABLE_PLUGIN_EBPF=yes -DENABLE_PLUGIN_GO=FALSE -DCMAKE_BUILD_TYPE=RelWithDebInfo -DCMAKE_TOOLCHAIN_FILE=/var/tmp/portage/net-analyzer/netdata-1.45.0/work/netdata-v1.45.0_build/gentoo_toolchain.cmake /var/tmp/portage/net-analyzer/netdata-1.45.0/work/netdata-v1.45.0 loading initial cache file /var/tmp/portage/net-analyzer/netdata-1.45.0/work/netdata-v1.45.0_build/gentoo_common_config.cmake CMake Warning at CMakeLists.txt:22 (message): using version from packaging/version: 'v1.45.0' -- The C compiler identification is GNU 13.2.1 -- The CXX compiler identification is GNU 13.2.1 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /usr/bin/x86_64-pc-linux-gnu-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-pc-linux-gnu-g++ - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done -- Found PkgConfig: /usr/bin/x86_64-pc-linux-gnu-pkg-config (found version "2.1.1") -- Performing Test HAVE_C__fstack_protector_strong -- Performing Test HAVE_C__fstack_protector_strong - Success -- Performing Test HAVE_CXX__fstack_protector_strong -- Performing Test HAVE_CXX__fstack_protector_strong - Success -- Performing Test HAVE_C__D_FORTIFY_SOURCE_3 -- Performing Test HAVE_C__D_FORTIFY_SOURCE_3 - Failed -- Performing Test HAVE_C__D_FORTIFY_SOURCE_2 -- Performing Test HAVE_C__D_FORTIFY_SOURCE_2 - Success -- Performing Test HAVE_CXX__D_FORTIFY_SOURCE_3 -- Performing Test HAVE_CXX__D_FORTIFY_SOURCE_3 - Failed -- Performing Test HAVE_CXX__D_FORTIFY_SOURCE_2 -- Performing Test HAVE_CXX__D_FORTIFY_SOURCE_2 - Success -- Performing Test HAVE_C__fstack_clash_protection -- Performing Test HAVE_C__fstack_clash_protection - Success -- Performing Test HAVE_CXX__fstack_clash_protection -- Performing Test HAVE_CXX__fstack_clash_protection - Success -- Performing Test HAVE_C__fcf_protection_full -- Performing Test HAVE_C__fcf_protection_full - Success -- Performing Test HAVE_CXX__fcf_protection_full -- Performing Test HAVE_CXX__fcf_protection_full - Success -- Performing Test HAVE_C__mbranch_protection_standard -- Performing Test HAVE_C__mbranch_protection_standard - Failed -- Performing Test HAVE_CXX__mbranch_protection_standard -- Performing Test HAVE_CXX__mbranch_protection_standard - Failed -- Performing Test HAVE_C__ffunction_sections -- Performing Test HAVE_C__ffunction_sections - Success -- Performing Test HAVE_CXX__ffunction_sections -- Performing Test HAVE_CXX__ffunction_sections - Success -- Performing Test HAVE_C__fdata_sections -- Performing Test HAVE_C__fdata_sections - Success -- Performing Test HAVE_CXX__fdata_sections -- Performing Test HAVE_CXX__fdata_sections - Success -- Looking for log10 -- Looking for log10 - not found -- Looking for log10 -- Looking for log10 - found -- Checking for module 'yaml-0.1' -- Found yaml-0.1, version 0.2.5 -- Looking for netinet/in.h -- Looking for netinet/in.h - found -- Looking for resolv.h -- Looking for resolv.h - found -- Looking for netdb.h -- Looking for netdb.h - found -- Looking for sys/prctl.h -- Looking for sys/prctl.h - found -- Looking for sys/stat.h -- Looking for sys/stat.h - found -- Looking for sys/vfs.h -- Looking for sys/vfs.h - found -- Looking for sys/statfs.h -- Looking for sys/statfs.h - found -- Looking for linux/magic.h -- Looking for linux/magic.h - found -- Looking for sys/mount.h -- Looking for sys/mount.h - found -- Looking for sys/statvfs.h -- Looking for sys/statvfs.h - found -- Looking for inttypes.h -- Looking for inttypes.h - found -- Looking for stdint.h -- Looking for stdint.h - found -- Looking for sys/capability.h -- Looking for sys/capability.h - found -- Looking for snappy_compress in snappy -- Looking for snappy_compress in snappy - found -- Looking for major -- Looking for major - found -- Looking for major -- Looking for major - not found -- Looking for clock_gettime -- Looking for clock_gettime - found -- Looking for strerror_r -- Looking for strerror_r - found -- Looking for finite -- Looking for finite - found -- Looking for isfinite -- Looking for isfinite - found -- Looking for dlsym -- Looking for dlsym - found -- Looking for nice -- Looking for nice - found -- Looking for recvmmsg -- Looking for recvmmsg - found -- Looking for getpriority -- Looking for getpriority - found -- Looking for sched_getscheduler -- Looking for sched_getscheduler - found -- Looking for sched_setscheduler -- Looking for sched_setscheduler - found -- Looking for sched_get_priority_min -- Looking for sched_get_priority_min - found -- Looking for sched_get_priority_max -- Looking for sched_get_priority_max - found -- Looking for close_range -- Looking for close_range - found -- Looking for backtrace -- Looking for backtrace - found -- Performing Test HAVE_PTHREAD_GETNAME_NP -- Performing Test HAVE_PTHREAD_GETNAME_NP - Success -- Performing Test HAVE_C__GENERIC -- Performing Test HAVE_C__GENERIC - Success -- Performing Test HAVE_C_MALLOPT -- Performing Test HAVE_C_MALLOPT - Success -- Performing Test HAVE_ACCEPT4 -- Performing Test HAVE_ACCEPT4 - Success -- Performing Test STRERROR_R_CHAR_P -- Performing Test STRERROR_R_CHAR_P - Success -- Performing Test HAVE_SETNS -- Performing Test HAVE_SETNS - Success -- Performing Test HAVE_BUILTIN_ATOMICS -- Performing Test HAVE_BUILTIN_ATOMICS - Success -- Performing Test HAVE_FUNC_ATTRIBUTE_FORMAT -- Performing Test HAVE_FUNC_ATTRIBUTE_FORMAT - Success -- Performing Test HAVE_FUNC_ATTRIBUTE_MALLOC -- Performing Test HAVE_FUNC_ATTRIBUTE_MALLOC - Success -- Performing Test HAVE_FUNC_ATTRIBUTE_NOINLINE -- Performing Test HAVE_FUNC_ATTRIBUTE_NOINLINE - Success -- Performing Test HAVE_FUNC_ATTRIBUTE_NORETURN -- Performing Test HAVE_FUNC_ATTRIBUTE_NORETURN - Success -- Performing Test HAVE_FUNC_ATTRIBUTE_RETURNS_NONNULL -- Performing Test HAVE_FUNC_ATTRIBUTE_RETURNS_NONNULL - Success -- Performing Test HAVE_FUNC_ATTRIBUTE_WARN_UNUSED_RESULT -- Performing Test HAVE_FUNC_ATTRIBUTE_WARN_UNUSED_RESULT - Success -- Checking for module 'libcrypto' -- Found libcrypto, version 3.2.1 -- Checking for module 'openssl' -- Found openssl, version 3.2.1 -- Found ZLIB: /usr/lib64/libz.so (found version "1.3.1") -- Performing Test CMAKE_HAVE_LIBC_PTHREAD -- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success -- Found Threads: TRUE -- Checking for module 'libsystemd' -- Found libsystemd, version 255 -- Performing Test HAVE_SD_JOURNAL_OS_ROOT -- Performing Test HAVE_SD_JOURNAL_OS_ROOT - Success -- Looking for sd_journal_open_files_fd -- Looking for sd_journal_open_files_fd - found -- Looking for sd_journal_restart_fields -- Looking for sd_journal_restart_fields - found -- Looking for sd_journal_get_seqnum -- Looking for sd_journal_get_seqnum - found -- Looking for sd_bus_default_system -- Looking for sd_bus_default_system - found -- Looking for sd_bus_call_method -- Looking for sd_bus_call_method - found -- Looking for sd_bus_message_enter_container -- Looking for sd_bus_message_enter_container - found -- Looking for sd_bus_message_read -- Looking for sd_bus_message_read - found -- Looking for sd_bus_message_exit_container -- Looking for sd_bus_message_exit_container - found -- Checking for module 'libelf' -- Found libelf, version 0.191 -- Checking for module 'json-c' -- Found json-c, version 0.17 -- Checking for module 'zlib' -- Found zlib, version 1.3.1 -- Checking for module 'liblz4>=1.9.0' -- Found liblz4, version 1.9.4 -- Checking for module 'libzstd' -- Found libzstd, version 1.5.5 -- Checking for modules 'libbrotlidec;libbrotlienc;libbrotlicommon' -- Found libbrotlidec, version 1.1.0 -- Found libbrotlienc, version 1.1.0 -- Found libbrotlicommon, version 1.1.0 -- Checking for module 'uuid' -- Found uuid, version 2.39.3 -- Checking for module 'libuv' -- Found libuv, version 1.48.0 -- Checking for module 'libmnl' -- Found libmnl, version 1.0.5 -- Checking for module 'libnetfilter_acct' -- Found libnetfilter_acct, version 1.0.3 -- Checking for module 'libcups' -- Package 'libcups', required by 'virtual:world', not found -- Checking for module 'cups' -- Found cups, version 2.4.7 -- Checking for module 'libmongoc-1.0>=1.7' -- Found libmongoc-1.0, version 1.24.4 -- Checking for module 'snappy' -- Package 'snappy', required by 'virtual:world', not found -- Checking for module 'libpcre2-8' -- Found libpcre2-8, version 10.43 -- <<< Gentoo configuration >>> Build type RelWithDebInfo Install path Compiler flags: C -O2 -pipe -march=native -fno-diagnostics-color -fexceptions C++ -O2 -pipe -march=native -fno-diagnostics-color -O2 -pipe -march=native -fno-diagnostics-color -fexceptions 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 (12.6s) -- Generating done (0.1s) -- Build files have been written to: /var/tmp/portage/net-analyzer/netdata-1.45.0/work/netdata-v1.45.0_build >>> Source configured. >>> Compiling source in /var/tmp/portage/net-analyzer/netdata-1.45.0/work/netdata-v1.45.0 ... * Source directory (CMAKE_USE_DIR): "/var/tmp/portage/net-analyzer/netdata-1.45.0/work/netdata-v1.45.0" * Build directory (BUILD_DIR): "/var/tmp/portage/net-analyzer/netdata-1.45.0/work/netdata-v1.45.0_build" ninja -v -j4 -l0 ninja: error: '/var/tmp/portage/net-analyzer/netdata-1.45.0/work/netdata-v1.45.0/externaldeps/libbpf/libbpf.a', needed by 'debugfs.plugin', missing and no known rule to make it * ERROR: net-analyzer/netdata-1.45.0::gentoo failed (compile phase): * ninja -v -j4 -l0 failed * * Call stack: * ebuild.sh, line 136: Called src_compile * environment, line 3886: Called cmake_src_compile * environment, line 1622: Called cmake_build * environment, line 1589: Called eninja * environment, line 2065: Called die * The specific snippet of code: * "$@" || die -n "${*} failed" * * If you need support, post the output of `emerge --info '=net-analyzer/netdata-1.45.0::gentoo'`, * the complete build log and the output of `emerge -pqv '=net-analyzer/netdata-1.45.0::gentoo'`. * The complete build log is located at '/var/log/portage/net-analyzer:netdata-1.45.0:20240324-015006.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/net-analyzer/netdata-1.45.0/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/net-analyzer/netdata-1.45.0/temp/environment'. * Working directory: '/var/tmp/portage/net-analyzer/netdata-1.45.0/work/netdata-v1.45.0_build' * S: '/var/tmp/portage/net-analyzer/netdata-1.45.0/work/netdata-v1.45.0'