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 noarch --nodeps /builddir/build/SPECS/python-qrcode.spec'], chrootPath='/var/lib/mock/dist-ocs23-python311-build-50631-2149/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=981gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.qzp70u89:/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.qzp70u89:/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', '8f31f8b44d5446d18827b24a4a2a983d', '-D', '/var/lib/mock/dist-ocs23-python311-build-50631-2149/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.qzp70u89:/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 noarch --nodeps /builddir/build/SPECS/python-qrcode.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: noarch Building for target noarch Wrote: /builddir/build/SRPMS/python-qrcode-7.3.1-2.ocs23.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target noarch --nodeps /builddir/build/SPECS/python-qrcode.spec'], chrootPath='/var/lib/mock/dist-ocs23-python311-build-50631-2149/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=981gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.qzp70u89:/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.qzp70u89:/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', 'cff521b009a64b2b9878d4adff59b96f', '-D', '/var/lib/mock/dist-ocs23-python311-build-50631-2149/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.qzp70u89:/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 noarch --nodeps /builddir/build/SPECS/python-qrcode.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: noarch Building for target noarch Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.pBH9W9 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf qrcode-7.3.1 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/qrcode-7.3.1.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd qrcode-7.3.1 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + sed -i 1d qrcode/console_scripts.py + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.RmHxU0 + 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/lib/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/lib/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/lib: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd qrcode-7.3.1 + 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' running build running build_py creating build creating build/lib creating build/lib/qrcode copying qrcode/LUT.py -> build/lib/qrcode copying qrcode/util.py -> build/lib/qrcode copying qrcode/base.py -> build/lib/qrcode copying qrcode/constants.py -> build/lib/qrcode copying qrcode/__init__.py -> build/lib/qrcode copying qrcode/console_scripts.py -> build/lib/qrcode copying qrcode/exceptions.py -> build/lib/qrcode copying qrcode/release.py -> build/lib/qrcode copying qrcode/main.py -> build/lib/qrcode creating build/lib/qrcode/tests copying qrcode/tests/test_release.py -> build/lib/qrcode/tests copying qrcode/tests/__init__.py -> build/lib/qrcode/tests copying qrcode/tests/test_script.py -> build/lib/qrcode/tests copying qrcode/tests/svg.py -> build/lib/qrcode/tests copying qrcode/tests/test_util.py -> build/lib/qrcode/tests copying qrcode/tests/test_example.py -> build/lib/qrcode/tests copying qrcode/tests/test_qrcode.py -> build/lib/qrcode/tests creating build/lib/qrcode/image copying qrcode/image/pure.py -> build/lib/qrcode/image copying qrcode/image/base.py -> build/lib/qrcode/image copying qrcode/image/styledpil.py -> build/lib/qrcode/image copying qrcode/image/__init__.py -> build/lib/qrcode/image copying qrcode/image/pil.py -> build/lib/qrcode/image copying qrcode/image/svg.py -> build/lib/qrcode/image creating build/lib/qrcode/image/styles copying qrcode/image/styles/__init__.py -> build/lib/qrcode/image/styles copying qrcode/image/styles/moduledrawers.py -> build/lib/qrcode/image/styles copying qrcode/image/styles/colormasks.py -> build/lib/qrcode/image/styles running egg_info writing qrcode.egg-info/PKG-INFO writing dependency_links to qrcode.egg-info/dependency_links.txt writing entry points to qrcode.egg-info/entry_points.txt writing requirements to qrcode.egg-info/requires.txt writing top-level names to qrcode.egg-info/top_level.txt reading manifest file 'qrcode.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' warning: manifest_maker: MANIFEST.in, line 6: unknown action 'ignore' adding license file 'LICENSE' writing manifest file 'qrcode.egg-info/SOURCES.txt' + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.gwre8L + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/python-qrcode-7.3.1-2.ocs23.noarch '!=' / ']' + rm -rf /builddir/build/BUILDROOT/python-qrcode-7.3.1-2.ocs23.noarch ++ dirname /builddir/build/BUILDROOT/python-qrcode-7.3.1-2.ocs23.noarch + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/python-qrcode-7.3.1-2.ocs23.noarch + cd qrcode-7.3.1 + 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-qrcode-7.3.1-2.ocs23.noarch 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-qrcode-7.3.1-2.ocs23.noarch/usr creating /builddir/build/BUILDROOT/python-qrcode-7.3.1-2.ocs23.noarch/usr/lib creating /builddir/build/BUILDROOT/python-qrcode-7.3.1-2.ocs23.noarch/usr/lib/python3.11 creating /builddir/build/BUILDROOT/python-qrcode-7.3.1-2.ocs23.noarch/usr/lib/python3.11/site-packages creating /builddir/build/BUILDROOT/python-qrcode-7.3.1-2.ocs23.noarch/usr/lib/python3.11/site-packages/qrcode copying build/lib/qrcode/LUT.py -> /builddir/build/BUILDROOT/python-qrcode-7.3.1-2.ocs23.noarch/usr/lib/python3.11/site-packages/qrcode copying build/lib/qrcode/util.py -> /builddir/build/BUILDROOT/python-qrcode-7.3.1-2.ocs23.noarch/usr/lib/python3.11/site-packages/qrcode copying build/lib/qrcode/base.py -> /builddir/build/BUILDROOT/python-qrcode-7.3.1-2.ocs23.noarch/usr/lib/python3.11/site-packages/qrcode copying build/lib/qrcode/constants.py -> /builddir/build/BUILDROOT/python-qrcode-7.3.1-2.ocs23.noarch/usr/lib/python3.11/site-packages/qrcode copying build/lib/qrcode/__init__.py -> /builddir/build/BUILDROOT/python-qrcode-7.3.1-2.ocs23.noarch/usr/lib/python3.11/site-packages/qrcode copying build/lib/qrcode/console_scripts.py -> /builddir/build/BUILDROOT/python-qrcode-7.3.1-2.ocs23.noarch/usr/lib/python3.11/site-packages/qrcode copying build/lib/qrcode/exceptions.py -> /builddir/build/BUILDROOT/python-qrcode-7.3.1-2.ocs23.noarch/usr/lib/python3.11/site-packages/qrcode creating /builddir/build/BUILDROOT/python-qrcode-7.3.1-2.ocs23.noarch/usr/lib/python3.11/site-packages/qrcode/tests copying build/lib/qrcode/tests/test_release.py -> /builddir/build/BUILDROOT/python-qrcode-7.3.1-2.ocs23.noarch/usr/lib/python3.11/site-packages/qrcode/tests copying build/lib/qrcode/tests/__init__.py -> /builddir/build/BUILDROOT/python-qrcode-7.3.1-2.ocs23.noarch/usr/lib/python3.11/site-packages/qrcode/tests copying build/lib/qrcode/tests/test_script.py -> /builddir/build/BUILDROOT/python-qrcode-7.3.1-2.ocs23.noarch/usr/lib/python3.11/site-packages/qrcode/tests copying build/lib/qrcode/tests/svg.py -> /builddir/build/BUILDROOT/python-qrcode-7.3.1-2.ocs23.noarch/usr/lib/python3.11/site-packages/qrcode/tests copying build/lib/qrcode/tests/test_util.py -> /builddir/build/BUILDROOT/python-qrcode-7.3.1-2.ocs23.noarch/usr/lib/python3.11/site-packages/qrcode/tests copying build/lib/qrcode/tests/test_example.py -> /builddir/build/BUILDROOT/python-qrcode-7.3.1-2.ocs23.noarch/usr/lib/python3.11/site-packages/qrcode/tests copying build/lib/qrcode/tests/test_qrcode.py -> /builddir/build/BUILDROOT/python-qrcode-7.3.1-2.ocs23.noarch/usr/lib/python3.11/site-packages/qrcode/tests creating /builddir/build/BUILDROOT/python-qrcode-7.3.1-2.ocs23.noarch/usr/lib/python3.11/site-packages/qrcode/image copying build/lib/qrcode/image/pure.py -> /builddir/build/BUILDROOT/python-qrcode-7.3.1-2.ocs23.noarch/usr/lib/python3.11/site-packages/qrcode/image copying build/lib/qrcode/image/base.py -> /builddir/build/BUILDROOT/python-qrcode-7.3.1-2.ocs23.noarch/usr/lib/python3.11/site-packages/qrcode/image creating /builddir/build/BUILDROOT/python-qrcode-7.3.1-2.ocs23.noarch/usr/lib/python3.11/site-packages/qrcode/image/styles copying build/lib/qrcode/image/styles/__init__.py -> /builddir/build/BUILDROOT/python-qrcode-7.3.1-2.ocs23.noarch/usr/lib/python3.11/site-packages/qrcode/image/styles copying build/lib/qrcode/image/styles/moduledrawers.py -> /builddir/build/BUILDROOT/python-qrcode-7.3.1-2.ocs23.noarch/usr/lib/python3.11/site-packages/qrcode/image/styles copying build/lib/qrcode/image/styles/colormasks.py -> /builddir/build/BUILDROOT/python-qrcode-7.3.1-2.ocs23.noarch/usr/lib/python3.11/site-packages/qrcode/image/styles copying build/lib/qrcode/image/styledpil.py -> /builddir/build/BUILDROOT/python-qrcode-7.3.1-2.ocs23.noarch/usr/lib/python3.11/site-packages/qrcode/image copying build/lib/qrcode/image/__init__.py -> /builddir/build/BUILDROOT/python-qrcode-7.3.1-2.ocs23.noarch/usr/lib/python3.11/site-packages/qrcode/image copying build/lib/qrcode/image/pil.py -> /builddir/build/BUILDROOT/python-qrcode-7.3.1-2.ocs23.noarch/usr/lib/python3.11/site-packages/qrcode/image copying build/lib/qrcode/image/svg.py -> /builddir/build/BUILDROOT/python-qrcode-7.3.1-2.ocs23.noarch/usr/lib/python3.11/site-packages/qrcode/image copying build/lib/qrcode/release.py -> /builddir/build/BUILDROOT/python-qrcode-7.3.1-2.ocs23.noarch/usr/lib/python3.11/site-packages/qrcode copying build/lib/qrcode/main.py -> /builddir/build/BUILDROOT/python-qrcode-7.3.1-2.ocs23.noarch/usr/lib/python3.11/site-packages/qrcode byte-compiling /builddir/build/BUILDROOT/python-qrcode-7.3.1-2.ocs23.noarch/usr/lib/python3.11/site-packages/qrcode/LUT.py to LUT.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/python-qrcode-7.3.1-2.ocs23.noarch/usr/lib/python3.11/site-packages/qrcode/util.py to util.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/python-qrcode-7.3.1-2.ocs23.noarch/usr/lib/python3.11/site-packages/qrcode/base.py to base.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/python-qrcode-7.3.1-2.ocs23.noarch/usr/lib/python3.11/site-packages/qrcode/constants.py to constants.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/python-qrcode-7.3.1-2.ocs23.noarch/usr/lib/python3.11/site-packages/qrcode/__init__.py to __init__.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/python-qrcode-7.3.1-2.ocs23.noarch/usr/lib/python3.11/site-packages/qrcode/console_scripts.py to console_scripts.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/python-qrcode-7.3.1-2.ocs23.noarch/usr/lib/python3.11/site-packages/qrcode/exceptions.py to exceptions.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/python-qrcode-7.3.1-2.ocs23.noarch/usr/lib/python3.11/site-packages/qrcode/tests/test_release.py to test_release.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/python-qrcode-7.3.1-2.ocs23.noarch/usr/lib/python3.11/site-packages/qrcode/tests/__init__.py to __init__.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/python-qrcode-7.3.1-2.ocs23.noarch/usr/lib/python3.11/site-packages/qrcode/tests/test_script.py to test_script.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/python-qrcode-7.3.1-2.ocs23.noarch/usr/lib/python3.11/site-packages/qrcode/tests/svg.py to svg.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/python-qrcode-7.3.1-2.ocs23.noarch/usr/lib/python3.11/site-packages/qrcode/tests/test_util.py to test_util.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/python-qrcode-7.3.1-2.ocs23.noarch/usr/lib/python3.11/site-packages/qrcode/tests/test_example.py to test_example.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/python-qrcode-7.3.1-2.ocs23.noarch/usr/lib/python3.11/site-packages/qrcode/tests/test_qrcode.py to test_qrcode.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/python-qrcode-7.3.1-2.ocs23.noarch/usr/lib/python3.11/site-packages/qrcode/image/pure.py to pure.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/python-qrcode-7.3.1-2.ocs23.noarch/usr/lib/python3.11/site-packages/qrcode/image/base.py to base.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/python-qrcode-7.3.1-2.ocs23.noarch/usr/lib/python3.11/site-packages/qrcode/image/styles/__init__.py to __init__.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/python-qrcode-7.3.1-2.ocs23.noarch/usr/lib/python3.11/site-packages/qrcode/image/styles/moduledrawers.py to moduledrawers.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/python-qrcode-7.3.1-2.ocs23.noarch/usr/lib/python3.11/site-packages/qrcode/image/styles/colormasks.py to colormasks.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/python-qrcode-7.3.1-2.ocs23.noarch/usr/lib/python3.11/site-packages/qrcode/image/styledpil.py to styledpil.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/python-qrcode-7.3.1-2.ocs23.noarch/usr/lib/python3.11/site-packages/qrcode/image/__init__.py to __init__.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/python-qrcode-7.3.1-2.ocs23.noarch/usr/lib/python3.11/site-packages/qrcode/image/pil.py to pil.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/python-qrcode-7.3.1-2.ocs23.noarch/usr/lib/python3.11/site-packages/qrcode/image/svg.py to svg.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/python-qrcode-7.3.1-2.ocs23.noarch/usr/lib/python3.11/site-packages/qrcode/release.py to release.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/python-qrcode-7.3.1-2.ocs23.noarch/usr/lib/python3.11/site-packages/qrcode/main.py to main.cpython-311.pyc writing byte-compilation script '/tmp/tmp74oi84ea.py' /usr/bin/python3 /tmp/tmp74oi84ea.py removing /tmp/tmp74oi84ea.py running install_data creating /builddir/build/BUILDROOT/python-qrcode-7.3.1-2.ocs23.noarch/usr/share creating /builddir/build/BUILDROOT/python-qrcode-7.3.1-2.ocs23.noarch/usr/share/man creating /builddir/build/BUILDROOT/python-qrcode-7.3.1-2.ocs23.noarch/usr/share/man/man1 copying doc/qr.1 -> /builddir/build/BUILDROOT/python-qrcode-7.3.1-2.ocs23.noarch/usr/share/man/man1 running install_egg_info running egg_info writing qrcode.egg-info/PKG-INFO writing dependency_links to qrcode.egg-info/dependency_links.txt writing entry points to qrcode.egg-info/entry_points.txt writing requirements to qrcode.egg-info/requires.txt writing top-level names to qrcode.egg-info/top_level.txt reading manifest file 'qrcode.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' warning: manifest_maker: MANIFEST.in, line 6: unknown action 'ignore' adding license file 'LICENSE' writing manifest file 'qrcode.egg-info/SOURCES.txt' Copying qrcode.egg-info to /builddir/build/BUILDROOT/python-qrcode-7.3.1-2.ocs23.noarch/usr/lib/python3.11/site-packages/qrcode-7.3.1-py3.11.egg-info running install_scripts Installing qr script to /builddir/build/BUILDROOT/python-qrcode-7.3.1-2.ocs23.noarch/usr/bin + rm -rfv /builddir/build/BUILDROOT/python-qrcode-7.3.1-2.ocs23.noarch/usr/bin/__pycache__ + rm -r /builddir/build/BUILDROOT/python-qrcode-7.3.1-2.ocs23.noarch/usr/lib/python3.11/site-packages/qrcode/tests + ln -s qr /builddir/build/BUILDROOT/python-qrcode-7.3.1-2.ocs23.noarch/usr/bin/qrcode + /usr/bin/find-debuginfo -j32 --strict-build-id -m -i --build-id-seed 7.3.1-2.ocs23 --unique-debug-suffix -7.3.1-2.ocs23.noarch --unique-debug-src-base python-qrcode-7.3.1-2.ocs23.noarch -S debugsourcefiles.list /builddir/build/BUILD/qrcode-7.3.1 find: 'debug': No such file or directory + /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-qrcode-7.3.1-2.ocs23.noarch/usr/lib/python3.11 using python3.11 + /usr/lib/rpm/OpenCloudOS/brp-python-hardlink Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.Xv4b2o + 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/lib/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/lib/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/lib: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd qrcode-7.3.1 + /usr/bin/python3 -m unittest -v qrcode.tests.test_qrcode.QRCodeTests test_qrcode (unittest.loader._FailedTest.test_qrcode) ... ERROR ====================================================================== ERROR: test_qrcode (unittest.loader._FailedTest.test_qrcode) ---------------------------------------------------------------------- ImportError: Failed to import test module: test_qrcode Traceback (most recent call last): File "/builddir/build/BUILD/qrcode-7.3.1/qrcode/image/pil.py", line 5, in from PIL import Image, ImageDraw File "/usr/lib64/python3.10/site-packages/PIL/Image.py", line 103, in from . import _imaging as core ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib64/python3.10/site-packages/PIL/__init__.py) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib64/python3.11/unittest/loader.py", line 154, in loadTestsFromName module = __import__(module_name) ^^^^^^^^^^^^^^^^^^^^^^^ File "/builddir/build/BUILD/qrcode-7.3.1/qrcode/tests/test_qrcode.py", line 20, in from qrcode.image.pil import Image as pil_Image File "/builddir/build/BUILD/qrcode-7.3.1/qrcode/image/pil.py", line 7, in import Image ModuleNotFoundError: No module named 'Image' ---------------------------------------------------------------------- Ran 1 test in 0.000s FAILED (errors=1) error: Bad exit status from /var/tmp/rpm-tmp.Xv4b2o (%check) Bad exit status from /var/tmp/rpm-tmp.Xv4b2o (%check) RPM build errors: Child return code was: 1 EXCEPTION: [Error('Command failed: \n # /usr/bin/systemd-nspawn -q -M cff521b009a64b2b9878d4adff59b96f -D /var/lib/mock/dist-ocs23-python311-build-50631-2149/root -a -u mockbuild --capability=cap_ipc_lock --bind=/tmp/mock-resolv.qzp70u89:/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 noarch --nodeps /builddir/build/SPECS/python-qrcode.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 cff521b009a64b2b9878d4adff59b96f -D /var/lib/mock/dist-ocs23-python311-build-50631-2149/root -a -u mockbuild --capability=cap_ipc_lock --bind=/tmp/mock-resolv.qzp70u89:/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 noarch --nodeps /builddir/build/SPECS/python-qrcode.spec