Mock Version: 4.1 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/python3.11-libcomps.spec'], chrootPath='/var/lib/mock/rhel+epel-8-x86_64-1686200022.336142/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=0uid=1000gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.epftgdl3:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.epftgdl3:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '1c33319219f0462a973d02bd31cc9c19', '-D', '/var/lib/mock/rhel+epel-8-x86_64-1686200022.336142/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.epftgdl3:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/python3.11-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', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False sh: /usr/bin/python3.11: No such file or directory sh: /usr/bin/python3.11: No such file or directory sh: /usr/bin/python3.11: No such file or directory sh: /usr/bin/python3.11: No such file or directory Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/python3.11-libcomps-0.1.18-1.el8.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/python3.11-libcomps.spec'], chrootPath='/var/lib/mock/rhel+epel-8-x86_64-1686200022.336142/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=0uid=1000gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.epftgdl3:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.epftgdl3:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '22a2749e7f494d4798f26f9054fa787a', '-D', '/var/lib/mock/rhel+epel-8-x86_64-1686200022.336142/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.epftgdl3:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/python3.11-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', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.bzZKd6 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf libcomps-0.1.18 + /usr/bin/gzip -dc /builddir/build/SOURCES/libcomps-0.1.18.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd libcomps-0.1.18 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.7j4u3E + umask 022 + cd /builddir/build/BUILD + cd libcomps-0.1.18 + CFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + LDFLAGS='-Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + /usr/bin/python3.11 setup.py build '--executable=/usr/bin/python3.11 -sP' /builddir/build/BUILD/libcomps-0.1.18/setup.py:16: FutureWarning: package_dir={'libcomps': 'libcomps/src/python/src/libcomps/'} ends with a trailing slash, which is not supported by setuptools. setup( /usr/lib/python3.11/site-packages/setuptools/dist.py:530: UserWarning: Normalizing '0.1.18-1' to '0.1.18.post1' warnings.warn(tmpl.format(**locals())) -------------------------------------------------------------------------------- -- Trying 'Ninja' generator -------------------------------- --------------------------- ---------------------- ----------------- ------------ ------- -- Not searching for unused variables given on the command line. -- The C compiler identification is GNU 8.5.0 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /usr/bin/cc - skipped -- Detecting C compile features -- Detecting C compile features - done -- Configuring done -- Generating done -- Build files have been written to: /builddir/build/BUILD/libcomps-0.1.18/_cmake_test_compile/build -- ------- ------------ ----------------- ---------------------- --------------------------- -------------------------------- -- Trying 'Ninja' generator - success -------------------------------------------------------------------------------- Configuring Project Working directory: /builddir/build/BUILD/libcomps-0.1.18/_skbuild/linux-x86_64-3.11/cmake-build Command: /usr/bin/cmake3 /builddir/build/BUILD/libcomps-0.1.18/libcomps -G Ninja --no-warn-unused-cli -DCMAKE_INSTALL_PREFIX:PATH=/builddir/build/BUILD/libcomps-0.1.18/_skbuild/linux-x86_64-3.11/cmake-install -DPYTHON_VERSION_STRING:STRING=3.11.2 -DSKBUILD:INTERNAL=TRUE -DCMAKE_MODULE_PATH:PATH=/usr/lib/python3.11/site-packages/skbuild/resources/cmake -DPYTHON_EXECUTABLE:PATH=/usr/bin/python3.11 -DPYTHON_INCLUDE_DIR:PATH=/usr/include/python3.11 -DPYTHON_LIBRARY:PATH=/usr/lib64/libpython3.11.so -DPython_EXECUTABLE:PATH=/usr/bin/python3.11 -DPython_ROOT_DIR:PATH=/usr -DPython_FIND_REGISTRY:STRING=NEVER -DPython_INCLUDE_DIR:PATH=/usr/include/python3.11 -DPython3_EXECUTABLE:PATH=/usr/bin/python3.11 -DPython3_ROOT_DIR:PATH=/usr -DPython3_FIND_REGISTRY:STRING=NEVER -DPython3_INCLUDE_DIR:PATH=/usr/include/python3.11 -DBIN_INSTALL_DIR:PATH=libcomps/src/python/src/libcomps/data/bin -DBUILD_LIBCOMPS_SHARED:BOOL=OFF -DENABLE_DEVELOPMENT:BOOL=OFF -DENABLE_DOCS:BOOL=OFF -DENABLE_TESTS:BOOL=OFF -DCMAKE_BUILD_TYPE:STRING=Release Not searching for unused variables given on the command line. -- The C compiler identification is GNU 8.5.0 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /usr/bin/cc - 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.11") -- Found LibXml2: /usr/lib64/libxml2.so (found version "2.9.7") -- Found EXPAT: /usr/lib64/libexpat.so (found version "2.2.5") /builddir/build/BUILD/libcomps-0.1.18/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. -- Configuring done 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. -- Generating done -- Build files have been written to: /builddir/build/BUILD/libcomps-0.1.18/_skbuild/linux-x86_64-3.11/cmake-build [1/42] Running utility command for src-copy [2/42] Building C object src/CMakeFiles/libcomps.dir/comps_docgroup.c.o [3/42] Building C object src/CMakeFiles/libcomps.dir/comps_doccategory.c.o [4/42] Building C object src/CMakeFiles/libcomps.dir/comps_docpackage.c.o [5/42] Building C object src/CMakeFiles/libcomps.dir/comps_docenv.c.o [6/42] Building C object src/CMakeFiles/libcomps.dir/comps_docgroupid.c.o [7/42] Building C object src/CMakeFiles/libcomps.dir/comps_doc.c.o [8/42] Building C object src/CMakeFiles/libcomps.dir/comps_obj.c.o [9/42] Building C object src/CMakeFiles/libcomps.dir/comps_mm.c.o [10/42] Building C object src/CMakeFiles/libcomps.dir/comps_dict.c.o [11/42] Building C object src/CMakeFiles/libcomps.dir/comps_hslist.c.o [12/42] Building C object src/CMakeFiles/libcomps.dir/comps_objdict.c.o [13/42] Building C object src/CMakeFiles/libcomps.dir/comps_objradix.c.o [14/42] Building C object src/CMakeFiles/libcomps.dir/comps_objmradix.c.o [15/42] Building C object src/CMakeFiles/libcomps.dir/comps_objlist.c.o [16/42] Building C object src/CMakeFiles/libcomps.dir/comps_elem.c.o [17/42] Building C object src/CMakeFiles/libcomps.dir/comps_mradix.c.o [18/42] Building C object src/CMakeFiles/libcomps.dir/comps_set.c.o [19/42] Building C object src/CMakeFiles/libcomps.dir/comps_radix.c.o [20/42] Building C object src/CMakeFiles/libcomps.dir/comps_bradix.c.o [21/42] Building C object src/CMakeFiles/libcomps.dir/comps_default.c.o [22/42] Building C object src/CMakeFiles/libcomps.dir/comps_log.c.o [23/42] Building C object src/CMakeFiles/libcomps.dir/comps_parse.c.o /builddir/build/BUILD/libcomps-0.1.18/libcomps/src/comps_parse.c: In function ‘comps_parse_start_doctype’: /builddir/build/BUILD/libcomps-0.1.18/libcomps/src/comps_parse.c:133:36: warning: unused parameter ‘standalone’ [-Wunused-parameter] int standalone) { ~~~~^~~~~~~~~~ [24/42] Building C object src/CMakeFiles/libcomps.dir/comps_validate.c.o [25/42] Building C object src/CMakeFiles/libcomps.dir/comps_log_codes.c.o [26/42] Building C object src/CMakeFiles/libcomps.dir/comps_utils.c.o [27/42] Building C object src/CMakeFiles/libcomps.dir/comps_types.c.o [28/42] Linking C static library src/libcomps.a [29/42] Building C object src/python/src/CMakeFiles/pycomps.dir/pycomps_envs.c.o In file included from /usr/include/python3.11/Python.h:86, from /builddir/build/BUILD/libcomps-0.1.18/libcomps/src/python/src/pycomps_macros.h:24, from /builddir/build/BUILD/libcomps-0.1.18/libcomps/src/python/src/pycomps_envs.c:20: /usr/include/python3.11/cpython/pytime.h:208:60: warning: ‘struct timespec’ declared inside parameter list will not be visible outside of this definition or declaration PyAPI_FUNC(int) _PyTime_FromTimespec(_PyTime_t *tp, struct timespec *ts); ^~~~~~~~ /usr/include/python3.11/cpython/pytime.h:213:56: warning: ‘struct timespec’ declared inside parameter list will not be visible outside of this definition or declaration PyAPI_FUNC(int) _PyTime_AsTimespec(_PyTime_t t, struct timespec *ts); ^~~~~~~~ /usr/include/python3.11/cpython/pytime.h:217:63: warning: ‘struct timespec’ declared inside parameter list will not be visible outside of this definition or declaration PyAPI_FUNC(void) _PyTime_AsTimespec_clamp(_PyTime_t t, struct timespec *ts); ^~~~~~~~ /builddir/build/BUILD/libcomps-0.1.18/libcomps/src/python/src/pycomps_envs.c:168:18: warning: cast between incompatible function types from ‘PyObject * (*)(PyCOMPS_Env *)’ {aka ‘struct _object * (*)(struct *)’} to ‘PyObject * (*)(PyObject *, PyObject *)’ {aka ‘struct _object * (*)(struct _object *, struct _object *)’} [-Wcast-function-type] {"validate", (PyCFunction)PyCOMPSEnv_validate, METH_NOARGS, ^ [30/42] Building C object src/python/src/CMakeFiles/pycomps.dir/pycomps_sequence.c.o In file included from /usr/include/python3.11/Python.h:86, from /builddir/build/BUILD/libcomps-0.1.18/libcomps/src/python/src/pycomps_macros.h:24, from /builddir/build/BUILD/libcomps-0.1.18/libcomps/src/python/src/pycomps_sequence.h:23, from /builddir/build/BUILD/libcomps-0.1.18/libcomps/src/python/src/pycomps_sequence.c:20: /usr/include/python3.11/cpython/pytime.h:208:60: warning: ‘struct timespec’ declared inside parameter list will not be visible outside of this definition or declaration PyAPI_FUNC(int) _PyTime_FromTimespec(_PyTime_t *tp, struct timespec *ts); ^~~~~~~~ /usr/include/python3.11/cpython/pytime.h:213:56: warning: ‘struct timespec’ declared inside parameter list will not be visible outside of this definition or declaration PyAPI_FUNC(int) _PyTime_AsTimespec(_PyTime_t t, struct timespec *ts); ^~~~~~~~ /usr/include/python3.11/cpython/pytime.h:217:63: warning: ‘struct timespec’ declared inside parameter list will not be visible outside of this definition or declaration PyAPI_FUNC(void) _PyTime_AsTimespec_clamp(_PyTime_t t, struct timespec *ts); ^~~~~~~~ /builddir/build/BUILD/libcomps-0.1.18/libcomps/src/python/src/pycomps_sequence.c:646:16: warning: cast between incompatible function types from ‘PyObject * (*)(PyObject *)’ {aka ‘struct _object * (*)(struct _object *)’} to ‘PyObject * (*)(PyObject *, PyObject *)’ {aka ‘struct _object * (*)(struct _object *, struct _object *)’} [-Wcast-function-type] {"clear", (PyCFunction)PyCOMPSSeq_clear, METH_NOARGS, ^ In file included from /usr/include/python3.11/Python.h:44, from /builddir/build/BUILD/libcomps-0.1.18/libcomps/src/python/src/pycomps_macros.h:24, from /builddir/build/BUILD/libcomps-0.1.18/libcomps/src/python/src/pycomps_sequence.h:23, from /builddir/build/BUILD/libcomps-0.1.18/libcomps/src/python/src/pycomps_sequence.c:20: /usr/include/python3.11/object.h:136:23: warning: ‘Py_TYPE’ is static but used in inline function ‘list_setitem_convert’ which is not static # define Py_TYPE(ob) Py_TYPE(_PyObject_CAST(ob)) ^~~~~~~ /builddir/build/BUILD/libcomps-0.1.18/libcomps/src/python/src/pycomps_sequence.c:99:13: note: in expansion of macro ‘Py_TYPE’ if (Py_TYPE(item) != _seq_->it_info->itemtypes[i]) ^~~~~~~ [31/42] Building C object src/python/src/CMakeFiles/pycomps.dir/pycomps_categories.c.o In file included from /usr/include/python3.11/Python.h:86, from /builddir/build/BUILD/libcomps-0.1.18/libcomps/src/python/src/pycomps_macros.h:24, from /builddir/build/BUILD/libcomps-0.1.18/libcomps/src/python/src/pycomps_categories.h:23, from /builddir/build/BUILD/libcomps-0.1.18/libcomps/src/python/src/pycomps_categories.c:20: /usr/include/python3.11/cpython/pytime.h:208:60: warning: ‘struct timespec’ declared inside parameter list will not be visible outside of this definition or declaration PyAPI_FUNC(int) _PyTime_FromTimespec(_PyTime_t *tp, struct timespec *ts); ^~~~~~~~ /usr/include/python3.11/cpython/pytime.h:213:56: warning: ‘struct timespec’ declared inside parameter list will not be visible outside of this definition or declaration PyAPI_FUNC(int) _PyTime_AsTimespec(_PyTime_t t, struct timespec *ts); ^~~~~~~~ /usr/include/python3.11/cpython/pytime.h:217:63: warning: ‘struct timespec’ declared inside parameter list will not be visible outside of this definition or declaration PyAPI_FUNC(void) _PyTime_AsTimespec_clamp(_PyTime_t t, struct timespec *ts); ^~~~~~~~ /builddir/build/BUILD/libcomps-0.1.18/libcomps/src/python/src/pycomps_categories.c:202:18: warning: cast between incompatible function types from ‘PyObject * (*)(PyCOMPS_Category *)’ {aka ‘struct _object * (*)(struct *)’} to ‘PyObject * (*)(PyObject *, PyObject *)’ {aka ‘struct _object * (*)(struct _object *, struct _object *)’} [-Wcast-function-type] {"validate", (PyCFunction)PyCOMPSCat_validate, METH_NOARGS, ^ [32/42] Building C object src/python/src/CMakeFiles/pycomps.dir/pycomps.c.o In file included from /usr/include/python3.11/Python.h:86, from /builddir/build/BUILD/libcomps-0.1.18/libcomps/src/python/src/pycomps_macros.h:24, from /builddir/build/BUILD/libcomps-0.1.18/libcomps/src/python/src/pycomps.c:28: /usr/include/python3.11/cpython/pytime.h:208:60: warning: ‘struct timespec’ declared inside parameter list will not be visible outside of this definition or declaration PyAPI_FUNC(int) _PyTime_FromTimespec(_PyTime_t *tp, struct timespec *ts); ^~~~~~~~ /usr/include/python3.11/cpython/pytime.h:213:56: warning: ‘struct timespec’ declared inside parameter list will not be visible outside of this definition or declaration PyAPI_FUNC(int) _PyTime_AsTimespec(_PyTime_t t, struct timespec *ts); ^~~~~~~~ /usr/include/python3.11/cpython/pytime.h:217:63: warning: ‘struct timespec’ declared inside parameter list will not be visible outside of this definition or declaration PyAPI_FUNC(void) _PyTime_AsTimespec_clamp(_PyTime_t t, struct timespec *ts); ^~~~~~~~ /builddir/build/BUILD/libcomps-0.1.18/libcomps/src/python/src/pycomps.c:765:22: warning: cast between incompatible function types from ‘PyObject * (*)(PyObject *, PyObject *, PyObject *)’ {aka ‘struct _object * (*)(struct _object *, struct _object *, struct _object *)’} to ‘PyObject * (*)(PyObject *, PyObject *)’ {aka ‘struct _object * (*)(struct _object *, struct _object *)’} [-Wcast-function-type] {"groups_match", (PyCFunction)PyCOMPS_groups_match, METH_VARARGS | METH_KEYWORDS, ^ /builddir/build/BUILD/libcomps-0.1.18/libcomps/src/python/src/pycomps.c:767:26: warning: cast between incompatible function types from ‘PyObject * (*)(PyObject *, PyObject *, PyObject *)’ {aka ‘struct _object * (*)(struct _object *, struct _object *, struct _object *)’} to ‘PyObject * (*)(PyObject *, PyObject *)’ {aka ‘struct _object * (*)(struct _object *, struct _object *)’} [-Wcast-function-type] {"categories_match", (PyCFunction)PyCOMPS_categories_match, METH_VARARGS | METH_KEYWORDS, ^ /builddir/build/BUILD/libcomps-0.1.18/libcomps/src/python/src/pycomps.c:769:28: warning: cast between incompatible function types from ‘PyObject * (*)(PyObject *, PyObject *, PyObject *)’ {aka ‘struct _object * (*)(struct _object *, struct _object *, struct _object *)’} to ‘PyObject * (*)(PyObject *, PyObject *)’ {aka ‘struct _object * (*)(struct _object *, struct _object *)’} [-Wcast-function-type] {"environments_match", (PyCFunction)PyCOMPS_envs_match, METH_VARARGS | METH_KEYWORDS, ^ /builddir/build/BUILD/libcomps-0.1.18/libcomps/src/python/src/pycomps.c:771:18: warning: cast between incompatible function types from ‘PyObject * (*)(PyCOMPS *)’ {aka ‘struct _object * (*)(struct *)’} to ‘PyObject * (*)(PyObject *, PyObject *)’ {aka ‘struct _object * (*)(struct _object *, struct _object *)’} [-Wcast-function-type] {"validate", (PyCFunction)PyCOMPS_validate, METH_NOARGS, ^ /builddir/build/BUILD/libcomps-0.1.18/libcomps/src/python/src/pycomps.c:773:21: warning: cast between incompatible function types from ‘PyObject * (*)(PyCOMPS *)’ {aka ‘struct _object * (*)(struct *)’} to ‘PyObject * (*)(PyObject *, PyObject *)’ {aka ‘struct _object * (*)(struct _object *, struct _object *)’} [-Wcast-function-type] {"validate_nf", (PyCFunction)PyCOMPS_validate_nf, METH_NOARGS, ^ /builddir/build/BUILD/libcomps-0.1.18/libcomps/src/python/src/pycomps.c:775:15: warning: cast between incompatible function types from ‘PyObject * (*)(PyObject *, PyObject *, PyObject *)’ {aka ‘struct _object * (*)(struct _object *, struct _object *, struct _object *)’} to ‘PyObject * (*)(PyObject *, PyObject *)’ {aka ‘struct _object * (*)(struct _object *, struct _object *)’} [-Wcast-function-type] {"xml_f", (PyCFunction)PyCOMPS_toxml_f, METH_VARARGS | METH_KEYWORDS, ^ /builddir/build/BUILD/libcomps-0.1.18/libcomps/src/python/src/pycomps.c:777:17: warning: cast between incompatible function types from ‘PyObject * (*)(PyObject *, PyObject *, PyObject *)’ {aka ‘struct _object * (*)(struct _object *, struct _object *, struct _object *)’} to ‘PyObject * (*)(PyObject *, PyObject *)’ {aka ‘struct _object * (*)(struct _object *, struct _object *)’} [-Wcast-function-type] {"xml_str", (PyCFunction)PyCOMPS_toxml_str, METH_VARARGS | METH_KEYWORDS, ^ /builddir/build/BUILD/libcomps-0.1.18/libcomps/src/python/src/pycomps.c:779:17: warning: cast between incompatible function types from ‘PyObject * (*)(PyObject *, PyObject *, PyObject *)’ {aka ‘struct _object * (*)(struct _object *, struct _object *, struct _object *)’} to ‘PyObject * (*)(PyObject *, PyObject *)’ {aka ‘struct _object * (*)(struct _object *, struct _object *)’} [-Wcast-function-type] {"toxml_f", (PyCFunction)PyCOMPS_toxml_f, METH_VARARGS | METH_KEYWORDS, ^ /builddir/build/BUILD/libcomps-0.1.18/libcomps/src/python/src/pycomps.c:781:19: warning: cast between incompatible function types from ‘PyObject * (*)(PyObject *, PyObject *, PyObject *)’ {aka ‘struct _object * (*)(struct _object *, struct _object *, struct _object *)’} to ‘PyObject * (*)(PyObject *, PyObject *)’ {aka ‘struct _object * (*)(struct _object *, struct _object *)’} [-Wcast-function-type] {"toxml_str", (PyCFunction)PyCOMPS_toxml_str, METH_VARARGS | METH_KEYWORDS, ^ /builddir/build/BUILD/libcomps-0.1.18/libcomps/src/python/src/pycomps.c:783:19: warning: cast between incompatible function types from ‘PyObject * (*)(PyObject *, PyObject *, PyObject *)’ {aka ‘struct _object * (*)(struct _object *, struct _object *, struct _object *)’} to ‘PyObject * (*)(PyObject *, PyObject *)’ {aka ‘struct _object * (*)(struct _object *, struct _object *)’} [-Wcast-function-type] {"fromxml_f", (PyCFunction)PyCOMPS_fromxml_f, METH_VARARGS | METH_KEYWORDS, ^ /builddir/build/BUILD/libcomps-0.1.18/libcomps/src/python/src/pycomps.c:785:21: warning: cast between incompatible function types from ‘PyObject * (*)(PyObject *, PyObject *, PyObject *)’ {aka ‘struct _object * (*)(struct _object *, struct _object *, struct _object *)’} to ‘PyObject * (*)(PyObject *, PyObject *)’ {aka ‘struct _object * (*)(struct _object *, struct _object *)’} [-Wcast-function-type] {"fromxml_str", (PyCFunction)PyCOMPS_fromxml_str, METH_VARARGS | METH_KEYWORDS, ^ /builddir/build/BUILD/libcomps-0.1.18/libcomps/src/python/src/pycomps.c:787:15: warning: cast between incompatible function types from ‘PyObject * (*)(PyObject *)’ {aka ‘struct _object * (*)(struct _object *)’} to ‘PyObject * (*)(PyObject *, PyObject *)’ {aka ‘struct _object * (*)(struct _object *, struct _object *)’} [-Wcast-function-type] {"clear", (PyCFunction)PyCOMPS_clear, METH_NOARGS, ^ /builddir/build/BUILD/libcomps-0.1.18/libcomps/src/python/src/pycomps.c:968:33: warning: cast between incompatible function types from ‘PyObject * (*)(PyObject *)’ {aka ‘struct _object * (*)(struct _object *)’} to ‘PyObject * (*)(PyObject *, PyObject *)’ {aka ‘struct _object * (*)(struct _object *, struct _object *)’} [-Wcast-function-type] {"get_xml_default_options", (PyCFunction)Libcomps_xml_default, METH_NOARGS, ^ [33/42] Building C object src/python/src/CMakeFiles/pycomps.dir/pycomps_gids.c.o In file included from /usr/include/python3.11/Python.h:86, from /builddir/build/BUILD/libcomps-0.1.18/libcomps/src/python/src/pycomps_macros.h:24, from /builddir/build/BUILD/libcomps-0.1.18/libcomps/src/python/src/pycomps_gids.h:23, from /builddir/build/BUILD/libcomps-0.1.18/libcomps/src/python/src/pycomps_gids.c:20: /usr/include/python3.11/cpython/pytime.h:208:60: warning: ‘struct timespec’ declared inside parameter list will not be visible outside of this definition or declaration PyAPI_FUNC(int) _PyTime_FromTimespec(_PyTime_t *tp, struct timespec *ts); ^~~~~~~~ /usr/include/python3.11/cpython/pytime.h:213:56: warning: ‘struct timespec’ declared inside parameter list will not be visible outside of this definition or declaration PyAPI_FUNC(int) _PyTime_AsTimespec(_PyTime_t t, struct timespec *ts); ^~~~~~~~ /usr/include/python3.11/cpython/pytime.h:217:63: warning: ‘struct timespec’ declared inside parameter list will not be visible outside of this definition or declaration PyAPI_FUNC(void) _PyTime_AsTimespec_clamp(_PyTime_t t, struct timespec *ts); ^~~~~~~~ /builddir/build/BUILD/libcomps-0.1.18/libcomps/src/python/src/pycomps_gids.c:200:18: warning: cast between incompatible function types from ‘PyObject * (*)(PyCOMPS_GID *)’ {aka ‘struct _object * (*)(struct *)’} to ‘PyObject * (*)(PyObject *, PyObject *)’ {aka ‘struct _object * (*)(struct _object *, struct _object *)’} [-Wcast-function-type] {"validate", (PyCFunction)PyCOMPSGID_validate, METH_NOARGS, ^ [34/42] Building C object src/python/src/CMakeFiles/pycomps.dir/pycomps_utils.c.o [35/42] Building C object src/python/src/CMakeFiles/pycomps.dir/pycomps_groups.c.o In file included from /usr/include/python3.11/Python.h:86, from /builddir/build/BUILD/libcomps-0.1.18/libcomps/src/python/src/pycomps_macros.h:24, from /builddir/build/BUILD/libcomps-0.1.18/libcomps/src/python/src/pycomps_groups.h:23, from /builddir/build/BUILD/libcomps-0.1.18/libcomps/src/python/src/pycomps_groups.c:20: /usr/include/python3.11/cpython/pytime.h:208:60: warning: ‘struct timespec’ declared inside parameter list will not be visible outside of this definition or declaration PyAPI_FUNC(int) _PyTime_FromTimespec(_PyTime_t *tp, struct timespec *ts); ^~~~~~~~ /usr/include/python3.11/cpython/pytime.h:213:56: warning: ‘struct timespec’ declared inside parameter list will not be visible outside of this definition or declaration PyAPI_FUNC(int) _PyTime_AsTimespec(_PyTime_t t, struct timespec *ts); ^~~~~~~~ /usr/include/python3.11/cpython/pytime.h:217:63: warning: ‘struct timespec’ declared inside parameter list will not be visible outside of this definition or declaration PyAPI_FUNC(void) _PyTime_AsTimespec_clamp(_PyTime_t t, struct timespec *ts); ^~~~~~~~ /builddir/build/BUILD/libcomps-0.1.18/libcomps/src/python/src/pycomps_groups.c:213:18: warning: cast between incompatible function types from ‘PyObject * (*)(PyCOMPS_Group *)’ {aka ‘struct _object * (*)(struct *)’} to ‘PyObject * (*)(PyObject *, PyObject *)’ {aka ‘struct _object * (*)(struct _object *, struct _object *)’} [-Wcast-function-type] {"validate", (PyCFunction)PyCOMPSGroup_validate, METH_NOARGS, ^ /builddir/build/BUILD/libcomps-0.1.18/libcomps/src/python/src/pycomps_groups.c:215:24: warning: cast between incompatible function types from ‘PyObject * (*)(PyObject *, PyObject *, PyObject *)’ {aka ‘struct _object * (*)(struct _object *, struct _object *, struct _object *)’} to ‘PyObject * (*)(PyObject *, PyObject *)’ {aka ‘struct _object * (*)(struct _object *, struct _object *)’} [-Wcast-function-type] {"packages_match", (PyCFunction)PyCOMPSGroup_packages_match, ^ /builddir/build/BUILD/libcomps-0.1.18/libcomps/src/python/src/pycomps_groups.c:845:18: warning: cast between incompatible function types from ‘PyObject * (*)(PyCOMPS_Package *)’ {aka ‘struct _object * (*)(struct *)’} to ‘PyObject * (*)(PyObject *, PyObject *)’ {aka ‘struct _object * (*)(struct _object *, struct _object *)’} [-Wcast-function-type] {"validate", (PyCFunction)PyCOMPSPackage_validate, METH_NOARGS, ^ [36/42] Building C object src/python/src/CMakeFiles/pycomps.dir/pycomps_hash.c.o In file included from /usr/include/python3.11/Python.h:86, from /builddir/build/BUILD/libcomps-0.1.18/libcomps/src/python/src/pycomps_macros.h:24, from /builddir/build/BUILD/libcomps-0.1.18/libcomps/src/python/src/pycomps_hash.h:23, from /builddir/build/BUILD/libcomps-0.1.18/libcomps/src/python/src/pycomps_hash.c:20: /usr/include/python3.11/cpython/pytime.h:208:60: warning: ‘struct timespec’ declared inside parameter list will not be visible outside of this definition or declaration PyAPI_FUNC(int) _PyTime_FromTimespec(_PyTime_t *tp, struct timespec *ts); ^~~~~~~~ /usr/include/python3.11/cpython/pytime.h:213:56: warning: ‘struct timespec’ declared inside parameter list will not be visible outside of this definition or declaration PyAPI_FUNC(int) _PyTime_AsTimespec(_PyTime_t t, struct timespec *ts); ^~~~~~~~ /usr/include/python3.11/cpython/pytime.h:217:63: warning: ‘struct timespec’ declared inside parameter list will not be visible outside of this definition or declaration PyAPI_FUNC(void) _PyTime_AsTimespec_clamp(_PyTime_t t, struct timespec *ts); ^~~~~~~~ [37/42] Building C object src/python/src/CMakeFiles/pycomps.dir/pycomps_dict.c.o /builddir/build/BUILD/libcomps-0.1.18/libcomps/src/python/src/pycomps_dict.c:388:16: warning: cast between incompatible function types from ‘PyObject * (*)(PyObject *)’ {aka ‘struct _object * (*)(struct _object *)’} to ‘PyObject * (*)(PyObject *, PyObject *)’ {aka ‘struct _object * (*)(struct _object *, struct _object *)’} [-Wcast-function-type] {"items", (PyCFunction)PyCOMPSDict_getiteritems, METH_NOARGS, ^ /builddir/build/BUILD/libcomps-0.1.18/libcomps/src/python/src/pycomps_dict.c:390:17: warning: cast between incompatible function types from ‘PyObject * (*)(PyObject *)’ {aka ‘struct _object * (*)(struct _object *)’} to ‘PyObject * (*)(PyObject *, PyObject *)’ {aka ‘struct _object * (*)(struct _object *, struct _object *)’} [-Wcast-function-type] {"values", (PyCFunction)PyCOMPSDict_getitervalues, METH_NOARGS, ^ /builddir/build/BUILD/libcomps-0.1.18/libcomps/src/python/src/pycomps_dict.c:392:15: warning: cast between incompatible function types from ‘PyObject * (*)(PyObject *)’ {aka ‘struct _object * (*)(struct _object *)’} to ‘PyObject * (*)(PyObject *, PyObject *)’ {aka ‘struct _object * (*)(struct _object *, struct _object *)’} [-Wcast-function-type] {"keys", (PyCFunction)PyCOMPSDict_getiter, METH_NOARGS, ^ /builddir/build/BUILD/libcomps-0.1.18/libcomps/src/python/src/pycomps_dict.c:394:16: warning: cast between incompatible function types from ‘PyObject * (*)(PyObject *)’ {aka ‘struct _object * (*)(struct _object *)’} to ‘PyObject * (*)(PyObject *, PyObject *)’ {aka ‘struct _object * (*)(struct _object *, struct _object *)’} [-Wcast-function-type] {"clear", (PyCFunction)PyCOMPSDict_clear, METH_NOARGS, ^ /builddir/build/BUILD/libcomps-0.1.18/libcomps/src/python/src/pycomps_dict.c:396:15: warning: cast between incompatible function types from ‘PyObject * (*)(PyObject *)’ {aka ‘struct _object * (*)(struct _object *)’} to ‘PyObject * (*)(PyObject *, PyObject *)’ {aka ‘struct _object * (*)(struct _object *, struct _object *)’} [-Wcast-function-type] {"copy", (PyCFunction)PyCOMPSDict_copy, METH_NOARGS, ^ [38/42] Building C object src/python/src/CMakeFiles/pycomps.dir/pycomps_mdict.c.o /builddir/build/BUILD/libcomps-0.1.18/libcomps/src/python/src/pycomps_mdict.c:408:16: warning: cast between incompatible function types from ‘PyObject * (*)(PyObject *)’ {aka ‘struct _object * (*)(struct _object *)’} to ‘PyObject * (*)(PyObject *, PyObject *)’ {aka ‘struct _object * (*)(struct _object *, struct _object *)’} [-Wcast-function-type] {"items", (PyCFunction)PyCOMPSMDict_getiteritems, METH_NOARGS, ^ /builddir/build/BUILD/libcomps-0.1.18/libcomps/src/python/src/pycomps_mdict.c:410:17: warning: cast between incompatible function types from ‘PyObject * (*)(PyObject *)’ {aka ‘struct _object * (*)(struct _object *)’} to ‘PyObject * (*)(PyObject *, PyObject *)’ {aka ‘struct _object * (*)(struct _object *, struct _object *)’} [-Wcast-function-type] {"values", (PyCFunction)PyCOMPSMDict_getitervalues, METH_NOARGS, ^ /builddir/build/BUILD/libcomps-0.1.18/libcomps/src/python/src/pycomps_mdict.c:412:15: warning: cast between incompatible function types from ‘PyObject * (*)(PyObject *)’ {aka ‘struct _object * (*)(struct _object *)’} to ‘PyObject * (*)(PyObject *, PyObject *)’ {aka ‘struct _object * (*)(struct _object *, struct _object *)’} [-Wcast-function-type] {"keys", (PyCFunction)PyCOMPSMDict_getiter, METH_NOARGS, ^ /builddir/build/BUILD/libcomps-0.1.18/libcomps/src/python/src/pycomps_mdict.c:414:16: warning: cast between incompatible function types from ‘PyObject * (*)(PyObject *)’ {aka ‘struct _object * (*)(struct _object *)’} to ‘PyObject * (*)(PyObject *, PyObject *)’ {aka ‘struct _object * (*)(struct _object *, struct _object *)’} [-Wcast-function-type] {"clear", (PyCFunction)PyCOMPSMDict_clear, METH_NOARGS, ^ /builddir/build/BUILD/libcomps-0.1.18/libcomps/src/python/src/pycomps_mdict.c:416:15: warning: cast between incompatible function types from ‘PyObject * (*)(PyObject *)’ {aka ‘struct _object * (*)(struct _object *)’} to ‘PyObject * (*)(PyObject *, PyObject *)’ {aka ‘struct _object * (*)(struct _object *, struct _object *)’} [-Wcast-function-type] {"copy", (PyCFunction)PyCOMPSMDict_copy, METH_NOARGS, ^ [39/42] Building C object src/python/src/CMakeFiles/pycomps.dir/pycomps_exc.c.o In file included from /usr/include/python3.11/Python.h:86, from /builddir/build/BUILD/libcomps-0.1.18/libcomps/src/python/src/pycomps_macros.h:24, from /builddir/build/BUILD/libcomps-0.1.18/libcomps/src/python/src/pycomps_exc.h:23, from /builddir/build/BUILD/libcomps-0.1.18/libcomps/src/python/src/pycomps_exc.c:20: /usr/include/python3.11/cpython/pytime.h:208:60: warning: ‘struct timespec’ declared inside parameter list will not be visible outside of this definition or declaration PyAPI_FUNC(int) _PyTime_FromTimespec(_PyTime_t *tp, struct timespec *ts); ^~~~~~~~ /usr/include/python3.11/cpython/pytime.h:213:56: warning: ‘struct timespec’ declared inside parameter list will not be visible outside of this definition or declaration PyAPI_FUNC(int) _PyTime_AsTimespec(_PyTime_t t, struct timespec *ts); ^~~~~~~~ /usr/include/python3.11/cpython/pytime.h:217:63: warning: ‘struct timespec’ declared inside parameter list will not be visible outside of this definition or declaration PyAPI_FUNC(void) _PyTime_AsTimespec_clamp(_PyTime_t t, struct timespec *ts); ^~~~~~~~ [40/42] Building C object src/python/src/CMakeFiles/pycomps.dir/pycomps_lbw.c.o In file included from /usr/include/python3.11/Python.h:86, from /builddir/build/BUILD/libcomps-0.1.18/libcomps/src/python/src/pycomps_macros.h:24, from /builddir/build/BUILD/libcomps-0.1.18/libcomps/src/python/src/pycomps_sequence.h:23, from /builddir/build/BUILD/libcomps-0.1.18/libcomps/src/python/src/pycomps_mdict.h:26, from /builddir/build/BUILD/libcomps-0.1.18/libcomps/src/python/src/pycomps_lbw.h:23, from /builddir/build/BUILD/libcomps-0.1.18/libcomps/src/python/src/pycomps_lbw.c:19: /usr/include/python3.11/cpython/pytime.h:208:60: warning: ‘struct timespec’ declared inside parameter list will not be visible outside of this definition or declaration PyAPI_FUNC(int) _PyTime_FromTimespec(_PyTime_t *tp, struct timespec *ts); ^~~~~~~~ /usr/include/python3.11/cpython/pytime.h:213:56: warning: ‘struct timespec’ declared inside parameter list will not be visible outside of this definition or declaration PyAPI_FUNC(int) _PyTime_AsTimespec(_PyTime_t t, struct timespec *ts); ^~~~~~~~ /usr/include/python3.11/cpython/pytime.h:217:63: warning: ‘struct timespec’ declared inside parameter list will not be visible outside of this definition or declaration PyAPI_FUNC(void) _PyTime_AsTimespec_clamp(_PyTime_t t, struct timespec *ts); ^~~~~~~~ [41/42] Linking C shared library src/python/src/libcomps/_libpycomps.so [41/42] Install the project... -- Install configuration: "Release" -- Installing: /builddir/build/BUILD/libcomps-0.1.18/_skbuild/linux-x86_64-3.11/cmake-install/libcomps/src/python/src/libcomps/__init__.py -- Installing: /builddir/build/BUILD/libcomps-0.1.18/_skbuild/linux-x86_64-3.11/cmake-install/libcomps/src/python/src/libcomps/_libpycomps.so copying libcomps/src/python/src/libcomps/__init__.py -> _skbuild/linux-x86_64-3.11/cmake-install/libcomps/src/python/src/libcomps/__init__.py running build running build_py creating _skbuild/linux-x86_64-3.11/setuptools/lib.linux-x86_64-cpython-311 creating _skbuild/linux-x86_64-3.11/setuptools/lib.linux-x86_64-cpython-311/libcomps copying _skbuild/linux-x86_64-3.11/cmake-install/libcomps/src/python/src/libcomps/__init__.py -> _skbuild/linux-x86_64-3.11/setuptools/lib.linux-x86_64-cpython-311/libcomps copying _skbuild/linux-x86_64-3.11/cmake-install/libcomps/src/python/src/libcomps/_libpycomps.so -> _skbuild/linux-x86_64-3.11/setuptools/lib.linux-x86_64-cpython-311/libcomps copied 1 files running build_ext + sleep 1 + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.wkIXAx + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/python3.11-libcomps-0.1.18-1.el8.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/python3.11-libcomps-0.1.18-1.el8.x86_64 ++ dirname /builddir/build/BUILDROOT/python3.11-libcomps-0.1.18-1.el8.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/python3.11-libcomps-0.1.18-1.el8.x86_64 + cd libcomps-0.1.18 + CFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + LDFLAGS='-Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + /usr/bin/python3.11 setup.py install -O1 --skip-build --root /builddir/build/BUILDROOT/python3.11-libcomps-0.1.18-1.el8.x86_64 --prefix /usr /builddir/build/BUILD/libcomps-0.1.18/setup.py:16: FutureWarning: package_dir={'libcomps': 'libcomps/src/python/src/libcomps/'} ends with a trailing slash, which is not supported by setuptools. setup( /usr/lib/python3.11/site-packages/setuptools/dist.py:530: UserWarning: Normalizing '0.1.18-1' to '0.1.18.post1' warnings.warn(tmpl.format(**locals())) /usr/lib/python3.11/site-packages/setuptools/command/install.py:34: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools. warnings.warn( [1/2] Running utility command for src-copy [1/2] Install the project... -- Install configuration: "Release" -- Installing: /builddir/build/BUILD/libcomps-0.1.18/_skbuild/linux-x86_64-3.11/cmake-install/libcomps/src/python/src/libcomps/__init__.py -- Up-to-date: /builddir/build/BUILD/libcomps-0.1.18/_skbuild/linux-x86_64-3.11/cmake-install/libcomps/src/python/src/libcomps/_libpycomps.so copying libcomps/src/python/src/libcomps/__init__.py -> _skbuild/linux-x86_64-3.11/cmake-install/libcomps/src/python/src/libcomps/__init__.py running install running install_lib creating /builddir/build/BUILDROOT/python3.11-libcomps-0.1.18-1.el8.x86_64/usr creating /builddir/build/BUILDROOT/python3.11-libcomps-0.1.18-1.el8.x86_64/usr/lib64 creating /builddir/build/BUILDROOT/python3.11-libcomps-0.1.18-1.el8.x86_64/usr/lib64/python3.11 creating /builddir/build/BUILDROOT/python3.11-libcomps-0.1.18-1.el8.x86_64/usr/lib64/python3.11/site-packages creating /builddir/build/BUILDROOT/python3.11-libcomps-0.1.18-1.el8.x86_64/usr/lib64/python3.11/site-packages/libcomps copying _skbuild/linux-x86_64-3.11/setuptools/lib.linux-x86_64-cpython-311/libcomps/_libpycomps.so -> /builddir/build/BUILDROOT/python3.11-libcomps-0.1.18-1.el8.x86_64/usr/lib64/python3.11/site-packages/libcomps copying _skbuild/linux-x86_64-3.11/setuptools/lib.linux-x86_64-cpython-311/libcomps/__init__.py -> /builddir/build/BUILDROOT/python3.11-libcomps-0.1.18-1.el8.x86_64/usr/lib64/python3.11/site-packages/libcomps copied 2 files byte-compiling /builddir/build/BUILDROOT/python3.11-libcomps-0.1.18-1.el8.x86_64/usr/lib64/python3.11/site-packages/libcomps/__init__.py to __init__.cpython-311.pyc writing byte-compilation script '/tmp/tmpze7g2pzv.py' /usr/bin/python3.11 /tmp/tmpze7g2pzv.py removing /tmp/tmpze7g2pzv.py running install_egg_info running egg_info creating libcomps/src/python/src/libcomps.egg-info writing libcomps/src/python/src/libcomps.egg-info/PKG-INFO writing dependency_links to libcomps/src/python/src/libcomps.egg-info/dependency_links.txt writing top-level names to libcomps/src/python/src/libcomps.egg-info/top_level.txt writing manifest file 'libcomps/src/python/src/libcomps.egg-info/SOURCES.txt' reading manifest file 'libcomps/src/python/src/libcomps.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' adding license file 'COPYING' writing manifest file 'libcomps/src/python/src/libcomps.egg-info/SOURCES.txt' Copying libcomps/src/python/src/libcomps.egg-info to /builddir/build/BUILDROOT/python3.11-libcomps-0.1.18-1.el8.x86_64/usr/lib64/python3.11/site-packages/libcomps-0.1.18.post1-py3.11.egg-info running install_scripts copied 0 files + rm -rfv /builddir/build/BUILDROOT/python3.11-libcomps-0.1.18-1.el8.x86_64/usr/bin/__pycache__ + /usr/lib/rpm/find-debuginfo.sh -j2 --strict-build-id -m -i --build-id-seed 0.1.18-1.el8 --unique-debug-suffix -0.1.18-1.el8.x86_64 --unique-debug-src-base python3.11-libcomps-0.1.18-1.el8.x86_64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 -S debugsourcefiles.list /builddir/build/BUILD/libcomps-0.1.18 extracting debug info from /builddir/build/BUILDROOT/python3.11-libcomps-0.1.18-1.el8.x86_64/usr/lib64/python3.11/site-packages/libcomps/_libpycomps.so /usr/lib/rpm/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. 1544 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig /sbin/ldconfig: Warning: ignoring configuration file that cannot be opened: /etc/ld.so.conf: No such file or directory + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile '' 1 + /usr/lib/rpm/brp-python-hardlink + PYTHON3=/usr/bin/python3.11 + /usr/lib/rpm/redhat/brp-mangle-shebangs Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.AdEINS + umask 022 + cd /builddir/build/BUILD + cd libcomps-0.1.18 + cd libcomps/src/python/tests/ + CFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + LDFLAGS='-Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + PATH=/builddir/build/BUILDROOT/python3.11-libcomps-0.1.18-1.el8.x86_64/usr/bin:/builddir/.local/bin:/builddir/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin + PYTHONPATH=/builddir/build/BUILDROOT/python3.11-libcomps-0.1.18-1.el8.x86_64/usr/lib64/python3.11/site-packages:/builddir/build/BUILDROOT/python3.11-libcomps-0.1.18-1.el8.x86_64/usr/lib/python3.11/site-packages + PYTHONDONTWRITEBYTECODE=1 + /usr/bin/pytest-3.11 ============================= test session starts ============================== platform linux -- Python 3.11.2, pytest-7.2.0, pluggy-1.0.0 rootdir: /builddir/build/BUILD/libcomps-0.1.18 collected 97 items __test.py .............................................................. [ 63%] ...................... [ 86%] test_libcomps.py ......... [ 95%] test_merge_comps.py .... [100%] ============================== 97 passed in 1.47s ============================== + exit 0 Processing files: python3.11-libcomps-0.1.18-1.el8.x86_64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.iVPQVN + umask 022 + cd /builddir/build/BUILD + cd libcomps-0.1.18 + DOCDIR=/builddir/build/BUILDROOT/python3.11-libcomps-0.1.18-1.el8.x86_64/usr/share/doc/python3.11-libcomps + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/python3.11-libcomps-0.1.18-1.el8.x86_64/usr/share/doc/python3.11-libcomps + cp -pr README.md /builddir/build/BUILDROOT/python3.11-libcomps-0.1.18-1.el8.x86_64/usr/share/doc/python3.11-libcomps + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.QH4JpX + umask 022 + cd /builddir/build/BUILD + cd libcomps-0.1.18 + LICENSEDIR=/builddir/build/BUILDROOT/python3.11-libcomps-0.1.18-1.el8.x86_64/usr/share/licenses/python3.11-libcomps + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/python3.11-libcomps-0.1.18-1.el8.x86_64/usr/share/licenses/python3.11-libcomps + cp -pr COPYING /builddir/build/BUILDROOT/python3.11-libcomps-0.1.18-1.el8.x86_64/usr/share/licenses/python3.11-libcomps + exit 0 Provides: python3.11-libcomps = 0.1.18-1.el8 python3.11-libcomps(x86-64) = 0.1.18-1.el8 python3.11dist(libcomps) = 0.1.18.post1 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PartialHardlinkSets) <= 4.0.4-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: libc.so.6()(64bit) libc.so.6(GLIBC_2.14)(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.3)(64bit) libc.so.6(GLIBC_2.3.4)(64bit) libc.so.6(GLIBC_2.4)(64bit) libc.so.6(GLIBC_2.7)(64bit) libexpat.so.1()(64bit) libm.so.6()(64bit) libm.so.6(GLIBC_2.2.5)(64bit) libxml2.so.2()(64bit) libxml2.so.2(LIBXML2_2.4.30)(64bit) libxml2.so.2(LIBXML2_2.5.8)(64bit) libxml2.so.2(LIBXML2_2.6.0)(64bit) libxml2.so.2(LIBXML2_2.6.23)(64bit) libxml2.so.2(LIBXML2_2.6.3)(64bit) libz.so.1()(64bit) python(abi) = 3.11 rtld(GNU_HASH) Processing files: python3.11-libcomps-debugsource-0.1.18-1.el8.x86_64 Provides: python3.11-libcomps-debugsource = 0.1.18-1.el8 python3.11-libcomps-debugsource(x86-64) = 0.1.18-1.el8 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: python3.11-libcomps-debuginfo-0.1.18-1.el8.x86_64 Provides: debuginfo(build-id) = bcdf2e688e92d5be88c731de6d0ba321673f1a50 python3.11-libcomps-debuginfo = 0.1.18-1.el8 python3.11-libcomps-debuginfo(x86-64) = 0.1.18-1.el8 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: python3.11-libcomps-debugsource(x86-64) = 0.1.18-1.el8 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/python3.11-libcomps-0.1.18-1.el8.x86_64 Wrote: /builddir/build/RPMS/python3.11-libcomps-0.1.18-1.el8.x86_64.rpm Wrote: /builddir/build/RPMS/python3.11-libcomps-debugsource-0.1.18-1.el8.x86_64.rpm Wrote: /builddir/build/RPMS/python3.11-libcomps-debuginfo-0.1.18-1.el8.x86_64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.m5jlRb + umask 022 + cd /builddir/build/BUILD + cd libcomps-0.1.18 + /usr/bin/rm -rf /builddir/build/BUILDROOT/python3.11-libcomps-0.1.18-1.el8.x86_64 + exit 0 Child return code was: 0