******************************************************************************** conan test conan-center-index/recipes/fast-cdr/all/test_package/conanfile.py fast-cdr/1.0.21@ --profile=/home/conan/w/BuildSingleReference/12221/2b4e8784-260b-4972-af3a-eba97860c1af/profile.txt ******************************************************************************** Configuration: [settings] arch=x86_64 arch_build=x86_64 build_type=Release compiler=clang compiler.libcxx=libc++ compiler.version=4.0 os=Linux os_build=Linux [options] fast-cdr:shared=False [build_requires] [env] fast-cdr/1.0.21 (test package): Installing package Requirements fast-cdr/1.0.21 from local cache - Cache Packages fast-cdr/1.0.21:ac062fddda604275b8d4a5eeef8896e72fd329dd - Cache Installing (downloading, building) binaries... fast-cdr/1.0.21: 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 fast-cdr/1.0.21 (test package): Generator txt created conanbuildinfo.txt fast-cdr/1.0.21 (test package): Generator cmake created conanbuildinfo.cmake fast-cdr/1.0.21 (test package): Generator cmake_find_package created Findfastcdr.cmake fast-cdr/1.0.21 (test package): Generated conaninfo.txt fast-cdr/1.0.21 (test package): Generated graphinfo Using lockfile: '/home/conan/w/BuildSingleReference/conan-center-index/recipes/fast-cdr/all/test_package/build/781d403faa58fbe792d9980b075dcf87320350fa/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 fast-cdr/1.0.21 (test package): Calling build() ----Running------ > cd '/home/conan/w/BuildSingleReference/conan-center-index/recipes/fast-cdr/all/test_package/build/781d403faa58fbe792d9980b075dcf87320350fa' && cmake -G "Unix Makefiles" -DCMAKE_BUILD_TYPE="Release" -DCONAN_IN_LOCAL_CACHE="OFF" -DCONAN_COMPILER="clang" -DCONAN_COMPILER_VERSION="4.0" -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/fast-cdr/all/test_package/build/781d403faa58fbe792d9980b075dcf87320350fa/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/fast-cdr/all/test_package/build/781d403faa58fbe792d9980b075dcf87320350fa" -DCMAKE_EXPORT_NO_PACKAGE_REGISTRY="ON" -DCONAN_EXPORTED="1" -Wno-dev '/home/conan/w/BuildSingleReference/conan-center-index/recipes/fast-cdr/all/test_package' ----------------- -- The C compiler identification is Clang 4.0.1 -- The CXX compiler identification is Clang 4.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 -- 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: 4.0 -- Conan: C++ stdlib: libc++ -- Conan: Using autogenerated Findfastcdr.cmake -- Found fastcdr: 1.0.21 (found version "1.0.21") -- Library fastcdr found /home/conan/w/BuildSingleReference/.conan/data/fast-cdr/1.0.21/_/_/package/ac062fddda604275b8d4a5eeef8896e72fd329dd/lib/libfastcdr.a -- Found: /home/conan/w/BuildSingleReference/.conan/data/fast-cdr/1.0.21/_/_/package/ac062fddda604275b8d4a5eeef8896e72fd329dd/lib/libfastcdr.a -- Configuring done -- Generating done -- Build files have been written to: /home/conan/w/BuildSingleReference/conan-center-index/recipes/fast-cdr/all/test_package/build/781d403faa58fbe792d9980b075dcf87320350fa ----Running------ > cmake --build '/home/conan/w/BuildSingleReference/conan-center-index/recipes/fast-cdr/all/test_package/build/781d403faa58fbe792d9980b075dcf87320350fa' '--' '-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:103: 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 `check_good_case()': /home/conan/w/BuildSingleReference/conan-center-index/recipes/fast-cdr/all/test_package/test_package.cpp:(.text+0xc1): undefined reference to `eprosima::fastcdr::Cdr::readWString(unsigned int&)' /home/conan/w/BuildSingleReference/.conan/data/fast-cdr/1.0.21/_/_/package/ac062fddda604275b8d4a5eeef8896e72fd329dd/lib/libfastcdr.a(Cdr.cpp.o): In function `eprosima::fastcdr::Cdr::readWString[abi:cxx11](unsigned int&)': /home/conan/w/BuildSingleReference/.conan/data/fast-cdr/1.0.21/_/_/build/ac062fddda604275b8d4a5eeef8896e72fd329dd/source_subfolder/src/cpp/Cdr.cpp:(.text+0x3679): undefined reference to `std::__cxx11::basic_string, std::allocator >::_M_create(unsigned long&, unsigned long)' /home/conan/w/BuildSingleReference/.conan/data/fast-cdr/1.0.21/_/_/build/ac062fddda604275b8d4a5eeef8896e72fd329dd/source_subfolder/src/cpp/Cdr.cpp:(.text+0x3731): undefined reference to `std::__cxx11::basic_string, std::allocator >::resize(unsigned long, wchar_t)' /home/conan/w/BuildSingleReference/.conan/data/fast-cdr/1.0.21/_/_/build/ac062fddda604275b8d4a5eeef8896e72fd329dd/source_subfolder/src/cpp/Cdr.cpp:(.text+0x37e2): undefined reference to `std::__throw_out_of_range_fmt(char const*, ...)' /home/conan/w/BuildSingleReference/.conan/data/fast-cdr/1.0.21/_/_/package/ac062fddda604275b8d4a5eeef8896e72fd329dd/lib/libfastcdr.a(Cdr.cpp.o): In function `eprosima::fastcdr::Cdr::deserializeWStringSequence(std::__cxx11::basic_string, std::allocator >*&, unsigned long&)': /home/conan/w/BuildSingleReference/.conan/data/fast-cdr/1.0.21/_/_/build/ac062fddda604275b8d4a5eeef8896e72fd329dd/source_subfolder/src/cpp/Cdr.cpp:(.text+0x4ffd): undefined reference to `std::__cxx11::basic_string, std::allocator >::_M_assign(std::__cxx11::basic_string, std::allocator > const&)' /home/conan/w/BuildSingleReference/.conan/data/fast-cdr/1.0.21/_/_/package/ac062fddda604275b8d4a5eeef8896e72fd329dd/lib/libfastcdr.a(Cdr.cpp.o): In function `eprosima::fastcdr::Cdr::deserialize(std::__cxx11::basic_string, std::allocator >&)': /home/conan/w/BuildSingleReference/.conan/data/fast-cdr/1.0.21/_/_/build/ac062fddda604275b8d4a5eeef8896e72fd329dd/source_subfolder/src/cpp/Cdr.cpp:(.text._ZN8eprosima7fastcdr3Cdr11deserializeERNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE[_ZN8eprosima7fastcdr3Cdr11deserializeERNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE]+0x5a): undefined reference to `std::__cxx11::basic_string, std::allocator >::_M_create(unsigned long&, unsigned long)' /home/conan/w/BuildSingleReference/.conan/data/fast-cdr/1.0.21/_/_/build/ac062fddda604275b8d4a5eeef8896e72fd329dd/source_subfolder/src/cpp/Cdr.cpp:(.text._ZN8eprosima7fastcdr3Cdr11deserializeERNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE[_ZN8eprosima7fastcdr3Cdr11deserializeERNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE]+0xf1): undefined reference to `std::__cxx11::basic_string, std::allocator >::_M_assign(std::__cxx11::basic_string, std::allocator > const&)' /home/conan/w/BuildSingleReference/.conan/data/fast-cdr/1.0.21/_/_/build/ac062fddda604275b8d4a5eeef8896e72fd329dd/source_subfolder/src/cpp/Cdr.cpp:(.text._ZN8eprosima7fastcdr3Cdr11deserializeERNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE[_ZN8eprosima7fastcdr3Cdr11deserializeERNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE]+0x136): undefined reference to `std::__throw_logic_error(char const*)' /home/conan/w/BuildSingleReference/.conan/data/fast-cdr/1.0.21/_/_/package/ac062fddda604275b8d4a5eeef8896e72fd329dd/lib/libfastcdr.a(Cdr.cpp.o): In function `std::vector >::_M_fill_insert(std::_Bit_iterator, unsigned long, bool)': /home/conan/w/BuildSingleReference/.conan/data/fast-cdr/1.0.21/_/_/build/ac062fddda604275b8d4a5eeef8896e72fd329dd/source_subfolder/src/cpp/Cdr.cpp:(.text._ZNSt6vectorIbSaIbEE14_M_fill_insertESt13_Bit_iteratormb[_ZNSt6vectorIbSaIbEE14_M_fill_insertESt13_Bit_iteratormb]+0x422): undefined reference to `std::__throw_length_error(char const*)' /home/conan/w/BuildSingleReference/.conan/data/fast-cdr/1.0.21/_/_/package/ac062fddda604275b8d4a5eeef8896e72fd329dd/lib/libfastcdr.a(Cdr.cpp.o): In function `_GLOBAL__sub_I_Cdr.cpp': /home/conan/w/BuildSingleReference/.conan/data/fast-cdr/1.0.21/_/_/build/ac062fddda604275b8d4a5eeef8896e72fd329dd/source_subfolder/src/cpp/Cdr.cpp:(.text.startup+0x7): undefined reference to `std::ios_base::Init::Init()' /home/conan/w/BuildSingleReference/.conan/data/fast-cdr/1.0.21/_/_/build/ac062fddda604275b8d4a5eeef8896e72fd329dd/source_subfolder/src/cpp/Cdr.cpp:(.text.startup+0xc): undefined reference to `std::ios_base::Init::~Init()' 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: fast-cdr/1.0.21 (test package): Error in build() method, line 11 cmake.build() ConanException: Error 2 while executing cmake --build '/home/conan/w/BuildSingleReference/conan-center-index/recipes/fast-cdr/all/test_package/build/781d403faa58fbe792d9980b075dcf87320350fa' '--' '-j3'