******************************************************************************** conan test cci-4d662cd5/recipes/pciutils/all/test_package/conanfile.py pciutils/3.7.0@#fd2be725f3f9f1f319a3978dfd8a1bd3 -pr /home/conan/w/prod-v1/bsr/43584/fbfcf/profile_linux_10_libstdcpp11_gcc_release_64.pciutils-shared-True.txt -c tools.system.package_manager:mode=install -c tools.system.package_manager:sudo=True ******************************************************************************** Auto detecting your dev setup to initialize the default profile (/home/conan/w/prod-v1/bsr/43584/eebfe/.conan/profiles/default) CC and CXX: /usr/bin/gcc, /usr/bin/g++ Found gcc 10 gcc>=5, using the major as version ************************* WARNING: GCC OLD ABI COMPATIBILITY *********************** Conan detected a GCC version > 5 but has adjusted the 'compiler.libcxx' setting to 'libstdc++' for backwards compatibility. Your compiler is likely using the new CXX11 ABI by default (libstdc++11). If you want Conan to use the new ABI for the default profile, run: $ conan profile update settings.compiler.libcxx=libstdc++11 default Or edit '/home/conan/w/prod-v1/bsr/43584/eebfe/.conan/profiles/default' and set compiler.libcxx=libstdc++11 ************************************************************************************ Default settings os=Linux os_build=Linux arch=x86_64 arch_build=x86_64 compiler=gcc compiler.version=10 compiler.libcxx=libstdc++ build_type=Release *** You can change them in /home/conan/w/prod-v1/bsr/43584/eebfe/.conan/profiles/default *** *** Or override with -s compiler='other' -s ...s*** Configuration: [settings] arch=x86_64 build_type=Release compiler=gcc compiler.libcxx=libstdc++11 compiler.version=10 os=Linux [options] pciutils:shared=True [build_requires] [env] [conf] tools.system.package_manager:mode=install tools.system.package_manager:sudo=True zlib/1.3: Not found in local cache, looking in remotes... zlib/1.3: Trying with 'conan-center'... Downloading conanmanifest.txt Downloading conanfile.py Downloading conan_export.tgz zlib/1.3: Downloaded recipe revision 06023034579559bb64357db3a53f88a4 libudev/system: Not found in local cache, looking in remotes... libudev/system: Trying with 'conan-center'... Downloading conanmanifest.txt Downloading conanfile.py libudev/system: Downloaded recipe revision 86e335f85cbb299d6c9fc6260b3f1b0b Version ranges solved zlib/* versions found in 'conan-center' remote Version range '>=1.2.11 <2' required by 'pciutils/3.7.0' resolved to 'zlib/1.3' in remote 'conan-center' pciutils/3.7.0 (test package): Installing package Requirements libudev/system from 'conan-center' - Downloaded pciutils/3.7.0 from local cache - Cache zlib/1.3 from 'conan-center' - Downloaded Packages libudev/system:5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9 - Download pciutils/3.7.0:28cd08e09bef752594f28342d2a4f1ec329376a1 - Download zlib/1.3:19729b9559f3ae196cad45cb2b97468ccb75dcd1 - Download Installing (downloading, building) binaries... libudev/system: Retrieving package 5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9 from remote 'conan-center' Downloading conanmanifest.txt Downloading conaninfo.txt Downloading conan_package.tgz libudev/system: Package installed 5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9 libudev/system: Downloaded package revision 1964737ee85f90af769a81f68697da1d zlib/1.3: Retrieving package 19729b9559f3ae196cad45cb2b97468ccb75dcd1 from remote 'conan-center' Downloading conanmanifest.txt Downloading conaninfo.txt Downloading conan_package.tgz zlib/1.3: Package installed 19729b9559f3ae196cad45cb2b97468ccb75dcd1 zlib/1.3: Downloaded package revision a40386ce6229fd31810bf8c5050b3a7c pciutils/3.7.0: Retrieving package 28cd08e09bef752594f28342d2a4f1ec329376a1 from remote 'c3i_PR-18959' Downloading conanmanifest.txt Downloading conaninfo.txt Downloading conan_package.tgz pciutils/3.7.0: Package installed 28cd08e09bef752594f28342d2a4f1ec329376a1 pciutils/3.7.0: Downloaded package revision b528b1ef9a00c69f976a740293414753 ----Running------ > dpkg-query -W -f='${Status}' libudev-dev | grep -q "ok installed" ----------------- ----Running------ > sudo apt-get update ----------------- Get:1 http://security.ubuntu.com/ubuntu focal-security InRelease [114 kB] Get:2 http://archive.ubuntu.com/ubuntu focal InRelease [265 kB] Get:3 http://ppa.launchpad.net/git-core/ppa/ubuntu focal InRelease [23.8 kB] Get:4 http://ppa.launchpad.net/git-core/ppa/ubuntu focal/main amd64 Packages [3165 B] Get:5 http://archive.ubuntu.com/ubuntu focal-updates InRelease [114 kB] Get:6 http://security.ubuntu.com/ubuntu focal-security/multiverse amd64 Packages [29.3 kB] Get:7 http://security.ubuntu.com/ubuntu focal-security/restricted amd64 Packages [3017 kB] Get:8 http://archive.ubuntu.com/ubuntu focal-backports InRelease [108 kB] Get:9 http://archive.ubuntu.com/ubuntu focal/restricted amd64 Packages [33.4 kB] Get:10 http://archive.ubuntu.com/ubuntu focal/multiverse amd64 Packages [177 kB] Get:11 http://archive.ubuntu.com/ubuntu focal/main amd64 Packages [1275 kB] Get:12 http://archive.ubuntu.com/ubuntu focal/universe amd64 Packages [11.3 MB] Get:13 http://security.ubuntu.com/ubuntu focal-security/main amd64 Packages [3189 kB] Get:14 http://security.ubuntu.com/ubuntu focal-security/universe amd64 Packages [1127 kB] Get:15 http://archive.ubuntu.com/ubuntu focal-updates/restricted amd64 Packages [3167 kB] Get:16 http://archive.ubuntu.com/ubuntu focal-updates/multiverse amd64 Packages [32.1 kB] Get:17 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 Packages [3677 kB] Get:18 http://archive.ubuntu.com/ubuntu focal-updates/universe amd64 Packages [1431 kB] Get:19 http://archive.ubuntu.com/ubuntu focal-backports/universe amd64 Packages [28.6 kB] Get:20 http://archive.ubuntu.com/ubuntu focal-backports/main amd64 Packages [55.2 kB] Fetched 29.2 MB in 3s (9424 kB/s) Reading package lists... ----Running------ > sudo apt-get install -y --no-install-recommends libudev-dev ----------------- Reading package lists... Building dependency tree... Reading state information... The following NEW packages will be installed: libudev-dev 0 upgraded, 1 newly installed, 0 to remove and 11 not upgraded. Need to get 19.7 kB of archives. After this operation, 252 kB of additional disk space will be used. Get:1 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 libudev-dev amd64 245.4-4ubuntu3.22 [19.7 kB] Fetched 19.7 kB in 0s (138 kB/s) Selecting previously unselected package libudev-dev:amd64. (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 21100 files and directories currently installed.) Preparing to unpack .../libudev-dev_245.4-4ubuntu3.22_amd64.deb ... Unpacking libudev-dev:amd64 (245.4-4ubuntu3.22) ... Setting up libudev-dev:amd64 (245.4-4ubuntu3.22) ... Processing triggers for man-db (2.9.1-1) ... pciutils/3.7.0 (test package): Generator 'CMakeToolchain' calling 'generate()' pciutils/3.7.0 (test package): Preset 'release' added to CMakePresets.json. Invoke it manually using 'cmake --preset release' pciutils/3.7.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/w/prod-v1/bsr/cci-4d662cd5/recipes/pciutils/all/test_package/build/Release/generators/conan_toolchain.cmake -DCMAKE_POLICY_DEFAULT_CMP0091=NEW -DCMAKE_BUILD_TYPE=Release' pciutils/3.7.0 (test package): Generator 'CMakeDeps' calling 'generate()' pciutils/3.7.0 (test package): Generator txt created conanbuildinfo.txt pciutils/3.7.0 (test package): Generator 'VirtualRunEnv' calling 'generate()' pciutils/3.7.0 (test package): Aggregating env generators pciutils/3.7.0 (test package): Generated conaninfo.txt pciutils/3.7.0 (test package): Generated graphinfo Using lockfile: '/home/conan/w/prod-v1/bsr/cci-4d662cd5/recipes/pciutils/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 pciutils/3.7.0 (test package): Calling build() pciutils/3.7.0 (test package): CMake command: cmake -G "Unix Makefiles" -DCMAKE_TOOLCHAIN_FILE="/home/conan/w/prod-v1/bsr/cci-4d662cd5/recipes/pciutils/all/test_package/build/Release/generators/conan_toolchain.cmake" -DCMAKE_POLICY_DEFAULT_CMP0091="NEW" -DCMAKE_BUILD_TYPE="Release" "/home/conan/w/prod-v1/bsr/cci-4d662cd5/recipes/pciutils/all/test_package/." ----Running------ > cmake -G "Unix Makefiles" -DCMAKE_TOOLCHAIN_FILE="/home/conan/w/prod-v1/bsr/cci-4d662cd5/recipes/pciutils/all/test_package/build/Release/generators/conan_toolchain.cmake" -DCMAKE_POLICY_DEFAULT_CMP0091="NEW" -DCMAKE_BUILD_TYPE="Release" "/home/conan/w/prod-v1/bsr/cci-4d662cd5/recipes/pciutils/all/test_package/." ----------------- -- Using Conan toolchain: /home/conan/w/prod-v1/bsr/cci-4d662cd5/recipes/pciutils/all/test_package/build/Release/generators/conan_toolchain.cmake -- The C compiler identification is GNU 10.5.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 'pciutils::pciutils' -- Configuring incomplete, errors occurred! See also "/home/conan/w/prod-v1/bsr/cci-4d662cd5/recipes/pciutils/all/test_package/build/Release/CMakeFiles/CMakeOutput.log". dpkg-query: no packages found matching libudev-dev debconf: delaying package configuration, since apt-utils is not installed CMake Error at build/Release/generators/cmakedeps_macros.cmake:39 (message): Library 'pci' not found in package. If 'pci' is a system library, declare it with 'cpp_info.system_libs' property Call Stack (most recent call first): build/Release/generators/pciutils-Target-release.cmake:24 (conan_package_library_targets) build/Release/generators/pciutilsTargets.cmake:26 (include) build/Release/generators/pciutils-config.cmake:16 (include) CMakeLists.txt:4 (find_package) pciutils/3.7.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 pciutils/3.7.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: pciutils/3.7.0 (test package): Error in build() method, line 20 cmake.configure() ConanException: Error 1 while executing cmake -G "Unix Makefiles" -DCMAKE_TOOLCHAIN_FILE="/home/conan/w/prod-v1/bsr/cci-4d662cd5/recipes/pciutils/all/test_package/build/Release/generators/conan_toolchain.cmake" -DCMAKE_POLICY_DEFAULT_CMP0091="NEW" -DCMAKE_BUILD_TYPE="Release" "/home/conan/w/prod-v1/bsr/cci-4d662cd5/recipes/pciutils/all/test_package/." ******************************************************************************** conan test cci-4d662cd5/recipes/pciutils/all/test_v1_package/conanfile.py pciutils/3.7.0@#fd2be725f3f9f1f319a3978dfd8a1bd3 -pr /home/conan/w/prod-v1/bsr/43584/fbfcf/profile_linux_10_libstdcpp11_gcc_release_64.pciutils-shared-True.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=10 os=Linux [options] pciutils:shared=True [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 'pciutils/3.7.0' resolved to 'zlib/1.3' in local cache pciutils/3.7.0 (test package): Installing package Requirements libudev/system from 'conan-center' - Cache pciutils/3.7.0 from local cache - Cache zlib/1.3 from 'conan-center' - Cache Packages libudev/system:5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9 - Cache pciutils/3.7.0:28cd08e09bef752594f28342d2a4f1ec329376a1 - Cache zlib/1.3:19729b9559f3ae196cad45cb2b97468ccb75dcd1 - Cache Installing (downloading, building) binaries... libudev/system: Already installed! zlib/1.3: Already installed! pciutils/3.7.0: Already installed! pciutils/3.7.0 (test package): Generator txt created conanbuildinfo.txt pciutils/3.7.0 (test package): Generator cmake_find_package_multi created pciutils-config-version.cmake pciutils/3.7.0 (test package): Generator cmake_find_package_multi created pciutils-config.cmake pciutils/3.7.0 (test package): Generator cmake_find_package_multi created pciutilsTargets.cmake pciutils/3.7.0 (test package): Generator cmake_find_package_multi created pciutilsTarget-release.cmake pciutils/3.7.0 (test package): Generator cmake_find_package_multi created ZLIBConfigVersion.cmake pciutils/3.7.0 (test package): Generator cmake_find_package_multi created ZLIBConfig.cmake pciutils/3.7.0 (test package): Generator cmake_find_package_multi created ZLIBTargets.cmake pciutils/3.7.0 (test package): Generator cmake_find_package_multi created ZLIBTarget-release.cmake pciutils/3.7.0 (test package): Generator cmake_find_package_multi created libudev-config-version.cmake pciutils/3.7.0 (test package): Generator cmake_find_package_multi created libudev-config.cmake pciutils/3.7.0 (test package): Generator cmake_find_package_multi created libudevTargets.cmake pciutils/3.7.0 (test package): Generator cmake_find_package_multi created libudevTarget-release.cmake pciutils/3.7.0 (test package): Generator cmake created conanbuildinfo.cmake pciutils/3.7.0 (test package): Aggregating env generators pciutils/3.7.0 (test package): Generated conaninfo.txt pciutils/3.7.0 (test package): Generated graphinfo Using lockfile: '/home/conan/w/prod-v1/bsr/cci-4d662cd5/recipes/pciutils/all/test_v1_package/build/28f48689f7dceb554ff49800a5f06047835d5d42/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 pciutils/3.7.0 (test package): Calling build() ----Running------ > cd '/home/conan/w/prod-v1/bsr/cci-4d662cd5/recipes/pciutils/all/test_v1_package/build/28f48689f7dceb554ff49800a5f06047835d5d42' && cmake -G "Unix Makefiles" -DCMAKE_BUILD_TYPE="Release" -DCONAN_IN_LOCAL_CACHE="OFF" -DCONAN_COMPILER="gcc" -DCONAN_COMPILER_VERSION="10" -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/bsr/cci-4d662cd5/recipes/pciutils/all/test_v1_package/build/28f48689f7dceb554ff49800a5f06047835d5d42/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/bsr/cci-4d662cd5/recipes/pciutils/all/test_v1_package/build/28f48689f7dceb554ff49800a5f06047835d5d42" -DCMAKE_MODULE_PATH="/home/conan/w/prod-v1/bsr/cci-4d662cd5/recipes/pciutils/all/test_v1_package/build/28f48689f7dceb554ff49800a5f06047835d5d42" -DCMAKE_EXPORT_NO_PACKAGE_REGISTRY="ON" -DCONAN_EXPORTED="1" -Wno-dev '/home/conan/w/prod-v1/bsr/cci-4d662cd5/recipes/pciutils/all/test_v1_package' ----------------- -- The C compiler identification is GNU 10.5.0 -- The CXX compiler identification is GNU 10.5.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 -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Check for working CXX compiler: /usr/bin/g++ - 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 pci not found in package, might be system one -- Library z found /home/conan/w/prod-v1/bsr/43584/eebfe/.conan/data/zlib/1.3/_/_/package/19729b9559f3ae196cad45cb2b97468ccb75dcd1/lib/libz.a -- Conan: Adjusting default RPATHs Conan policies -- Conan: Adjusting language standard -- Conan: Compiler GCC>=5, checking major version 10 -- Conan: Checking correct version: 10 -- Conan: C++ stdlib: libstdc++11 -- Library pci not found in package, might be system one -- Library z found /home/conan/w/prod-v1/bsr/43584/eebfe/.conan/data/zlib/1.3/_/_/package/19729b9559f3ae196cad45cb2b97468ccb75dcd1/lib/libz.a -- Found: /home/conan/w/prod-v1/bsr/43584/eebfe/.conan/data/zlib/1.3/_/_/package/19729b9559f3ae196cad45cb2b97468ccb75dcd1/lib/libz.a -- Configuring done -- Generating done -- Build files have been written to: /home/conan/w/prod-v1/bsr/cci-4d662cd5/recipes/pciutils/all/test_v1_package/build/28f48689f7dceb554ff49800a5f06047835d5d42 ----Running------ > cmake --build '/home/conan/w/prod-v1/bsr/cci-4d662cd5/recipes/pciutils/all/test_v1_package/build/28f48689f7dceb554ff49800a5f06047835d5d42' '--' '-j3' ----------------- Scanning dependencies of target example [ 50%] Building C object test_package/CMakeFiles/example.dir/example.c.o [100%] Linking C executable ../bin/example 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 /usr/bin/ld: cannot find -lpci collect2: error: ld returned 1 exit status make[2]: *** [test_package/CMakeFiles/example.dir/build.make:104: bin/example] Error 1 make[1]: *** [CMakeFiles/Makefile2:113: test_package/CMakeFiles/example.dir/all] Error 2 make: *** [Makefile:103: all] Error 2 pciutils/3.7.0 (test package): WARN: ************************************************ The 'cmake_find_package_multi' generator is deprecated. Please update your code and remove it. ************************************************* pciutils/3.7.0 (test package): WARN: ************************************************ The 'cmake' generator is deprecated. Please update your code and remove it. ************************************************* pciutils/3.7.0 (test package): WARN: **** The 'from conans import CMake' helper is deprecated. Please update your code and remove it. **** ERROR: pciutils/3.7.0 (test package): Error in build() method, line 11 cmake.build() ConanException: Error 2 while executing cmake --build '/home/conan/w/prod-v1/bsr/cci-4d662cd5/recipes/pciutils/all/test_v1_package/build/28f48689f7dceb554ff49800a5f06047835d5d42' '--' '-j3'