******************************************************************************** conan test conan-center-index/recipes/libsystemd/all/test_package/conanfile.py libsystemd/248.10@#9e33e6ea7e35cb447915cf401dc86f36 -pr /home/conan/w/prod/BuildSingleReference/76925/2031ba55-deb6-47de-8f00-02dde6866028/profile_linux_5_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=5 os=Linux [options] libsystemd:shared=False [build_requires] [env] [conf] tools.system.package_manager:mode=install tools.system.package_manager:sudo=True libsystemd/248.10 (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/248.10 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:3df6ebb8a308d309e882b21988fd9ea103560e16 - Cache libcap/2.62:76f87539fc90ff313e0b3182641a9bb558a717d2 - Cache libmount/2.36.2:76f87539fc90ff313e0b3182641a9bb558a717d2 - Cache libselinux/3.3:cad8a1faed4c8609424871dd208f18af9db1e8bf - Cache libsystemd/248.10:fce66bf08bdf432f8bc700b5326b60936a922adb - Cache lz4/1.9.3:76f87539fc90ff313e0b3182641a9bb558a717d2 - Cache pcre2/10.40:49e53541184a75e1bfaa4dad6b0819ae43a76cf9 - Cache xz_utils/5.2.5:76f87539fc90ff313e0b3182641a9bb558a717d2 - Cache zlib/1.2.12:76f87539fc90ff313e0b3182641a9bb558a717d2 - Cache zstd/1.5.2:ff7e1eda45846fc95249ac3e0c50da0e296272b3 - 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/3df6ebb8a308d309e882b21988fd9ea103560e16/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/49e53541184a75e1bfaa4dad6b0819ae43a76cf9/bin libselinux/3.3: Already installed! libsystemd/248.10: Already installed! libsystemd/248.10 (test package): Applying build-requirement: pkgconf/1.7.4 libsystemd/248.10 (test package): Generator txt created conanbuildinfo.txt libsystemd/248.10 (test package): Generator 'VirtualBuildEnv' calling 'generate()' libsystemd/248.10 (test package): Generator 'CMakeToolchain' calling 'generate()' libsystemd/248.10 (test package): Generator 'PkgConfigDeps' calling 'generate()' libsystemd/248.10 (test package): Calling generate() libsystemd/248.10 (test package): Aggregating env generators libsystemd/248.10 (test package): Generated conaninfo.txt libsystemd/248.10 (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/248.10 (test package): Calling build() libsystemd/248.10 (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 5.4.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 -- 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 248 -- 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/248.10 (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/248.10 (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/248.10 (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 libsystemd/248.10 (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! ******************************************************************************** conan test conan-center-index/recipes/libsystemd/all/test_v1_package/conanfile.py libsystemd/248.10@#9e33e6ea7e35cb447915cf401dc86f36 -pr /home/conan/w/prod/BuildSingleReference/76925/2031ba55-deb6-47de-8f00-02dde6866028/profile_linux_5_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=5 os=Linux [options] libsystemd:shared=False [build_requires] [env] [conf] tools.system.package_manager:mode=install tools.system.package_manager:sudo=True libsystemd/248.10 (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/248.10 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:3df6ebb8a308d309e882b21988fd9ea103560e16 - Cache libcap/2.62:76f87539fc90ff313e0b3182641a9bb558a717d2 - Cache libmount/2.36.2:76f87539fc90ff313e0b3182641a9bb558a717d2 - Cache libselinux/3.3:cad8a1faed4c8609424871dd208f18af9db1e8bf - Cache libsystemd/248.10:fce66bf08bdf432f8bc700b5326b60936a922adb - Cache lz4/1.9.3:76f87539fc90ff313e0b3182641a9bb558a717d2 - Cache pcre2/10.40:49e53541184a75e1bfaa4dad6b0819ae43a76cf9 - Cache xz_utils/5.2.5:76f87539fc90ff313e0b3182641a9bb558a717d2 - Cache zlib/1.2.12:76f87539fc90ff313e0b3182641a9bb558a717d2 - Cache zstd/1.5.2:ff7e1eda45846fc95249ac3e0c50da0e296272b3 - 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/3df6ebb8a308d309e882b21988fd9ea103560e16/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/49e53541184a75e1bfaa4dad6b0819ae43a76cf9/bin libselinux/3.3: Already installed! libsystemd/248.10: Already installed! libsystemd/248.10 (test package): Applying build-requirement: pkgconf/1.7.4 libsystemd/248.10 (test package): Generator pkg_config created pkgconf.pc libsystemd/248.10 (test package): Generator pkg_config created libsystemd.pc libsystemd/248.10 (test package): Generator pkg_config created libcap.pc libsystemd/248.10 (test package): Generator pkg_config created mount.pc libsystemd/248.10 (test package): Generator pkg_config created libsepol.pc libsystemd/248.10 (test package): Generator pkg_config created libselinux.pc libsystemd/248.10 (test package): Generator pkg_config created liblz4.pc libsystemd/248.10 (test package): Generator pkg_config created liblzma.pc libsystemd/248.10 (test package): Generator pkg_config created libzstd.pc libsystemd/248.10 (test package): Generator pkg_config created libpcre2-32.pc libsystemd/248.10 (test package): Generator pkg_config created libpcre2-16.pc libsystemd/248.10 (test package): Generator pkg_config created libpcre2-8.pc libsystemd/248.10 (test package): Generator pkg_config created libpcre2-posix.pc libsystemd/248.10 (test package): Generator pkg_config created libpcre2.pc libsystemd/248.10 (test package): Generator pkg_config created zlib.pc libsystemd/248.10 (test package): Generator pkg_config created bzip2.pc libsystemd/248.10 (test package): Generator cmake created conanbuildinfo.cmake libsystemd/248.10 (test package): Generator txt created conanbuildinfo.txt libsystemd/248.10 (test package): Aggregating env generators libsystemd/248.10 (test package): Generated conaninfo.txt libsystemd/248.10 (test package): Generated graphinfo Using lockfile: '/home/conan/w/prod/BuildSingleReference/conan-center-index/recipes/libsystemd/all/test_v1_package/build/c6c929d8bb3126bcb81b08177b8ed7a974a9e896/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/248.10 (test package): Calling build() ----Running------ > cd '/home/conan/w/prod/BuildSingleReference/conan-center-index/recipes/libsystemd/all/test_v1_package/build/c6c929d8bb3126bcb81b08177b8ed7a974a9e896' && cmake -G "Unix Makefiles" -DCMAKE_BUILD_TYPE="Release" -DCONAN_IN_LOCAL_CACHE="OFF" -DCONAN_COMPILER="gcc" -DCONAN_COMPILER_VERSION="5" -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/c6c929d8bb3126bcb81b08177b8ed7a974a9e896/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 5.4.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: called by CMake conan helper -- Conan: Adjusting output directories -- Conan: Using cmake targets configuration -- Library systemd found /home/conan/w/prod/BuildSingleReference/.conan/data/libsystemd/248.10/_/_/package/fce66bf08bdf432f8bc700b5326b60936a922adb/lib/libsystemd.a -- Library cap found /home/conan/w/prod/BuildSingleReference/.conan/data/libcap/2.62/_/_/package/76f87539fc90ff313e0b3182641a9bb558a717d2/lib/libcap.a -- Library mount found /home/conan/w/prod/BuildSingleReference/.conan/data/libmount/2.36.2/_/_/package/76f87539fc90ff313e0b3182641a9bb558a717d2/lib/libmount.a -- Library blkid found /home/conan/w/prod/BuildSingleReference/.conan/data/libmount/2.36.2/_/_/package/76f87539fc90ff313e0b3182641a9bb558a717d2/lib/libblkid.a -- Library selinux found /home/conan/w/prod/BuildSingleReference/.conan/data/libselinux/3.3/_/_/package/cad8a1faed4c8609424871dd208f18af9db1e8bf/lib/libselinux.a -- Library sepol found /home/conan/w/prod/BuildSingleReference/.conan/data/libselinux/3.3/_/_/package/cad8a1faed4c8609424871dd208f18af9db1e8bf/lib/libsepol.a -- Library lz4 found /home/conan/w/prod/BuildSingleReference/.conan/data/lz4/1.9.3/_/_/package/76f87539fc90ff313e0b3182641a9bb558a717d2/lib/liblz4.a -- Library lzma found /home/conan/w/prod/BuildSingleReference/.conan/data/xz_utils/5.2.5/_/_/package/76f87539fc90ff313e0b3182641a9bb558a717d2/lib/liblzma.a -- Library zstd found /home/conan/w/prod/BuildSingleReference/.conan/data/zstd/1.5.2/_/_/package/ff7e1eda45846fc95249ac3e0c50da0e296272b3/lib/libzstd.a -- Library pcre2-posix found /home/conan/w/prod/BuildSingleReference/.conan/data/pcre2/10.40/_/_/package/49e53541184a75e1bfaa4dad6b0819ae43a76cf9/lib/libpcre2-posix.a -- Library pcre2-8 found /home/conan/w/prod/BuildSingleReference/.conan/data/pcre2/10.40/_/_/package/49e53541184a75e1bfaa4dad6b0819ae43a76cf9/lib/libpcre2-8.a -- Library pcre2-16 found /home/conan/w/prod/BuildSingleReference/.conan/data/pcre2/10.40/_/_/package/49e53541184a75e1bfaa4dad6b0819ae43a76cf9/lib/libpcre2-16.a -- Library pcre2-32 found /home/conan/w/prod/BuildSingleReference/.conan/data/pcre2/10.40/_/_/package/49e53541184a75e1bfaa4dad6b0819ae43a76cf9/lib/libpcre2-32.a -- Library z found /home/conan/w/prod/BuildSingleReference/.conan/data/zlib/1.2.12/_/_/package/76f87539fc90ff313e0b3182641a9bb558a717d2/lib/libz.a -- Library bz2 found /home/conan/w/prod/BuildSingleReference/.conan/data/bzip2/1.0.8/_/_/package/3df6ebb8a308d309e882b21988fd9ea103560e16/lib/libbz2.a -- 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 5 -- Conan: Checking correct version: 5 -- 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 248 -- 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/c6c929d8bb3126bcb81b08177b8ed7a974a9e896 ----Running------ > cmake --build '/home/conan/w/prod/BuildSingleReference/conan-center-index/recipes/libsystemd/all/test_v1_package/build/c6c929d8bb3126bcb81b08177b8ed7a974a9e896' '--' '-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:106: recipe for target 'bin/example' failed CMakeFiles/Makefile2:94: recipe for target 'CMakeFiles/example.dir/all' failed Makefile:102: 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 /home/conan/w/prod/BuildSingleReference/.conan/data/libsystemd/248.10/_/_/package/fce66bf08bdf432f8bc700b5326b60936a922adb/lib/libsystemd.a(src_basic_capability-util.c.o): In function `have_effective_cap': capability-util.c:(.text.have_effective_cap+0x19): undefined reference to `cap_get_proc' capability-util.c:(.text.have_effective_cap+0x32): undefined reference to `cap_get_flag' capability-util.c:(.text.have_effective_cap+0x49): undefined reference to `cap_free' /home/conan/w/prod/BuildSingleReference/.conan/data/libsystemd/248.10/_/_/package/fce66bf08bdf432f8bc700b5326b60936a922adb/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' /home/conan/w/prod/BuildSingleReference/.conan/data/libsystemd/248.10/_/_/package/fce66bf08bdf432f8bc700b5326b60936a922adb/lib/libsystemd.a(src_basic_capability-util.c.o): In function `capability_gain_cap_setpcap': capability-util.c:(.text.capability_gain_cap_setpcap+0x1e): undefined reference to `cap_get_proc' capability-util.c:(.text.capability_gain_cap_setpcap+0x3e): undefined reference to `cap_get_flag' capability-util.c:(.text.capability_gain_cap_setpcap+0x51): undefined reference to `cap_dup' capability-util.c:(.text.capability_gain_cap_setpcap+0x75): undefined reference to `cap_set_flag' capability-util.c:(.text.capability_gain_cap_setpcap+0x81): undefined reference to `cap_set_proc' capability-util.c:(.text.capability_gain_cap_setpcap+0x8d): undefined reference to `cap_free' capability-util.c:(.text.capability_gain_cap_setpcap+0xcd): undefined reference to `cap_free' capability-util.c:(.text.capability_gain_cap_setpcap+0xf5): undefined reference to `cap_free' /home/conan/w/prod/BuildSingleReference/.conan/data/libsystemd/248.10/_/_/package/fce66bf08bdf432f8bc700b5326b60936a922adb/lib/libsystemd.a(src_basic_capability-util.c.o): In function `capability_bounding_set_drop': capability-util.c:(.text.capability_bounding_set_drop+0x47): undefined reference to `cap_dup' capability-util.c:(.text.capability_bounding_set_drop+0xac): undefined reference to `cap_set_flag' capability-util.c:(.text.capability_bounding_set_drop+0xcd): undefined reference to `cap_set_flag' capability-util.c:(.text.capability_bounding_set_drop+0xe6): undefined reference to `cap_set_flag' capability-util.c:(.text.capability_bounding_set_drop+0x106): undefined reference to `cap_set_proc' capability-util.c:(.text.capability_bounding_set_drop+0x112): undefined reference to `cap_free' capability-util.c:(.text.capability_bounding_set_drop+0x121): undefined reference to `cap_free' capability-util.c:(.text.capability_bounding_set_drop+0x189): undefined reference to `cap_compare' /home/conan/w/prod/BuildSingleReference/.conan/data/libsystemd/248.10/_/_/package/fce66bf08bdf432f8bc700b5326b60936a922adb/lib/libsystemd.a(src_basic_capability-util.c.o): In function `drop_privileges': capability-util.c:(.text.drop_privileges+0xdd): undefined reference to `cap_init' capability-util.c:(.text.drop_privileges+0x12b): undefined reference to `cap_set_flag' capability-util.c:(.text.drop_privileges+0x14b): undefined reference to `cap_set_flag' capability-util.c:(.text.drop_privileges+0x15b): undefined reference to `cap_set_proc' capability-util.c:(.text.drop_privileges+0x16d): undefined reference to `cap_free' capability-util.c:(.text.drop_privileges+0x30c): undefined reference to `cap_free' capability-util.c:(.text.drop_privileges+0x319): undefined reference to `cap_init' /home/conan/w/prod/BuildSingleReference/.conan/data/libsystemd/248.10/_/_/package/fce66bf08bdf432f8bc700b5326b60936a922adb/lib/libsystemd.a(src_basic_capability-util.c.o): In function `drop_capability': capability-util.c:(.text.drop_capability+0xb): undefined reference to `cap_get_proc' capability-util.c:(.text.drop_capability+0x34): undefined reference to `cap_set_flag' capability-util.c:(.text.drop_capability+0x50): undefined reference to `cap_set_flag' capability-util.c:(.text.drop_capability+0x69): undefined reference to `cap_set_flag' capability-util.c:(.text.drop_capability+0x77): undefined reference to `cap_set_proc' capability-util.c:(.text.drop_capability+0x8d): undefined reference to `cap_free' /home/conan/w/prod/BuildSingleReference/.conan/data/libsystemd/248.10/_/_/package/fce66bf08bdf432f8bc700b5326b60936a922adb/lib/libsystemd.a(src_basic_capability-util.c.o): In function `capability_ambient_set_apply': capability-util.c:(.text.capability_ambient_set_apply+0xff): undefined reference to `cap_free' capability-util.c:(.text.capability_ambient_set_apply+0x1b1): undefined reference to `cap_get_proc' capability-util.c:(.text.capability_ambient_set_apply+0x1d0): undefined reference to `cap_set_proc' /home/conan/w/prod/BuildSingleReference/.conan/data/libsystemd/248.10/_/_/package/fce66bf08bdf432f8bc700b5326b60936a922adb/lib/libsystemd.a(src_basic_capability-util.c.o): In function `capability_quintet_enforce': capability-util.c:(.text.capability_quintet_enforce+0x2d): undefined reference to `cap_get_proc' capability-util.c:(.text.capability_quintet_enforce+0xa1): undefined reference to `cap_get_flag' capability-util.c:(.text.capability_quintet_enforce+0xbf): undefined reference to `cap_get_flag' capability-util.c:(.text.capability_quintet_enforce+0xf0): undefined reference to `cap_set_flag' capability-util.c:(.text.capability_quintet_enforce+0x113): undefined reference to `cap_set_flag' capability-util.c:(.text.capability_quintet_enforce+0x19d): undefined reference to `cap_get_flag' capability-util.c:(.text.capability_quintet_enforce+0x1ce): undefined reference to `cap_set_flag' capability-util.c:(.text.capability_quintet_enforce+0x1f5): undefined reference to `cap_get_flag' capability-util.c:(.text.capability_quintet_enforce+0x226): undefined reference to `cap_set_flag' capability-util.c:(.text.capability_quintet_enforce+0x24a): undefined reference to `cap_get_flag' capability-util.c:(.text.capability_quintet_enforce+0x278): undefined reference to `cap_set_flag' capability-util.c:(.text.capability_quintet_enforce+0x2c6): undefined reference to `cap_dup' capability-util.c:(.text.capability_quintet_enforce+0x2f2): undefined reference to `cap_set_flag' capability-util.c:(.text.capability_quintet_enforce+0x312): undefined reference to `cap_set_flag' capability-util.c:(.text.capability_quintet_enforce+0x325): undefined reference to `cap_compare' capability-util.c:(.text.capability_quintet_enforce+0x331): undefined reference to `cap_free' capability-util.c:(.text.capability_quintet_enforce+0x33c): undefined reference to `cap_set_proc' capability-util.c:(.text.capability_quintet_enforce+0x365): undefined reference to `cap_set_proc' capability-util.c:(.text.capability_quintet_enforce+0x375): undefined reference to `cap_free' capability-util.c:(.text.capability_quintet_enforce+0x3c4): undefined reference to `cap_set_proc' capability-util.c:(.text.capability_quintet_enforce+0x3e4): undefined reference to `cap_free' capability-util.c:(.text.capability_quintet_enforce+0x40e): undefined reference to `cap_get_proc' /home/conan/w/prod/BuildSingleReference/.conan/data/libsystemd/248.10/_/_/package/fce66bf08bdf432f8bc700b5326b60936a922adb/lib/libsystemd.a(src_basic_selinux-util.c.o): In function `mac_selinux_use': selinux-util.c:(.text.mac_selinux_use+0x21): undefined reference to `is_selinux_enabled' /home/conan/w/prod/BuildSingleReference/.conan/data/libsystemd/248.10/_/_/package/fce66bf08bdf432f8bc700b5326b60936a922adb/lib/libsystemd.a(src_basic_selinux-util.c.o): In function `open_label_db': selinux-util.c:(.text.open_label_db+0x40): undefined reference to `selabel_open' selinux-util.c:(.text.open_label_db+0x90): undefined reference to `selabel_close' /home/conan/w/prod/BuildSingleReference/.conan/data/libsystemd/248.10/_/_/package/fce66bf08bdf432f8bc700b5326b60936a922adb/lib/libsystemd.a(src_basic_selinux-util.c.o): In function `mac_selinux_init': selinux-util.c:(.text.mac_selinux_init+0x36): undefined reference to `selinux_status_open' selinux-util.c:(.text.mac_selinux_init+0x55): undefined reference to `selinux_status_policyload' selinux-util.c:(.text.mac_selinux_init+0x62): undefined reference to `selinux_status_getenforce' selinux-util.c:(.text.mac_selinux_init+0xfc): undefined reference to `selinux_status_policyload' selinux-util.c:(.text.mac_selinux_init+0x14d): undefined reference to `selinux_status_close' /home/conan/w/prod/BuildSingleReference/.conan/data/libsystemd/248.10/_/_/package/fce66bf08bdf432f8bc700b5326b60936a922adb/lib/libsystemd.a(src_basic_selinux-util.c.o): In function `mac_selinux_maybe_reload': selinux-util.c:(.text.mac_selinux_maybe_reload+0x12): undefined reference to `selinux_status_policyload' /home/conan/w/prod/BuildSingleReference/.conan/data/libsystemd/248.10/_/_/package/fce66bf08bdf432f8bc700b5326b60936a922adb/lib/libsystemd.a(src_basic_selinux-util.c.o): In function `mac_selinux_finish': selinux-util.c:(.text.mac_selinux_finish+0x11): undefined reference to `selabel_close' selinux-util.c:(.text.mac_selinux_finish+0x23): undefined reference to `security_getenforce' selinux-util.c:(.text.mac_selinux_finish+0x2f): undefined reference to `selinux_status_close' /home/conan/w/prod/BuildSingleReference/.conan/data/libsystemd/248.10/_/_/package/fce66bf08bdf432f8bc700b5326b60936a922adb/lib/libsystemd.a(src_basic_selinux-util.c.o): In function `mac_selinux_fix_container_fd': selinux-util.c:(.text.mac_selinux_fix_container_fd+0x76): undefined reference to `selabel_lookup_raw' selinux-util.c:(.text.mac_selinux_fix_container_fd+0xbe): undefined reference to `setfilecon_raw' selinux-util.c:(.text.mac_selinux_fix_container_fd+0xe3): undefined reference to `freecon' selinux-util.c:(.text.mac_selinux_fix_container_fd+0x20b): undefined reference to `getfilecon_raw' selinux-util.c:(.text.mac_selinux_fix_container_fd+0x22c): undefined reference to `freecon' selinux-util.c:(.text.mac_selinux_fix_container_fd+0x23e): undefined reference to `freecon' /home/conan/w/prod/BuildSingleReference/.conan/data/libsystemd/248.10/_/_/package/fce66bf08bdf432f8bc700b5326b60936a922adb/lib/libsystemd.a(src_basic_selinux-util.c.o): In function `mac_selinux_apply': selinux-util.c:(.text.mac_selinux_apply+0x2f): undefined reference to `setfilecon' /home/conan/w/prod/BuildSingleReference/.conan/data/libsystemd/248.10/_/_/package/fce66bf08bdf432f8bc700b5326b60936a922adb/lib/libsystemd.a(src_basic_selinux-util.c.o): In function `mac_selinux_apply_fd': selinux-util.c:(.text.mac_selinux_apply_fd+0x2e): undefined reference to `fsetfilecon' /home/conan/w/prod/BuildSingleReference/.conan/data/libsystemd/248.10/_/_/package/fce66bf08bdf432f8bc700b5326b60936a922adb/lib/libsystemd.a(src_basic_selinux-util.c.o): In function `mac_selinux_get_create_label_from_exe': selinux-util.c:(.text.mac_selinux_get_create_label_from_exe+0x44): undefined reference to `getcon_raw' selinux-util.c:(.text.mac_selinux_get_create_label_from_exe+0x55): undefined reference to `getfilecon_raw' selinux-util.c:(.text.mac_selinux_get_create_label_from_exe+0x6a): undefined reference to `string_to_security_class' selinux-util.c:(.text.mac_selinux_get_create_label_from_exe+0x86): undefined reference to `security_compute_create_raw' selinux-util.c:(.text.mac_selinux_get_create_label_from_exe+0xa4): undefined reference to `freecon' selinux-util.c:(.text.mac_selinux_get_create_label_from_exe+0xbc): undefined reference to `freecon' /home/conan/w/prod/BuildSingleReference/.conan/data/libsystemd/248.10/_/_/package/fce66bf08bdf432f8bc700b5326b60936a922adb/lib/libsystemd.a(src_basic_selinux-util.c.o): In function `mac_selinux_get_our_label': selinux-util.c:(.text.mac_selinux_get_our_label+0x16): undefined reference to `getcon_raw' /home/conan/w/prod/BuildSingleReference/.conan/data/libsystemd/248.10/_/_/package/fce66bf08bdf432f8bc700b5326b60936a922adb/lib/libsystemd.a(src_basic_selinux-util.c.o): In function `mac_selinux_get_child_mls_label': selinux-util.c:(.text.mac_selinux_get_child_mls_label+0x57): undefined reference to `getcon_raw' selinux-util.c:(.text.mac_selinux_get_child_mls_label+0x6b): undefined reference to `getpeercon_raw' selinux-util.c:(.text.mac_selinux_get_child_mls_label+0x81): undefined reference to `context_new' selinux-util.c:(.text.mac_selinux_get_child_mls_label+0x97): undefined reference to `context_new' selinux-util.c:(.text.mac_selinux_get_child_mls_label+0xab): undefined reference to `context_range_get' selinux-util.c:(.text.mac_selinux_get_child_mls_label+0xbb): undefined reference to `context_range_set' selinux-util.c:(.text.mac_selinux_get_child_mls_label+0xd4): undefined reference to `context_free' selinux-util.c:(.text.mac_selinux_get_child_mls_label+0xdc): undefined reference to `context_free' selinux-util.c:(.text.mac_selinux_get_child_mls_label+0xf1): undefined reference to `getfilecon_raw' selinux-util.c:(.text.mac_selinux_get_child_mls_label+0x114): undefined reference to `freecon' selinux-util.c:(.text.mac_selinux_get_child_mls_label+0x12c): undefined reference to `freecon' selinux-util.c:(.text.mac_selinux_get_child_mls_label+0x143): undefined reference to `freecon' selinux-util.c:(.text.mac_selinux_get_child_mls_label+0x175): undefined reference to `freecon' selinux-util.c:(.text.mac_selinux_get_child_mls_label+0x17d): undefined reference to `context_str' selinux-util.c:(.text.mac_selinux_get_child_mls_label+0x19f): undefined reference to `string_to_security_class' selinux-util.c:(.text.mac_selinux_get_child_mls_label+0x1be): undefined reference to `security_compute_create_raw' selinux-util.c:(.text.mac_selinux_get_child_mls_label+0x1d3): undefined reference to `context_free' /home/conan/w/prod/BuildSingleReference/.conan/data/libsystemd/248.10/_/_/package/fce66bf08bdf432f8bc700b5326b60936a922adb/lib/libsystemd.a(src_basic_selinux-util.c.o): In function `mac_selinux_free': selinux-util.c:(.text.mac_selinux_free+0x5): undefined reference to `freecon' /home/conan/w/prod/BuildSingleReference/.conan/data/libsystemd/248.10/_/_/package/fce66bf08bdf432f8bc700b5326b60936a922adb/lib/libsystemd.a(src_basic_selinux-util.c.o): In function `mac_selinux_create_file_prepare_at': selinux-util.c:(.text.mac_selinux_create_file_prepare_at+0xa8): undefined reference to `selabel_lookup_raw' selinux-util.c:(.text.mac_selinux_create_file_prepare_at+0xb5): undefined reference to `setfscreatecon_raw' selinux-util.c:(.text.mac_selinux_create_file_prepare_at+0xcd): undefined reference to `freecon' /home/conan/w/prod/BuildSingleReference/.conan/data/libsystemd/248.10/_/_/package/fce66bf08bdf432f8bc700b5326b60936a922adb/lib/libsystemd.a(src_basic_selinux-util.c.o): In function `mac_selinux_create_file_prepare': selinux-util.c:(.text.mac_selinux_create_file_prepare+0x6b): undefined reference to `selabel_lookup_raw' selinux-util.c:(.text.mac_selinux_create_file_prepare+0x79): undefined reference to `setfscreatecon_raw' selinux-util.c:(.text.mac_selinux_create_file_prepare+0x92): undefined reference to `freecon' /home/conan/w/prod/BuildSingleReference/.conan/data/libsystemd/248.10/_/_/package/fce66bf08bdf432f8bc700b5326b60936a922adb/lib/libsystemd.a(src_basic_selinux-util.c.o): In function `mac_selinux_create_file_clear': selinux-util.c:(.text.mac_selinux_create_file_clear+0x33): undefined reference to `setfscreatecon_raw' /home/conan/w/prod/BuildSingleReference/.conan/data/libsystemd/248.10/_/_/package/fce66bf08bdf432f8bc700b5326b60936a922adb/lib/libsystemd.a(src_basic_selinux-util.c.o): In function `mac_selinux_create_socket_prepare': selinux-util.c:(.text.mac_selinux_create_socket_prepare+0x2c): undefined reference to `setsockcreatecon' /home/conan/w/prod/BuildSingleReference/.conan/data/libsystemd/248.10/_/_/package/fce66bf08bdf432f8bc700b5326b60936a922adb/lib/libsystemd.a(src_basic_selinux-util.c.o): In function `mac_selinux_create_socket_clear': selinux-util.c:(.text.mac_selinux_create_socket_clear+0x33): undefined reference to `setsockcreatecon_raw' /home/conan/w/prod/BuildSingleReference/.conan/data/libsystemd/248.10/_/_/package/fce66bf08bdf432f8bc700b5326b60936a922adb/lib/libsystemd.a(src_basic_selinux-util.c.o): In function `mac_selinux_bind': selinux-util.c:(.text.mac_selinux_bind+0x6f): undefined reference to `freecon' selinux-util.c:(.text.mac_selinux_bind+0x139): undefined reference to `selabel_lookup_raw' selinux-util.c:(.text.mac_selinux_bind+0x153): undefined reference to `setfscreatecon_raw' selinux-util.c:(.text.mac_selinux_bind+0x182): undefined reference to `setfscreatecon_raw' selinux-util.c:(.text.mac_selinux_bind+0x20f): undefined reference to `selabel_lookup_raw' /home/conan/w/prod/BuildSingleReference/.conan/data/libsystemd/248.10/_/_/package/fce66bf08bdf432f8bc700b5326b60936a922adb/lib/libsystemd.a(src_basic_selinux-util.c.o):(.data.rel.enforcing_status_func+0x0): undefined reference to `security_getenforce' 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/248.10 (test package): Error in build() method, line 18 cmake.build() ConanException: Error 2 while executing cmake --build '/home/conan/w/prod/BuildSingleReference/conan-center-index/recipes/libsystemd/all/test_v1_package/build/c6c929d8bb3126bcb81b08177b8ed7a974a9e896' '--' '-j3'