******************************************************************************** conan test conan-center-index/recipes/libsystemd/all/test_package/conanfile.py libsystemd/251.4@#8a74cc98abf9a48173b4f32885e266b1 -pr /home/conan/w/prod/BuildSingleReference/76793/a34e1a70-b93c-4706-8d05-379b54e924d5/profile_linux_11_libstdcpp11_gcc_release_64.libsystemd-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] libsystemd:shared=False [build_requires] [env] [conf] tools.system.package_manager:mode=install tools.system.package_manager:sudo=True libsystemd/251.4 (test package): Installing package Requirements bzip2/1.0.8 from 'conan-center' - Cache libcap/2.62 from 'conan-center' - Cache libmount/2.36.2 from 'conan-center' - Cache libselinux/3.3 from 'conan-center' - Cache libsystemd/251.4 from local cache - Cache lz4/1.9.3 from 'conan-center' - Cache pcre2/10.40 from 'conan-center' - Cache xz_utils/5.2.5 from 'conan-center' - Cache zlib/1.2.12 from 'conan-center' - Cache zstd/1.5.2 from 'conan-center' - Cache Packages bzip2/1.0.8:c32092bf4d4bb47cf962af898e02823f499b017e - Cache libcap/2.62:dfbe50feef7f3c6223a476cd5aeadb687084a646 - Cache libmount/2.36.2:dfbe50feef7f3c6223a476cd5aeadb687084a646 - Cache libselinux/3.3:5c42e2b98e6985c83b03db665f0c318cb6134b4e - Cache libsystemd/251.4:3369133fe40756640992e43de55e178f5ecf89a6 - Cache lz4/1.9.3:dfbe50feef7f3c6223a476cd5aeadb687084a646 - Cache pcre2/10.40:e3d86cfefb495819fc94661cefee1b4df40cbf03 - Cache xz_utils/5.2.5:dfbe50feef7f3c6223a476cd5aeadb687084a646 - Cache zlib/1.2.12:dfbe50feef7f3c6223a476cd5aeadb687084a646 - Cache zstd/1.5.2:1e8f95ed1a9a9ef594f731500716088f6eb8bee6 - Cache Build requirements pkgconf/1.7.4 from 'conan-center' - Cache Build requirements packages pkgconf/1.7.4:24647d9fe8ec489125dfbae4b3ebefaf7581674c - Cache Installing (downloading, building) binaries... bzip2/1.0.8: Already installed! bzip2/1.0.8: Appending PATH environment variable: /home/conan/w/prod/BuildSingleReference/.conan/data/bzip2/1.0.8/_/_/package/c32092bf4d4bb47cf962af898e02823f499b017e/bin libcap/2.62: Already installed! libmount/2.36.2: Already installed! lz4/1.9.3: Already installed! pkgconf/1.7.4: Already installed! pkgconf/1.7.4: Appending PATH env var: /home/conan/w/prod/BuildSingleReference/.conan/data/pkgconf/1.7.4/_/_/package/24647d9fe8ec489125dfbae4b3ebefaf7581674c/bin pkgconf/1.7.4: Setting PKG_CONFIG env var: /home/conan/w/prod/BuildSingleReference/.conan/data/pkgconf/1.7.4/_/_/package/24647d9fe8ec489125dfbae4b3ebefaf7581674c/bin/pkgconf pkgconf/1.7.4: Appending AUTOMAKE_CONAN_INCLUDES env var: /home/conan/w/prod/BuildSingleReference/.conan/data/pkgconf/1.7.4/_/_/package/24647d9fe8ec489125dfbae4b3ebefaf7581674c/bin/aclocal xz_utils/5.2.5: Already installed! zlib/1.2.12: Already installed! zstd/1.5.2: Already installed! pcre2/10.40: Already installed! pcre2/10.40: Appending PATH environment variable: /home/conan/w/prod/BuildSingleReference/.conan/data/pcre2/10.40/_/_/package/e3d86cfefb495819fc94661cefee1b4df40cbf03/bin libselinux/3.3: Already installed! libsystemd/251.4: Already installed! libsystemd/251.4 (test package): Applying build-requirement: pkgconf/1.7.4 libsystemd/251.4 (test package): Generator 'PkgConfigDeps' calling 'generate()' libsystemd/251.4 (test package): Generator 'VirtualBuildEnv' calling 'generate()' libsystemd/251.4 (test package): Generator 'CMakeToolchain' calling 'generate()' libsystemd/251.4 (test package): Generator txt created conanbuildinfo.txt libsystemd/251.4 (test package): Calling generate() libsystemd/251.4 (test package): Aggregating env generators libsystemd/251.4 (test package): Generated conaninfo.txt libsystemd/251.4 (test package): Generated graphinfo Using lockfile: '/home/conan/w/prod/BuildSingleReference/conan-center-index/recipes/libsystemd/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 libsystemd/251.4 (test package): Calling build() libsystemd/251.4 (test package): CMake command: cmake -G "Unix Makefiles" -DCMAKE_TOOLCHAIN_FILE="/home/conan/w/prod/BuildSingleReference/conan-center-index/recipes/libsystemd/all/test_package/build/generators/conan_toolchain.cmake" -DCMAKE_POLICY_DEFAULT_CMP0091="NEW" -DCMAKE_BUILD_TYPE="Release" "/home/conan/w/prod/BuildSingleReference/conan-center-index/recipes/libsystemd/all/test_package/." ----Running------ > . "/home/conan/w/prod/BuildSingleReference/conan-center-index/recipes/libsystemd/all/test_package/build/generators/conanbuild.sh" && cmake -G "Unix Makefiles" -DCMAKE_TOOLCHAIN_FILE="/home/conan/w/prod/BuildSingleReference/conan-center-index/recipes/libsystemd/all/test_package/build/generators/conan_toolchain.cmake" -DCMAKE_POLICY_DEFAULT_CMP0091="NEW" -DCMAKE_BUILD_TYPE="Release" "/home/conan/w/prod/BuildSingleReference/conan-center-index/recipes/libsystemd/all/test_package/." ----------------- Capturing current environment in /home/conan/w/prod/BuildSingleReference/conan-center-index/recipes/libsystemd/all/test_package/build/generators/deactivate_conanbuildenv-release-x86_64.sh Configuring environment variables Capturing current environment in /home/conan/w/prod/BuildSingleReference/conan-center-index/recipes/libsystemd/all/test_package/build/generators/deactivate_pkg_config.sh Configuring environment variables -- Using Conan toolchain: /home/conan/w/prod/BuildSingleReference/conan-center-index/recipes/libsystemd/all/test_package/build/generators/conan_toolchain.cmake -- The C compiler identification is GNU 11.1.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 -- Found PkgConfig: /home/conan/w/prod/BuildSingleReference/.conan/data/pkgconf/1.7.4/_/_/package/24647d9fe8ec489125dfbae4b3ebefaf7581674c/bin/pkgconf (found version "1.7.4") -- Checking for module 'libsystemd' -- Found libsystemd, version 251.4 -- Configuring done -- Generating done -- Build files have been written to: /home/conan/w/prod/BuildSingleReference/conan-center-index/recipes/libsystemd/all/test_package/build/Release libsystemd/251.4 (test package): CMake command: cmake --build "/home/conan/w/prod/BuildSingleReference/conan-center-index/recipes/libsystemd/all/test_package/build/Release" '--' '-j3' ----Running------ > . "/home/conan/w/prod/BuildSingleReference/conan-center-index/recipes/libsystemd/all/test_package/build/generators/conanbuild.sh" && cmake --build "/home/conan/w/prod/BuildSingleReference/conan-center-index/recipes/libsystemd/all/test_package/build/Release" '--' '-j3' ----------------- Capturing current environment in /home/conan/w/prod/BuildSingleReference/conan-center-index/recipes/libsystemd/all/test_package/build/generators/deactivate_conanbuildenv-release-x86_64.sh Configuring environment variables Capturing current environment in /home/conan/w/prod/BuildSingleReference/conan-center-index/recipes/libsystemd/all/test_package/build/generators/deactivate_pkg_config.sh Configuring environment variables Scanning dependencies of target example [ 50%] Building C object CMakeFiles/example.dir/example.c.o [100%] Linking C executable example [100%] Built target example libsystemd/251.4 (test package): Running test() ----Running------ > ./example ----------------- check object path ok CMake Warning: Manually-specified variables were not used by the project: CMAKE_POLICY_DEFAULT_CMP0091 libsystemd/251.4 (test package): WARN: [zstd/1.5.2] The PC package name libzstd.pc already exists and it matches with another component one. Please, review all the component's pkg_config_name defined. Skipping it! libsystemd/251.4 (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/libsystemd/all/test_v1_package/conanfile.py libsystemd/251.4@#8a74cc98abf9a48173b4f32885e266b1 -pr /home/conan/w/prod/BuildSingleReference/76793/a34e1a70-b93c-4706-8d05-379b54e924d5/profile_linux_11_libstdcpp11_gcc_release_64.libsystemd-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] libsystemd:shared=False [build_requires] [env] [conf] tools.system.package_manager:mode=install tools.system.package_manager:sudo=True libsystemd/251.4 (test package): Installing package Requirements bzip2/1.0.8 from 'conan-center' - Cache libcap/2.62 from 'conan-center' - Cache libmount/2.36.2 from 'conan-center' - Cache libselinux/3.3 from 'conan-center' - Cache libsystemd/251.4 from local cache - Cache lz4/1.9.3 from 'conan-center' - Cache pcre2/10.40 from 'conan-center' - Cache xz_utils/5.2.5 from 'conan-center' - Cache zlib/1.2.12 from 'conan-center' - Cache zstd/1.5.2 from 'conan-center' - Cache Packages bzip2/1.0.8:c32092bf4d4bb47cf962af898e02823f499b017e - Cache libcap/2.62:dfbe50feef7f3c6223a476cd5aeadb687084a646 - Cache libmount/2.36.2:dfbe50feef7f3c6223a476cd5aeadb687084a646 - Cache libselinux/3.3:5c42e2b98e6985c83b03db665f0c318cb6134b4e - Cache libsystemd/251.4:3369133fe40756640992e43de55e178f5ecf89a6 - Cache lz4/1.9.3:dfbe50feef7f3c6223a476cd5aeadb687084a646 - Cache pcre2/10.40:e3d86cfefb495819fc94661cefee1b4df40cbf03 - Cache xz_utils/5.2.5:dfbe50feef7f3c6223a476cd5aeadb687084a646 - Cache zlib/1.2.12:dfbe50feef7f3c6223a476cd5aeadb687084a646 - Cache zstd/1.5.2:1e8f95ed1a9a9ef594f731500716088f6eb8bee6 - Cache Build requirements pkgconf/1.7.4 from 'conan-center' - Cache Build requirements packages pkgconf/1.7.4:24647d9fe8ec489125dfbae4b3ebefaf7581674c - Cache Installing (downloading, building) binaries... bzip2/1.0.8: Already installed! bzip2/1.0.8: Appending PATH environment variable: /home/conan/w/prod/BuildSingleReference/.conan/data/bzip2/1.0.8/_/_/package/c32092bf4d4bb47cf962af898e02823f499b017e/bin libcap/2.62: Already installed! libmount/2.36.2: Already installed! lz4/1.9.3: Already installed! pkgconf/1.7.4: Already installed! pkgconf/1.7.4: Appending PATH env var: /home/conan/w/prod/BuildSingleReference/.conan/data/pkgconf/1.7.4/_/_/package/24647d9fe8ec489125dfbae4b3ebefaf7581674c/bin pkgconf/1.7.4: Setting PKG_CONFIG env var: /home/conan/w/prod/BuildSingleReference/.conan/data/pkgconf/1.7.4/_/_/package/24647d9fe8ec489125dfbae4b3ebefaf7581674c/bin/pkgconf pkgconf/1.7.4: Appending AUTOMAKE_CONAN_INCLUDES env var: /home/conan/w/prod/BuildSingleReference/.conan/data/pkgconf/1.7.4/_/_/package/24647d9fe8ec489125dfbae4b3ebefaf7581674c/bin/aclocal xz_utils/5.2.5: Already installed! zlib/1.2.12: Already installed! zstd/1.5.2: Already installed! pcre2/10.40: Already installed! pcre2/10.40: Appending PATH environment variable: /home/conan/w/prod/BuildSingleReference/.conan/data/pcre2/10.40/_/_/package/e3d86cfefb495819fc94661cefee1b4df40cbf03/bin libselinux/3.3: Already installed! libsystemd/251.4: Already installed! libsystemd/251.4 (test package): Applying build-requirement: pkgconf/1.7.4 libsystemd/251.4 (test package): Generator cmake created conanbuildinfo.cmake libsystemd/251.4 (test package): Generator pkg_config created pkgconf.pc libsystemd/251.4 (test package): Generator pkg_config created libsystemd.pc libsystemd/251.4 (test package): Generator pkg_config created libcap.pc libsystemd/251.4 (test package): Generator pkg_config created mount.pc libsystemd/251.4 (test package): Generator pkg_config created libsepol.pc libsystemd/251.4 (test package): Generator pkg_config created libselinux.pc libsystemd/251.4 (test package): Generator pkg_config created liblz4.pc libsystemd/251.4 (test package): Generator pkg_config created liblzma.pc libsystemd/251.4 (test package): Generator pkg_config created libzstd.pc libsystemd/251.4 (test package): Generator pkg_config created libpcre2-32.pc libsystemd/251.4 (test package): Generator pkg_config created libpcre2-16.pc libsystemd/251.4 (test package): Generator pkg_config created libpcre2-8.pc libsystemd/251.4 (test package): Generator pkg_config created libpcre2-posix.pc libsystemd/251.4 (test package): Generator pkg_config created libpcre2.pc libsystemd/251.4 (test package): Generator pkg_config created zlib.pc libsystemd/251.4 (test package): Generator pkg_config created bzip2.pc libsystemd/251.4 (test package): Generator txt created conanbuildinfo.txt libsystemd/251.4 (test package): Aggregating env generators libsystemd/251.4 (test package): Generated conaninfo.txt libsystemd/251.4 (test package): Generated graphinfo Using lockfile: '/home/conan/w/prod/BuildSingleReference/conan-center-index/recipes/libsystemd/all/test_v1_package/build/c1bf18cfecbbb4d070bd60d396c2dcac8d2f09e3/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 libsystemd/251.4 (test package): Calling build() ----Running------ > cd '/home/conan/w/prod/BuildSingleReference/conan-center-index/recipes/libsystemd/all/test_v1_package/build/c1bf18cfecbbb4d070bd60d396c2dcac8d2f09e3' && cmake -G "Unix Makefiles" -DCMAKE_BUILD_TYPE="Release" -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/BuildSingleReference/conan-center-index/recipes/libsystemd/all/test_v1_package/build/c1bf18cfecbbb4d070bd60d396c2dcac8d2f09e3/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_EXPORT_NO_PACKAGE_REGISTRY="ON" -DCONAN_EXPORTED="1" -Wno-dev '/home/conan/w/prod/BuildSingleReference/conan-center-index/recipes/libsystemd/all/test_v1_package' ----------------- -- The C compiler identification is GNU 11.1.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 -- Conan: called by CMake conan helper -- Conan: Adjusting output directories -- Conan: Using cmake global configuration -- Conan: Adjusting default RPATHs Conan policies -- Conan: Adjusting language standard -- This project seems to be plain C, using 'GNU' compiler -- Conan: Compiler GCC>=5, checking major version 11 -- Conan: Checking correct version: 11 -- Conan: C++ stdlib: libstdc++11 -- Found PkgConfig: /home/conan/w/prod/BuildSingleReference/.conan/data/pkgconf/1.7.4/_/_/package/24647d9fe8ec489125dfbae4b3ebefaf7581674c/bin/pkgconf (found version "1.7.4") -- Checking for module 'libsystemd' -- Found libsystemd, version 251 -- Configuring done -- Generating done -- Build files have been written to: /home/conan/w/prod/BuildSingleReference/conan-center-index/recipes/libsystemd/all/test_v1_package/build/c1bf18cfecbbb4d070bd60d396c2dcac8d2f09e3 ----Running------ > cmake --build '/home/conan/w/prod/BuildSingleReference/conan-center-index/recipes/libsystemd/all/test_v1_package/build/c1bf18cfecbbb4d070bd60d396c2dcac8d2f09e3' '--' '-j3' ----------------- Scanning dependencies of target example [ 50%] Building C object CMakeFiles/example.dir/home/conan/w/prod/BuildSingleReference/conan-center-index/recipes/libsystemd/all/test_package/example.c.o [100%] Linking C executable bin/example CMakeFiles/example.dir/build.make:87: recipe for target 'bin/example' failed CMakeFiles/Makefile2:75: recipe for target 'CMakeFiles/example.dir/all' failed Makefile:83: 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: /home/conan/w/prod/BuildSingleReference/.conan/data/libsystemd/251.4/_/_/package/3369133fe40756640992e43de55e178f5ecf89a6/lib/libsystemd.a(src_basic_capability-util.c.o): in function `have_effective_cap': capability-util.c:(.text.have_effective_cap+0x1b): undefined reference to `cap_get_proc' /opt/conan/binutils/bin/ld: capability-util.c:(.text.have_effective_cap+0x35): undefined reference to `cap_get_flag' /opt/conan/binutils/bin/ld: capability-util.c:(.text.have_effective_cap+0x4d): undefined reference to `cap_free' /opt/conan/binutils/bin/ld: /home/conan/w/prod/BuildSingleReference/.conan/data/libsystemd/251.4/_/_/package/3369133fe40756640992e43de55e178f5ecf89a6/lib/libsystemd.a(src_basic_capability-util.c.o): in function `capability_update_inherited_set': capability-util.c:(.text.capability_update_inherited_set+0x51): undefined reference to `cap_set_flag' /opt/conan/binutils/bin/ld: /home/conan/w/prod/BuildSingleReference/.conan/data/libsystemd/251.4/_/_/package/3369133fe40756640992e43de55e178f5ecf89a6/lib/libsystemd.a(src_basic_capability-util.c.o): in function `capability_gain_cap_setpcap': capability-util.c:(.text.capability_gain_cap_setpcap+0x1d): undefined reference to `cap_get_proc' /opt/conan/binutils/bin/ld: capability-util.c:(.text.capability_gain_cap_setpcap+0x3d): undefined reference to `cap_get_flag' /opt/conan/binutils/bin/ld: capability-util.c:(.text.capability_gain_cap_setpcap+0x8c): undefined reference to `cap_dup' /opt/conan/binutils/bin/ld: capability-util.c:(.text.capability_gain_cap_setpcap+0xb0): undefined reference to `cap_set_flag' /opt/conan/binutils/bin/ld: capability-util.c:(.text.capability_gain_cap_setpcap+0xbc): undefined reference to `cap_set_proc' /opt/conan/binutils/bin/ld: capability-util.c:(.text.capability_gain_cap_setpcap+0xc8): undefined reference to `cap_free' /opt/conan/binutils/bin/ld: capability-util.c:(.text.capability_gain_cap_setpcap+0xdf): undefined reference to `cap_free' /opt/conan/binutils/bin/ld: capability-util.c:(.text.capability_gain_cap_setpcap+0x117): undefined reference to `cap_free' /opt/conan/binutils/bin/ld: /home/conan/w/prod/BuildSingleReference/.conan/data/libsystemd/251.4/_/_/package/3369133fe40756640992e43de55e178f5ecf89a6/lib/libsystemd.a(src_basic_capability-util.c.o): in function `capability_bounding_set_drop': capability-util.c:(.text.capability_bounding_set_drop+0x48): undefined reference to `cap_dup' /opt/conan/binutils/bin/ld: capability-util.c:(.text.capability_bounding_set_drop+0x88): undefined reference to `cap_set_flag' /opt/conan/binutils/bin/ld: capability-util.c:(.text.capability_bounding_set_drop+0xef): undefined reference to `cap_set_proc' /opt/conan/binutils/bin/ld: capability-util.c:(.text.capability_bounding_set_drop+0xff): undefined reference to `cap_free' /opt/conan/binutils/bin/ld: capability-util.c:(.text.capability_bounding_set_drop+0x10e): undefined reference to `cap_free' /opt/conan/binutils/bin/ld: capability-util.c:(.text.capability_bounding_set_drop+0x154): undefined reference to `cap_set_flag' /opt/conan/binutils/bin/ld: capability-util.c:(.text.capability_bounding_set_drop+0x16d): undefined reference to `cap_set_flag' /opt/conan/binutils/bin/ld: capability-util.c:(.text.capability_bounding_set_drop+0x18f): undefined reference to `cap_set_proc' /opt/conan/binutils/bin/ld: capability-util.c:(.text.capability_bounding_set_drop+0x1a4): undefined reference to `cap_compare' /opt/conan/binutils/bin/ld: /home/conan/w/prod/BuildSingleReference/.conan/data/libsystemd/251.4/_/_/package/3369133fe40756640992e43de55e178f5ecf89a6/lib/libsystemd.a(src_basic_capability-util.c.o): in function `drop_privileges': capability-util.c:(.text.drop_privileges+0xe4): undefined reference to `cap_init' /opt/conan/binutils/bin/ld: capability-util.c:(.text.drop_privileges+0x12c): undefined reference to `cap_set_flag' /opt/conan/binutils/bin/ld: capability-util.c:(.text.drop_privileges+0x14d): undefined reference to `cap_set_flag' /opt/conan/binutils/bin/ld: capability-util.c:(.text.drop_privileges+0x15d): undefined reference to `cap_set_proc' /opt/conan/binutils/bin/ld: capability-util.c:(.text.drop_privileges+0x170): undefined reference to `cap_free' /opt/conan/binutils/bin/ld: capability-util.c:(.text.drop_privileges+0x394): undefined reference to `cap_free' /opt/conan/binutils/bin/ld: /home/conan/w/prod/BuildSingleReference/.conan/data/libsystemd/251.4/_/_/package/3369133fe40756640992e43de55e178f5ecf89a6/lib/libsystemd.a(src_basic_capability-util.c.o): in function `drop_capability': capability-util.c:(.text.drop_capability+0xc): undefined reference to `cap_get_proc' /opt/conan/binutils/bin/ld: capability-util.c:(.text.drop_capability+0x35): undefined reference to `cap_set_flag' /opt/conan/binutils/bin/ld: capability-util.c:(.text.drop_capability+0x51): undefined reference to `cap_set_flag' /opt/conan/binutils/bin/ld: capability-util.c:(.text.drop_capability+0x6a): undefined reference to `cap_set_flag' /opt/conan/binutils/bin/ld: capability-util.c:(.text.drop_capability+0x79): undefined reference to `cap_set_proc' /opt/conan/binutils/bin/ld: capability-util.c:(.text.drop_capability+0x97): undefined reference to `cap_free' /opt/conan/binutils/bin/ld: /home/conan/w/prod/BuildSingleReference/.conan/data/libsystemd/251.4/_/_/package/3369133fe40756640992e43de55e178f5ecf89a6/lib/libsystemd.a(src_basic_capability-util.c.o): in function `capability_ambient_set_apply': capability-util.c:(.text.capability_ambient_set_apply+0x109): undefined reference to `cap_free' /opt/conan/binutils/bin/ld: capability-util.c:(.text.capability_ambient_set_apply+0x1b1): undefined reference to `cap_get_proc' /opt/conan/binutils/bin/ld: capability-util.c:(.text.capability_ambient_set_apply+0x1d0): undefined reference to `cap_set_proc' /opt/conan/binutils/bin/ld: /home/conan/w/prod/BuildSingleReference/.conan/data/libsystemd/251.4/_/_/package/3369133fe40756640992e43de55e178f5ecf89a6/lib/libsystemd.a(src_basic_capability-util.c.o): in function `capability_quintet_enforce': capability-util.c:(.text.capability_quintet_enforce+0x41): undefined reference to `cap_get_proc' /opt/conan/binutils/bin/ld: capability-util.c:(.text.capability_quintet_enforce+0x71): undefined reference to `cap_get_proc' /opt/conan/binutils/bin/ld: capability-util.c:(.text.capability_quintet_enforce+0xb9): undefined reference to `cap_get_flag' /opt/conan/binutils/bin/ld: capability-util.c:(.text.capability_quintet_enforce+0xd7): undefined reference to `cap_get_flag' /opt/conan/binutils/bin/ld: capability-util.c:(.text.capability_quintet_enforce+0x10d): undefined reference to `cap_set_flag' /opt/conan/binutils/bin/ld: capability-util.c:(.text.capability_quintet_enforce+0x130): undefined reference to `cap_set_flag' /opt/conan/binutils/bin/ld: capability-util.c:(.text.capability_quintet_enforce+0x15d): undefined reference to `cap_set_proc' /opt/conan/binutils/bin/ld: capability-util.c:(.text.capability_quintet_enforce+0x1c1): undefined reference to `cap_get_flag' /opt/conan/binutils/bin/ld: capability-util.c:(.text.capability_quintet_enforce+0x1f5): undefined reference to `cap_set_flag' /opt/conan/binutils/bin/ld: capability-util.c:(.text.capability_quintet_enforce+0x229): undefined reference to `cap_get_flag' /opt/conan/binutils/bin/ld: capability-util.c:(.text.capability_quintet_enforce+0x25d): undefined reference to `cap_set_flag' /opt/conan/binutils/bin/ld: capability-util.c:(.text.capability_quintet_enforce+0x285): undefined reference to `cap_get_flag' /opt/conan/binutils/bin/ld: capability-util.c:(.text.capability_quintet_enforce+0x2b2): undefined reference to `cap_set_flag' /opt/conan/binutils/bin/ld: capability-util.c:(.text.capability_quintet_enforce+0x303): undefined reference to `cap_dup' /opt/conan/binutils/bin/ld: capability-util.c:(.text.capability_quintet_enforce+0x32f): undefined reference to `cap_set_flag' /opt/conan/binutils/bin/ld: capability-util.c:(.text.capability_quintet_enforce+0x34f): undefined reference to `cap_set_flag' /opt/conan/binutils/bin/ld: capability-util.c:(.text.capability_quintet_enforce+0x362): undefined reference to `cap_compare' /opt/conan/binutils/bin/ld: capability-util.c:(.text.capability_quintet_enforce+0x372): undefined reference to `cap_set_proc' /opt/conan/binutils/bin/ld: capability-util.c:(.text.capability_quintet_enforce+0x39c): undefined reference to `cap_set_proc' /opt/conan/binutils/bin/ld: capability-util.c:(.text.capability_quintet_enforce+0x3ac): undefined reference to `cap_free' /opt/conan/binutils/bin/ld: capability-util.c:(.text.capability_quintet_enforce+0x3c7): undefined reference to `cap_free' /opt/conan/binutils/bin/ld: capability-util.c:(.text.capability_quintet_enforce+0x4af): undefined reference to `cap_free' collect2: error: ld returned 1 exit status make[2]: *** [bin/example] Error 1 make[1]: *** [CMakeFiles/example.dir/all] Error 2 make: *** [all] Error 2 ERROR: libsystemd/251.4 (test package): Error in build() method, line 16 cmake.build() ConanException: Error 2 while executing cmake --build '/home/conan/w/prod/BuildSingleReference/conan-center-index/recipes/libsystemd/all/test_v1_package/build/c1bf18cfecbbb4d070bd60d396c2dcac8d2f09e3' '--' '-j3'