Mock Version: 4.1 Mock Version: 4.1 Mock Version: 4.1 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target x86_64 --nodeps /builddir/build/SPECS/python-cffi.spec'], chrootPath='/var/lib/mock/dist-ocs23-python311-build-60431-2251/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=982gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.82y87s3k:/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=False) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.82y87s3k:/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', '6c8901437de544eb89405e5da25453fd', '-D', '/var/lib/mock/dist-ocs23-python311-build-60431-2251/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.82y87s3k:/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 --noclean --target x86_64 --nodeps /builddir/build/SPECS/python-cffi.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 Wrote: /builddir/build/SRPMS/python-cffi-1.15.0-3.ocs23.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/python-cffi.spec'], chrootPath='/var/lib/mock/dist-ocs23-python311-build-60431-2251/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=982gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.82y87s3k:/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=False) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.82y87s3k:/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', 'e559b7567c8b41c7b96a1ed2c3cc8bd9', '-D', '/var/lib/mock/dist-ocs23-python311-build-60431-2251/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.82y87s3k:/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 --noclean --target x86_64 --nodeps /builddir/build/SPECS/python-cffi.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.Vk10SZ + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf cffi-1.15.0 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/cffi-v1.15.0.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd cffi-1.15.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.uNbA3D + umask 022 + cd /builddir/build/BUILD + PYTHONPATH=:/usr/lib/python3.10/site-packages/:/usr/lib64/python3.10/site-packages/ + export PYTHONPATH + 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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -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/OpenCloudOS/OpenCloudOS-hardened-ld -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 + cd cffi-1.15.0 + 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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1' + /usr/bin/python3 setup.py build '--executable=/usr/bin/python3 -s' /usr/lib/python3.11/site-packages/setuptools/config/setupcfg.py:508: SetuptoolsDeprecationWarning: The license_file parameter is deprecated, use license_files instead. warnings.warn(msg, warning_class) running build running build_py creating build creating build/lib.linux-x86_64-cpython-311 creating build/lib.linux-x86_64-cpython-311/cffi copying cffi/cparser.py -> build/lib.linux-x86_64-cpython-311/cffi copying cffi/lock.py -> build/lib.linux-x86_64-cpython-311/cffi copying cffi/api.py -> build/lib.linux-x86_64-cpython-311/cffi copying cffi/pkgconfig.py -> build/lib.linux-x86_64-cpython-311/cffi copying cffi/recompiler.py -> build/lib.linux-x86_64-cpython-311/cffi copying cffi/__init__.py -> build/lib.linux-x86_64-cpython-311/cffi copying cffi/ffiplatform.py -> build/lib.linux-x86_64-cpython-311/cffi copying cffi/vengine_cpy.py -> build/lib.linux-x86_64-cpython-311/cffi copying cffi/cffi_opcode.py -> build/lib.linux-x86_64-cpython-311/cffi copying cffi/error.py -> build/lib.linux-x86_64-cpython-311/cffi copying cffi/model.py -> build/lib.linux-x86_64-cpython-311/cffi copying cffi/setuptools_ext.py -> build/lib.linux-x86_64-cpython-311/cffi copying cffi/vengine_gen.py -> build/lib.linux-x86_64-cpython-311/cffi copying cffi/backend_ctypes.py -> build/lib.linux-x86_64-cpython-311/cffi copying cffi/commontypes.py -> build/lib.linux-x86_64-cpython-311/cffi copying cffi/verifier.py -> build/lib.linux-x86_64-cpython-311/cffi copying cffi/_cffi_include.h -> build/lib.linux-x86_64-cpython-311/cffi copying cffi/parse_c_type.h -> build/lib.linux-x86_64-cpython-311/cffi copying cffi/_embedding.h -> build/lib.linux-x86_64-cpython-311/cffi copying cffi/_cffi_errors.h -> build/lib.linux-x86_64-cpython-311/cffi running build_ext building '_cffi_backend' extension creating build/temp.linux-x86_64-cpython-311 creating build/temp.linux-x86_64-cpython-311/c gcc -Wsign-compare -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fPIC -DUSE__THREAD -DHAVE_SYNC_SYNCHRONIZE -I/usr/include/python3.11 -c c/_cffi_backend.c -o build/temp.linux-x86_64-cpython-311/c/_cffi_backend.o gcc -shared -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -Wl,--build-id=sha1 -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -Wl,--build-id=sha1 -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection build/temp.linux-x86_64-cpython-311/c/_cffi_backend.o -L/usr/lib64/../lib64 -L/usr/lib64 -lffi -o build/lib.linux-x86_64-cpython-311/_cffi_backend.cpython-311-x86_64-linux-gnu.so + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.DpzGop + umask 022 + cd /builddir/build/BUILD + PYTHONPATH=:/usr/lib/python3.10/site-packages/:/usr/lib64/python3.10/site-packages/ + export PYTHONPATH + '[' /builddir/build/BUILDROOT/python-cffi-1.15.0-3.ocs23.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/python-cffi-1.15.0-3.ocs23.x86_64 ++ dirname /builddir/build/BUILDROOT/python-cffi-1.15.0-3.ocs23.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/python-cffi-1.15.0-3.ocs23.x86_64 + cd cffi-1.15.0 + 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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1' + /usr/bin/python3 setup.py install -O1 --skip-build --root /builddir/build/BUILDROOT/python-cffi-1.15.0-3.ocs23.x86_64 /usr/lib/python3.11/site-packages/setuptools/config/setupcfg.py:508: SetuptoolsDeprecationWarning: The license_file parameter is deprecated, use license_files instead. warnings.warn(msg, warning_class) running install /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( running install_lib creating /builddir/build/BUILDROOT/python-cffi-1.15.0-3.ocs23.x86_64/usr creating /builddir/build/BUILDROOT/python-cffi-1.15.0-3.ocs23.x86_64/usr/lib64 creating /builddir/build/BUILDROOT/python-cffi-1.15.0-3.ocs23.x86_64/usr/lib64/python3.11 creating /builddir/build/BUILDROOT/python-cffi-1.15.0-3.ocs23.x86_64/usr/lib64/python3.11/site-packages copying build/lib.linux-x86_64-cpython-311/_cffi_backend.cpython-311-x86_64-linux-gnu.so -> /builddir/build/BUILDROOT/python-cffi-1.15.0-3.ocs23.x86_64/usr/lib64/python3.11/site-packages creating /builddir/build/BUILDROOT/python-cffi-1.15.0-3.ocs23.x86_64/usr/lib64/python3.11/site-packages/cffi copying build/lib.linux-x86_64-cpython-311/cffi/cparser.py -> /builddir/build/BUILDROOT/python-cffi-1.15.0-3.ocs23.x86_64/usr/lib64/python3.11/site-packages/cffi copying build/lib.linux-x86_64-cpython-311/cffi/lock.py -> /builddir/build/BUILDROOT/python-cffi-1.15.0-3.ocs23.x86_64/usr/lib64/python3.11/site-packages/cffi copying build/lib.linux-x86_64-cpython-311/cffi/api.py -> /builddir/build/BUILDROOT/python-cffi-1.15.0-3.ocs23.x86_64/usr/lib64/python3.11/site-packages/cffi copying build/lib.linux-x86_64-cpython-311/cffi/pkgconfig.py -> /builddir/build/BUILDROOT/python-cffi-1.15.0-3.ocs23.x86_64/usr/lib64/python3.11/site-packages/cffi copying build/lib.linux-x86_64-cpython-311/cffi/recompiler.py -> /builddir/build/BUILDROOT/python-cffi-1.15.0-3.ocs23.x86_64/usr/lib64/python3.11/site-packages/cffi copying build/lib.linux-x86_64-cpython-311/cffi/__init__.py -> /builddir/build/BUILDROOT/python-cffi-1.15.0-3.ocs23.x86_64/usr/lib64/python3.11/site-packages/cffi copying build/lib.linux-x86_64-cpython-311/cffi/ffiplatform.py -> /builddir/build/BUILDROOT/python-cffi-1.15.0-3.ocs23.x86_64/usr/lib64/python3.11/site-packages/cffi copying build/lib.linux-x86_64-cpython-311/cffi/vengine_cpy.py -> /builddir/build/BUILDROOT/python-cffi-1.15.0-3.ocs23.x86_64/usr/lib64/python3.11/site-packages/cffi copying build/lib.linux-x86_64-cpython-311/cffi/_embedding.h -> /builddir/build/BUILDROOT/python-cffi-1.15.0-3.ocs23.x86_64/usr/lib64/python3.11/site-packages/cffi copying build/lib.linux-x86_64-cpython-311/cffi/cffi_opcode.py -> /builddir/build/BUILDROOT/python-cffi-1.15.0-3.ocs23.x86_64/usr/lib64/python3.11/site-packages/cffi copying build/lib.linux-x86_64-cpython-311/cffi/error.py -> /builddir/build/BUILDROOT/python-cffi-1.15.0-3.ocs23.x86_64/usr/lib64/python3.11/site-packages/cffi copying build/lib.linux-x86_64-cpython-311/cffi/model.py -> /builddir/build/BUILDROOT/python-cffi-1.15.0-3.ocs23.x86_64/usr/lib64/python3.11/site-packages/cffi copying build/lib.linux-x86_64-cpython-311/cffi/setuptools_ext.py -> /builddir/build/BUILDROOT/python-cffi-1.15.0-3.ocs23.x86_64/usr/lib64/python3.11/site-packages/cffi copying build/lib.linux-x86_64-cpython-311/cffi/_cffi_include.h -> /builddir/build/BUILDROOT/python-cffi-1.15.0-3.ocs23.x86_64/usr/lib64/python3.11/site-packages/cffi copying build/lib.linux-x86_64-cpython-311/cffi/vengine_gen.py -> /builddir/build/BUILDROOT/python-cffi-1.15.0-3.ocs23.x86_64/usr/lib64/python3.11/site-packages/cffi copying build/lib.linux-x86_64-cpython-311/cffi/backend_ctypes.py -> /builddir/build/BUILDROOT/python-cffi-1.15.0-3.ocs23.x86_64/usr/lib64/python3.11/site-packages/cffi copying build/lib.linux-x86_64-cpython-311/cffi/parse_c_type.h -> /builddir/build/BUILDROOT/python-cffi-1.15.0-3.ocs23.x86_64/usr/lib64/python3.11/site-packages/cffi copying build/lib.linux-x86_64-cpython-311/cffi/_cffi_errors.h -> /builddir/build/BUILDROOT/python-cffi-1.15.0-3.ocs23.x86_64/usr/lib64/python3.11/site-packages/cffi copying build/lib.linux-x86_64-cpython-311/cffi/commontypes.py -> /builddir/build/BUILDROOT/python-cffi-1.15.0-3.ocs23.x86_64/usr/lib64/python3.11/site-packages/cffi copying build/lib.linux-x86_64-cpython-311/cffi/verifier.py -> /builddir/build/BUILDROOT/python-cffi-1.15.0-3.ocs23.x86_64/usr/lib64/python3.11/site-packages/cffi byte-compiling /builddir/build/BUILDROOT/python-cffi-1.15.0-3.ocs23.x86_64/usr/lib64/python3.11/site-packages/cffi/cparser.py to cparser.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/python-cffi-1.15.0-3.ocs23.x86_64/usr/lib64/python3.11/site-packages/cffi/lock.py to lock.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/python-cffi-1.15.0-3.ocs23.x86_64/usr/lib64/python3.11/site-packages/cffi/api.py to api.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/python-cffi-1.15.0-3.ocs23.x86_64/usr/lib64/python3.11/site-packages/cffi/pkgconfig.py to pkgconfig.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/python-cffi-1.15.0-3.ocs23.x86_64/usr/lib64/python3.11/site-packages/cffi/recompiler.py to recompiler.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/python-cffi-1.15.0-3.ocs23.x86_64/usr/lib64/python3.11/site-packages/cffi/__init__.py to __init__.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/python-cffi-1.15.0-3.ocs23.x86_64/usr/lib64/python3.11/site-packages/cffi/ffiplatform.py to ffiplatform.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/python-cffi-1.15.0-3.ocs23.x86_64/usr/lib64/python3.11/site-packages/cffi/vengine_cpy.py to vengine_cpy.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/python-cffi-1.15.0-3.ocs23.x86_64/usr/lib64/python3.11/site-packages/cffi/cffi_opcode.py to cffi_opcode.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/python-cffi-1.15.0-3.ocs23.x86_64/usr/lib64/python3.11/site-packages/cffi/error.py to error.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/python-cffi-1.15.0-3.ocs23.x86_64/usr/lib64/python3.11/site-packages/cffi/model.py to model.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/python-cffi-1.15.0-3.ocs23.x86_64/usr/lib64/python3.11/site-packages/cffi/setuptools_ext.py to setuptools_ext.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/python-cffi-1.15.0-3.ocs23.x86_64/usr/lib64/python3.11/site-packages/cffi/vengine_gen.py to vengine_gen.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/python-cffi-1.15.0-3.ocs23.x86_64/usr/lib64/python3.11/site-packages/cffi/backend_ctypes.py to backend_ctypes.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/python-cffi-1.15.0-3.ocs23.x86_64/usr/lib64/python3.11/site-packages/cffi/commontypes.py to commontypes.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/python-cffi-1.15.0-3.ocs23.x86_64/usr/lib64/python3.11/site-packages/cffi/verifier.py to verifier.cpython-311.pyc writing byte-compilation script '/tmp/tmp1snz8fxp.py' /usr/bin/python3 /tmp/tmp1snz8fxp.py removing /tmp/tmp1snz8fxp.py running install_egg_info running egg_info writing cffi.egg-info/PKG-INFO writing dependency_links to cffi.egg-info/dependency_links.txt writing entry points to cffi.egg-info/entry_points.txt writing requirements to cffi.egg-info/requires.txt writing top-level names to cffi.egg-info/top_level.txt reading manifest file 'cffi.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' adding license file 'LICENSE' writing manifest file 'cffi.egg-info/SOURCES.txt' Copying cffi.egg-info to /builddir/build/BUILDROOT/python-cffi-1.15.0-3.ocs23.x86_64/usr/lib64/python3.11/site-packages/cffi-1.15.0-py3.11.egg-info running install_scripts + rm -rfv /builddir/build/BUILDROOT/python-cffi-1.15.0-3.ocs23.x86_64/usr/bin/__pycache__ + /usr/bin/find-debuginfo -j32 --strict-build-id -m -i --build-id-seed 1.15.0-3.ocs23 --unique-debug-suffix -1.15.0-3.ocs23.x86_64 --unique-debug-src-base python-cffi-1.15.0-3.ocs23.x86_64 -S debugsourcefiles.list /builddir/build/BUILD/cffi-1.15.0 extracting debug info from /builddir/build/BUILDROOT/python-cffi-1.15.0-3.ocs23.x86_64/usr/lib64/python3.11/site-packages/_cffi_backend.cpython-311-x86_64-linux-gnu.so 944 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/OpenCloudOS/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/OpenCloudOS/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/OpenCloudOS/brp-mangle-shebangs + /usr/lib/rpm/OpenCloudOS/brp-python-bytecompile '' 1 0 Bytecompiling .py files below /builddir/build/BUILDROOT/python-cffi-1.15.0-3.ocs23.x86_64/usr/lib64/python3.11 using python3.11 Bytecompiling .py files below /builddir/build/BUILDROOT/python-cffi-1.15.0-3.ocs23.x86_64/usr/lib/debug/usr/lib64/python3.11 using python3.11 + /usr/lib/rpm/OpenCloudOS/brp-python-hardlink Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.JYxjvi + umask 022 + cd /builddir/build/BUILD + PYTHONPATH=:/usr/lib/python3.10/site-packages/:/usr/lib64/python3.10/site-packages/ + export PYTHONPATH + 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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -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/OpenCloudOS/OpenCloudOS-hardened-ld -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 + cd cffi-1.15.0 + PYTHONPATH=/builddir/build/BUILDROOT/python-cffi-1.15.0-3.ocs23.x86_64/usr/lib64/python3.11/site-packages + /usr/bin/python3 -m pytest c/ testing/ ============================= test session starts ============================== platform linux -- Python 3.11.4, pytest-7.4.0, pluggy-1.0.0 rootdir: /builddir/build/BUILD/cffi-1.15.0 collected 2027 items / 1 error ==================================== ERRORS ==================================== ________ ERROR collecting testing/cffi1/test_dlopen_unicode_literals.py ________ /usr/lib/python3.11/site-packages/_pytest/runner.py:341: in from_call result: Optional[TResult] = func() /usr/lib/python3.11/site-packages/_pytest/runner.py:372: in call = CallInfo.from_call(lambda: list(collector.collect()), "collect") /usr/lib/python3.11/site-packages/_pytest/python.py:531: in collect self._inject_setup_module_fixture() /usr/lib/python3.11/site-packages/_pytest/python.py:545: in _inject_setup_module_fixture self.obj, ("setUpModule", "setup_module") /usr/lib/python3.11/site-packages/_pytest/python.py:310: in obj self._obj = obj = self._getobj() /usr/lib/python3.11/site-packages/_pytest/python.py:528: in _getobj return self._importtestmodule() /usr/lib/python3.11/site-packages/_pytest/python.py:617: in _importtestmodule mod = import_path(self.path, mode=importmode, root=self.config.rootpath) /usr/lib/python3.11/site-packages/_pytest/pathlib.py:565: in import_path importlib.import_module(module_name) /usr/lib64/python3.11/importlib/__init__.py:126: in import_module return _bootstrap._gcd_import(name[level:], package, level) :1204: in _gcd_import ??? :1176: in _find_and_load ??? :1147: in _find_and_load_unlocked ??? :690: in _load_unlocked ??? /usr/lib/python3.11/site-packages/_pytest/assertion/rewrite.py:178: in exec_module exec(co, module.__dict__) testing/cffi1/test_dlopen_unicode_literals.py:9: in exec(py.code.compile(s)) E AttributeError: module 'py' has no attribute 'code' =============================== warnings summary =============================== testing/cffi0/test_zdistutils.py:1 /builddir/build/BUILD/cffi-1.15.0/testing/cffi0/test_zdistutils.py:1: DeprecationWarning: the imp module is deprecated in favour of importlib and slated for removal in Python 3.12; see the module's documentation for alternative uses import sys, os, imp, math, shutil ../../../../usr/lib/python3.11/site-packages/setuptools/config/setupcfg.py:508 /usr/lib/python3.11/site-packages/setuptools/config/setupcfg.py:508: SetuptoolsDeprecationWarning: The license_file parameter is deprecated, use license_files instead. warnings.warn(msg, warning_class) -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html =========================== short test summary info ============================ ERROR testing/cffi1/test_dlopen_unicode_literals.py - AttributeError: module ... !!!!!!!!!!!!!!!!!!!! Interrupted: 1 error during collection !!!!!!!!!!!!!!!!!!!! ========================= 2 warnings, 1 error in 4.31s ========================= RPM build errors: error: Bad exit status from /var/tmp/rpm-tmp.JYxjvi (%check) Bad exit status from /var/tmp/rpm-tmp.JYxjvi (%check) Child return code was: 1 EXCEPTION: [Error('Command failed: \n # /usr/bin/systemd-nspawn -q -M e559b7567c8b41c7b96a1ed2c3cc8bd9 -D /var/lib/mock/dist-ocs23-python311-build-60431-2251/root -a -u mockbuild --capability=cap_ipc_lock --bind=/tmp/mock-resolv.82y87s3k:/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 --noclean --target x86_64 --nodeps /builddir/build/SPECS/python-cffi.spec\n', 1)] Traceback (most recent call last): File "/usr/lib/python3.10/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) File "/usr/lib/python3.10/site-packages/mockbuild/util.py", line 597, in do_with_status raise exception.Error("Command failed: \n # %s\n%s" % (command, output), child.returncode) mockbuild.exception.Error: Command failed: # /usr/bin/systemd-nspawn -q -M e559b7567c8b41c7b96a1ed2c3cc8bd9 -D /var/lib/mock/dist-ocs23-python311-build-60431-2251/root -a -u mockbuild --capability=cap_ipc_lock --bind=/tmp/mock-resolv.82y87s3k:/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 --noclean --target x86_64 --nodeps /builddir/build/SPECS/python-cffi.spec