Mock Version: 5.5 Mock Version: 5.5 Mock Version: 5.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target noarch --nodeps /builddir/build/SPECS/mock.spec'], chrootPath='/var/lib/mock/dist-an23-build-python3.11-377088-71758/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=86400uid=990gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv._qi1abd6:/etc/resolv.conf', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--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._qi1abd6:/etc/resolv.conf', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--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', 'd82cf5d3b1f5442494306ebaf85e1e08', '-D', '/var/lib/mock/dist-an23-build-python3.11-377088-71758/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv._qi1abd6:/etc/resolv.conf', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--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', '--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/mock.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 warning: Macro expanded in comment on line 45: %{python3_pkgversion}-templated-dictionary warning: Macro expanded in comment on line 46: %{python3_pkgversion}-backoff warning: Macro expanded in comment on line 47: %{python3_pkgversion}-backoff warning: Macro expanded in comment on line 52: %{python3_pkgversion}-rpmautospec-core Building target platforms: noarch Building for target noarch setting SOURCE_DATE_EPOCH=1715212800 Wrote: /builddir/build/SRPMS/mock-5.5-1.an23.src.rpm RPM build warnings: Macro expanded in comment on line 45: %{python3_pkgversion}-templated-dictionary Macro expanded in comment on line 46: %{python3_pkgversion}-backoff Macro expanded in comment on line 47: %{python3_pkgversion}-backoff Macro expanded in comment on line 52: %{python3_pkgversion}-rpmautospec-core Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target noarch --nodeps /builddir/build/SPECS/mock.spec'], chrootPath='/var/lib/mock/dist-an23-build-python3.11-377088-71758/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=86400uid=990gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv._qi1abd6:/etc/resolv.conf', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--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._qi1abd6:/etc/resolv.conf', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--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', '6e7140584e02425d9d508e36614f147c', '-D', '/var/lib/mock/dist-an23-build-python3.11-377088-71758/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv._qi1abd6:/etc/resolv.conf', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--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', '--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/mock.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 warning: Macro expanded in comment on line 45: %{python3_pkgversion}-templated-dictionary warning: Macro expanded in comment on line 46: %{python3_pkgversion}-backoff warning: Macro expanded in comment on line 47: %{python3_pkgversion}-backoff warning: Macro expanded in comment on line 52: %{python3_pkgversion}-rpmautospec-core Building target platforms: noarch Building for target noarch setting SOURCE_DATE_EPOCH=1715212800 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.DljjrP + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf mock-5.5 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/mock-5.5.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd mock-5.5 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + for file in py/mock.py py/mock-parse-buildlog.py + sed -i '1s|#!/usr/bin/python3 |#!/usr/bin/python3 |' py/mock.py + for file in py/mock.py py/mock-parse-buildlog.py + sed -i '1s|#!/usr/bin/python3 |#!/usr/bin/python3 |' py/mock-parse-buildlog.py + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.SBT1Xn + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/anolis/anolis-hardened-ld -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -Wl,--build-id=sha1 ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd mock-5.5 + for i in py/mockbuild/constants.py py/mock-parse-buildlog.py + perl -p -i -e 's|^VERSION\s*=.*|VERSION="5.5"|' py/mockbuild/constants.py + perl -p -i -e 's|^SYSCONFDIR\s*=.*|SYSCONFDIR="/etc"|' py/mockbuild/constants.py + perl -p -i -e 's|^PYTHONDIR\s*=.*|PYTHONDIR="/usr/lib/python3.11/site-packages"|' py/mockbuild/constants.py + perl -p -i -e 's|^PKGPYTHONDIR\s*=.*|PKGPYTHONDIR="/usr/lib/python3.11/site-packages/mockbuild"|' py/mockbuild/constants.py + for i in py/mockbuild/constants.py py/mock-parse-buildlog.py + perl -p -i -e 's|^VERSION\s*=.*|VERSION="5.5"|' py/mock-parse-buildlog.py + perl -p -i -e 's|^SYSCONFDIR\s*=.*|SYSCONFDIR="/etc"|' py/mock-parse-buildlog.py + perl -p -i -e 's|^PYTHONDIR\s*=.*|PYTHONDIR="/usr/lib/python3.11/site-packages"|' py/mock-parse-buildlog.py + perl -p -i -e 's|^PKGPYTHONDIR\s*=.*|PKGPYTHONDIR="/usr/lib/python3.11/site-packages/mockbuild"|' py/mock-parse-buildlog.py + for i in docs/mock.1 docs/mock-parse-buildlog.1 + perl -p -i -e 's|\@VERSION\@|5.5"|' docs/mock.1 + for i in docs/mock.1 docs/mock-parse-buildlog.1 + perl -p -i -e 's|\@VERSION\@|5.5"|' docs/mock-parse-buildlog.1 + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.spXBdv + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/mock-5.5-1.an23.noarch '!=' / ']' + rm -rf /builddir/build/BUILDROOT/mock-5.5-1.an23.noarch ++ dirname /builddir/build/BUILDROOT/mock-5.5-1.an23.noarch + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/mock-5.5-1.an23.noarch + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/anolis/anolis-hardened-ld -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -Wl,--build-id=sha1 ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd mock-5.5 + mkdir -p /builddir/build/BUILDROOT/mock-5.5-1.an23.noarch/etc/mock/eol/templates + mkdir -p /builddir/build/BUILDROOT/mock-5.5-1.an23.noarch/etc/mock/templates + install -d /builddir/build/BUILDROOT/mock-5.5-1.an23.noarch/usr/bin + install -d /builddir/build/BUILDROOT/mock-5.5-1.an23.noarch/usr/libexec/mock + install mockchain /builddir/build/BUILDROOT/mock-5.5-1.an23.noarch/usr/bin/mockchain + install py/mock-parse-buildlog.py /builddir/build/BUILDROOT/mock-5.5-1.an23.noarch/usr/bin/mock-parse-buildlog + install py/mock.py /builddir/build/BUILDROOT/mock-5.5-1.an23.noarch/usr/libexec/mock/mock + ln -s consolehelper /builddir/build/BUILDROOT/mock-5.5-1.an23.noarch/usr/bin/mock + install create_default_route_in_container.sh /builddir/build/BUILDROOT/mock-5.5-1.an23.noarch/usr/libexec/mock/ + install -d /builddir/build/BUILDROOT/mock-5.5-1.an23.noarch/etc/pam.d + cp -a etc/pam/mock /builddir/build/BUILDROOT/mock-5.5-1.an23.noarch/etc/pam.d/ + install -d /builddir/build/BUILDROOT/mock-5.5-1.an23.noarch/etc/mock + cp -a etc/mock/logging.ini /builddir/build/BUILDROOT/mock-5.5-1.an23.noarch/etc/mock/ + install -d /builddir/build/BUILDROOT/mock-5.5-1.an23.noarch/etc/security/console.apps/ + cp -a etc/consolehelper/mock /builddir/build/BUILDROOT/mock-5.5-1.an23.noarch/etc/security/console.apps/mock + install -d /builddir/build/BUILDROOT/mock-5.5-1.an23.noarch/usr/share/bash-completion/completions/ + cp -a etc/bash_completion.d/mock /builddir/build/BUILDROOT/mock-5.5-1.an23.noarch/usr/share/bash-completion/completions/ + ln -s mock /builddir/build/BUILDROOT/mock-5.5-1.an23.noarch/usr/share/bash-completion/completions/mock-parse-buildlog + install -d /builddir/build/BUILDROOT/mock-5.5-1.an23.noarch/etc/pki/mock + cp -a etc/pki/README.txt /builddir/build/BUILDROOT/mock-5.5-1.an23.noarch/etc/pki/mock/ + install -d /builddir/build/BUILDROOT/mock-5.5-1.an23.noarch/usr/lib/python3.11/site-packages/ + cp -a py/mockbuild /builddir/build/BUILDROOT/mock-5.5-1.an23.noarch/usr/lib/python3.11/site-packages/ + install -d /builddir/build/BUILDROOT/mock-5.5-1.an23.noarch/usr/share/man/man1 + cp -a docs/mock.1 docs/mock-parse-buildlog.1 /builddir/build/BUILDROOT/mock-5.5-1.an23.noarch/usr/share/man/man1/ + install -d /builddir/build/BUILDROOT/mock-5.5-1.an23.noarch/usr/share/cheat + cp -a docs/mock.cheat /builddir/build/BUILDROOT/mock-5.5-1.an23.noarch/usr/share/cheat/mock + install -d /builddir/build/BUILDROOT/mock-5.5-1.an23.noarch/var/lib/mock + install -d /builddir/build/BUILDROOT/mock-5.5-1.an23.noarch/var/cache/mock + mkdir -p /builddir/build/BUILDROOT/mock-5.5-1.an23.noarch/usr/share/doc/mock + install -p -m 0644 docs/site-defaults.cfg /builddir/build/BUILDROOT/mock-5.5-1.an23.noarch/usr/share/doc/mock + sed -i 's/^_MOCK_NVR = None$/_MOCK_NVR = "mock-5.5-1.an23"/' /builddir/build/BUILDROOT/mock-5.5-1.an23.noarch/usr/libexec/mock/mock + /usr/bin/find-debuginfo -j80 --strict-build-id -m -i --build-id-seed 5.5-1.an23 --unique-debug-suffix -5.5-1.an23.noarch --unique-debug-src-base mock-5.5-1.an23.noarch --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/mock-5.5 find: 'debug': No such file or directory + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/anolis/brp-ldconfig + COMPRESS='zstd -f --rm -19 -T0' + COMPRESS_EXT=.zst + /usr/lib/rpm/brp-compress + /usr/lib/rpm/anolis/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/brp-remove-la-files + /usr/lib/rpm/anolis/clean_perl + /usr/lib/rpm/anolis/check_elf_files + /usr/lib/rpm/anolis/brp-mangle-shebangs mangling shebang in /usr/bin/mockchain from /bin/bash to #!/usr/bin/bash + /usr/lib/rpm/anolis/remove-info-dir + /usr/lib/rpm/anolis/check-desktop-files + /usr/lib/rpm/anolis/brp-python-bytecompile '' 1 0 Bytecompiling .py files below /builddir/build/BUILDROOT/mock-5.5-1.an23.noarch/usr/lib/python3.11 using python3.11 + /usr/lib/rpm/anolis/brp-python-hardlink Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.vEeKbY + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/anolis/anolis-hardened-ld -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -Wl,--build-id=sha1 ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd mock-5.5 + ./run-tests.sh --no-cov * sourcedir: /builddir/build/BUILD/mock-5.5/py * testdir: /builddir/build/BUILD/mock-5.5/tests * PYTHON: /usr/bin/python3 * PYTHONPATH: /builddir/build/BUILD/mock-5.5/py + /usr/bin/python3 -B -m pytest /builddir/build/BUILD/mock-5.5/tests ============================= test session starts ============================== platform linux -- Python 3.11.6, pytest-7.3.1, pluggy-1.0.0 rootdir: /builddir/build/BUILD/mock-5.5 collected 11 items / 3 errors ==================================== ERRORS ==================================== ___________________ ERROR collecting tests/test_buildroot.py ___________________ ImportError while importing test module '/builddir/build/BUILD/mock-5.5/tests/test_buildroot.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) tests/test_buildroot.py:4: in from mockbuild import util, buildroot py/mockbuild/buildroot.py:27: in from .podman import Podman py/mockbuild/podman.py:9: in import backoff E ModuleNotFoundError: No module named 'backoff' ________________ ERROR collecting tests/test_package_manager.py ________________ ImportError while importing test module '/builddir/build/BUILD/mock-5.5/tests/test_package_manager.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) tests/test_package_manager.py:12: in from mockbuild.buildroot import Buildroot py/mockbuild/buildroot.py:27: in from .podman import Podman py/mockbuild/podman.py:9: in import backoff E ModuleNotFoundError: No module named 'backoff' ______________ ERROR collecting tests/plugins/test_rpmautospec.py ______________ ImportError while importing test module '/builddir/build/BUILD/mock-5.5/tests/plugins/test_rpmautospec.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) tests/plugins/test_rpmautospec.py:10: in from mockbuild.plugins import rpmautospec py/mockbuild/plugins/rpmautospec.py:11: in from rpmautospec_core import specfile_uses_rpmautospec E ModuleNotFoundError: No module named 'rpmautospec_core' =========================== short test summary info ============================ ERROR tests/test_buildroot.py ERROR tests/test_package_manager.py ERROR tests/plugins/test_rpmautospec.py !!!!!!!!!!!!!!!!!!! Interrupted: 3 errors during collection !!!!!!!!!!!!!!!!!!!! ============================== 3 errors in 0.27s =============================== error: Bad exit status from /var/tmp/rpm-tmp.vEeKbY (%check) RPM build warnings: RPM build errors: Macro expanded in comment on line 45: %{python3_pkgversion}-templated-dictionary Macro expanded in comment on line 46: %{python3_pkgversion}-backoff Macro expanded in comment on line 47: %{python3_pkgversion}-backoff Macro expanded in comment on line 52: %{python3_pkgversion}-rpmautospec-core Bad exit status from /var/tmp/rpm-tmp.vEeKbY (%check) Child return code was: 1 EXCEPTION: [Error('Command failed: \n # /usr/bin/systemd-nspawn -q -M 6e7140584e02425d9d508e36614f147c -D /var/lib/mock/dist-an23-build-python3.11-377088-71758/root -a -u mockbuild --capability=cap_ipc_lock --bind=/tmp/mock-resolv._qi1abd6:/etc/resolv.conf --bind=/dev/mapper/control --bind=/dev/fuse --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 --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/mock.spec\'\n', 1)] Traceback (most recent call last): File "/usr/lib/python3.6/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) File "/usr/lib/python3.6/site-packages/mockbuild/util.py", line 612, in do_with_status raise exception.Error("Command failed: \n # %s\n%s" % (cmd_pretty(command, env), output), child.returncode) mockbuild.exception.Error: Command failed: # /usr/bin/systemd-nspawn -q -M 6e7140584e02425d9d508e36614f147c -D /var/lib/mock/dist-an23-build-python3.11-377088-71758/root -a -u mockbuild --capability=cap_ipc_lock --bind=/tmp/mock-resolv._qi1abd6:/etc/resolv.conf --bind=/dev/mapper/control --bind=/dev/fuse --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 --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/mock.spec'