******************************************************************************** conan test conan-center-index/recipes/libmodbus/all/test_package/conanfile.py libmodbus/3.1.6@#96cf05e278b0b3a6cc7b2729e67c172e -pr /home/conan/w/prod/BuildSingleReference/87929/6f317ce2-a8c7-4550-964d-e1a470e65b04/profile_linux_7_libstdcpp11_gcc_debug_64.libmodbus-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=7 os=Linux [options] libmodbus:shared=True [build_requires] [env] [conf] tools.system.package_manager:mode=install tools.system.package_manager:sudo=True libmodbus/3.1.6 (test package): Installing package Requirements libmodbus/3.1.6 from local cache - Cache Packages libmodbus/3.1.6:46863e2dc48a06454dddba7dea457fd3976ba047 - Cache Installing (downloading, building) binaries... libmodbus/3.1.6: Already installed! libmodbus/3.1.6 (test package): Generator 'CMakeDeps' calling 'generate()' libmodbus/3.1.6 (test package): Generator 'VirtualRunEnv' calling 'generate()' libmodbus/3.1.6 (test package): Generator txt created conanbuildinfo.txt libmodbus/3.1.6 (test package): Generator 'CMakeToolchain' calling 'generate()' libmodbus/3.1.6 (test package): Aggregating env generators libmodbus/3.1.6 (test package): Generated conaninfo.txt libmodbus/3.1.6 (test package): Generated graphinfo Using lockfile: '/home/conan/w/prod/BuildSingleReference/conan-center-index/recipes/libmodbus/all/test_package/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 libmodbus/3.1.6 (test package): Calling build() libmodbus/3.1.6 (test package): CMake command: cmake -G "Unix Makefiles" -DCMAKE_TOOLCHAIN_FILE="/home/conan/w/prod/BuildSingleReference/conan-center-index/recipes/libmodbus/all/test_package/build/generators/conan_toolchain.cmake" -DCMAKE_POLICY_DEFAULT_CMP0091="NEW" -DCMAKE_BUILD_TYPE="Debug" "/home/conan/w/prod/BuildSingleReference/conan-center-index/recipes/libmodbus/all/test_package/." ----Running------ > cmake -G "Unix Makefiles" -DCMAKE_TOOLCHAIN_FILE="/home/conan/w/prod/BuildSingleReference/conan-center-index/recipes/libmodbus/all/test_package/build/generators/conan_toolchain.cmake" -DCMAKE_POLICY_DEFAULT_CMP0091="NEW" -DCMAKE_BUILD_TYPE="Debug" "/home/conan/w/prod/BuildSingleReference/conan-center-index/recipes/libmodbus/all/test_package/." ----------------- -- Using Conan toolchain: /home/conan/w/prod/BuildSingleReference/conan-center-index/recipes/libmodbus/all/test_package/build/generators/conan_toolchain.cmake -- The C compiler identification is GNU 7.2.0 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /usr/bin/gcc - skipped -- Detecting C compile features -- Detecting C compile features - done -- Conan: Target declared 'libmodbus::libmodbus' -- Configuring done -- Generating done -- Build files have been written to: /home/conan/w/prod/BuildSingleReference/conan-center-index/recipes/libmodbus/all/test_package/build/Debug libmodbus/3.1.6 (test package): CMake command: cmake --build "/home/conan/w/prod/BuildSingleReference/conan-center-index/recipes/libmodbus/all/test_package/build/Debug" '--' '-j3' ----Running------ > cmake --build "/home/conan/w/prod/BuildSingleReference/conan-center-index/recipes/libmodbus/all/test_package/build/Debug" '--' '-j3' ----------------- Scanning dependencies of target test_package [ 50%] Building C object CMakeFiles/test_package.dir/test_package.c.o [100%] Linking C executable test_package [100%] Built target test_package libmodbus/3.1.6 (test package): Running test() ----Running------ > . "/home/conan/w/prod/BuildSingleReference/conan-center-index/recipes/libmodbus/all/test_package/build/generators/conanrun.sh" && ./test_package ----------------- Capturing current environment in /home/conan/w/prod/BuildSingleReference/conan-center-index/recipes/libmodbus/all/test_package/build/generators/deactivate_conanrunenv-debug-x86_64.sh Configuring environment variables libmodbus/3.1.6 (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 libmodbus/3.1.6 (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 ******************************************************************************** conan test conan-center-index/recipes/libmodbus/all/test_v1_package/conanfile.py libmodbus/3.1.6@#96cf05e278b0b3a6cc7b2729e67c172e -pr /home/conan/w/prod/BuildSingleReference/87929/6f317ce2-a8c7-4550-964d-e1a470e65b04/profile_linux_7_libstdcpp11_gcc_debug_64.libmodbus-shared-True.txt -c tools.system.package_manager:mode=install -c tools.system.package_manager:sudo=True ******************************************************************************** ERROR: Error loading conanfile at '/home/conan/w/prod/BuildSingleReference/conan-center-index/recipes/libmodbus/all/test_v1_package/conanfile.py': Unable to load conanfile in /home/conan/w/prod/BuildSingleReference/conan-center-index/recipes/libmodbus/all/test_v1_package/conanfile.py File "/opt/pyenv/versions/3.7.13/lib/python3.7/imp.py", line 171, in load_source module = _load(spec) File "", line 696, in _load File "", line 677, in _load_unlocked File "", line 728, in exec_module File "", line 219, in _call_with_frames_removed File "/home/conan/w/prod/BuildSingleReference/conan-center-index/recipes/libmodbus/all/test_v1_package/conanfile.py", line 2, in from conans.tools.build import cross_building ModuleNotFoundError: No module named 'conans.tools.build'; 'conans.tools' is not a package