******************************************************************************** conan test cci-e8b80c2e/recipes/libnl/all/test_package/conanfile.py libnl/3.2.25@#26f97e86d8dee7ff17789a71e39529db -pr /home/conan/w/prod/BuildSingleReference/235405/a172fcea-5b82-4637-a224-1aac7243163e/profile_linux_7_libstdcpp11_gcc_debug_64.libnl-shared-True.txt -c tools.system.package_manager:mode=install -c tools.system.package_manager:sudo=True ******************************************************************************** Configuration: [settings] arch=x86_64 build_type=Debug compiler=gcc compiler.libcxx=libstdc++11 compiler.version=7 os=Linux [options] libnl:shared=True [build_requires] [env] [conf] tools.system.package_manager:mode=install tools.system.package_manager:sudo=True libnl/3.2.25 (test package): Installing package Requirements libnl/3.2.25 from local cache - Cache Packages libnl/3.2.25:46863e2dc48a06454dddba7dea457fd3976ba047 - Cache Installing (downloading, building) binaries... libnl/3.2.25: Already installed! libnl/3.2.25 (test package): Generator 'CMakeToolchain' calling 'generate()' libnl/3.2.25 (test package): Preset 'debug' added to CMakePresets.json. Invoke it manually using 'cmake --preset debug' libnl/3.2.25 (test package): If your CMake version is not compatible with CMakePresets (<3.19) call cmake like: 'cmake -G "Unix Makefiles" -DCMAKE_TOOLCHAIN_FILE=/home/conan/w/prod/BuildSingleReference/cci-e8b80c2e/recipes/libnl/all/test_package/build/Debug/generators/conan_toolchain.cmake -DCMAKE_POLICY_DEFAULT_CMP0091=NEW -DCMAKE_BUILD_TYPE=Debug' libnl/3.2.25 (test package): Generator 'CMakeDeps' calling 'generate()' libnl/3.2.25 (test package): Generator 'VirtualRunEnv' calling 'generate()' libnl/3.2.25 (test package): Generator txt created conanbuildinfo.txt libnl/3.2.25 (test package): Aggregating env generators libnl/3.2.25 (test package): Generated conaninfo.txt libnl/3.2.25 (test package): Generated graphinfo Using lockfile: '/home/conan/w/prod/BuildSingleReference/cci-e8b80c2e/recipes/libnl/all/test_package/build/Debug/generators/conan.lock' Using cached profile from lockfile [HOOK - conan-center.py] pre_build(): [FPIC MANAGEMENT (KB-H007)] 'fPIC' option not found [HOOK - conan-center.py] pre_build(): [FPIC MANAGEMENT (KB-H007)] OK libnl/3.2.25 (test package): Calling build() libnl/3.2.25 (test package): CMake command: cmake -G "Unix Makefiles" -DCMAKE_TOOLCHAIN_FILE="/home/conan/w/prod/BuildSingleReference/cci-e8b80c2e/recipes/libnl/all/test_package/build/Debug/generators/conan_toolchain.cmake" -DCMAKE_POLICY_DEFAULT_CMP0091="NEW" -DCMAKE_BUILD_TYPE="Debug" "/home/conan/w/prod/BuildSingleReference/cci-e8b80c2e/recipes/libnl/all/test_package/." ----Running------ > cmake -G "Unix Makefiles" -DCMAKE_TOOLCHAIN_FILE="/home/conan/w/prod/BuildSingleReference/cci-e8b80c2e/recipes/libnl/all/test_package/build/Debug/generators/conan_toolchain.cmake" -DCMAKE_POLICY_DEFAULT_CMP0091="NEW" -DCMAKE_BUILD_TYPE="Debug" "/home/conan/w/prod/BuildSingleReference/cci-e8b80c2e/recipes/libnl/all/test_package/." ----------------- -- Using Conan toolchain: /home/conan/w/prod/BuildSingleReference/cci-e8b80c2e/recipes/libnl/all/test_package/build/Debug/generators/conan_toolchain.cmake -- The C compiler identification is GNU 7.2.0 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /usr/bin/gcc - skipped -- Detecting C compile features -- Detecting C compile features - done -- Conan: Component target declared 'libnl::nl' -- Conan: Component target declared 'libnl::nl-route' -- Conan: Component target declared 'libnl::nl-genl' -- Conan: Component target declared 'libnl::nl-nf' -- Conan: Component target declared 'libnl::nl-cli' -- Conan: Component target declared 'libnl::nl-idiag' -- Conan: Target declared 'libnl::libnl' -- Configuring done -- Generating done -- Build files have been written to: /home/conan/w/prod/BuildSingleReference/cci-e8b80c2e/recipes/libnl/all/test_package/build/Debug libnl/3.2.25 (test package): CMake command: cmake --build "/home/conan/w/prod/BuildSingleReference/cci-e8b80c2e/recipes/libnl/all/test_package/build/Debug" '--' '-j3' ----Running------ > cmake --build "/home/conan/w/prod/BuildSingleReference/cci-e8b80c2e/recipes/libnl/all/test_package/build/Debug" '--' '-j3' ----------------- Scanning dependencies of target show_links [ 50%] Building C object CMakeFiles/show_links.dir/show_links.c.o [100%] Linking C executable show_links CMakeFiles/show_links.dir/build.make:103: recipe for target 'show_links' failed CMakeFiles/Makefile2:94: recipe for target 'CMakeFiles/show_links.dir/all' failed Makefile:102: recipe for target 'all' failed CMakeFiles/show_links.dir/show_links.c.o: In function `addr_cb': /home/conan/w/prod/BuildSingleReference/cci-e8b80c2e/recipes/libnl/all/test_package/show_links.c:39: undefined reference to `rtnl_addr_get_ifindex' /home/conan/w/prod/BuildSingleReference/cci-e8b80c2e/recipes/libnl/all/test_package/show_links.c:54: undefined reference to `rtnl_addr_get_family' /home/conan/w/prod/BuildSingleReference/cci-e8b80c2e/recipes/libnl/all/test_package/show_links.c:62: undefined reference to `rtnl_addr_get_local' CMakeFiles/show_links.dir/show_links.c.o: In function `main': /home/conan/w/prod/BuildSingleReference/cci-e8b80c2e/recipes/libnl/all/test_package/show_links.c:111: undefined reference to `rtnl_link_alloc_cache' /home/conan/w/prod/BuildSingleReference/cci-e8b80c2e/recipes/libnl/all/test_package/show_links.c:121: undefined reference to `rtnl_addr_alloc_cache' /home/conan/w/prod/BuildSingleReference/cci-e8b80c2e/recipes/libnl/all/test_package/show_links.c:139: undefined reference to `rtnl_addr_get_local' /home/conan/w/prod/BuildSingleReference/cci-e8b80c2e/recipes/libnl/all/test_package/show_links.c:146: undefined reference to `rtnl_addr_get_ifindex' collect2: error: ld returned 1 exit status make[2]: *** [show_links] Error 1 make[1]: *** [CMakeFiles/show_links.dir/all] Error 2 make: *** [all] Error 2 libnl/3.2.25 (test package): WARN: Using the new toolchains and generators without specifying a build profile (e.g: -pr:b=default) is discouraged and might cause failures and unexpected behavior libnl/3.2.25 (test package): WARN: Using the new toolchains and generators without specifying a build profile (e.g: -pr:b=default) is discouraged and might cause failures and unexpected behavior ERROR: libnl/3.2.25 (test package): Error in build() method, line 21 cmake.build() ConanException: Error 2 while executing cmake --build "/home/conan/w/prod/BuildSingleReference/cci-e8b80c2e/recipes/libnl/all/test_package/build/Debug" '--' '-j3' ******************************************************************************** conan test cci-e8b80c2e/recipes/libnl/all/test_v1_package/conanfile.py libnl/3.2.25@#26f97e86d8dee7ff17789a71e39529db -pr /home/conan/w/prod/BuildSingleReference/235405/a172fcea-5b82-4637-a224-1aac7243163e/profile_linux_7_libstdcpp11_gcc_debug_64.libnl-shared-True.txt -c tools.system.package_manager:mode=install -c tools.system.package_manager:sudo=True ******************************************************************************** Configuration: [settings] arch=x86_64 build_type=Debug compiler=gcc compiler.libcxx=libstdc++11 compiler.version=7 os=Linux [options] libnl:shared=True [build_requires] [env] [conf] tools.system.package_manager:mode=install tools.system.package_manager:sudo=True libnl/3.2.25 (test package): Installing package Requirements libnl/3.2.25 from local cache - Cache Packages libnl/3.2.25:46863e2dc48a06454dddba7dea457fd3976ba047 - Cache Installing (downloading, building) binaries... libnl/3.2.25: Already installed! libnl/3.2.25 (test package): Generator cmake created conanbuildinfo.cmake libnl/3.2.25 (test package): Generator txt created conanbuildinfo.txt libnl/3.2.25 (test package): Aggregating env generators libnl/3.2.25 (test package): Generated conaninfo.txt libnl/3.2.25 (test package): Generated graphinfo Using lockfile: '/home/conan/w/prod/BuildSingleReference/cci-e8b80c2e/recipes/libnl/all/test_v1_package/build/37cc5f73a8ab86b3bf8ca1a0c2a56954cbe1896c/conan.lock' Using cached profile from lockfile [HOOK - conan-center.py] pre_build(): [FPIC MANAGEMENT (KB-H007)] 'fPIC' option not found [HOOK - conan-center.py] pre_build(): [FPIC MANAGEMENT (KB-H007)] OK libnl/3.2.25 (test package): Calling build() ----Running------ > cd '/home/conan/w/prod/BuildSingleReference/cci-e8b80c2e/recipes/libnl/all/test_v1_package/build/37cc5f73a8ab86b3bf8ca1a0c2a56954cbe1896c' && cmake -G "Unix Makefiles" -DCMAKE_BUILD_TYPE="Debug" -DCONAN_IN_LOCAL_CACHE="OFF" -DCONAN_COMPILER="gcc" -DCONAN_COMPILER_VERSION="7" -DCONAN_CXX_FLAGS="-m64" -DCONAN_SHARED_LINKER_FLAGS="-m64" -DCONAN_C_FLAGS="-m64" -DCONAN_LIBCXX="libstdc++11" -DCMAKE_INSTALL_PREFIX="/home/conan/w/prod/BuildSingleReference/cci-e8b80c2e/recipes/libnl/all/test_v1_package/build/37cc5f73a8ab86b3bf8ca1a0c2a56954cbe1896c/package" -DCMAKE_INSTALL_BINDIR="bin" -DCMAKE_INSTALL_SBINDIR="bin" -DCMAKE_INSTALL_LIBEXECDIR="bin" -DCMAKE_INSTALL_LIBDIR="lib" -DCMAKE_INSTALL_INCLUDEDIR="include" -DCMAKE_INSTALL_OLDINCLUDEDIR="include" -DCMAKE_INSTALL_DATAROOTDIR="share" -DCMAKE_EXPORT_NO_PACKAGE_REGISTRY="ON" -DCONAN_EXPORTED="1" -Wno-dev '/home/conan/w/prod/BuildSingleReference/cci-e8b80c2e/recipes/libnl/all/test_v1_package' ----------------- -- The C compiler identification is GNU 7.2.0 -- The CXX compiler identification is GNU 7.2.0 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /usr/bin/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/g++ - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done -- Conan: called by CMake conan helper -- Conan: Adjusting output directories -- Conan: Using cmake global configuration -- Conan: Adjusting default RPATHs Conan policies -- Conan: Adjusting language standard -- Conan: Compiler GCC>=5, checking major version 7 -- Conan: Checking correct version: 7 -- Conan: C++ stdlib: libstdc++11 -- Configuring incomplete, errors occurred! See also "/home/conan/w/prod/BuildSingleReference/cci-e8b80c2e/recipes/libnl/all/test_v1_package/build/37cc5f73a8ab86b3bf8ca1a0c2a56954cbe1896c/CMakeFiles/CMakeOutput.log". CMake Error at /home/conan/w/prod/BuildSingleReference/cci-e8b80c2e/recipes/libnl/all/test_package/CMakeLists.txt:4 (find_package): Could not find a package configuration file provided by "libnl" with any of the following names: libnlConfig.cmake libnl-config.cmake Add the installation prefix of "libnl" to CMAKE_PREFIX_PATH or set "libnl_DIR" to a directory containing one of the above files. If "libnl" provides a separate development package or SDK, be sure it has been installed. ERROR: libnl/3.2.25 (test package): Error in build() method, line 12 cmake.configure() ConanException: Error 1 while executing cd '/home/conan/w/prod/BuildSingleReference/cci-e8b80c2e/recipes/libnl/all/test_v1_package/build/37cc5f73a8ab86b3bf8ca1a0c2a56954cbe1896c' && cmake -G "Unix Makefiles" -DCMAKE_BUILD_TYPE="Debug" -DCONAN_IN_LOCAL_CACHE="OFF" -DCONAN_COMPILER="gcc" -DCONAN_COMPILER_VERSION="7" -DCONAN_CXX_FLAGS="-m64" -DCONAN_SHARED_LINKER_FLAGS="-m64" -DCONAN_C_FLAGS="-m64" -DCONAN_LIBCXX="libstdc++11" -DCMAKE_INSTALL_PREFIX="/home/conan/w/prod/BuildSingleReference/cci-e8b80c2e/recipes/libnl/all/test_v1_package/build/37cc5f73a8ab86b3bf8ca1a0c2a56954cbe1896c/package" -DCMAKE_INSTALL_BINDIR="bin" -DCMAKE_INSTALL_SBINDIR="bin" -DCMAKE_INSTALL_LIBEXECDIR="bin" -DCMAKE_INSTALL_LIBDIR="lib" -DCMAKE_INSTALL_INCLUDEDIR="include" -DCMAKE_INSTALL_OLDINCLUDEDIR="include" -DCMAKE_INSTALL_DATAROOTDIR="share" -DCMAKE_EXPORT_NO_PACKAGE_REGISTRY="ON" -DCONAN_EXPORTED="1" -Wno-dev '/home/conan/w/prod/BuildSingleReference/cci-e8b80c2e/recipes/libnl/all/test_v1_package'