******************************************************************************** conan test cci-240a3368/recipes/libtorch/all/test_package/conanfile.py libtorch/2.4.0@#f680755600363ae5e29186ad5b798792 -pr /home/conan/workspace/prod-v1/bsr/75706/fecac/profile_linux_11_libstdcpp11_gcc_debug_64.libtorch-shared-False.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] libtorch:shared=False [build_requires] [env] [conf] tools.system.package_manager:mode=install tools.system.package_manager:sudo=True Version ranges solved Version range '>=1.2.11 <2' required by 'protobuf/3.21.12' resolved to 'zlib/1.3.1' in local cache libtorch/2.4.0 (test package): Installing package Requirements cpp-httplib/0.16.0 from 'conan-center' - Cache cpuinfo/cci.20231129 from 'conan-center' - Cache eigen/3.4.0 from 'conan-center' - Cache flatbuffers/24.3.25 from 'conan-center' - Cache fmt/10.2.1 from 'conan-center' - Cache foxi/cci.20210217 from 'conan-center' - Cache fp16/cci.20210320 from 'conan-center' - Cache fxdiv/cci.20200417 from 'conan-center' - Cache ittapi/3.24.4 from 'conan-center' - Cache libbacktrace/cci.20210118 from 'conan-center' - Cache libnuma/2.0.16 from 'conan-center' - Cache libtorch/2.4.0 from local cache - Cache onnx/1.16.1 from 'conan-center' - Cache openblas/0.3.27 from 'conan-center' - Cache protobuf/3.21.12 from 'conan-center' - Cache psimd/cci.20200517 from 'conan-center' - Cache pthreadpool/cci.20231129 from 'conan-center' - Cache sleef/3.6 from 'conan-center' - Cache xnnpack/cci.20240229 from 'conan-center' - Cache zlib/1.3.1 from 'conan-center' - Cache Packages cpp-httplib/0.16.0:5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9 - Cache cpuinfo/cci.20231129:64447126da1706abfb7d3bc606cab03110fcf42d - Cache eigen/3.4.0:5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9 - Cache flatbuffers/24.3.25:958c3b440426d3de5c0972e7f507dbde401ac1a5 - Cache fmt/10.2.1:20da98908a15523bbe9f086a5c57a4bde424a9c0 - Cache foxi/cci.20210217:be27726f9885116da1158027505be62e913cd585 - Cache fp16/cci.20210320:5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9 - Cache fxdiv/cci.20200417:5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9 - Cache ittapi/3.24.4:be27726f9885116da1158027505be62e913cd585 - Cache libbacktrace/cci.20210118:be27726f9885116da1158027505be62e913cd585 - Cache libnuma/2.0.16:0508f825aee0fe3099a5dae626a5316104c6db0a - Cache libtorch/2.4.0:938b214a35191166770be9d1eebd7eb60e1975e6 - Cache onnx/1.16.1:002a6fbd9493cf020ae059fa34af1402c83cf0f8 - Cache openblas/0.3.27:5e9bb899b44114854a30f7a43030ac9fc372c444 - Cache protobuf/3.21.12:d0dc15bd1c53d3bfb809f9d49d6162baddf534f4 - Cache psimd/cci.20200517:5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9 - Cache pthreadpool/cci.20231129:28434cb82775a04bff43683eaa4b39326e65a295 - Cache sleef/3.6:be27726f9885116da1158027505be62e913cd585 - Cache xnnpack/cci.20240229:f8d2fa1470e135919b5c422b5ff0d924fc8026ad - Cache zlib/1.3.1:be27726f9885116da1158027505be62e913cd585 - Cache Installing (downloading, building) binaries... cpp-httplib/0.16.0: Already installed! cpuinfo/cci.20231129: Already installed! eigen/3.4.0: Already installed! flatbuffers/24.3.25: Already installed! fmt/10.2.1: Already installed! foxi/cci.20210217: Already installed! fxdiv/cci.20200417: Already installed! ittapi/3.24.4: Already installed! libbacktrace/cci.20210118: Already installed! libnuma/2.0.16: Already installed! openblas/0.3.27: Already installed! psimd/cci.20200517: Already installed! sleef/3.6: Already installed! zlib/1.3.1: Already installed! fp16/cci.20210320: Already installed! protobuf/3.21.12: Already installed! pthreadpool/cci.20231129: Already installed! onnx/1.16.1: Already installed! xnnpack/cci.20240229: Already installed! libtorch/2.4.0: Already installed! libtorch/2.4.0 (test package): Generator txt created conanbuildinfo.txt libtorch/2.4.0 (test package): Generator 'VirtualRunEnv' calling 'generate()' libtorch/2.4.0 (test package): Generator 'CMakeDeps' calling 'generate()' libtorch/2.4.0 (test package): Generator 'CMakeToolchain' calling 'generate()' libtorch/2.4.0 (test package): Preset 'debug' added to CMakePresets.json. Invoke it manually using 'cmake --preset debug' libtorch/2.4.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-240a3368/recipes/libtorch/all/test_package/build/Debug/generators/conan_toolchain.cmake -DCMAKE_POLICY_DEFAULT_CMP0091=NEW -DCMAKE_BUILD_TYPE=Debug' libtorch/2.4.0 (test package): Aggregating env generators libtorch/2.4.0 (test package): Generated conaninfo.txt libtorch/2.4.0 (test package): Generated graphinfo Using lockfile: '/home/conan/workspace/prod-v1/bsr/cci-240a3368/recipes/libtorch/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 libtorch/2.4.0 (test package): Calling build() libtorch/2.4.0 (test package): CMake command: cmake -G "Unix Makefiles" -DCMAKE_TOOLCHAIN_FILE="/home/conan/workspace/prod-v1/bsr/cci-240a3368/recipes/libtorch/all/test_package/build/Debug/generators/conan_toolchain.cmake" -DCMAKE_POLICY_DEFAULT_CMP0091="NEW" -DCMAKE_BUILD_TYPE="Debug" "/home/conan/workspace/prod-v1/bsr/cci-240a3368/recipes/libtorch/all/test_package/." ----Running------ > cmake -G "Unix Makefiles" -DCMAKE_TOOLCHAIN_FILE="/home/conan/workspace/prod-v1/bsr/cci-240a3368/recipes/libtorch/all/test_package/build/Debug/generators/conan_toolchain.cmake" -DCMAKE_POLICY_DEFAULT_CMP0091="NEW" -DCMAKE_BUILD_TYPE="Debug" "/home/conan/workspace/prod-v1/bsr/cci-240a3368/recipes/libtorch/all/test_package/." ----------------- -- Using Conan toolchain: /home/conan/workspace/prod-v1/bsr/cci-240a3368/recipes/libtorch/all/test_package/build/Debug/generators/conan_toolchain.cmake -- The C compiler identification is GNU 11.4.0 -- The CXX compiler identification is GNU 11.4.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: Component target declared 'libtorch::_headers' -- Conan: Component target declared 'c10' -- Conan: Component target declared 'libtorch::caffe2_perfkernels_avx' -- Conan: Component target declared 'libtorch::caffe2_perfkernels_avx2' -- Conan: Component target declared 'libtorch::caffe2_perfkernels_avx512' -- Conan: Component target declared 'libtorch::clog' -- Conan: Component target declared 'libtorch::pytorch_qnnpack' -- Conan: Component target declared 'libtorch::kineto' -- Conan: Component target declared 'libtorch::torch_cpu_link_order_workaround' -- Conan: Component target declared 'torch_cpu' -- Conan: Component target declared 'torch' -- Conan: Target declared 'libtorch::libtorch' -- Conan: Component target declared 'onnx_proto' -- Conan: Component target declared 'onnx' -- Conan: Target declared 'onnx::onnx' -- Conan: Component target declared 'protobuf::libprotobuf' -- Conan: Component target declared 'protobuf::libprotoc' -- Conan: Target declared 'protobuf::protobuf' -- Conan: Target declared 'ZLIB::ZLIB' -- Conan: Including build module from '/home/conan/workspace/prod-v1/bsr/75706/aecfd/.conan/data/protobuf/3.21.12/_/_/package/d0dc15bd1c53d3bfb809f9d49d6162baddf534f4/lib/cmake/protobuf/protobuf-generate.cmake' -- Conan: Including build module from '/home/conan/workspace/prod-v1/bsr/75706/aecfd/.conan/data/protobuf/3.21.12/_/_/package/d0dc15bd1c53d3bfb809f9d49d6162baddf534f4/lib/cmake/protobuf/protobuf-module.cmake' -- Conan: Including build module from '/home/conan/workspace/prod-v1/bsr/75706/aecfd/.conan/data/protobuf/3.21.12/_/_/package/d0dc15bd1c53d3bfb809f9d49d6162baddf534f4/lib/cmake/protobuf/protobuf-options.cmake' -- Conan: Including build module from '/home/conan/workspace/prod-v1/bsr/75706/aecfd/.conan/data/protobuf/3.21.12/_/_/package/d0dc15bd1c53d3bfb809f9d49d6162baddf534f4/lib/cmake/protobuf/protobuf-conan-protoc-target.cmake' -- Conan: Component target declared 'flatbuffers::libflatbuffers' -- Conan: Target declared 'flatbuffers::flatbuffers' -- Conan: Including build module from '/home/conan/workspace/prod-v1/bsr/75706/aecfd/.conan/data/flatbuffers/24.3.25/_/_/package/958c3b440426d3de5c0972e7f507dbde401ac1a5/lib/cmake/FlatcTargets.cmake' -- Conan: Including build module from '/home/conan/workspace/prod-v1/bsr/75706/aecfd/.conan/data/flatbuffers/24.3.25/_/_/package/958c3b440426d3de5c0972e7f507dbde401ac1a5/lib/cmake/BuildFlatBuffers.cmake' -- Conan: Component target declared 'fmt::fmt' -- Conan: Component target declared 'cpuinfo::cpuinfo' -- Conan: Target declared 'libbacktrace::libbacktrace' -- Conan: Target declared 'httplib::httplib' -- Conan: Target declared 'libnuma::libnuma' -- Conan: Component target declared 'Eigen3::Eigen' -- Conan: Target declared 'foxi::foxi' -- Conan: Target declared 'sleef::sleef' -- Conan: Component target declared 'OpenBLAS::pthread' -- Conan: Target declared 'OpenBLAS::OpenBLAS' -- Conan: Target declared 'xnnpack::xnnpack' -- Conan: Target declared 'fp16::fp16' -- Conan: Target declared 'psimd::psimd' -- Conan: Target declared 'pthreadpool::pthreadpool' -- Conan: Target declared 'fxdiv::fxdiv' -- Conan: Target declared 'ittapi::ittapi' -- Conan: Including build module from '/home/conan/workspace/prod-v1/bsr/75706/aecfd/.conan/data/libtorch/2.4.0/_/_/package/938b214a35191166770be9d1eebd7eb60e1975e6/lib/cmake/Torch/conan-official-libtorch-vars.cmake' -- Configuring done -- Generating done -- Build files have been written to: /home/conan/workspace/prod-v1/bsr/cci-240a3368/recipes/libtorch/all/test_package/build/Debug libtorch/2.4.0 (test package): CMake command: cmake --build "/home/conan/workspace/prod-v1/bsr/cci-240a3368/recipes/libtorch/all/test_package/build/Debug" '--' '-j3' ----Running------ > cmake --build "/home/conan/workspace/prod-v1/bsr/cci-240a3368/recipes/libtorch/all/test_package/build/Debug" '--' '-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:103: 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 collect2: fatal error: ld terminated with signal 9 [Killed] compilation terminated. make[2]: *** [test_package] Error 1 make[2]: *** Deleting file 'test_package' make[1]: *** [CMakeFiles/test_package.dir/all] Error 2 make: *** [all] Error 2 WARN: *** Conan 1 is legacy and on a deprecation path *** WARN: *** Please upgrade to Conan 2 *** libtorch/2.4.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 libtorch/2.4.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: libtorch/2.4.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-240a3368/recipes/libtorch/all/test_package/build/Debug" '--' '-j3'