******************************************************************************** conan test conan-center-index/recipes/libpcap/all/test_package/conanfile.py libpcap/1.10.0@ --profile=/home/conan/w/BuildSingleReference/24653/1df5d2f9-b55b-47f9-85f9-25b0a0f80550/profile.txt ******************************************************************************** Configuration: [settings] arch=x86_64 arch_build=x86_64 build_type=Release compiler=clang compiler.libcxx=libstdc++ compiler.version=11 os=Linux os_build=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:74bfa5f3f54ce2470d56ca6dc21c8a0bf55de5d3 - Cache Installing (downloading, building) binaries... libpcap/1.10.0: Already installed! [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 cmake created conanbuildinfo.cmake libpcap/1.10.0 (test package): Generator txt created conanbuildinfo.txt 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/8998a56e0062f6ac45936d582afdd8ef7059e112/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/8998a56e0062f6ac45936d582afdd8ef7059e112' && cmake -G "Unix Makefiles" -DCMAKE_BUILD_TYPE="Release" -DCONAN_IN_LOCAL_CACHE="OFF" -DCONAN_COMPILER="clang" -DCONAN_COMPILER_VERSION="11" -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/libpcap/all/test_package/build/8998a56e0062f6ac45936d582afdd8ef7059e112/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/libpcap/all/test_package' ----------------- -- The C compiler identification is Clang 11.1.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 -- 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 -- This project seems to be plain C, using 'Clang' compiler -- Conan: Compiler Clang>=8, checking major version 11 -- Conan: Checking correct version: 11 -- Conan: C++ stdlib: libstdc++ -- Configuring done -- Generating done -- Build files have been written to: /home/conan/w/BuildSingleReference/conan-center-index/recipes/libpcap/all/test_package/build/8998a56e0062f6ac45936d582afdd8ef7059e112 ----Running------ > cmake --build '/home/conan/w/BuildSingleReference/conan-center-index/recipes/libpcap/all/test_package/build/8998a56e0062f6ac45936d582afdd8ef7059e112' '--' '-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:13:11: warning: 'pcap_lookupdev' is deprecated: use 'pcap_findalldevs' and use the first device [-Wdeprecated-declarations] dev = pcap_lookupdev(errbuf); ^ /home/conan/w/BuildSingleReference/.conan/data/libpcap/1.10.0/_/_/package/74bfa5f3f54ce2470d56ca6dc21c8a0bf55de5d3/include/pcap/pcap.h:395:1: note: 'pcap_lookupdev' has been explicitly marked deprecated here PCAP_DEPRECATED(pcap_lookupdev, "use 'pcap_findalldevs' and use the first device"); ^ /home/conan/w/BuildSingleReference/.conan/data/libpcap/1.10.0/_/_/package/74bfa5f3f54ce2470d56ca6dc21c8a0bf55de5d3/include/pcap/funcattrs.h:291:53: note: expanded from macro 'PCAP_DEPRECATED' #define PCAP_DEPRECATED(func, msg) __attribute__((deprecated(msg))) ^ 1 warning generated.