******************************************************************************** conan test cci-ed3d7eea/recipes/open62541pp/all/test_package/conanfile.py open62541pp/0.12.0@#afe860ea9fd990ac42915f32cc580af6 -pr /home/conan/workspace/prod-v1/bsr/11068/edeaa/profile_linux_11_libstdcpp11_gcc_release_64.open62541pp-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] open62541pp:shared=False [build_requires] [env] [conf] tools.system.package_manager:mode=install tools.system.package_manager:sudo=True open62541pp/0.12.0 (test package): Installing package Requirements open62541/1.3.9 from 'conan-center' - Cache open62541pp/0.12.0 from local cache - Cache Packages open62541/1.3.9:75ef360a57ade25004dd5837d5c97cae478a69ec - Cache open62541pp/0.12.0:927e2edf70c8a5b0cd1da5d0f47a339265b7cefd - Cache Installing (downloading, building) binaries... open62541/1.3.9: Already installed! open62541pp/0.12.0: Already installed! open62541pp/0.12.0 (test package): Generator txt created conanbuildinfo.txt open62541pp/0.12.0 (test package): Generator 'CMakeToolchain' calling 'generate()' open62541pp/0.12.0 (test package): Preset 'release' added to CMakePresets.json. Invoke it manually using 'cmake --preset release' open62541pp/0.12.0 (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/workspace/prod-v1/bsr/cci-ed3d7eea/recipes/open62541pp/all/test_package/build/Release/generators/conan_toolchain.cmake -DCMAKE_POLICY_DEFAULT_CMP0091=NEW -DCMAKE_BUILD_TYPE=Release' open62541pp/0.12.0 (test package): Generator 'CMakeDeps' calling 'generate()' open62541pp/0.12.0 (test package): Generator 'VirtualRunEnv' calling 'generate()' open62541pp/0.12.0 (test package): Aggregating env generators open62541pp/0.12.0 (test package): Generated conaninfo.txt open62541pp/0.12.0 (test package): Generated graphinfo Using lockfile: '/home/conan/workspace/prod-v1/bsr/cci-ed3d7eea/recipes/open62541pp/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 open62541pp/0.12.0 (test package): Calling build() open62541pp/0.12.0 (test package): CMake command: cmake -G "Unix Makefiles" -DCMAKE_TOOLCHAIN_FILE="/home/conan/workspace/prod-v1/bsr/cci-ed3d7eea/recipes/open62541pp/all/test_package/build/Release/generators/conan_toolchain.cmake" -DCMAKE_POLICY_DEFAULT_CMP0091="NEW" -DCMAKE_BUILD_TYPE="Release" "/home/conan/workspace/prod-v1/bsr/cci-ed3d7eea/recipes/open62541pp/all/test_package/." ----Running------ > cmake -G "Unix Makefiles" -DCMAKE_TOOLCHAIN_FILE="/home/conan/workspace/prod-v1/bsr/cci-ed3d7eea/recipes/open62541pp/all/test_package/build/Release/generators/conan_toolchain.cmake" -DCMAKE_POLICY_DEFAULT_CMP0091="NEW" -DCMAKE_BUILD_TYPE="Release" "/home/conan/workspace/prod-v1/bsr/cci-ed3d7eea/recipes/open62541pp/all/test_package/." ----------------- -- Using Conan toolchain: /home/conan/workspace/prod-v1/bsr/cci-ed3d7eea/recipes/open62541pp/all/test_package/build/Release/generators/conan_toolchain.cmake -- The CXX compiler identification is GNU 11.4.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 'open62541pp::open62541pp' -- Conan: Target declared 'open62541::open62541' -- Conan: Including build module from '/home/conan/workspace/prod-v1/bsr/11068/ecfca/.conan/data/open62541/1.3.9/_/_/package/75ef360a57ade25004dd5837d5c97cae478a69ec/lib/cmake/open62541/open62541Macros.cmake' -- Configuring done -- Generating done -- Build files have been written to: /home/conan/workspace/prod-v1/bsr/cci-ed3d7eea/recipes/open62541pp/all/test_package/build/Release open62541pp/0.12.0 (test package): CMake command: cmake --build "/home/conan/workspace/prod-v1/bsr/cci-ed3d7eea/recipes/open62541pp/all/test_package/build/Release" '--' '-j3' ----Running------ > cmake --build "/home/conan/workspace/prod-v1/bsr/cci-ed3d7eea/recipes/open62541pp/all/test_package/build/Release" '--' '-j3' ----------------- Scanning dependencies of target test_package [ 50%] Building CXX object CMakeFiles/test_package.dir/test_package.cpp.o [100%] Linking CXX executable test_package CMakeFiles/test_package.dir/build.make:85: recipe for target 'test_package' failed CMakeFiles/Makefile2:75: recipe for target 'CMakeFiles/test_package.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 lto1: fatal error: bytecode stream in file '/home/conan/workspace/prod-v1/bsr/11068/ecfca/.conan/data/open62541/1.3.9/_/_/package/75ef360a57ade25004dd5837d5c97cae478a69ec/lib/libopen62541.a' generated with LTO version 11.0 instead of the expected 11.3 compilation terminated. lto-wrapper: fatal error: /usr/local/bin/c++ returned 1 exit status compilation terminated. /opt/conan/binutils/bin/ld: error: lto-wrapper failed collect2: error: ld returned 1 exit status make[2]: *** [test_package] Error 1 make[1]: *** [CMakeFiles/test_package.dir/all] Error 2 make: *** [all] Error 2 open62541pp/0.12.0 (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 open62541pp/0.12.0 (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: open62541pp/0.12.0 (test package): Error in build() method, line 21 cmake.build() ConanException: Error 2 while executing cmake --build "/home/conan/workspace/prod-v1/bsr/cci-ed3d7eea/recipes/open62541pp/all/test_package/build/Release" '--' '-j3'