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-yubico.spec'], chrootPath='/var/lib/mock/dist-ocs23-python311-build-40178-2066/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.6yclecqm:/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.6yclecqm:/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', 'bec6ba4c60d04551b13ccaefe696db9f', '-D', '/var/lib/mock/dist-ocs23-python311-build-40178-2066/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.6yclecqm:/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-yubico.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-yubico-1.3.3-3.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-yubico.spec'], chrootPath='/var/lib/mock/dist-ocs23-python311-build-40178-2066/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.6yclecqm:/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.6yclecqm:/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', '2753b67fbaed4608a34fe448f10eccab', '-D', '/var/lib/mock/dist-ocs23-python311-build-40178-2066/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.6yclecqm:/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-yubico.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.wFb7BU + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf python-yubico-python-yubico-1.3.3 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/python-yubico-1.3.3.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd python-yubico-python-yubico-1.3.3 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/0001-literal-comparison.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.oYbJOa + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/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 python-yubico-python-yubico-1.3.3 + 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/yubico copying yubico/yubico_version.py -> build/lib/yubico copying yubico/yubikey_defs.py -> build/lib/yubico copying yubico/yubikey.py -> build/lib/yubico copying yubico/yubikey_config_util.py -> build/lib/yubico copying yubico/__init__.py -> build/lib/yubico copying yubico/yubikey_base.py -> build/lib/yubico copying yubico/yubico_exception.py -> build/lib/yubico copying yubico/yubico_util.py -> build/lib/yubico copying yubico/yubikey_usb_hid.py -> build/lib/yubico copying yubico/yubikey_config.py -> build/lib/yubico copying yubico/yubikey_neo_usb_hid.py -> build/lib/yubico copying yubico/yubikey_frame.py -> build/lib/yubico copying yubico/yubikey_4_usb_hid.py -> build/lib/yubico + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.gRavv1 + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/python-yubico-1.3.3-3.ocs23.noarch '!=' / ']' + rm -rf /builddir/build/BUILDROOT/python-yubico-1.3.3-3.ocs23.noarch ++ dirname /builddir/build/BUILDROOT/python-yubico-1.3.3-3.ocs23.noarch + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/python-yubico-1.3.3-3.ocs23.noarch + cd python-yubico-python-yubico-1.3.3 + 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-yubico-1.3.3-3.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-yubico-1.3.3-3.ocs23.noarch/usr creating /builddir/build/BUILDROOT/python-yubico-1.3.3-3.ocs23.noarch/usr/lib creating /builddir/build/BUILDROOT/python-yubico-1.3.3-3.ocs23.noarch/usr/lib/python3.11 creating /builddir/build/BUILDROOT/python-yubico-1.3.3-3.ocs23.noarch/usr/lib/python3.11/site-packages creating /builddir/build/BUILDROOT/python-yubico-1.3.3-3.ocs23.noarch/usr/lib/python3.11/site-packages/yubico copying build/lib/yubico/yubico_version.py -> /builddir/build/BUILDROOT/python-yubico-1.3.3-3.ocs23.noarch/usr/lib/python3.11/site-packages/yubico copying build/lib/yubico/yubikey_defs.py -> /builddir/build/BUILDROOT/python-yubico-1.3.3-3.ocs23.noarch/usr/lib/python3.11/site-packages/yubico copying build/lib/yubico/yubikey.py -> /builddir/build/BUILDROOT/python-yubico-1.3.3-3.ocs23.noarch/usr/lib/python3.11/site-packages/yubico copying build/lib/yubico/yubikey_config_util.py -> /builddir/build/BUILDROOT/python-yubico-1.3.3-3.ocs23.noarch/usr/lib/python3.11/site-packages/yubico copying build/lib/yubico/__init__.py -> /builddir/build/BUILDROOT/python-yubico-1.3.3-3.ocs23.noarch/usr/lib/python3.11/site-packages/yubico copying build/lib/yubico/yubikey_base.py -> /builddir/build/BUILDROOT/python-yubico-1.3.3-3.ocs23.noarch/usr/lib/python3.11/site-packages/yubico copying build/lib/yubico/yubico_exception.py -> /builddir/build/BUILDROOT/python-yubico-1.3.3-3.ocs23.noarch/usr/lib/python3.11/site-packages/yubico copying build/lib/yubico/yubico_util.py -> /builddir/build/BUILDROOT/python-yubico-1.3.3-3.ocs23.noarch/usr/lib/python3.11/site-packages/yubico copying build/lib/yubico/yubikey_usb_hid.py -> /builddir/build/BUILDROOT/python-yubico-1.3.3-3.ocs23.noarch/usr/lib/python3.11/site-packages/yubico copying build/lib/yubico/yubikey_config.py -> /builddir/build/BUILDROOT/python-yubico-1.3.3-3.ocs23.noarch/usr/lib/python3.11/site-packages/yubico copying build/lib/yubico/yubikey_neo_usb_hid.py -> /builddir/build/BUILDROOT/python-yubico-1.3.3-3.ocs23.noarch/usr/lib/python3.11/site-packages/yubico copying build/lib/yubico/yubikey_frame.py -> /builddir/build/BUILDROOT/python-yubico-1.3.3-3.ocs23.noarch/usr/lib/python3.11/site-packages/yubico copying build/lib/yubico/yubikey_4_usb_hid.py -> /builddir/build/BUILDROOT/python-yubico-1.3.3-3.ocs23.noarch/usr/lib/python3.11/site-packages/yubico byte-compiling /builddir/build/BUILDROOT/python-yubico-1.3.3-3.ocs23.noarch/usr/lib/python3.11/site-packages/yubico/yubico_version.py to yubico_version.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/python-yubico-1.3.3-3.ocs23.noarch/usr/lib/python3.11/site-packages/yubico/yubikey_defs.py to yubikey_defs.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/python-yubico-1.3.3-3.ocs23.noarch/usr/lib/python3.11/site-packages/yubico/yubikey.py to yubikey.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/python-yubico-1.3.3-3.ocs23.noarch/usr/lib/python3.11/site-packages/yubico/yubikey_config_util.py to yubikey_config_util.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/python-yubico-1.3.3-3.ocs23.noarch/usr/lib/python3.11/site-packages/yubico/__init__.py to __init__.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/python-yubico-1.3.3-3.ocs23.noarch/usr/lib/python3.11/site-packages/yubico/yubikey_base.py to yubikey_base.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/python-yubico-1.3.3-3.ocs23.noarch/usr/lib/python3.11/site-packages/yubico/yubico_exception.py to yubico_exception.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/python-yubico-1.3.3-3.ocs23.noarch/usr/lib/python3.11/site-packages/yubico/yubico_util.py to yubico_util.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/python-yubico-1.3.3-3.ocs23.noarch/usr/lib/python3.11/site-packages/yubico/yubikey_usb_hid.py to yubikey_usb_hid.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/python-yubico-1.3.3-3.ocs23.noarch/usr/lib/python3.11/site-packages/yubico/yubikey_config.py to yubikey_config.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/python-yubico-1.3.3-3.ocs23.noarch/usr/lib/python3.11/site-packages/yubico/yubikey_neo_usb_hid.py to yubikey_neo_usb_hid.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/python-yubico-1.3.3-3.ocs23.noarch/usr/lib/python3.11/site-packages/yubico/yubikey_frame.py to yubikey_frame.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/python-yubico-1.3.3-3.ocs23.noarch/usr/lib/python3.11/site-packages/yubico/yubikey_4_usb_hid.py to yubikey_4_usb_hid.cpython-311.pyc writing byte-compilation script '/tmp/tmp3rjinzlg.py' /usr/bin/python3 /tmp/tmp3rjinzlg.py removing /tmp/tmp3rjinzlg.py running install_egg_info running egg_info creating python_yubico.egg-info writing python_yubico.egg-info/PKG-INFO writing dependency_links to python_yubico.egg-info/dependency_links.txt writing requirements to python_yubico.egg-info/requires.txt writing top-level names to python_yubico.egg-info/top_level.txt writing manifest file 'python_yubico.egg-info/SOURCES.txt' reading manifest file 'python_yubico.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' adding license file 'COPYING' warning: no files found matching 'ChangeLog' writing manifest file 'python_yubico.egg-info/SOURCES.txt' Copying python_yubico.egg-info to /builddir/build/BUILDROOT/python-yubico-1.3.3-3.ocs23.noarch/usr/lib/python3.11/site-packages/python_yubico-1.3.3-py3.11.egg-info running install_scripts + rm -rfv /builddir/build/BUILDROOT/python-yubico-1.3.3-3.ocs23.noarch/usr/bin/__pycache__ + /usr/bin/find-debuginfo -j32 --strict-build-id -m -i --build-id-seed 1.3.3-3.ocs23 --unique-debug-suffix -1.3.3-3.ocs23.noarch --unique-debug-src-base python-yubico-1.3.3-3.ocs23.noarch -S debugsourcefiles.list /builddir/build/BUILD/python-yubico-python-yubico-1.3.3 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-yubico-1.3.3-3.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.b5MYYX + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/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 python-yubico-python-yubico-1.3.3 + 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' + PATH=/builddir/build/BUILDROOT/python-yubico-1.3.3-3.ocs23.noarch/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin + PYTHONPATH=/builddir/build/BUILDROOT/python-yubico-1.3.3-3.ocs23.noarch/usr/lib64/python3.11/site-packages:/builddir/build/BUILDROOT/python-yubico-1.3.3-3.ocs23.noarch/usr/lib/python3.11/site-packages + PYTHONDONTWRITEBYTECODE=1 + /usr/bin/pytest test/soft/ ============================= test session starts ============================== platform linux -- Python 3.11.4, pytest-7.4.0, pluggy-1.0.0 rootdir: /builddir/build/BUILD/python-yubico-python-yubico-1.3.3 collected 0 items / 3 errors ==================================== ERRORS ==================================== __________________ ERROR collecting test/soft/test_yubico.py ___________________ ImportError while importing test module '/builddir/build/BUILD/python-yubico-python-yubico-1.3.3/test/soft/test_yubico.py'. Hint: make sure your test modules/packages have valid Python names. Traceback: /usr/lib64/python3.11/importlib/__init__.py:126: in import_module return _bootstrap._gcd_import(name[level:], package, level) test/soft/test_yubico.py:8: in import yubico.yubico_util as yubico_util yubico/__init__.py:43: in from .yubikey import YubiKey yubico/yubikey.py:36: in from .yubikey_usb_hid import YubiKeyUSBHID, YubiKeyHIDDevice, YubiKeyUSBHIDError yubico/yubikey_usb_hid.py:30: in import usb E ModuleNotFoundError: No module named 'usb' ______________ ERROR collecting test/soft/test_yubikey_config.py _______________ ImportError while importing test module '/builddir/build/BUILD/python-yubico-python-yubico-1.3.3/test/soft/test_yubikey_config.py'. Hint: make sure your test modules/packages have valid Python names. Traceback: /usr/lib64/python3.11/importlib/__init__.py:126: in import_module return _bootstrap._gcd_import(name[level:], package, level) test/soft/test_yubikey_config.py:4: in import yubico yubico/__init__.py:43: in from .yubikey import YubiKey yubico/yubikey.py:36: in from .yubikey_usb_hid import YubiKeyUSBHID, YubiKeyHIDDevice, YubiKeyUSBHIDError yubico/yubikey_usb_hid.py:30: in import usb E ModuleNotFoundError: No module named 'usb' _______________ ERROR collecting test/soft/test_yubikey_frame.py _______________ ImportError while importing test module '/builddir/build/BUILD/python-yubico-python-yubico-1.3.3/test/soft/test_yubikey_frame.py'. Hint: make sure your test modules/packages have valid Python names. Traceback: /usr/lib64/python3.11/importlib/__init__.py:126: in import_module return _bootstrap._gcd_import(name[level:], package, level) test/soft/test_yubikey_frame.py:3: in from yubico import * yubico/__init__.py:43: in from .yubikey import YubiKey yubico/yubikey.py:36: in from .yubikey_usb_hid import YubiKeyUSBHID, YubiKeyHIDDevice, YubiKeyUSBHIDError yubico/yubikey_usb_hid.py:30: in import usb E ModuleNotFoundError: No module named 'usb' =========================== short test summary info ============================ ERROR test/soft/test_yubico.py ERROR test/soft/test_yubikey_config.py ERROR test/soft/test_yubikey_frame.py !!!!!!!!!!!!!!!!!!! Interrupted: 3 errors during collection !!!!!!!!!!!!!!!!!!!! ============================== 3 errors in 0.12s =============================== RPM build errors: error: Bad exit status from /var/tmp/rpm-tmp.b5MYYX (%check) Bad exit status from /var/tmp/rpm-tmp.b5MYYX (%check) Child return code was: 1 EXCEPTION: [Error('Command failed: \n # /usr/bin/systemd-nspawn -q -M 2753b67fbaed4608a34fe448f10eccab -D /var/lib/mock/dist-ocs23-python311-build-40178-2066/root -a -u mockbuild --capability=cap_ipc_lock --bind=/tmp/mock-resolv.6yclecqm:/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-yubico.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 2753b67fbaed4608a34fe448f10eccab -D /var/lib/mock/dist-ocs23-python311-build-40178-2066/root -a -u mockbuild --capability=cap_ipc_lock --bind=/tmp/mock-resolv.6yclecqm:/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-yubico.spec