******************************************************************************** conan test cci-854482c3/recipes/libnl/all/test_package/conanfile.py libnl/3.7.0@#6ae2cab99ca26f5d6454d26cd00b224b -pr /home/conan/w/prod/BuildSingleReference/231841/b6b44d7b-1eb9-478a-a9b4-d269356893f0/profile_linux_9_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=9 os=Linux [options] libnl:shared=True [build_requires] [env] [conf] tools.system.package_manager:mode=install tools.system.package_manager:sudo=True libnl/3.7.0 (test package): Installing package Requirements libnl/3.7.0 from local cache - Cache Packages libnl/3.7.0:30eae4e50fefe0f7b788ed8928ac248681ea6af0 - Cache Installing (downloading, building) binaries... libnl/3.7.0: Already installed! libnl/3.7.0 (test package): Generator txt created conanbuildinfo.txt libnl/3.7.0 (test package): Generator 'VirtualRunEnv' calling 'generate()' libnl/3.7.0 (test package): Generator 'CMakeDeps' calling 'generate()' libnl/3.7.0 (test package): Generator 'CMakeToolchain' calling 'generate()' libnl/3.7.0 (test package): Preset 'debug' added to CMakePresets.json. Invoke it manually using 'cmake --preset debug' libnl/3.7.0 (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-854482c3/recipes/libnl/all/test_package/build/Debug/generators/conan_toolchain.cmake -DCMAKE_POLICY_DEFAULT_CMP0091=NEW -DCMAKE_BUILD_TYPE=Debug' libnl/3.7.0 (test package): Aggregating env generators libnl/3.7.0 (test package): Generated conaninfo.txt libnl/3.7.0 (test package): Generated graphinfo Using lockfile: '/home/conan/w/prod/BuildSingleReference/cci-854482c3/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.7.0 (test package): Calling build() libnl/3.7.0 (test package): CMake command: cmake -G "Unix Makefiles" -DCMAKE_TOOLCHAIN_FILE="/home/conan/w/prod/BuildSingleReference/cci-854482c3/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-854482c3/recipes/libnl/all/test_package/." ----Running------ > cmake -G "Unix Makefiles" -DCMAKE_TOOLCHAIN_FILE="/home/conan/w/prod/BuildSingleReference/cci-854482c3/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-854482c3/recipes/libnl/all/test_package/." ----------------- -- Using Conan toolchain: /home/conan/w/prod/BuildSingleReference/cci-854482c3/recipes/libnl/all/test_package/build/Debug/generators/conan_toolchain.cmake -- The C compiler identification is GNU 9.2.1 -- 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 -- Configuring done -- Generating done -- Build files have been written to: /home/conan/w/prod/BuildSingleReference/cci-854482c3/recipes/libnl/all/test_package/build/Debug libnl/3.7.0 (test package): CMake command: cmake --build "/home/conan/w/prod/BuildSingleReference/cci-854482c3/recipes/libnl/all/test_package/build/Debug" '--' '-j3' ----Running------ > cmake --build "/home/conan/w/prod/BuildSingleReference/cci-854482c3/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 /home/conan/w/prod/BuildSingleReference/cci-854482c3/recipes/libnl/all/test_package/show_links.c:5:10: fatal error: netlink/netlink.h: No such file or directory 5 | #include | ^~~~~~~~~~~~~~~~~~~ compilation terminated. make[2]: *** [CMakeFiles/show_links.dir/build.make:82: CMakeFiles/show_links.dir/show_links.c.o] Error 1 make[1]: *** [CMakeFiles/Makefile2:95: CMakeFiles/show_links.dir/all] Error 2 make: *** [Makefile:103: all] Error 2 libnl/3.7.0 (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.7.0 (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.7.0 (test package): Error in build() method, line 21 cmake.build() ConanException: Error 2 while executing cmake --build "/home/conan/w/prod/BuildSingleReference/cci-854482c3/recipes/libnl/all/test_package/build/Debug" '--' '-j3' ******************************************************************************** conan test cci-854482c3/recipes/libnl/all/test_v1_package/conanfile.py libnl/3.7.0@#6ae2cab99ca26f5d6454d26cd00b224b -pr /home/conan/w/prod/BuildSingleReference/231841/b6b44d7b-1eb9-478a-a9b4-d269356893f0/profile_linux_9_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=9 os=Linux [options] libnl:shared=True [build_requires] [env] [conf] tools.system.package_manager:mode=install tools.system.package_manager:sudo=True libnl/3.7.0 (test package): Installing package Requirements libnl/3.7.0 from local cache - Cache Packages libnl/3.7.0:30eae4e50fefe0f7b788ed8928ac248681ea6af0 - Cache Installing (downloading, building) binaries... libnl/3.7.0: Already installed! libnl/3.7.0 (test package): Generator cmake created conanbuildinfo.cmake libnl/3.7.0 (test package): Generator txt created conanbuildinfo.txt libnl/3.7.0 (test package): Aggregating env generators libnl/3.7.0 (test package): Generated conaninfo.txt libnl/3.7.0 (test package): Generated graphinfo Using lockfile: '/home/conan/w/prod/BuildSingleReference/cci-854482c3/recipes/libnl/all/test_v1_package/build/94fffe08a3fe92b2a35402ac0d72f2dcdd24d25a/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.7.0 (test package): Calling build() ----Running------ > cd '/home/conan/w/prod/BuildSingleReference/cci-854482c3/recipes/libnl/all/test_v1_package/build/94fffe08a3fe92b2a35402ac0d72f2dcdd24d25a' && cmake -G "Unix Makefiles" -DCMAKE_BUILD_TYPE="Debug" -DCONAN_IN_LOCAL_CACHE="OFF" -DCONAN_COMPILER="gcc" -DCONAN_COMPILER_VERSION="9" -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-854482c3/recipes/libnl/all/test_v1_package/build/94fffe08a3fe92b2a35402ac0d72f2dcdd24d25a/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-854482c3/recipes/libnl/all/test_v1_package' ----------------- -- The C compiler identification is GNU 9.2.1 -- The CXX compiler identification is GNU 9.2.1 -- 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 9 -- Conan: Checking correct version: 9 -- Conan: C++ stdlib: libstdc++11 -- Configuring done -- Generating done -- Build files have been written to: /home/conan/w/prod/BuildSingleReference/cci-854482c3/recipes/libnl/all/test_v1_package/build/94fffe08a3fe92b2a35402ac0d72f2dcdd24d25a ----Running------ > cmake --build '/home/conan/w/prod/BuildSingleReference/cci-854482c3/recipes/libnl/all/test_v1_package/build/94fffe08a3fe92b2a35402ac0d72f2dcdd24d25a' '--' '-j3' ----------------- Scanning dependencies of target show_links [ 50%] Building C object test_package/CMakeFiles/show_links.dir/show_links.c.o [100%] Linking C executable ../bin/show_links [100%] Built target show_links libnl/3.7.0 (test package): Running test() ----Running------ > /home/conan/w/prod/BuildSingleReference/cci-854482c3/recipes/libnl/all/test_v1_package/build/94fffe08a3fe92b2a35402ac0d72f2dcdd24d25a/bin/show_links ----------------- Getting the list of interfaces by ip addr cache addr_cache has 2 items This is index 1 addr is: 127.0.0.1/8 0 This is index 2 addr is: 10.24.46.8/25 1 CMake Warning: Manually-specified variables were not used by the project: CMAKE_EXPORT_NO_PACKAGE_REGISTRY CMAKE_INSTALL_BINDIR CMAKE_INSTALL_DATAROOTDIR CMAKE_INSTALL_INCLUDEDIR CMAKE_INSTALL_LIBDIR CMAKE_INSTALL_LIBEXECDIR CMAKE_INSTALL_OLDINCLUDEDIR CMAKE_INSTALL_SBINDIR