******************************************************************************** conan test conan-center-index/recipes/pcapplusplus/all/test_package/conanfile.py pcapplusplus/21.05@ --profile=/home/conan/w/BuildSingleReference/24696/5ebf5c3c-ff11-4eac-8750-2729b5294431/profile.txt ******************************************************************************** Configuration: [settings] arch=x86_64 arch_build=x86_64 build_type=Release compiler=clang compiler.libcxx=libc++ compiler.version=11 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:797c47457115df859e2455e83bcf47ae1f9c5554 - Cache pcapplusplus/21.05:8a2bf3d5d72802b77bbf7b27eb8781d8fec58ca0 - 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/cfe05cebf6fba7f415060417eb26e99b7a8df8b4/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/cfe05cebf6fba7f415060417eb26e99b7a8df8b4' && 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="libc++" -DCMAKE_INSTALL_PREFIX="/home/conan/w/BuildSingleReference/conan-center-index/recipes/pcapplusplus/all/test_package/build/cfe05cebf6fba7f415060417eb26e99b7a8df8b4/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 Clang 11.1.0 -- The CXX 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 -- 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: Compiler Clang>=8, checking major version 11 -- Conan: Checking correct version: 11 -- Conan: C++ stdlib: libc++ -- Configuring done -- Generating done -- Build files have been written to: /home/conan/w/BuildSingleReference/conan-center-index/recipes/pcapplusplus/all/test_package/build/cfe05cebf6fba7f415060417eb26e99b7a8df8b4 ----Running------ > cmake --build '/home/conan/w/BuildSingleReference/conan-center-index/recipes/pcapplusplus/all/test_package/build/cfe05cebf6fba7f415060417eb26e99b7a8df8b4' '--' '-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 /home/conan/w/BuildSingleReference/.conan/data/pcapplusplus/21.05/_/_/package/8a2bf3d5d72802b77bbf7b27eb8781d8fec58ca0/lib/libPacket++.a(SSLHandshake.o): In function `pcpp::SSLClientHelloMessage::ClientHelloTLSFingerprint::toStringAndMD5()': SSLHandshake.cpp:(.text+0x29c1b): undefined reference to `MD5::operator()(std::__1::basic_string, std::__1::allocator > const&)' /home/conan/w/BuildSingleReference/.conan/data/pcapplusplus/21.05/_/_/package/8a2bf3d5d72802b77bbf7b27eb8781d8fec58ca0/lib/libPacket++.a(SSLHandshake.o): In function `pcpp::SSLServerHelloMessage::ServerHelloTLSFingerprint::toStringAndMD5()': SSLHandshake.cpp:(.text+0x2a85b): undefined reference to `MD5::operator()(std::__1::basic_string, std::__1::allocator > const&)' /home/conan/w/BuildSingleReference/.conan/data/pcapplusplus/21.05/_/_/package/8a2bf3d5d72802b77bbf7b27eb8781d8fec58ca0/lib/libPacket++.a(md5.o): In function `MD5::getHash[abi:cxx11]()': /home/conan/w/BuildSingleReference/.conan/data/pcapplusplus/21.05/_/_/build/8a2bf3d5d72802b77bbf7b27eb8781d8fec58ca0/PcapPlusPlus/3rdParty/hash-library/md5.cpp:324: undefined reference to `std::__cxx11::basic_string, std::allocator >::reserve(unsigned long)' /home/conan/w/BuildSingleReference/.conan/data/pcapplusplus/21.05/_/_/package/8a2bf3d5d72802b77bbf7b27eb8781d8fec58ca0/lib/libPacket++.a(md5.o): In function `MD5::getHash[abi:cxx11]()': /usr/bin/../lib/gcc/x86_64-linux-gnu/7.5.0/../../../../include/c++/7.5.0/bits/basic_string.h:1343: undefined reference to `std::__cxx11::basic_string, std::allocator >::_M_mutate(unsigned long, unsigned long, char const*, unsigned long)' /usr/bin/../lib/gcc/x86_64-linux-gnu/7.5.0/../../../../include/c++/7.5.0/bits/basic_string.h:1343: undefined reference to `std::__cxx11::basic_string, std::allocator >::_M_mutate(unsigned long, unsigned long, char const*, unsigned long)' clang: error: linker command failed with exit code 1 (use -v to see invocation) 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/cfe05cebf6fba7f415060417eb26e99b7a8df8b4' '--' '-j3'