******************************************************************************** conan test conan-center-index/recipes/winpcap/all/test_package/conanfile.py winpcap/4.1.3@ --profile=/home/conan/w/BuildSingleReference/24269/1cc7730a-1a24-438e-9936-e76fd7aacb74/profile.txt ******************************************************************************** Configuration: [settings] arch=x86_64 arch_build=x86_64 build_type=Release compiler=clang compiler.libcxx=libstdc++ compiler.version=10 os=Linux os_build=Linux [options] winpcap:shared=True [build_requires] [env] winpcap/4.1.3 (test package): Installing package Requirements winpcap/4.1.3 from local cache - Cache Packages winpcap/4.1.3:a8e0e60dc02806feebc9daf3e06f3bc79dd9fd8d - Cache Installing (downloading, building) binaries... winpcap/4.1.3: 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 winpcap/4.1.3 (test package): Generator cmake created conanbuildinfo.cmake winpcap/4.1.3 (test package): Generator cmake_find_package created Findwinpcap.cmake winpcap/4.1.3 (test package): Generator txt created conanbuildinfo.txt winpcap/4.1.3 (test package): Generated conaninfo.txt winpcap/4.1.3 (test package): Generated graphinfo Using lockfile: '/home/conan/w/BuildSingleReference/conan-center-index/recipes/winpcap/all/test_package/build/e6d95bbee47d60c0d6e098075e5c914d2f1207dd/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 winpcap/4.1.3 (test package): Calling build() ----Running------ > cd '/home/conan/w/BuildSingleReference/conan-center-index/recipes/winpcap/all/test_package/build/e6d95bbee47d60c0d6e098075e5c914d2f1207dd' && cmake -G "Unix Makefiles" -DCMAKE_BUILD_TYPE="Release" -DCONAN_IN_LOCAL_CACHE="OFF" -DCONAN_COMPILER="clang" -DCONAN_COMPILER_VERSION="10" -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/winpcap/all/test_package/build/e6d95bbee47d60c0d6e098075e5c914d2f1207dd/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_MODULE_PATH="/home/conan/w/BuildSingleReference/conan-center-index/recipes/winpcap/all/test_package/build/e6d95bbee47d60c0d6e098075e5c914d2f1207dd" -DCMAKE_EXPORT_NO_PACKAGE_REGISTRY="ON" -DCONAN_EXPORTED="1" -Wno-dev '/home/conan/w/BuildSingleReference/conan-center-index/recipes/winpcap/all/test_package' ----------------- -- The C compiler identification is Clang 10.0.1 -- 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 10 -- Conan: Checking correct version: 10 -- Conan: C++ stdlib: libstdc++ -- Configuring done -- Generating done -- Build files have been written to: /home/conan/w/BuildSingleReference/conan-center-index/recipes/winpcap/all/test_package/build/e6d95bbee47d60c0d6e098075e5c914d2f1207dd ----Running------ > cmake --build '/home/conan/w/BuildSingleReference/conan-center-index/recipes/winpcap/all/test_package/build/e6d95bbee47d60c0d6e098075e5c914d2f1207dd' '--' '-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 winpcap/4.1.3 (test package): Running test() ----Running------ > bin/test_package ----------------- On unix'es, this program must be run as root. 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/winpcap/all/test_package/test_package.c:105:41: warning: format specifies type 'int' but the argument has type '__suseconds_t' (aka 'long') [-Wformat] printf("%s,%.6d len:%d\n", timestr, header->ts.tv_usec, header->len); ~~~~ ^~~~~~~~~~~~~~~~~~ %.6ld 1 warning generated. Error in pcap_findalldevs: No interfaces found! Make sure libpcap/WinPcap is properly installed on the local machine.