******************************************************************************** conan test cci-4bd1d1c6/recipes/ethash/all/test_package/conanfile.py ethash/1.0.1@#8bc15e9f374d80be1e11f814bc5b8ba3 -pr /home/conan/w/prod-v1/BuildSingleReference/19035/938925cd-5a18-408a-abd0-c7f0901095ca/profile_linux_11_libstdcpp11_gcc_debug_64.ethash-shared-True.txt -c tools.system.package_manager:mode=install -c tools.system.package_manager:sudo=True ******************************************************************************** Configuration: [settings] arch=x86_64 build_type=Debug compiler=gcc compiler.libcxx=libstdc++11 compiler.version=11 os=Linux [options] ethash:shared=True [build_requires] [env] [conf] tools.system.package_manager:mode=install tools.system.package_manager:sudo=True Version ranges solved Version range '>=3.16.2 <4' required by 'ethash/1.0.1 (test package)' resolved to 'cmake/3.27.1' in local cache ethash/1.0.1 (test package): Installing package Requirements ethash/1.0.1 from local cache - Cache Packages ethash/1.0.1:9602906d67563279fa4c4d8cbf862eea69fd6f87 - Cache Build requirements cmake/3.27.1 from 'conan-center' - Cache Build requirements packages cmake/3.27.1:4db1be536558d833e52e862fd84d64d75c2b3656 - Cache Installing (downloading, building) binaries... cmake/3.27.1: Already installed! cmake/3.27.1: Appending PATH environment variable: /home/conan/w/prod-v1/BuildSingleReference/.conan/data/cmake/3.27.1/_/_/package/4db1be536558d833e52e862fd84d64d75c2b3656/bin ethash/1.0.1: Already installed! ethash/1.0.1 (test package): Applying build-requirement: cmake/3.27.1 ethash/1.0.1 (test package): Generator 'VirtualRunEnv' calling 'generate()' ethash/1.0.1 (test package): Generator 'CMakeToolchain' calling 'generate()' ethash/1.0.1 (test package): Preset 'debug' added to CMakePresets.json. Invoke it manually using 'cmake --preset debug' ethash/1.0.1 (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-v1/BuildSingleReference/cci-4bd1d1c6/recipes/ethash/all/test_package/build/Debug/generators/conan_toolchain.cmake -DCMAKE_POLICY_DEFAULT_CMP0091=NEW -DCMAKE_BUILD_TYPE=Debug' ethash/1.0.1 (test package): Generator txt created conanbuildinfo.txt ethash/1.0.1 (test package): Generator 'CMakeDeps' calling 'generate()' ethash/1.0.1 (test package): Aggregating env generators ethash/1.0.1 (test package): Generated conaninfo.txt ethash/1.0.1 (test package): Generated graphinfo Using lockfile: '/home/conan/w/prod-v1/BuildSingleReference/cci-4bd1d1c6/recipes/ethash/all/test_package/build/Debug/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 ethash/1.0.1 (test package): Calling build() ethash/1.0.1 (test package): CMake command: cmake -G "Unix Makefiles" -DCMAKE_TOOLCHAIN_FILE="/home/conan/w/prod-v1/BuildSingleReference/cci-4bd1d1c6/recipes/ethash/all/test_package/build/Debug/generators/conan_toolchain.cmake" -DCMAKE_POLICY_DEFAULT_CMP0091="NEW" -DCMAKE_BUILD_TYPE="Debug" "/home/conan/w/prod-v1/BuildSingleReference/cci-4bd1d1c6/recipes/ethash/all/test_package/." ----Running------ > cmake -G "Unix Makefiles" -DCMAKE_TOOLCHAIN_FILE="/home/conan/w/prod-v1/BuildSingleReference/cci-4bd1d1c6/recipes/ethash/all/test_package/build/Debug/generators/conan_toolchain.cmake" -DCMAKE_POLICY_DEFAULT_CMP0091="NEW" -DCMAKE_BUILD_TYPE="Debug" "/home/conan/w/prod-v1/BuildSingleReference/cci-4bd1d1c6/recipes/ethash/all/test_package/." ----------------- -- Using Conan toolchain: /home/conan/w/prod-v1/BuildSingleReference/cci-4bd1d1c6/recipes/ethash/all/test_package/build/Debug/generators/conan_toolchain.cmake -- The CXX compiler identification is GNU 11.1.0 -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Check for working CXX compiler: /usr/local/bin/c++ - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done -- Conan: Component target declared 'keccak::keccak' -- Conan: Target declared 'ethash::ethash' -- Configuring done (0.3s) -- Generating done (0.0s) -- Build files have been written to: /home/conan/w/prod-v1/BuildSingleReference/cci-4bd1d1c6/recipes/ethash/all/test_package/build/Debug ethash/1.0.1 (test package): CMake command: cmake --build "/home/conan/w/prod-v1/BuildSingleReference/cci-4bd1d1c6/recipes/ethash/all/test_package/build/Debug" '--' '-j3' ----Running------ > cmake --build "/home/conan/w/prod-v1/BuildSingleReference/cci-4bd1d1c6/recipes/ethash/all/test_package/build/Debug" '--' '-j3' ----------------- [ 50%] Building CXX object CMakeFiles/test_package.dir/test_package.cpp.o [100%] Linking CXX executable test_package CMakeFiles/test_package.dir/build.make:97: recipe for target 'test_package' failed CMakeFiles/Makefile2:82: recipe for target 'CMakeFiles/test_package.dir/all' failed Makefile:90: 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/test_package.dir/test_package.cpp.o:(.rodata+0x40): undefined reference to `ethash_calculate_light_cache_num_items' /opt/conan/binutils/bin/ld: CMakeFiles/test_package.dir/test_package.cpp.o:(.rodata+0x48): undefined reference to `ethash_calculate_full_dataset_num_items' /opt/conan/binutils/bin/ld: CMakeFiles/test_package.dir/test_package.cpp.o:(.rodata+0x50): undefined reference to `ethash_calculate_epoch_seed' 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 ethash/1.0.1 (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 ethash/1.0.1 (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: ethash/1.0.1 (test package): Error in build() method, line 22 cmake.build() ConanException: Error 2 while executing cmake --build "/home/conan/w/prod-v1/BuildSingleReference/cci-4bd1d1c6/recipes/ethash/all/test_package/build/Debug" '--' '-j3' ******************************************************************************** conan test cci-4bd1d1c6/recipes/ethash/all/test_v1_package/conanfile.py ethash/1.0.1@#8bc15e9f374d80be1e11f814bc5b8ba3 -pr /home/conan/w/prod-v1/BuildSingleReference/19035/938925cd-5a18-408a-abd0-c7f0901095ca/profile_linux_11_libstdcpp11_gcc_debug_64.ethash-shared-True.txt -c tools.system.package_manager:mode=install -c tools.system.package_manager:sudo=True ******************************************************************************** Configuration: [settings] arch=x86_64 build_type=Debug compiler=gcc compiler.libcxx=libstdc++11 compiler.version=11 os=Linux [options] ethash:shared=True [build_requires] [env] [conf] tools.system.package_manager:mode=install tools.system.package_manager:sudo=True Version ranges solved Version range '>=3.16.2 <4' required by 'ethash/1.0.1 (test package)' resolved to 'cmake/3.27.1' in local cache ethash/1.0.1 (test package): Installing package Requirements ethash/1.0.1 from local cache - Cache Packages ethash/1.0.1:9602906d67563279fa4c4d8cbf862eea69fd6f87 - Cache Build requirements cmake/3.27.1 from 'conan-center' - Cache Build requirements packages cmake/3.27.1:4db1be536558d833e52e862fd84d64d75c2b3656 - Cache Installing (downloading, building) binaries... cmake/3.27.1: Already installed! cmake/3.27.1: Appending PATH environment variable: /home/conan/w/prod-v1/BuildSingleReference/.conan/data/cmake/3.27.1/_/_/package/4db1be536558d833e52e862fd84d64d75c2b3656/bin ethash/1.0.1: Already installed! ethash/1.0.1 (test package): Applying build-requirement: cmake/3.27.1 ethash/1.0.1 (test package): Generator cmake_find_package_multi created cmake-config-version.cmake ethash/1.0.1 (test package): Generator cmake_find_package_multi created cmake-config.cmake ethash/1.0.1 (test package): Generator cmake_find_package_multi created cmakeTargets.cmake ethash/1.0.1 (test package): Generator cmake_find_package_multi created cmakeTarget-debug.cmake ethash/1.0.1 (test package): Generator cmake_find_package_multi created ethash-config-version.cmake ethash/1.0.1 (test package): Generator cmake_find_package_multi created ethashTarget-debug.cmake ethash/1.0.1 (test package): Generator cmake_find_package_multi created ethashTargets.cmake ethash/1.0.1 (test package): Generator cmake_find_package_multi created ethash-config.cmake ethash/1.0.1 (test package): Generator txt created conanbuildinfo.txt ethash/1.0.1 (test package): Generator cmake created conanbuildinfo.cmake ethash/1.0.1 (test package): Aggregating env generators ethash/1.0.1 (test package): Generated conaninfo.txt ethash/1.0.1 (test package): Generated graphinfo Using lockfile: '/home/conan/w/prod-v1/BuildSingleReference/cci-4bd1d1c6/recipes/ethash/all/test_v1_package/build/e3bd548262aa0e02093d60f955ef6b93194b2514/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 ethash/1.0.1 (test package): Calling build() ----Running------ > cd '/home/conan/w/prod-v1/BuildSingleReference/cci-4bd1d1c6/recipes/ethash/all/test_v1_package/build/e3bd548262aa0e02093d60f955ef6b93194b2514' && cmake -G "Unix Makefiles" -DCMAKE_BUILD_TYPE="Debug" -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-v1/BuildSingleReference/cci-4bd1d1c6/recipes/ethash/all/test_v1_package/build/e3bd548262aa0e02093d60f955ef6b93194b2514/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-v1/BuildSingleReference/cci-4bd1d1c6/recipes/ethash/all/test_v1_package/build/e3bd548262aa0e02093d60f955ef6b93194b2514" -DCMAKE_MODULE_PATH="/home/conan/w/prod-v1/BuildSingleReference/cci-4bd1d1c6/recipes/ethash/all/test_v1_package/build/e3bd548262aa0e02093d60f955ef6b93194b2514" -DCMAKE_EXPORT_NO_PACKAGE_REGISTRY="ON" -DCONAN_EXPORTED="1" -Wno-dev '/home/conan/w/prod-v1/BuildSingleReference/cci-4bd1d1c6/recipes/ethash/all/test_v1_package' ----------------- -- The C compiler identification is GNU 11.1.0 -- The CXX compiler identification is GNU 11.1.0 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /usr/local/bin/cc - 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/local/bin/c++ - skipped -- 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 keccak found /home/conan/w/prod-v1/BuildSingleReference/.conan/data/ethash/1.0.1/_/_/package/9602906d67563279fa4c4d8cbf862eea69fd6f87/lib/libkeccak.so -- 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 keccak found /home/conan/w/prod-v1/BuildSingleReference/.conan/data/ethash/1.0.1/_/_/package/9602906d67563279fa4c4d8cbf862eea69fd6f87/lib/libkeccak.so -- Found: /home/conan/w/prod-v1/BuildSingleReference/.conan/data/ethash/1.0.1/_/_/package/9602906d67563279fa4c4d8cbf862eea69fd6f87/lib/libkeccak.so -- Library keccak found /home/conan/w/prod-v1/BuildSingleReference/.conan/data/ethash/1.0.1/_/_/package/9602906d67563279fa4c4d8cbf862eea69fd6f87/lib/libkeccak.so -- Found: /home/conan/w/prod-v1/BuildSingleReference/.conan/data/ethash/1.0.1/_/_/package/9602906d67563279fa4c4d8cbf862eea69fd6f87/lib/libkeccak.so -- Configuring done (0.5s) -- Generating done (0.0s) -- Build files have been written to: /home/conan/w/prod-v1/BuildSingleReference/cci-4bd1d1c6/recipes/ethash/all/test_v1_package/build/e3bd548262aa0e02093d60f955ef6b93194b2514 ----Running------ > cmake --build '/home/conan/w/prod-v1/BuildSingleReference/cci-4bd1d1c6/recipes/ethash/all/test_v1_package/build/e3bd548262aa0e02093d60f955ef6b93194b2514' '--' '-j3' ----------------- [ 50%] Building CXX object test_package/CMakeFiles/test_package.dir/test_package.cpp.o [100%] Linking CXX executable ../bin/test_package test_package/CMakeFiles/test_package.dir/build.make:97: recipe for target 'bin/test_package' failed CMakeFiles/Makefile2:97: recipe for target 'test_package/CMakeFiles/test_package.dir/all' failed Makefile:90: 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/test_package.dir/test_package.cpp.o:(.rodata+0x40): undefined reference to `ethash_calculate_light_cache_num_items' /opt/conan/binutils/bin/ld: CMakeFiles/test_package.dir/test_package.cpp.o:(.rodata+0x48): undefined reference to `ethash_calculate_full_dataset_num_items' /opt/conan/binutils/bin/ld: CMakeFiles/test_package.dir/test_package.cpp.o:(.rodata+0x50): undefined reference to `ethash_calculate_epoch_seed' collect2: error: ld returned 1 exit status make[2]: *** [bin/test_package] Error 1 make[1]: *** [test_package/CMakeFiles/test_package.dir/all] Error 2 make: *** [all] Error 2 ERROR: ethash/1.0.1 (test package): Error in build() method, line 14 cmake.build() ConanException: Error 2 while executing cmake --build '/home/conan/w/prod-v1/BuildSingleReference/cci-4bd1d1c6/recipes/ethash/all/test_v1_package/build/e3bd548262aa0e02093d60f955ef6b93194b2514' '--' '-j3'