******************************************************************************** conan test conan-center-index/recipes/pcapplusplus/all/test_package/conanfile.py pcapplusplus/21.05@ --profile=/home/conan/w/BuildSingleReference/24696/17362bd0-16cb-40eb-9ea0-3cb96ea6ffd2/profile.txt ******************************************************************************** Configuration: [settings] arch=x86_64 arch_build=x86_64 build_type=Debug compiler=gcc compiler.libcxx=libstdc++ compiler.version=8 os=Linux os_build=Linux [options] [build_requires] [env] pcapplusplus/21.05 (test package): Installing package Requirements libpcap/1.9.1 from 'conan-center' - Cache pcapplusplus/21.05 from local cache - Cache Packages libpcap/1.9.1:95ed79329c6f4b620fd0af6ddf5ec1200f42d2ae - Cache pcapplusplus/21.05:f3dc11ca2360cf55b33c84444f53e5944e654240 - Cache Installing (downloading, building) binaries... libpcap/1.9.1: 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 pcapplusplus/21.05: 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 pcapplusplus/21.05 (test package): Generator cmake created conanbuildinfo.cmake pcapplusplus/21.05 (test package): Generator txt created conanbuildinfo.txt pcapplusplus/21.05 (test package): Generated conaninfo.txt pcapplusplus/21.05 (test package): Generated graphinfo Using lockfile: '/home/conan/w/BuildSingleReference/conan-center-index/recipes/pcapplusplus/all/test_package/build/d99b4372e6d6548451531d71055a6a744415196e/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 pcapplusplus/21.05 (test package): Calling build() ----Running------ > cd '/home/conan/w/BuildSingleReference/conan-center-index/recipes/pcapplusplus/all/test_package/build/d99b4372e6d6548451531d71055a6a744415196e' && cmake -G "Unix Makefiles" -DCMAKE_BUILD_TYPE="Debug" -DCONAN_IN_LOCAL_CACHE="OFF" -DCONAN_COMPILER="gcc" -DCONAN_COMPILER_VERSION="8" -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/pcapplusplus/all/test_package/build/d99b4372e6d6548451531d71055a6a744415196e/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/pcapplusplus/all/test_package' ----------------- -- The C compiler identification is GNU 8.4.0 -- The CXX compiler identification is GNU 8.4.0 -- 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 -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Check for working CXX compiler: /usr/bin/g++ - 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: Compiler GCC>=5, checking major version 8 -- Conan: Checking correct version: 8 -- Conan: C++ stdlib: libstdc++ -- Configuring done -- Generating done -- Build files have been written to: /home/conan/w/BuildSingleReference/conan-center-index/recipes/pcapplusplus/all/test_package/build/d99b4372e6d6548451531d71055a6a744415196e ----Running------ > cmake --build '/home/conan/w/BuildSingleReference/conan-center-index/recipes/pcapplusplus/all/test_package/build/d99b4372e6d6548451531d71055a6a744415196e' '--' '-j3' ----------------- Scanning dependencies of target test_package [ 50%] Building CXX object CMakeFiles/test_package.dir/test_package.cpp.o [100%] Linking CXX executable bin/test_package CMakeFiles/test_package.dir/build.make:102: recipe for target 'bin/test_package' failed CMakeFiles/Makefile2:94: recipe for target 'CMakeFiles/test_package.dir/all' failed Makefile:102: recipe for target 'all' failed 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 CMakeFiles/test_package.dir/test_package.cpp.o: In function `main': /home/conan/w/BuildSingleReference/conan-center-index/recipes/pcapplusplus/all/test_package/test_package.cpp:36: undefined reference to `pcpp::IPv4Address::toString() const' /home/conan/w/BuildSingleReference/conan-center-index/recipes/pcapplusplus/all/test_package/test_package.cpp:36: undefined reference to `pcpp::IPv4Address::toString() const' CMakeFiles/test_package.dir/test_package.cpp.o: In function `pcpp::PcapFileReaderDevice::PcapFileReaderDevice(std::string const&)': /home/conan/w/BuildSingleReference/.conan/data/pcapplusplus/21.05/_/_/package/f3dc11ca2360cf55b33c84444f53e5944e654240/include/PcapFileDevice.h:118: undefined reference to `pcpp::IFileReaderDevice::IFileReaderDevice(std::string const&)' CMakeFiles/test_package.dir/test_package.cpp.o:(.data.rel.ro._ZTVN4pcpp17IFileReaderDeviceE[_ZTVN4pcpp17IFileReaderDeviceE]+0x38): undefined reference to `pcpp::IPcapDevice::setFilter(std::string)' CMakeFiles/test_package.dir/test_package.cpp.o:(.data.rel.ro._ZTVN4pcpp17IFileReaderDeviceE[_ZTVN4pcpp17IFileReaderDeviceE]+0x78): undefined reference to `non-virtual thunk to pcpp::IPcapDevice::setFilter(std::string)' collect2: error: ld returned 1 exit status make[2]: *** [bin/test_package] Error 1 make[1]: *** [CMakeFiles/test_package.dir/all] Error 2 make: *** [all] Error 2 ERROR: pcapplusplus/21.05 (test package): Error in build() method, line 16 cmake.build() ConanException: Error 2 while executing cmake --build '/home/conan/w/BuildSingleReference/conan-center-index/recipes/pcapplusplus/all/test_package/build/d99b4372e6d6548451531d71055a6a744415196e' '--' '-j3'