******************************************************************************** conan test cci-52cedf07/recipes/libnl/all/test_package/conanfile.py libnl/3.7.0@#9542e4441a6ca680638f02a4efa70949 -pr /home/conan/w/prod/BuildSingleReference/253690/c3446066-d7e2-4a5f-bc95-5c4fdc9f8557/profile_linux_12_libstdcpp_clang_release_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=Release compiler=clang compiler.libcxx=libstdc++ compiler.version=12 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:c4e0fbaccfc6985428b092ccc7aa4bcd74617546 - Cache Installing (downloading, building) binaries... libnl/3.7.0: Already installed! 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 txt created conanbuildinfo.txt libnl/3.7.0 (test package): Generator 'CMakeToolchain' calling 'generate()' libnl/3.7.0 (test package): Preset 'release' added to CMakePresets.json. Invoke it manually using 'cmake --preset release' 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-52cedf07/recipes/libnl/all/test_package/build/Release/generators/conan_toolchain.cmake -DCMAKE_POLICY_DEFAULT_CMP0091=NEW -DCMAKE_BUILD_TYPE=Release' 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-52cedf07/recipes/libnl/all/test_package/build/Release/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-52cedf07/recipes/libnl/all/test_package/build/Release/generators/conan_toolchain.cmake" -DCMAKE_POLICY_DEFAULT_CMP0091="NEW" -DCMAKE_BUILD_TYPE="Release" "/home/conan/w/prod/BuildSingleReference/cci-52cedf07/recipes/libnl/all/test_package/." ----Running------ > cmake -G "Unix Makefiles" -DCMAKE_TOOLCHAIN_FILE="/home/conan/w/prod/BuildSingleReference/cci-52cedf07/recipes/libnl/all/test_package/build/Release/generators/conan_toolchain.cmake" -DCMAKE_POLICY_DEFAULT_CMP0091="NEW" -DCMAKE_BUILD_TYPE="Release" "/home/conan/w/prod/BuildSingleReference/cci-52cedf07/recipes/libnl/all/test_package/." ----------------- -- Using Conan toolchain: /home/conan/w/prod/BuildSingleReference/cci-52cedf07/recipes/libnl/all/test_package/build/Release/generators/conan_toolchain.cmake -- The C compiler identification is Clang 12.0.0 -- Check for working C compiler: /usr/local/bin/clang -- Check for working C compiler: /usr/local/bin/clang -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- 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-52cedf07/recipes/libnl/all/test_package/build/Release libnl/3.7.0 (test package): CMake command: cmake --build "/home/conan/w/prod/BuildSingleReference/cci-52cedf07/recipes/libnl/all/test_package/build/Release" '--' '-j3' ----Running------ > cmake --build "/home/conan/w/prod/BuildSingleReference/cci-52cedf07/recipes/libnl/all/test_package/build/Release" '--' '-j3' ----------------- Scanning dependencies of target test_package [ 50%] Building C object CMakeFiles/test_package.dir/test_package.c.o [100%] Linking C executable test_package [100%] Built target test_package libnl/3.7.0 (test package): Running test() ----Running------ > . "/home/conan/w/prod/BuildSingleReference/cci-52cedf07/recipes/libnl/all/test_package/build/Release/generators/conanrun.sh" && ./test_package ----------------- 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.31.4/25 1 CMake Warning: Manually-specified variables were not used by the project: CMAKE_POLICY_DEFAULT_CMP0091 /home/conan/w/prod/BuildSingleReference/cci-52cedf07/recipes/libnl/all/test_package/test_package.c:103:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(err = nl_connect(p_nl_sock, NETLINK_ROUTE)) ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/conan/w/prod/BuildSingleReference/cci-52cedf07/recipes/libnl/all/test_package/test_package.c:103:12: note: place parentheses around the assignment to silence this warning if(err = nl_connect(p_nl_sock, NETLINK_ROUTE)) ^ ( ) /home/conan/w/prod/BuildSingleReference/cci-52cedf07/recipes/libnl/all/test_package/test_package.c:103:12: note: use '==' to turn this assignment into an equality comparison if(err = nl_connect(p_nl_sock, NETLINK_ROUTE)) ^ == 1 warning generated. 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