******************************************************************************** conan test conan-center-index/recipes/libpcap/all/test_package/conanfile.py libpcap/1.10.0@ --profile=/home/conan/w/BuildSingleReference/81282/0082ce9e-cf48-495d-b1e1-ec520618edb0/profile.txt ******************************************************************************** Configuration: [settings] arch=x86_64 build_type=Debug compiler=gcc compiler.libcxx=libstdc++11 compiler.version=9 os=Linux [options] libpcap:shared=True [build_requires] [env] libpcap/1.10.0 (test package): Installing package Requirements libpcap/1.10.0 from local cache - Cache Packages libpcap/1.10.0:30eae4e50fefe0f7b788ed8928ac248681ea6af0 - Cache Installing (downloading, building) binaries... libpcap/1.10.0: Already installed! libpcap/1.10.0: Appending PATH environment variable: /home/conan/w/BuildSingleReference/.conan/data/libpcap/1.10.0/_/_/package/30eae4e50fefe0f7b788ed8928ac248681ea6af0/bin [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 libpcap/1.10.0 (test package): Generator txt created conanbuildinfo.txt libpcap/1.10.0 (test package): Generator cmake_find_package_multi created libpcap-config-version.cmake libpcap/1.10.0 (test package): Generator cmake_find_package_multi created libpcap-config.cmake libpcap/1.10.0 (test package): Generator cmake_find_package_multi created libpcapTargets.cmake libpcap/1.10.0 (test package): Generator cmake_find_package_multi created libpcapTarget-debug.cmake libpcap/1.10.0 (test package): Generator cmake created conanbuildinfo.cmake libpcap/1.10.0 (test package): Aggregating env generators libpcap/1.10.0 (test package): Generated conaninfo.txt libpcap/1.10.0 (test package): Generated graphinfo Using lockfile: '/home/conan/w/BuildSingleReference/conan-center-index/recipes/libpcap/all/test_package/build/5b8df6340d926f72486d3c5265846848bb85a64e/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 libpcap/1.10.0 (test package): Calling build() ----Running------ > cd '/home/conan/w/BuildSingleReference/conan-center-index/recipes/libpcap/all/test_package/build/5b8df6340d926f72486d3c5265846848bb85a64e' && 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/BuildSingleReference/conan-center-index/recipes/libpcap/all/test_package/build/5b8df6340d926f72486d3c5265846848bb85a64e/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_PREFIX_PATH="/home/conan/w/BuildSingleReference/conan-center-index/recipes/libpcap/all/test_package/build/5b8df6340d926f72486d3c5265846848bb85a64e" -DCMAKE_MODULE_PATH="/home/conan/w/BuildSingleReference/conan-center-index/recipes/libpcap/all/test_package/build/5b8df6340d926f72486d3c5265846848bb85a64e" -DCMAKE_EXPORT_NO_PACKAGE_REGISTRY="ON" -DCONAN_EXPORTED="1" -Wno-dev '/home/conan/w/BuildSingleReference/conan-center-index/recipes/libpcap/all/test_package' ----------------- -- 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 -- Conan: called by CMake conan helper -- Conan: Adjusting output directories -- Conan: Using cmake targets configuration -- Library pcap found /home/conan/w/BuildSingleReference/.conan/data/libpcap/1.10.0/_/_/package/30eae4e50fefe0f7b788ed8928ac248681ea6af0/lib/libpcap.so -- Conan: Adjusting default RPATHs Conan policies -- Conan: Adjusting language standard -- This project seems to be plain C, using 'GNU' compiler -- Conan: Compiler GCC>=5, checking major version 9 -- Conan: Checking correct version: 9 -- Conan: C++ stdlib: libstdc++11 -- Library pcap found /home/conan/w/BuildSingleReference/.conan/data/libpcap/1.10.0/_/_/package/30eae4e50fefe0f7b788ed8928ac248681ea6af0/lib/libpcap.so -- Found: /home/conan/w/BuildSingleReference/.conan/data/libpcap/1.10.0/_/_/package/30eae4e50fefe0f7b788ed8928ac248681ea6af0/lib/libpcap.so -- Configuring done -- Generating done -- Build files have been written to: /home/conan/w/BuildSingleReference/conan-center-index/recipes/libpcap/all/test_package/build/5b8df6340d926f72486d3c5265846848bb85a64e ----Running------ > cmake --build '/home/conan/w/BuildSingleReference/conan-center-index/recipes/libpcap/all/test_package/build/5b8df6340d926f72486d3c5265846848bb85a64e' '--' '-j3' ----------------- Scanning dependencies of target test_package [ 50%] Building C object CMakeFiles/test_package.dir/test_package.c.o [100%] Linking C executable bin/test_package [100%] Built target test_package libpcap/1.10.0 (test package): Running test() ----Running------ > bin/test_package ----------------- Lookup success on device eth0 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/libpcap/all/test_package/test_package.c: In function ‘main’: /home/conan/w/BuildSingleReference/conan-center-index/recipes/libpcap/all/test_package/test_package.c:13:5: warning: ‘pcap_lookupdev’ is deprecated: use 'pcap_findalldevs' and use the first device [-Wdeprecated-declarations] 13 | dev = pcap_lookupdev(errbuf); | ^~~ In file included from /home/conan/w/BuildSingleReference/.conan/data/libpcap/1.10.0/_/_/package/30eae4e50fefe0f7b788ed8928ac248681ea6af0/include/pcap.h:43, from /home/conan/w/BuildSingleReference/conan-center-index/recipes/libpcap/all/test_package/test_package.c:3: /home/conan/w/BuildSingleReference/.conan/data/libpcap/1.10.0/_/_/package/30eae4e50fefe0f7b788ed8928ac248681ea6af0/include/pcap/pcap.h:394:16: note: declared here 394 | PCAP_API char *pcap_lookupdev(char *) | ^~~~~~~~~~~~~~