******************************************************************************** conan test conan-center-index/recipes/libnl/all/test_package/conanfile.py libnl/3.2.25@ --profile=/home/conan/w/BuildSingleReference/18979/a9405e9f-caa7-4474-8126-07505dcfd7b8/profile.txt ******************************************************************************** Auto detecting your dev setup to initialize the default profile (/home/conan/w/BuildSingleReference/.conan/profiles/default) CC and CXX: clang, clang++ Found clang 5.0 Default settings os=Linux os_build=Linux arch=x86_64 arch_build=x86_64 compiler=clang compiler.version=5.0 compiler.libcxx=libstdc++ build_type=Release *** You can change them in /home/conan/w/BuildSingleReference/.conan/profiles/default *** *** Or override with -s compiler='other' -s ...s*** Configuration: [settings] arch=x86_64 arch_build=x86_64 build_type=Debug compiler=clang compiler.libcxx=libstdc++ compiler.version=5.0 os=Linux os_build=Linux [options] libnl:shared=True [build_requires] [env] libnl/3.2.25 (test package): Installing package Requirements libnl/3.2.25 from local cache - Cache Packages libnl/3.2.25:4f106f6a986ab7ccf35f84ff6c24227db5e2b8db - Download Installing (downloading, building) binaries... libnl/3.2.25: Retrieving package 4f106f6a986ab7ccf35f84ff6c24227db5e2b8db from remote 'c3i_PR-5982' Downloading conanmanifest.txt Downloading conaninfo.txt Downloading conan_package.tgz libnl/3.2.25: Package installed 4f106f6a986ab7ccf35f84ff6c24227db5e2b8db libnl/3.2.25: Downloaded package revision a0a1bfe6cf6f35f550110f3005f8a48d [HOOK - conan-center.py] post_package_info(): [CMAKE FILE NOT IN BUILD FOLDERS (KB-H019)] OK [HOOK - conan-center.py] post_package_info(): [LIBRARY DOES NOT EXIST (KB-H054)] OK 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): Generated conaninfo.txt libnl/3.2.25 (test package): Generated graphinfo Using lockfile: '/home/conan/w/BuildSingleReference/conan-center-index/recipes/libnl/all/test_package/build/244414553998e8c96d87ed816186384509925301/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/BuildSingleReference/conan-center-index/recipes/libnl/all/test_package/build/244414553998e8c96d87ed816186384509925301' && cmake -G "Unix Makefiles" -DCMAKE_BUILD_TYPE="Debug" -DCONAN_IN_LOCAL_CACHE="OFF" -DCONAN_COMPILER="clang" -DCONAN_COMPILER_VERSION="5.0" -DCONAN_CXX_FLAGS="-m64" -DCONAN_SHARED_LINKER_FLAGS="-m64" -DCONAN_C_FLAGS="-m64" -DCONAN_LIBCXX="libstdc++" -DCMAKE_INSTALL_PREFIX="/home/conan/w/BuildSingleReference/conan-center-index/recipes/libnl/all/test_package/build/244414553998e8c96d87ed816186384509925301/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/BuildSingleReference/conan-center-index/recipes/libnl/all/test_package' ----------------- -- The C compiler identification is Clang 5.0.0 -- The CXX compiler identification is Clang 5.0.0 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /usr/bin/clang - 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/clang++ - 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: Checking correct version: 5.0 -- Conan: C++ stdlib: libstdc++ -- Configuring done -- Generating done -- Build files have been written to: /home/conan/w/BuildSingleReference/conan-center-index/recipes/libnl/all/test_package/build/244414553998e8c96d87ed816186384509925301 ----Running------ > cmake --build '/home/conan/w/BuildSingleReference/conan-center-index/recipes/libnl/all/test_package/build/244414553998e8c96d87ed816186384509925301' '--' '-j3' ----------------- Scanning dependencies of target show_links [ 50%] Building C object CMakeFiles/show_links.dir/show_links.c.o [100%] Linking C executable bin/show_links [100%] Built target show_links libnl/3.2.25 (test package): Running test() ----Running------ > /home/conan/w/BuildSingleReference/conan-center-index/recipes/libnl/all/test_package/build/244414553998e8c96d87ed816186384509925301/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 3 addr is: 10.24.6.249/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 /home/conan/w/BuildSingleReference/conan-center-index/recipes/libnl/all/test_package/show_links.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/BuildSingleReference/conan-center-index/recipes/libnl/all/test_package/show_links.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/BuildSingleReference/conan-center-index/recipes/libnl/all/test_package/show_links.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.