******************************************************************************** conan test conan-center-index/recipes/mailio/all/test_package/conanfile.py mailio/0.20.0@ --profile=/home/conan/w/BuildSingleReference/6744/0bd338dd-e657-498a-adc3-9b31a89e8c0e/profile.txt ******************************************************************************** Configuration: [settings] arch=x86_64 arch_build=x86_64 build_type=Release compiler=clang compiler.libcxx=libstdc++ compiler.version=7.0 os=Linux os_build=Linux [options] mailio:shared=False [build_requires] [env] mailio/0.20.0 (test package): Installing package Requirements boost/1.75.0 from 'conan-center' - Cache bzip2/1.0.8 from 'conan-center' - Cache libiconv/1.16 from 'conan-center' - Cache mailio/0.20.0 from local cache - Cache openssl/1.1.1j from 'conan-center' - Cache zlib/1.2.11 from 'conan-center' - Cache Packages boost/1.75.0:ab274f664b0e59108aa5b71bb8bb9bf3e2e0e6c4 - Cache bzip2/1.0.8:7ae1a427eebdada01eacc6c6d308edf92a51e19e - Cache libiconv/1.16:abc45b7dce3f5194dea2377c33229fa4f20706b4 - Cache mailio/0.20.0:d79f81ed4355e172c30fa584483aa286b1f544d1 - Cache openssl/1.1.1j:abc45b7dce3f5194dea2377c33229fa4f20706b4 - Cache zlib/1.2.11:abc45b7dce3f5194dea2377c33229fa4f20706b4 - Cache Installing (downloading, building) binaries... bzip2/1.0.8: Already installed! bzip2/1.0.8: Appending PATH environment variable: /home/conan/w/BuildSingleReference/.conan/data/bzip2/1.0.8/_/_/package/7ae1a427eebdada01eacc6c6d308edf92a51e19e/bin [HOOK - conan-center.py] post_package_info(): [CMAKE FILE NOT IN BUILD FOLDERS (KB-H019)] OK libiconv/1.16: Already installed! libiconv/1.16: Appending PATH environment var: /home/conan/w/BuildSingleReference/.conan/data/libiconv/1.16/_/_/package/abc45b7dce3f5194dea2377c33229fa4f20706b4/bin [HOOK - conan-center.py] post_package_info(): [CMAKE FILE NOT IN BUILD FOLDERS (KB-H019)] OK openssl/1.1.1j: Already installed! [HOOK - conan-center.py] post_package_info(): [CMAKE FILE NOT IN BUILD FOLDERS (KB-H019)] OK zlib/1.2.11: Already installed! [HOOK - conan-center.py] post_package_info(): [CMAKE FILE NOT IN BUILD FOLDERS (KB-H019)] OK boost/1.75.0: Already installed! [HOOK - conan-center.py] post_package_info(): [CMAKE FILE NOT IN BUILD FOLDERS (KB-H019)] OK mailio/0.20.0: Already installed! [HOOK - conan-center.py] post_package_info(): [CMAKE FILE NOT IN BUILD FOLDERS (KB-H019)] OK mailio/0.20.0 (test package): Generator txt created conanbuildinfo.txt mailio/0.20.0 (test package): Generator cmake created conanbuildinfo.cmake mailio/0.20.0 (test package): Generated conaninfo.txt mailio/0.20.0 (test package): Generated graphinfo Using lockfile: '/home/conan/w/BuildSingleReference/conan-center-index/recipes/mailio/all/test_package/build/ee92eda5b889925343a7ecf0440e280fdfe88c76/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 mailio/0.20.0 (test package): Calling build() ----Running------ > cd '/home/conan/w/BuildSingleReference/conan-center-index/recipes/mailio/all/test_package/build/ee92eda5b889925343a7ecf0440e280fdfe88c76' && cmake -G "Unix Makefiles" -DCMAKE_BUILD_TYPE="Release" -DCONAN_IN_LOCAL_CACHE="OFF" -DCONAN_COMPILER="clang" -DCONAN_COMPILER_VERSION="7.0" -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/mailio/all/test_package/build/ee92eda5b889925343a7ecf0440e280fdfe88c76/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/mailio/all/test_package' ----------------- -- The CXX compiler identification is Clang 7.0.0 -- 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: Checking correct version: 7.0 -- Conan: C++ stdlib: libstdc++ -- Configuring done -- Generating done -- Build files have been written to: /home/conan/w/BuildSingleReference/conan-center-index/recipes/mailio/all/test_package/build/ee92eda5b889925343a7ecf0440e280fdfe88c76 ----Running------ > cmake --build '/home/conan/w/BuildSingleReference/conan-center-index/recipes/mailio/all/test_package/build/ee92eda5b889925343a7ecf0440e280fdfe88c76' '--' '-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 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 /usr/bin/ld: CMakeFiles/test_package.dir/test_package.cpp.o: in function `main': test_package.cpp:(.text+0xa8): undefined reference to `mailio::mail_address::mail_address(std::string const&, std::string const&)' /usr/bin/ld: test_package.cpp:(.text+0x196): undefined reference to `mailio::mail_address::mail_address(std::string const&, std::string const&)' /usr/bin/ld: test_package.cpp:(.text+0x251): undefined reference to `mailio::message::subject(std::string const&)' /usr/bin/ld: test_package.cpp:(.text+0x2c3): undefined reference to `mailio::mime::content(std::string const&)' /usr/bin/ld: test_package.cpp:(.text+0x339): undefined reference to `mailio::smtps::smtps(std::string const&, unsigned int, std::chrono::duration >)' /usr/bin/ld: test_package.cpp:(.text+0x35c): undefined reference to `mailio::mime::content() const' /usr/bin/ld: /home/conan/w/BuildSingleReference/.conan/data/mailio/0.20.0/_/_/package/d79f81ed4355e172c30fa584483aa286b1f544d1/lib/libmailio.a(message.cpp.o): in function `boost::re_detail_107500::cpp_regex_traits_implementation::lookup_collatename[abi:cxx11](char const*, char const*) const': message.cpp:(.text._ZNK5boost16re_detail_10750031cpp_regex_traits_implementationIcE18lookup_collatenameB5cxx11EPKcS4_[_ZNK5boost16re_detail_10750031cpp_regex_traits_implementationIcE18lookup_collatenameB5cxx11EPKcS4_]+0x2ba): undefined reference to `boost::re_detail_107500::lookup_default_collate_name(std::__cxx11::basic_string, std::allocator > const&)' /usr/bin/ld: /home/conan/w/BuildSingleReference/.conan/data/mailio/0.20.0/_/_/package/d79f81ed4355e172c30fa584483aa286b1f544d1/lib/libmailio.a(message.cpp.o): in function `boost::re_detail_107500::basic_regex_parser > >::fail(boost::regex_constants::error_type, long, std::__cxx11::basic_string, std::allocator >, long)': message.cpp:(.text._ZN5boost16re_detail_10750018basic_regex_parserIcNS_12regex_traitsIcNS_16cpp_regex_traitsIcEEEEE4failENS_15regex_constants10error_typeElNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEl[_ZN5boost16re_detail_10750018basic_regex_parserIcNS_12regex_traitsIcNS_16cpp_regex_traitsIcEEEEE4failENS_15regex_constants10error_typeElNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEl]+0x4d2): undefined reference to `boost::regex_error::regex_error(std::__cxx11::basic_string, std::allocator > const&, boost::regex_constants::error_type, long)' /usr/bin/ld: /home/conan/w/BuildSingleReference/.conan/data/mailio/0.20.0/_/_/package/d79f81ed4355e172c30fa584483aa286b1f544d1/lib/libmailio.a(message.cpp.o): in function `boost::re_detail_107500::basic_regex_creator > >::fixup_recursions(boost::re_detail_107500::re_syntax_base*)': message.cpp:(.text._ZN5boost16re_detail_10750019basic_regex_creatorIcNS_12regex_traitsIcNS_16cpp_regex_traitsIcEEEEE16fixup_recursionsEPNS0_14re_syntax_baseE[_ZN5boost16re_detail_10750019basic_regex_creatorIcNS_12regex_traitsIcNS_16cpp_regex_traitsIcEEEEE16fixup_recursionsEPNS0_14re_syntax_baseE]+0x1ff): undefined reference to `boost::regex_error::regex_error(std::__cxx11::basic_string, std::allocator > const&, boost::regex_constants::error_type, long)' /usr/bin/ld: message.cpp:(.text._ZN5boost16re_detail_10750019basic_regex_creatorIcNS_12regex_traitsIcNS_16cpp_regex_traitsIcEEEEE16fixup_recursionsEPNS0_14re_syntax_baseE[_ZN5boost16re_detail_10750019basic_regex_creatorIcNS_12regex_traitsIcNS_16cpp_regex_traitsIcEEEEE16fixup_recursionsEPNS0_14re_syntax_baseE]+0x312): undefined reference to `boost::regex_error::regex_error(std::__cxx11::basic_string, std::allocator > const&, boost::regex_constants::error_type, long)' /usr/bin/ld: /home/conan/w/BuildSingleReference/.conan/data/mailio/0.20.0/_/_/package/d79f81ed4355e172c30fa584483aa286b1f544d1/lib/libmailio.a(message.cpp.o): in function `boost::re_detail_107500::basic_regex_creator > >::create_startmaps(boost::re_detail_107500::re_syntax_base*)': message.cpp:(.text._ZN5boost16re_detail_10750019basic_regex_creatorIcNS_12regex_traitsIcNS_16cpp_regex_traitsIcEEEEE16create_startmapsEPNS0_14re_syntax_baseE[_ZN5boost16re_detail_10750019basic_regex_creatorIcNS_12regex_traitsIcNS_16cpp_regex_traitsIcEEEEE16create_startmapsEPNS0_14re_syntax_baseE]+0x19c): undefined reference to `boost::regex_error::regex_error(std::__cxx11::basic_string, std::allocator > const&, boost::regex_constants::error_type, long)' /usr/bin/ld: /home/conan/w/BuildSingleReference/.conan/data/mailio/0.20.0/_/_/package/d79f81ed4355e172c30fa584483aa286b1f544d1/lib/libmailio.a(message.cpp.o): in function `boost::re_detail_107500::basic_regex_creator > >::create_startmap(boost::re_detail_107500::re_syntax_base*, unsigned char*, unsigned int*, unsigned char)': message.cpp:(.text._ZN5boost16re_detail_10750019basic_regex_creatorIcNS_12regex_traitsIcNS_16cpp_regex_traitsIcEEEEE15create_startmapEPNS0_14re_syntax_baseEPhPjh[_ZN5boost16re_detail_10750019basic_regex_creatorIcNS_12regex_traitsIcNS_16cpp_regex_traitsIcEEEEE15create_startmapEPNS0_14re_syntax_baseEPhPjh]+0x850): undefined reference to `boost::regex_error::regex_error(std::__cxx11::basic_string, std::allocator > const&, boost::regex_constants::error_type, long)' clang: error: linker command failed with exit code 1 (use -v to see invocation) make[2]: *** [CMakeFiles/test_package.dir/build.make:103: bin/test_package] Error 1 make[1]: *** [CMakeFiles/Makefile2:95: CMakeFiles/test_package.dir/all] Error 2 make: *** [Makefile:103: all] Error 2 ERROR: mailio/0.20.0 (test package): Error in build() method, line 13 cmake.build() ConanException: Error 2 while executing cmake --build '/home/conan/w/BuildSingleReference/conan-center-index/recipes/mailio/all/test_package/build/ee92eda5b889925343a7ecf0440e280fdfe88c76' '--' '-j3'