******************************************************************************** conan test cci-c51c0b2c/recipes/libsolace/all/test_package/conanfile.py libsolace/0.3.7@#5b46e36bc55d04072f7237e52b7833e9 -pr /home/conan/w/prod/BuildSingleReference/272879/bd600231-7cbf-4a35-a764-8891816a1a97/profile_linux_11_libstdcpp11_gcc_release_64.libsolace-shared-False.txt -c tools.system.package_manager:mode=install -c tools.system.package_manager:sudo=True ******************************************************************************** Configuration: [settings] arch=x86_64 build_type=Release compiler=gcc compiler.libcxx=libstdc++11 compiler.version=11 os=Linux [options] libsolace:shared=False [build_requires] [env] [conf] tools.system.package_manager:mode=install tools.system.package_manager:sudo=True libsolace/0.3.7 (test package): Installing package Requirements libsolace/0.3.7 from local cache - Cache Packages libsolace/0.3.7:6557f18ca99c0b6a233f43db00e30efaa525e27e - Cache Installing (downloading, building) binaries... libsolace/0.3.7: Already installed! libsolace/0.3.7 (test package): Generator txt created conanbuildinfo.txt libsolace/0.3.7 (test package): Generator 'CMakeDeps' calling 'generate()' libsolace/0.3.7 (test package): Generator 'CMakeToolchain' calling 'generate()' libsolace/0.3.7 (test package): Preset 'release' added to CMakePresets.json. Invoke it manually using 'cmake --preset release' libsolace/0.3.7 (test package): If your CMake version is not compatible with CMakePresets (<3.19) call cmake like: 'cmake -G "Unix Makefiles" -DCMAKE_TOOLCHAIN_FILE=/home/conan/w/prod/BuildSingleReference/cci-c51c0b2c/recipes/libsolace/all/test_package/build/Release/generators/conan_toolchain.cmake -DCMAKE_POLICY_DEFAULT_CMP0091=NEW -DCMAKE_BUILD_TYPE=Release' libsolace/0.3.7 (test package): Aggregating env generators libsolace/0.3.7 (test package): Generated conaninfo.txt libsolace/0.3.7 (test package): Generated graphinfo Using lockfile: '/home/conan/w/prod/BuildSingleReference/cci-c51c0b2c/recipes/libsolace/all/test_package/build/Release/generators/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 libsolace/0.3.7 (test package): Calling build() libsolace/0.3.7 (test package): CMake command: cmake -G "Unix Makefiles" -DCMAKE_TOOLCHAIN_FILE="/home/conan/w/prod/BuildSingleReference/cci-c51c0b2c/recipes/libsolace/all/test_package/build/Release/generators/conan_toolchain.cmake" -DCMAKE_POLICY_DEFAULT_CMP0091="NEW" -DCMAKE_BUILD_TYPE="Release" "/home/conan/w/prod/BuildSingleReference/cci-c51c0b2c/recipes/libsolace/all/test_package/." ----Running------ > cmake -G "Unix Makefiles" -DCMAKE_TOOLCHAIN_FILE="/home/conan/w/prod/BuildSingleReference/cci-c51c0b2c/recipes/libsolace/all/test_package/build/Release/generators/conan_toolchain.cmake" -DCMAKE_POLICY_DEFAULT_CMP0091="NEW" -DCMAKE_BUILD_TYPE="Release" "/home/conan/w/prod/BuildSingleReference/cci-c51c0b2c/recipes/libsolace/all/test_package/." ----------------- -- Using Conan toolchain: /home/conan/w/prod/BuildSingleReference/cci-c51c0b2c/recipes/libsolace/all/test_package/build/Release/generators/conan_toolchain.cmake -- The CXX compiler identification is GNU 11.1.0 -- Check for working CXX compiler: /usr/local/bin/c++ -- Check for working CXX compiler: /usr/local/bin/c++ -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Detecting CXX compile features -- Detecting CXX compile features - done -- Conan: Target declared 'libsolace::libsolace' -- Configuring done -- Generating done -- Build files have been written to: /home/conan/w/prod/BuildSingleReference/cci-c51c0b2c/recipes/libsolace/all/test_package/build/Release libsolace/0.3.7 (test package): CMake command: cmake --build "/home/conan/w/prod/BuildSingleReference/cci-c51c0b2c/recipes/libsolace/all/test_package/build/Release" '--' '-j3' ----Running------ > cmake --build "/home/conan/w/prod/BuildSingleReference/cci-c51c0b2c/recipes/libsolace/all/test_package/build/Release" '--' '-j3' ----------------- Scanning dependencies of target example [ 50%] Building CXX object CMakeFiles/example.dir/example.cpp.o [100%] Linking CXX executable example CMakeFiles/example.dir/build.make:84: recipe for target 'example' failed CMakeFiles/Makefile2:75: recipe for target 'CMakeFiles/example.dir/all' failed Makefile:83: recipe for target 'all' failed CMake Warning: Manually-specified variables were not used by the project: CMAKE_POLICY_DEFAULT_CMP0091 /opt/conan/binutils/bin/ld: CMakeFiles/example.dir/example.cpp.o: in function `main': example.cpp:(.text.startup+0xd): undefined reference to `Solace::getBuildVersion()' collect2: error: ld returned 1 exit status make[2]: *** [example] Error 1 make[1]: *** [CMakeFiles/example.dir/all] Error 2 make: *** [all] Error 2 libsolace/0.3.7 (test package): WARN: Using the new toolchains and generators without specifying a build profile (e.g: -pr:b=default) is discouraged and might cause failures and unexpected behavior libsolace/0.3.7 (test package): WARN: Using the new toolchains and generators without specifying a build profile (e.g: -pr:b=default) is discouraged and might cause failures and unexpected behavior ERROR: libsolace/0.3.7 (test package): Error in build() method, line 21 cmake.build() ConanException: Error 2 while executing cmake --build "/home/conan/w/prod/BuildSingleReference/cci-c51c0b2c/recipes/libsolace/all/test_package/build/Release" '--' '-j3' ******************************************************************************** conan test cci-c51c0b2c/recipes/libsolace/all/test_v1_package/conanfile.py libsolace/0.3.7@#5b46e36bc55d04072f7237e52b7833e9 -pr /home/conan/w/prod/BuildSingleReference/272879/bd600231-7cbf-4a35-a764-8891816a1a97/profile_linux_11_libstdcpp11_gcc_release_64.libsolace-shared-False.txt -c tools.system.package_manager:mode=install -c tools.system.package_manager:sudo=True ******************************************************************************** Configuration: [settings] arch=x86_64 build_type=Release compiler=gcc compiler.libcxx=libstdc++11 compiler.version=11 os=Linux [options] libsolace:shared=False [build_requires] [env] [conf] tools.system.package_manager:mode=install tools.system.package_manager:sudo=True libsolace/0.3.7 (test package): Installing package Requirements libsolace/0.3.7 from local cache - Cache Packages libsolace/0.3.7:6557f18ca99c0b6a233f43db00e30efaa525e27e - Cache Installing (downloading, building) binaries... libsolace/0.3.7: Already installed! libsolace/0.3.7 (test package): Generator cmake created conanbuildinfo.cmake libsolace/0.3.7 (test package): Generator txt created conanbuildinfo.txt libsolace/0.3.7 (test package): Generator cmake_find_package_multi created libsolace-config-version.cmake libsolace/0.3.7 (test package): Generator cmake_find_package_multi created libsolace-config.cmake libsolace/0.3.7 (test package): Generator cmake_find_package_multi created libsolaceTargets.cmake libsolace/0.3.7 (test package): Generator cmake_find_package_multi created libsolaceTarget-release.cmake libsolace/0.3.7 (test package): Aggregating env generators libsolace/0.3.7 (test package): Generated conaninfo.txt libsolace/0.3.7 (test package): Generated graphinfo Using lockfile: '/home/conan/w/prod/BuildSingleReference/cci-c51c0b2c/recipes/libsolace/all/test_v1_package/build/a85fd89f19fa064212e51f0a9602e1667a0d2726/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 libsolace/0.3.7 (test package): Calling build() ----Running------ > cd '/home/conan/w/prod/BuildSingleReference/cci-c51c0b2c/recipes/libsolace/all/test_v1_package/build/a85fd89f19fa064212e51f0a9602e1667a0d2726' && cmake -G "Unix Makefiles" -DCMAKE_BUILD_TYPE="Release" -DCONAN_IN_LOCAL_CACHE="OFF" -DCONAN_COMPILER="gcc" -DCONAN_COMPILER_VERSION="11" -DCONAN_CXX_FLAGS="-m64" -DCONAN_SHARED_LINKER_FLAGS="-m64" -DCONAN_C_FLAGS="-m64" -DCONAN_LIBCXX="libstdc++11" -DCMAKE_INSTALL_PREFIX="/home/conan/w/prod/BuildSingleReference/cci-c51c0b2c/recipes/libsolace/all/test_v1_package/build/a85fd89f19fa064212e51f0a9602e1667a0d2726/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_PREFIX_PATH="/home/conan/w/prod/BuildSingleReference/cci-c51c0b2c/recipes/libsolace/all/test_v1_package/build/a85fd89f19fa064212e51f0a9602e1667a0d2726" -DCMAKE_MODULE_PATH="/home/conan/w/prod/BuildSingleReference/cci-c51c0b2c/recipes/libsolace/all/test_v1_package/build/a85fd89f19fa064212e51f0a9602e1667a0d2726" -DCMAKE_EXPORT_NO_PACKAGE_REGISTRY="ON" -DCONAN_EXPORTED="1" -Wno-dev '/home/conan/w/prod/BuildSingleReference/cci-c51c0b2c/recipes/libsolace/all/test_v1_package' ----------------- -- The C compiler identification is GNU 11.1.0 -- The CXX compiler identification is GNU 11.1.0 -- Check for working C compiler: /usr/local/bin/cc -- Check for working C compiler: /usr/local/bin/cc -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Detecting C compile features -- Detecting C compile features - done -- Check for working CXX compiler: /usr/local/bin/c++ -- Check for working CXX compiler: /usr/local/bin/c++ -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Detecting CXX compile features -- Detecting CXX compile features - done -- Conan: called by CMake conan helper -- Conan: Adjusting output directories -- Conan: Using cmake targets configuration -- Library solace found /home/conan/w/prod/BuildSingleReference/.conan/data/libsolace/0.3.7/_/_/package/6557f18ca99c0b6a233f43db00e30efaa525e27e/lib/libsolace.a -- Conan: Adjusting default RPATHs Conan policies -- Conan: Adjusting language standard -- Conan: Compiler GCC>=5, checking major version 11 -- Conan: Checking correct version: 11 -- Conan: C++ stdlib: libstdc++11 -- Library solace found /home/conan/w/prod/BuildSingleReference/.conan/data/libsolace/0.3.7/_/_/package/6557f18ca99c0b6a233f43db00e30efaa525e27e/lib/libsolace.a -- Found: /home/conan/w/prod/BuildSingleReference/.conan/data/libsolace/0.3.7/_/_/package/6557f18ca99c0b6a233f43db00e30efaa525e27e/lib/libsolace.a -- Configuring done -- Generating done -- Build files have been written to: /home/conan/w/prod/BuildSingleReference/cci-c51c0b2c/recipes/libsolace/all/test_v1_package/build/a85fd89f19fa064212e51f0a9602e1667a0d2726 ----Running------ > cmake --build '/home/conan/w/prod/BuildSingleReference/cci-c51c0b2c/recipes/libsolace/all/test_v1_package/build/a85fd89f19fa064212e51f0a9602e1667a0d2726' '--' '-j3' ----------------- Scanning dependencies of target example [ 50%] Building CXX object test_package/CMakeFiles/example.dir/example.cpp.o [100%] Linking CXX executable ../bin/example test_package/CMakeFiles/example.dir/build.make:84: recipe for target 'bin/example' failed CMakeFiles/Makefile2:93: recipe for target 'test_package/CMakeFiles/example.dir/all' failed Makefile:83: 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 /opt/conan/binutils/bin/ld: CMakeFiles/example.dir/example.cpp.o: in function `main': example.cpp:(.text.startup+0xd): undefined reference to `Solace::getBuildVersion()' collect2: error: ld returned 1 exit status make[2]: *** [bin/example] Error 1 make[1]: *** [test_package/CMakeFiles/example.dir/all] Error 2 make: *** [all] Error 2 ERROR: libsolace/0.3.7 (test package): Error in build() method, line 14 cmake.build() ConanException: Error 2 while executing cmake --build '/home/conan/w/prod/BuildSingleReference/cci-c51c0b2c/recipes/libsolace/all/test_v1_package/build/a85fd89f19fa064212e51f0a9602e1667a0d2726' '--' '-j3'