Mock Version: 3.5 Mock Version: 3.5 Mock Version: 3.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target x86_64 --nodeps /builddir/build/SPECS/libcomps.spec'], chrootPath='/var/lib/mock/dist-an23-build-249518-63339/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=86400uid=990gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target x86_64 --nodeps /builddir/build/SPECS/libcomps.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1681084800 Wrote: /builddir/build/SRPMS/libcomps-0.1.19-2.an23.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps /builddir/build/SPECS/libcomps.spec'], chrootPath='/var/lib/mock/dist-an23-build-249518-63339/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=86400uid=990gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps /builddir/build/SPECS/libcomps.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1681084800 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.qsNZ0C + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf libcomps-0.1.19 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/0.1.19.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd libcomps-0.1.19 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + mkdir -p build-py3 + mkdir -p build-doc + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.7xpbpK + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/anolis/anolis-hardened-ld -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -Wl,--build-id=sha1 ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX ~/build/BUILD/libcomps-0.1.19/build-py3 ~/build/BUILD/libcomps-0.1.19 + cd libcomps-0.1.19 + pushd build-py3 + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/anolis/anolis-hardened-ld -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -Wl,--build-id=sha1 ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + /usr/bin/cmake -DCMAKE_C_FLAGS_RELEASE:STRING=-DNDEBUG -DCMAKE_CXX_FLAGS_RELEASE:STRING=-DNDEBUG -DCMAKE_Fortran_FLAGS_RELEASE:STRING=-DNDEBUG -DCMAKE_VERBOSE_MAKEFILE:BOOL=ON -DCMAKE_INSTALL_DO_STRIP:BOOL=OFF -DCMAKE_INSTALL_PREFIX:PATH=/usr -DCMAKE_INSTALL_LIBDIR:PATH=lib64 -DCMAKE_INSTALL_FULL_LIBDIR:PATH=/usr/lib64 -DCMAKE_INSTALL_LIBEXECDIR:PATH=libexec -DCMAKE_INSTALL_FULL_LIBEXECDIR:PATH=/usr/libexec -DCMAKE_INSTALL_RUNSTATEDIR:PATH=/run -DCMAKE_INSTALL_LOCALSTATEDIR:PATH=/var -DCMAKE_INSTALL_SHAREDSTATEDIR:PATH=/var/lib -DCMAKE_INSTALL_SYSCONFDIR:PATH=/etc -DINCLUDE_INSTALL_DIR:PATH=/usr/include -DLIB_INSTALL_DIR:PATH=/usr/lib64 -DSYSCONF_INSTALL_DIR:PATH=/etc -DSHARE_INSTALL_PREFIX:PATH=/usr/share -DLIB_SUFFIX=64 -DBUILD_SHARED_LIBS:BOOL=ON ../libcomps/ CMake Warning (dev) at CMakeLists.txt:1 (project): cmake_minimum_required() should be called prior to this top-level project() call. Please see the cmake-commands(7) manual for usage documentation of both commands. This warning is for project developers. Use -Wno-dev to suppress it. -- The C compiler identification is GNU 12.2.1 -- 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 CMake Deprecation Warning at CMakeLists.txt:2 (cmake_minimum_required): Compatibility with CMake < 2.8.12 will be removed from a future version of CMake. Update the VERSION argument value or use a ... suffix to tell CMake that the project does not need compatibility with older versions. -- Found ZLIB: /usr/lib64/libz.so (found version "1.2.13") -- Found LibXml2: /usr/lib64/libxml2.so (found version "2.10.3") -- Found EXPAT: /usr/lib64/libexpat.so (found version "2.5.0") /builddir/build/BUILD/libcomps-0.1.19/libcomps/src/python -- Found PythonInterp: /usr/bin/python3 (found suitable exact version "3.10.10") -- Could NOT find PythonLibs (missing: PYTHON_LIBRARIES PYTHON_INCLUDE_DIRS) (Required is exact version "3") /builddir/build/BUILD/libcomps-0.1.19/libcomps/src/python/src CMake Warning (dev) at src/python/pycopy.cmake:19 (add_custom_command): Policy CMP0040 is not set: The target in the TARGET signature of add_custom_command() must exist and must be defined in the current directory. Run "cmake --help-policy CMP0040" for policy details. Use the cmake_policy command to set the policy and suppress this warning. No TARGET 'py3-copy' has been created in this directory. Call Stack (most recent call first): src/python/src/CMakeLists.txt:57 (include) This warning is for project developers. Use -Wno-dev to suppress it. CMake Warning (dev) at src/python/pycopy.cmake:24 (add_custom_command): Policy CMP0040 is not set: The target in the TARGET signature of add_custom_command() must exist and must be defined in the current directory. Run "cmake --help-policy CMP0040" for policy details. Use the cmake_policy command to set the policy and suppress this warning. No TARGET 'py3-copy' has been created in this directory. Call Stack (most recent call first): src/python/src/CMakeLists.txt:57 (include) This warning is for project developers. Use -Wno-dev to suppress it. CMake Warning (dev) at src/python/pycopy.cmake:24 (add_custom_command): Policy CMP0040 is not set: The target in the TARGET signature of add_custom_command() must exist and must be defined in the current directory. Run "cmake --help-policy CMP0040" for policy details. Use the cmake_policy command to set the policy and suppress this warning. No TARGET 'py3-copy' has been created in this directory. Call Stack (most recent call first): src/python/src/CMakeLists.txt:57 (include) This warning is for project developers. Use -Wno-dev to suppress it. CMake Warning (dev) at src/python/pycopy.cmake:24 (add_custom_command): Policy CMP0040 is not set: The target in the TARGET signature of add_custom_command() must exist and must be defined in the current directory. Run "cmake --help-policy CMP0040" for policy details. Use the cmake_policy command to set the policy and suppress this warning. No TARGET 'py3-copy' has been created in this directory. Call Stack (most recent call first): src/python/src/CMakeLists.txt:57 (include) This warning is for project developers. Use -Wno-dev to suppress it. CMake Warning (dev) at src/python/pycopy.cmake:24 (add_custom_command): Policy CMP0040 is not set: The target in the TARGET signature of add_custom_command() must exist and must be defined in the current directory. Run "cmake --help-policy CMP0040" for policy details. Use the cmake_policy command to set the policy and suppress this warning. No TARGET 'py3-copy' has been created in this directory. Call Stack (most recent call first): src/python/src/CMakeLists.txt:57 (include) This warning is for project developers. Use -Wno-dev to suppress it. CMake Warning (dev) at src/python/pycopy.cmake:34 (add_custom_command): Policy CMP0040 is not set: The target in the TARGET signature of add_custom_command() must exist and must be defined in the current directory. Run "cmake --help-policy CMP0040" for policy details. Use the cmake_policy command to set the policy and suppress this warning. No TARGET 'py3-copy' has been created in this directory. Call Stack (most recent call first): src/python/src/CMakeLists.txt:57 (include) This warning is for project developers. Use -Wno-dev to suppress it. CMake Warning (dev) at src/python/pycopy.cmake:34 (add_custom_command): Policy CMP0040 is not set: The target in the TARGET signature of add_custom_command() must exist and must be defined in the current directory. Run "cmake --help-policy CMP0040" for policy details. Use the cmake_policy command to set the policy and suppress this warning. No TARGET 'py3-copy' has been created in this directory. Call Stack (most recent call first): src/python/src/CMakeLists.txt:57 (include) This warning is for project developers. Use -Wno-dev to suppress it. CMake Warning (dev) at src/python/pycopy.cmake:34 (add_custom_command): Policy CMP0040 is not set: The target in the TARGET signature of add_custom_command() must exist and must be defined in the current directory. Run "cmake --help-policy CMP0040" for policy details. Use the cmake_policy command to set the policy and suppress this warning. No TARGET 'py3-copy' has been created in this directory. Call Stack (most recent call first): src/python/src/CMakeLists.txt:57 (include) This warning is for project developers. Use -Wno-dev to suppress it. CMake Warning (dev) at src/python/pycopy.cmake:34 (add_custom_command): Policy CMP0040 is not set: The target in the TARGET signature of add_custom_command() must exist and must be defined in the current directory. Run "cmake --help-policy CMP0040" for policy details. Use the cmake_policy command to set the policy and suppress this warning. No TARGET 'py3-copy' has been created in this directory. Call Stack (most recent call first): src/python/src/CMakeLists.txt:57 (include) This warning is for project developers. Use -Wno-dev to suppress it. CMake Warning (dev) at src/python/pycopy.cmake:34 (add_custom_command): Policy CMP0040 is not set: The target in the TARGET signature of add_custom_command() must exist and must be defined in the current directory. Run "cmake --help-policy CMP0040" for policy details. Use the cmake_policy command to set the policy and suppress this warning. No TARGET 'py3-copy' has been created in this directory. Call Stack (most recent call first): src/python/src/CMakeLists.txt:57 (include) This warning is for project developers. Use -Wno-dev to suppress it. CMake Warning (dev) at src/python/pycopy.cmake:34 (add_custom_command): Policy CMP0040 is not set: The target in the TARGET signature of add_custom_command() must exist and must be defined in the current directory. Run "cmake --help-policy CMP0040" for policy details. Use the cmake_policy command to set the policy and suppress this warning. No TARGET 'py3-copy' has been created in this directory. Call Stack (most recent call first): src/python/src/CMakeLists.txt:57 (include) This warning is for project developers. Use -Wno-dev to suppress it. CMake Warning (dev) at src/python/pycopy.cmake:34 (add_custom_command): Policy CMP0040 is not set: The target in the TARGET signature of add_custom_command() must exist and must be defined in the current directory. Run "cmake --help-policy CMP0040" for policy details. Use the cmake_policy command to set the policy and suppress this warning. No TARGET 'py3-copy' has been created in this directory. Call Stack (most recent call first): src/python/src/CMakeLists.txt:57 (include) This warning is for project developers. Use -Wno-dev to suppress it. CMake Warning (dev) at src/python/pycopy.cmake:34 (add_custom_command): Policy CMP0040 is not set: The target in the TARGET signature of add_custom_command() must exist and must be defined in the current directory. Run "cmake --help-policy CMP0040" for policy details. Use the cmake_policy command to set the policy and suppress this warning. No TARGET 'py3-copy' has been created in this directory. Call Stack (most recent call first): src/python/src/CMakeLists.txt:57 (include) This warning is for project developers. Use -Wno-dev to suppress it. CMake Warning (dev) at src/python/pycopy.cmake:34 (add_custom_command): Policy CMP0040 is not set: The target in the TARGET signature of add_custom_command() must exist and must be defined in the current directory. Run "cmake --help-policy CMP0040" for policy details. Use the cmake_policy command to set the policy and suppress this warning. No TARGET 'py3-copy' has been created in this directory. Call Stack (most recent call first): src/python/src/CMakeLists.txt:57 (include) This warning is for project developers. Use -Wno-dev to suppress it. CMake Warning (dev) at src/python/pycopy.cmake:34 (add_custom_command): Policy CMP0040 is not set: The target in the TARGET signature of add_custom_command() must exist and must be defined in the current directory. Run "cmake --help-policy CMP0040" for policy details. Use the cmake_policy command to set the policy and suppress this warning. No TARGET 'py3-copy' has been created in this directory. Call Stack (most recent call first): src/python/src/CMakeLists.txt:57 (include) This warning is for project developers. Use -Wno-dev to suppress it. CMake Warning (dev) at src/python/pycopy.cmake:34 (add_custom_command): Policy CMP0040 is not set: The target in the TARGET signature of add_custom_command() must exist and must be defined in the current directory. Run "cmake --help-policy CMP0040" for policy details. Use the cmake_policy command to set the policy and suppress this warning. No TARGET 'py3-copy' has been created in this directory. Call Stack (most recent call first): src/python/src/CMakeLists.txt:57 (include) This warning is for project developers. Use -Wno-dev to suppress it. CMake Warning (dev) at src/python/pycopy.cmake:34 (add_custom_command): Policy CMP0040 is not set: The target in the TARGET signature of add_custom_command() must exist and must be defined in the current directory. Run "cmake --help-policy CMP0040" for policy details. Use the cmake_policy command to set the policy and suppress this warning. No TARGET 'py3-copy' has been created in this directory. Call Stack (most recent call first): src/python/src/CMakeLists.txt:57 (include) This warning is for project developers. Use -Wno-dev to suppress it. CMake Warning (dev) at src/python/pycopy.cmake:34 (add_custom_command): Policy CMP0040 is not set: The target in the TARGET signature of add_custom_command() must exist and must be defined in the current directory. Run "cmake --help-policy CMP0040" for policy details. Use the cmake_policy command to set the policy and suppress this warning. No TARGET 'py3-copy' has been created in this directory. Call Stack (most recent call first): src/python/src/CMakeLists.txt:57 (include) This warning is for project developers. Use -Wno-dev to suppress it. CMake Warning (dev) at src/python/pycopy.cmake:34 (add_custom_command): Policy CMP0040 is not set: The target in the TARGET signature of add_custom_command() must exist and must be defined in the current directory. Run "cmake --help-policy CMP0040" for policy details. Use the cmake_policy command to set the policy and suppress this warning. No TARGET 'py3-copy' has been created in this directory. Call Stack (most recent call first): src/python/src/CMakeLists.txt:57 (include) This warning is for project developers. Use -Wno-dev to suppress it. CMake Warning (dev) at src/python/pycopy.cmake:34 (add_custom_command): Policy CMP0040 is not set: The target in the TARGET signature of add_custom_command() must exist and must be defined in the current directory. Run "cmake --help-policy CMP0040" for policy details. Use the cmake_policy command to set the policy and suppress this warning. No TARGET 'py3-copy' has been created in this directory. Call Stack (most recent call first): src/python/src/CMakeLists.txt:57 (include) This warning is for project developers. Use -Wno-dev to suppress it. CMake Warning (dev) at src/python/pycopy.cmake:34 (add_custom_command): Policy CMP0040 is not set: The target in the TARGET signature of add_custom_command() must exist and must be defined in the current directory. Run "cmake --help-policy CMP0040" for policy details. Use the cmake_policy command to set the policy and suppress this warning. No TARGET 'py3-copy' has been created in this directory. Call Stack (most recent call first): src/python/src/CMakeLists.txt:57 (include) This warning is for project developers. Use -Wno-dev to suppress it. CMake Warning (dev) at src/python/pycopy.cmake:34 (add_custom_command): Policy CMP0040 is not set: The target in the TARGET signature of add_custom_command() must exist and must be defined in the current directory. Run "cmake --help-policy CMP0040" for policy details. Use the cmake_policy command to set the policy and suppress this warning. No TARGET 'py3-copy' has been created in this directory. Call Stack (most recent call first): src/python/src/CMakeLists.txt:57 (include) This warning is for project developers. Use -Wno-dev to suppress it. CMake Warning (dev) at src/python/pycopy.cmake:34 (add_custom_command): Policy CMP0040 is not set: The target in the TARGET signature of add_custom_command() must exist and must be defined in the current directory. Run "cmake --help-policy CMP0040" for policy details. Use the cmake_policy command to set the policy and suppress this warning. No TARGET 'py3-copy' has been created in this directory. Call Stack (most recent call first): src/python/src/CMakeLists.txt:57 (include) This warning is for project developers. Use -Wno-dev to suppress it. CMake Warning (dev) at src/python/pycopy.cmake:40 (add_custom_command): Policy CMP0040 is not set: The target in the TARGET signature of add_custom_command() must exist and must be defined in the current directory. Run "cmake --help-policy CMP0040" for policy details. Use the cmake_policy command to set the policy and suppress this warning. No TARGET 'py3-copy' has been created in this directory. Call Stack (most recent call first): src/python/src/CMakeLists.txt:57 (include) This warning is for project developers. Use -Wno-dev to suppress it. -- Found Sphinx: /usr/bin/sphinx-build /builddir/build/BUILD/libcomps-0.1.19/libcomps/src/python/docs CMake Warning (dev) at tests/CMakeLists.txt:90 (target_link_libraries): Policy CMP0039 is not set: Utility targets may not have link dependencies. Run "cmake --help-policy CMP0039" for policy details. Use the cmake_policy command to set the policy and suppress this warning. Utility target "test_parse_run" should not be used as the target of a target_link_libraries call. This warning is for project developers. Use -Wno-dev to suppress it. CMake Warning (dev) at tests/CMakeLists.txt:91 (target_link_libraries): Policy CMP0039 is not set: Utility targets may not have link dependencies. Run "cmake --help-policy CMP0039" for policy details. Use the cmake_policy command to set the policy and suppress this warning. Utility target "test_comps_run" should not be used as the target of a target_link_libraries call. This warning is for project developers. Use -Wno-dev to suppress it. -- Found Doxygen: /usr/bin/doxygen (found version "1.9.6") found components: doxygen dot -- Configuring done (0.5s) CMake Error: The following variables are used in this project, but they are set to NOTFOUND. Please set them or make sure they are set and tested correctly in the CMake files: PYTHON_LIBRARY (ADVANCED) linked by target "pycomps" in directory /builddir/build/BUILD/libcomps-0.1.19/libcomps/src/python/src CMake Warning (dev) at src/python/src/CMakeLists.txt:81 (add_dependencies): Policy CMP0046 is not set: Error on non-existent dependency in add_dependencies. Run "cmake --help-policy CMP0046" for policy details. Use the cmake_policy command to set the policy and suppress this warning. The dependency target "py3-copy" of target "pytest_run" does not exist. This warning is for project developers. Use -Wno-dev to suppress it. -- Generating done (0.0s) CMake Warning: Manually-specified variables were not used by the project: CMAKE_CXX_FLAGS_RELEASE CMAKE_C_FLAGS_RELEASE CMAKE_Fortran_FLAGS_RELEASE CMAKE_INSTALL_DO_STRIP INCLUDE_INSTALL_DIR LIB_INSTALL_DIR LIB_SUFFIX SHARE_INSTALL_PREFIX SYSCONF_INSTALL_DIR CMake Generate step failed. Build files cannot be regenerated correctly. error: Bad exit status from /var/tmp/rpm-tmp.7xpbpK (%build) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.7xpbpK (%build) Child return code was: 1 EXCEPTION: [Error('Command failed: \n # bash --login -c /usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps /builddir/build/SPECS/libcomps.spec\n', 1)] Traceback (most recent call last): File "/usr/lib/python3.6/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) File "/usr/lib/python3.6/site-packages/mockbuild/util.py", line 598, in do_with_status raise exception.Error("Command failed: \n # %s\n%s" % (command, output), child.returncode) mockbuild.exception.Error: Command failed: # bash --login -c /usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps /builddir/build/SPECS/libcomps.spec