* Package: net-analyzer/openvas-scanner-21.4.4-r2:0 * Repository: gentoo * Maintainer: jonas.licht@gmail.com proxy-maint@gentoo.org * USE: abi_x86_64 amd64 elibc_glibc kernel_linux userland_GNU * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox >>> Unpacking source... >>> Unpacking openvas-scanner-21.4.4.tar.gz to /var/tmp/portage/net-analyzer/openvas-scanner-21.4.4-r2/work >>> Source unpacked in /var/tmp/portage/net-analyzer/openvas-scanner-21.4.4-r2/work >>> Preparing source in /var/tmp/portage/net-analyzer/openvas-scanner-21.4.4-r2/work/openvas-scanner-21.4.4 ... * Source directory (CMAKE_USE_DIR): "/var/tmp/portage/net-analyzer/openvas-scanner-21.4.4-r2/work/openvas-scanner-21.4.4" * Build directory (BUILD_DIR): "/var/tmp/portage/net-analyzer/openvas-scanner-21.4.4-r2/work/openvas-scanner-21.4.4_build" * Applying openvas-scanner-7.0.1-disable-automagic-dep.patch ... [ ok ] * Applying openvas-scanner-7.0.1-fix-linking-with-lld.patch ... [ ok ] * Applying openvas-scanner-20.8.1-rpath-qa-fix.patch ... [ ok ] * Hardcoded definition(s) removed in CMakeLists.txt: * set (CMAKE_BUILD_TYPE Debug) >>> Source prepared. >>> Configuring source in /var/tmp/portage/net-analyzer/openvas-scanner-21.4.4-r2/work/openvas-scanner-21.4.4 ... * Source directory (CMAKE_USE_DIR): "/var/tmp/portage/net-analyzer/openvas-scanner-21.4.4-r2/work/openvas-scanner-21.4.4" * Build directory (BUILD_DIR): "/var/tmp/portage/net-analyzer/openvas-scanner-21.4.4-r2/work/openvas-scanner-21.4.4_build" cmake -C /var/tmp/portage/net-analyzer/openvas-scanner-21.4.4-r2/work/openvas-scanner-21.4.4_build/gentoo_common_config.cmake -G Ninja -DCMAKE_INSTALL_PREFIX=/usr -DLOCALSTATEDIR=/var -DSYSCONFDIR=/etc -DSBINDIR=/usr/bin -DBUILD_WITH_SNMP=no -DCMAKE_BUILD_TYPE=RelWithDebInfo -DCMAKE_TOOLCHAIN_FILE=/var/tmp/portage/net-analyzer/openvas-scanner-21.4.4-r2/work/openvas-scanner-21.4.4_build/gentoo_toolchain.cmake /var/tmp/portage/net-analyzer/openvas-scanner-21.4.4-r2/work/openvas-scanner-21.4.4 loading initial cache file /var/tmp/portage/net-analyzer/openvas-scanner-21.4.4-r2/work/openvas-scanner-21.4.4_build/gentoo_common_config.cmake -- Configuring the Scanner... -- The C compiler identification is GNU 13.0.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 -- Found Git: /usr/bin/git (found version "2.40.0") -- Looking for clang-format... -- Looking for clang-format... /usr/lib/llvm/16/bin/clang-format Set LIBDIR to /usr/lib64 -- Install prefix: /usr -- Found PkgConfig: /usr/bin/x86_64-pc-linux-gnu-pkg-config (found version "1.8.1") -- Checking for module 'glib-2.0>=2.42' -- Found glib-2.0, version 2.76.1 -- Checking for module 'gnutls>=3.6.4' -- Found gnutls, version 3.8.0 -- Checking for module 'libgvm_base>=21.4.1' -- Found libgvm_base, version 21.4.4 -- Checking for module 'libgvm_util>=21.4.1' -- Found libgvm_util, version 21.4.4 -- Checking for module 'libopenvas_wmiclient>=1.0.5' -- Package 'libopenvas_wmiclient', required by 'virtual:world', not found -- Checking for module 'libopenvas_wincmd>=1.0.5' -- Package 'libopenvas_wincmd', required by 'virtual:world', not found -- Looking for pcap... -- Looking for pcap... /usr/lib64/libpcap.so -- Looking for pcap-config... -- Looking for pcap-config... /usr/bin/pcap-config -- Looking for gpgme... -- Looking for gpgme... /usr/lib64/libgpgme.so -- Checking for module 'gio-2.0' -- Found gio-2.0, version 2.76.1 -- Checking for module 'gnutls>=3.2.15' -- Found gnutls, version 3.8.0 -- Checking for module 'libopenvas_wmiclient>=1.0.5' -- Package 'libopenvas_wmiclient', required by 'virtual:world', not found -- Checking for module 'libopenvas_wincmd>=1.0.5' -- Package 'libopenvas_wincmd', required by 'virtual:world', not found -- Checking for module 'libssh>=0.6.0' -- Found libssh, version 0.10.4 -- Looking for ksba >= 1.0.7... -- Looking for ksba >= 1.0.7... /usr/lib64/libksba.so -- Found ksba 1.6.3... -- Looking for pcap... -- Looking for pcap... /usr/lib64/libpcap.so -- Looking for pcap-config... -- Looking for pcap-config... /usr/bin/pcap-config -- Looking for gpgme... /usr/lib64/libgpgme.so -- Looking for libgcrypt... -- Looking for libgcrypt... /usr/lib64/libgcrypt.so -- found libgcrypt, version 1.10.1-unknown -- Looking for bison... -- Found BISON: /usr/bin/bison (found suitable version "3.8.2", minimum required is "2.5") -- Checking for module 'libgvm_boreas>=21.4.1' -- Found libgvm_boreas, version 21.4.4 -- Looking for libgcrypt... -- Looking for libgcrypt... /usr/lib64/libgcrypt.so -- found libgcrypt, version 1.10.1-unknown -- Looking for pcap... -- Looking for pcap... /usr/lib64/libpcap.so -- Looking for pcap-config... -- Looking for pcap-config... /usr/bin/pcap-config -- Performing Test CMAKE_HAVE_LIBC_PTHREAD -- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success -- Found Threads: TRUE -- Could NOT find Doxygen (missing: DOXYGEN_EXECUTABLE) -- WARNING: Doxygen is required to build the HTML docs. -- <<< Gentoo configuration >>> Build type RelWithDebInfo Install path /usr Compiler flags: C -O2 -pipe -march=native -fno-diagnostics-color -falign-functions=32:25:16 -D_FILE_OFFSET_BITS=64 -DLARGEFILE_SOURCE=1 -Wall -D_BSD_SOURCE -D_ISOC99_SOURCE -D_SVID_SOURCE -D_DEFAULT_SOURCE C++ 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 (0.9s) CMake Error at misc/CMakeLists.txt:118 (add_library): Target "openvas_misc_shared" links to item " -lpcap" which has leading or trailing whitespace. This is now an error according to policy CMP0004. CMake Error at misc/CMakeLists.txt:167 (add_executable): Target "pcap-test" links to item " -lpcap" which has leading or trailing whitespace. This is now an error according to policy CMP0004. CMake Error at nasl/CMakeLists.txt:240 (add_library): Target "openvas_nasl_shared" links to item " -lpcap" which has leading or trailing whitespace. This is now an error according to policy CMP0004. CMake Error at nasl/CMakeLists.txt:240 (add_library): Target "openvas_nasl_shared" links to item " -lpcap" which has leading or trailing whitespace. This is now an error according to policy CMP0004. CMake Error at src/CMakeLists.txt:82 (add_executable): Target "openvas" links to item " -lpcap" which has leading or trailing whitespace. This is now an error according to policy CMP0004. CMake Error at src/CMakeLists.txt:178 (add_executable): Target "attack-test" links to item " -lpcap" which has leading or trailing whitespace. This is now an error according to policy CMP0004. CMake Error at misc/CMakeLists.txt:118 (add_library): Target "openvas_misc_shared" links to item " -lpcap" which has leading or trailing whitespace. This is now an error according to policy CMP0004. CMake Error at misc/CMakeLists.txt:167 (add_executable): Target "pcap-test" links to item " -lpcap" which has leading or trailing whitespace. This is now an error according to policy CMP0004. CMake Error at nasl/CMakeLists.txt:240 (add_library): Target "openvas_nasl_shared" links to item " -lpcap" which has leading or trailing whitespace. This is now an error according to policy CMP0004. CMake Error at src/CMakeLists.txt:82 (add_executable): Target "openvas" links to item " -lpcap" which has leading or trailing whitespace. This is now an error according to policy CMP0004. CMake Error at src/CMakeLists.txt:178 (add_executable): Target "attack-test" links to item " -lpcap" which has leading or trailing whitespace. This is now an error according to policy CMP0004. CMake Error at misc/CMakeLists.txt:118 (add_library): Target "openvas_misc_shared" links to item " -lpcap" which has leading or trailing whitespace. This is now an error according to policy CMP0004. CMake Error at misc/CMakeLists.txt:167 (add_executable): Target "pcap-test" links to item " -lpcap" which has leading or trailing whitespace. This is now an error according to policy CMP0004. CMake Error at nasl/CMakeLists.txt:240 (add_library): Target "openvas_nasl_shared" links to item " -lpcap" which has leading or trailing whitespace. This is now an error according to policy CMP0004. CMake Error at src/CMakeLists.txt:82 (add_executable): Target "openvas" links to item " -lpcap" which has leading or trailing whitespace. This is now an error according to policy CMP0004. CMake Error at src/CMakeLists.txt:178 (add_executable): Target "attack-test" links to item " -lpcap" which has leading or trailing whitespace. This is now an error according to policy CMP0004. CMake Error at nasl/CMakeLists.txt:240 (add_library): Target "openvas_nasl_shared" links to item " -lpcap" which has leading or trailing whitespace. This is now an error according to policy CMP0004. CMake Error at misc/CMakeLists.txt:118 (add_library): Target "openvas_misc_shared" links to item " -lpcap" which has leading or trailing whitespace. This is now an error according to policy CMP0004. CMake Error at misc/CMakeLists.txt:167 (add_executable): Target "pcap-test" links to item " -lpcap" which has leading or trailing whitespace. This is now an error according to policy CMP0004. CMake Error at nasl/CMakeLists.txt:240 (add_library): Target "openvas_nasl_shared" links to item " -lpcap" which has leading or trailing whitespace. This is now an error according to policy CMP0004. CMake Error at nasl/CMakeLists.txt:240 (add_library): Target "openvas_nasl_shared" links to item " -lpcap" which has leading or trailing whitespace. This is now an error according to policy CMP0004. CMake Error at src/CMakeLists.txt:82 (add_executable): Target "openvas" links to item " -lpcap" which has leading or trailing whitespace. This is now an error according to policy CMP0004. CMake Error at src/CMakeLists.txt:178 (add_executable): Target "attack-test" links to item " -lpcap" which has leading or trailing whitespace. This is now an error according to policy CMP0004. -- Generating done (0.0s) CMake Generate step failed. Build files cannot be regenerated correctly. * ERROR: net-analyzer/openvas-scanner-21.4.4-r2::gentoo failed (configure phase): * cmake failed * * Call stack: * ebuild.sh, line 136: Called src_configure * environment, line 2139: Called cmake_src_configure * environment, line 1041: Called die * The specific snippet of code: * "${CMAKE_BINARY}" "${cmakeargs[@]}" "${CMAKE_USE_DIR}" || die "cmake failed"; * * If you need support, post the output of `emerge --info '=net-analyzer/openvas-scanner-21.4.4-r2::gentoo'`, * the complete build log and the output of `emerge -pqv '=net-analyzer/openvas-scanner-21.4.4-r2::gentoo'`. * The complete build log is located at '/var/log/portage/net-analyzer:openvas-scanner-21.4.4-r2:20230406-232103.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/net-analyzer/openvas-scanner-21.4.4-r2/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/net-analyzer/openvas-scanner-21.4.4-r2/temp/environment'. * Working directory: '/var/tmp/portage/net-analyzer/openvas-scanner-21.4.4-r2/work/openvas-scanner-21.4.4_build' * S: '/var/tmp/portage/net-analyzer/openvas-scanner-21.4.4-r2/work/openvas-scanner-21.4.4'