Mock Version: 3.5 Mock Version: 3.5 Mock Version: 3.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target aarch64 --nodeps /builddir/build/SPECS/rust-packaging.spec'], chrootPath='/var/lib/mock/dist-an23-build-362231-71197/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=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target aarch64 --nodeps /builddir/build/SPECS/rust-packaging.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'} and shell False Building target platforms: aarch64 Building for target aarch64 setting SOURCE_DATE_EPOCH=1710288000 Wrote: /builddir/build/SRPMS/rust-packaging-23-2.an23.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -br --noclean --target aarch64 --nodeps /builddir/build/SPECS/rust-packaging.spec'], chrootPath='/var/lib/mock/dist-an23-build-362231-71197/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=[]unshare_net=TrueraiseExc=FalseprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -br --noclean --target aarch64 --nodeps /builddir/build/SPECS/rust-packaging.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'} and shell False Building target platforms: aarch64 Building for target aarch64 setting SOURCE_DATE_EPOCH=1710288000 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.44uQhj + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf rust2rpm-v23 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/rust2rpm-v23.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd rust2rpm-v23 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/0001-Adjust-build-flags-to-allow-the-new-implementation-u.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/09a496c.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/1869f5a.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/6a5931b.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/3dec94d.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/d9aa58b.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/b5c64f5.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/0002-Add-support-for-conditionally-building-with-frame-po.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + RPM_EC=0 ++ jobs -p + exit 0 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.P7aHvn + umask 022 + cd /builddir/build/BUILD + cd rust2rpm-v23 + 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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/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/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + echo pyproject-rpm-macros + echo python3-devel + echo 'python3dist(pip) >= 19' + echo 'python3dist(packaging)' + '[' -f pyproject.toml ']' + echo '(python3dist(tomli) if python3-devel < 3.11)' + rm -rfv '*.dist-info/' + '[' -f /usr/bin/python3 ']' + mkdir -p /builddir/build/BUILD/rust2rpm-v23/.pyproject-builddir + echo -n + 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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection' + 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 ' + TMPDIR=/builddir/build/BUILD/rust2rpm-v23/.pyproject-builddir + RPM_TOXENV=py310 + HOSTNAME=rpmbuild + /usr/bin/python3 -Bs /usr/lib/rpm/anolis/pyproject_buildrequires.py --generate-extras --python3_pkgversion 3 --wheeldir /builddir/build/BUILD/rust2rpm-v23/pyproject-wheeldir --output /builddir/build/BUILD/rust-packaging-23-2.an23.aarch64-pyproject-buildrequires -t Import error: No module named 'tomli' + cat /builddir/build/BUILD/rust-packaging-23-2.an23.aarch64-pyproject-buildrequires + rm -rfv '*.dist-info/' + RPM_EC=0 ++ jobs -p + exit 0 Wrote: /builddir/build/SRPMS/rust-packaging-23-2.an23.buildreqs.nosrc.rpm Child return code was: 11 Dynamic buildrequires detected Going to install missing buildrequires. See root.log for details. ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -br --noclean --target aarch64 --nodeps /builddir/build/SPECS/rust-packaging.spec'], chrootPath='/var/lib/mock/dist-an23-build-362231-71197/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=[]unshare_net=TrueraiseExc=FalseprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -br --noclean --target aarch64 --nodeps /builddir/build/SPECS/rust-packaging.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'} and shell False Building target platforms: aarch64 Building for target aarch64 setting SOURCE_DATE_EPOCH=1710288000 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.GpIHYW + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf rust2rpm-v23 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/rust2rpm-v23.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd rust2rpm-v23 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/0001-Adjust-build-flags-to-allow-the-new-implementation-u.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/09a496c.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/1869f5a.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/6a5931b.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/3dec94d.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/d9aa58b.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/b5c64f5.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/0002-Add-support-for-conditionally-building-with-frame-po.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + RPM_EC=0 ++ jobs -p + exit 0 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.P9nQva + umask 022 + cd /builddir/build/BUILD + cd rust2rpm-v23 + 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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/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/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + echo pyproject-rpm-macros + echo python3-devel + echo 'python3dist(pip) >= 19' + echo 'python3dist(packaging)' + '[' -f pyproject.toml ']' + echo '(python3dist(tomli) if python3-devel < 3.11)' + rm -rfv '*.dist-info/' + '[' -f /usr/bin/python3 ']' + mkdir -p /builddir/build/BUILD/rust2rpm-v23/.pyproject-builddir + echo -n + 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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection' + 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 ' + TMPDIR=/builddir/build/BUILD/rust2rpm-v23/.pyproject-builddir + RPM_TOXENV=py310 + HOSTNAME=rpmbuild + /usr/bin/python3 -Bs /usr/lib/rpm/anolis/pyproject_buildrequires.py --generate-extras --python3_pkgversion 3 --wheeldir /builddir/build/BUILD/rust2rpm-v23/pyproject-wheeldir --output /builddir/build/BUILD/rust-packaging-23-2.an23.aarch64-pyproject-buildrequires -t Handling setuptools from build-system.requires Requirement satisfied: setuptools (installed: setuptools 65.5.1) running egg_info creating rust2rpm.egg-info writing rust2rpm.egg-info/PKG-INFO writing dependency_links to rust2rpm.egg-info/dependency_links.txt writing entry points to rust2rpm.egg-info/entry_points.txt writing requirements to rust2rpm.egg-info/requires.txt writing top-level names to rust2rpm.egg-info/top_level.txt writing manifest file 'rust2rpm.egg-info/SOURCES.txt' reading manifest file 'rust2rpm.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' adding license file 'LICENSE' writing manifest file 'rust2rpm.egg-info/SOURCES.txt' Handling wheel from get_requires_for_build_wheel Requirement not satisfied: wheel Exiting dependency generation pass: get_requires_for_build_wheel + cat /builddir/build/BUILD/rust-packaging-23-2.an23.aarch64-pyproject-buildrequires + rm -rfv '*.dist-info/' + RPM_EC=0 ++ jobs -p + exit 0 Wrote: /builddir/build/SRPMS/rust-packaging-23-2.an23.buildreqs.nosrc.rpm Child return code was: 11 Dynamic buildrequires detected Going to install missing buildrequires. See root.log for details. ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -br --noclean --target aarch64 --nodeps /builddir/build/SPECS/rust-packaging.spec'], chrootPath='/var/lib/mock/dist-an23-build-362231-71197/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=[]unshare_net=TrueraiseExc=FalseprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -br --noclean --target aarch64 --nodeps /builddir/build/SPECS/rust-packaging.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'} and shell False Building target platforms: aarch64 Building for target aarch64 setting SOURCE_DATE_EPOCH=1710288000 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.4gdCmK + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf rust2rpm-v23 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/rust2rpm-v23.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd rust2rpm-v23 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/0001-Adjust-build-flags-to-allow-the-new-implementation-u.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/09a496c.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/1869f5a.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/6a5931b.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/3dec94d.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/d9aa58b.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/b5c64f5.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/0002-Add-support-for-conditionally-building-with-frame-po.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + RPM_EC=0 ++ jobs -p + exit 0 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.0K4Cku + umask 022 + cd /builddir/build/BUILD + cd rust2rpm-v23 + 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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/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/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + echo pyproject-rpm-macros + echo python3-devel + echo 'python3dist(pip) >= 19' + echo 'python3dist(packaging)' + '[' -f pyproject.toml ']' + echo '(python3dist(tomli) if python3-devel < 3.11)' + rm -rfv '*.dist-info/' + '[' -f /usr/bin/python3 ']' + mkdir -p /builddir/build/BUILD/rust2rpm-v23/.pyproject-builddir + echo -n + 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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection' + 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 ' + TMPDIR=/builddir/build/BUILD/rust2rpm-v23/.pyproject-builddir + RPM_TOXENV=py310 + HOSTNAME=rpmbuild + /usr/bin/python3 -Bs /usr/lib/rpm/anolis/pyproject_buildrequires.py --generate-extras --python3_pkgversion 3 --wheeldir /builddir/build/BUILD/rust2rpm-v23/pyproject-wheeldir --output /builddir/build/BUILD/rust-packaging-23-2.an23.aarch64-pyproject-buildrequires -t Handling setuptools from build-system.requires Requirement satisfied: setuptools (installed: setuptools 65.5.1) running egg_info creating rust2rpm.egg-info writing rust2rpm.egg-info/PKG-INFO writing dependency_links to rust2rpm.egg-info/dependency_links.txt writing entry points to rust2rpm.egg-info/entry_points.txt writing requirements to rust2rpm.egg-info/requires.txt writing top-level names to rust2rpm.egg-info/top_level.txt writing manifest file 'rust2rpm.egg-info/SOURCES.txt' reading manifest file 'rust2rpm.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' adding license file 'LICENSE' writing manifest file 'rust2rpm.egg-info/SOURCES.txt' Handling wheel from get_requires_for_build_wheel Requirement satisfied: wheel (installed: wheel 0.38.4) Handling tox-current-env >= 0.0.6 from tox itself Requirement not satisfied: tox-current-env >= 0.0.6 Exiting dependency generation pass: tox itself + cat /builddir/build/BUILD/rust-packaging-23-2.an23.aarch64-pyproject-buildrequires + rm -rfv '*.dist-info/' + RPM_EC=0 ++ jobs -p + exit 0 Wrote: /builddir/build/SRPMS/rust-packaging-23-2.an23.buildreqs.nosrc.rpm Child return code was: 11 Dynamic buildrequires detected Going to install missing buildrequires. See root.log for details. ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -br --noclean --target aarch64 --nodeps /builddir/build/SPECS/rust-packaging.spec'], chrootPath='/var/lib/mock/dist-an23-build-362231-71197/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=[]unshare_net=TrueraiseExc=FalseprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -br --noclean --target aarch64 --nodeps /builddir/build/SPECS/rust-packaging.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'} and shell False Building target platforms: aarch64 Building for target aarch64 setting SOURCE_DATE_EPOCH=1710288000 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.KDr8KQ + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf rust2rpm-v23 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/rust2rpm-v23.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd rust2rpm-v23 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/0001-Adjust-build-flags-to-allow-the-new-implementation-u.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/09a496c.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/1869f5a.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/6a5931b.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/3dec94d.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/d9aa58b.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/b5c64f5.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/0002-Add-support-for-conditionally-building-with-frame-po.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + RPM_EC=0 ++ jobs -p + exit 0 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.kCIJqu + umask 022 + cd /builddir/build/BUILD + cd rust2rpm-v23 + 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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/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/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + echo pyproject-rpm-macros + echo python3-devel + echo 'python3dist(pip) >= 19' + echo 'python3dist(packaging)' + '[' -f pyproject.toml ']' + echo '(python3dist(tomli) if python3-devel < 3.11)' + rm -rfv '*.dist-info/' + '[' -f /usr/bin/python3 ']' + mkdir -p /builddir/build/BUILD/rust2rpm-v23/.pyproject-builddir + echo -n + 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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection' + 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 ' + TMPDIR=/builddir/build/BUILD/rust2rpm-v23/.pyproject-builddir + RPM_TOXENV=py310 + HOSTNAME=rpmbuild + /usr/bin/python3 -Bs /usr/lib/rpm/anolis/pyproject_buildrequires.py --generate-extras --python3_pkgversion 3 --wheeldir /builddir/build/BUILD/rust2rpm-v23/pyproject-wheeldir --output /builddir/build/BUILD/rust-packaging-23-2.an23.aarch64-pyproject-buildrequires -t Handling setuptools from build-system.requires Requirement satisfied: setuptools (installed: setuptools 65.5.1) running egg_info creating rust2rpm.egg-info writing rust2rpm.egg-info/PKG-INFO writing dependency_links to rust2rpm.egg-info/dependency_links.txt writing entry points to rust2rpm.egg-info/entry_points.txt writing requirements to rust2rpm.egg-info/requires.txt writing top-level names to rust2rpm.egg-info/top_level.txt writing manifest file 'rust2rpm.egg-info/SOURCES.txt' reading manifest file 'rust2rpm.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' adding license file 'LICENSE' writing manifest file 'rust2rpm.egg-info/SOURCES.txt' Handling wheel from get_requires_for_build_wheel Requirement satisfied: wheel (installed: wheel 0.38.4) Handling tox-current-env >= 0.0.6 from tox itself Requirement satisfied: tox-current-env >= 0.0.6 (installed: tox-current-env 0.0.11) py310: OK (0.02 seconds) congratulations :) (0.18 seconds) Handling tox from tox --print-deps-only: py310 Requirement satisfied: tox (installed: tox 4.4.7) Handling pytest from tox --print-deps-only: py310 Requirement not satisfied: pytest Handling jinja2 from tox --print-deps-only: py310 Requirement not satisfied: jinja2 Handling pyparsing from tox --print-deps-only: py310 Requirement not satisfied: pyparsing Handling requests from tox --print-deps-only: py310 Requirement not satisfied: requests Handling termcolor from tox --print-deps-only: py310 Requirement not satisfied: termcolor Handling tqdm from tox --print-deps-only: py310 Requirement not satisfied: tqdm running dist_info writing rust2rpm.egg-info/PKG-INFO writing dependency_links to rust2rpm.egg-info/dependency_links.txt writing entry points to rust2rpm.egg-info/entry_points.txt writing requirements to rust2rpm.egg-info/requires.txt writing top-level names to rust2rpm.egg-info/top_level.txt reading manifest file 'rust2rpm.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' adding license file 'LICENSE' writing manifest file 'rust2rpm.egg-info/SOURCES.txt' creating '/builddir/build/BUILD/rust2rpm-v23/rust2rpm-23.dist-info' Handling jinja2 from hook generated metadata: Requires-Dist (rust2rpm) Requirement not satisfied: jinja2 Handling pyparsing from hook generated metadata: Requires-Dist (rust2rpm) Requirement not satisfied: pyparsing Handling requests from hook generated metadata: Requires-Dist (rust2rpm) Requirement not satisfied: requests Handling termcolor from hook generated metadata: Requires-Dist (rust2rpm) Requirement not satisfied: termcolor Handling tqdm from hook generated metadata: Requires-Dist (rust2rpm) Requirement not satisfied: tqdm + cat /builddir/build/BUILD/rust-packaging-23-2.an23.aarch64-pyproject-buildrequires + rm -rfv rust2rpm-23.dist-info/ removed 'rust2rpm-23.dist-info/entry_points.txt' removed 'rust2rpm-23.dist-info/top_level.txt' removed 'rust2rpm-23.dist-info/METADATA' removed 'rust2rpm-23.dist-info/LICENSE' removed directory 'rust2rpm-23.dist-info/' + RPM_EC=0 ++ jobs -p + exit 0 Wrote: /builddir/build/SRPMS/rust-packaging-23-2.an23.buildreqs.nosrc.rpm Child return code was: 11 Dynamic buildrequires detected Going to install missing buildrequires. See root.log for details. ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -br --noclean --target aarch64 --nodeps /builddir/build/SPECS/rust-packaging.spec'], chrootPath='/var/lib/mock/dist-an23-build-362231-71197/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=[]unshare_net=TrueraiseExc=FalseprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -br --noclean --target aarch64 --nodeps /builddir/build/SPECS/rust-packaging.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'} and shell False Building target platforms: aarch64 Building for target aarch64 setting SOURCE_DATE_EPOCH=1710288000 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.xXTfT4 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf rust2rpm-v23 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/rust2rpm-v23.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd rust2rpm-v23 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/0001-Adjust-build-flags-to-allow-the-new-implementation-u.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/09a496c.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/1869f5a.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/6a5931b.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/3dec94d.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/d9aa58b.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/b5c64f5.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/0002-Add-support-for-conditionally-building-with-frame-po.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + RPM_EC=0 ++ jobs -p + exit 0 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.qyfonu + umask 022 + cd /builddir/build/BUILD + cd rust2rpm-v23 + 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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/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/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + echo pyproject-rpm-macros + echo python3-devel + echo 'python3dist(pip) >= 19' + echo 'python3dist(packaging)' + '[' -f pyproject.toml ']' + echo '(python3dist(tomli) if python3-devel < 3.11)' + rm -rfv '*.dist-info/' + '[' -f /usr/bin/python3 ']' + mkdir -p /builddir/build/BUILD/rust2rpm-v23/.pyproject-builddir + echo -n + 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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection' + 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 ' + TMPDIR=/builddir/build/BUILD/rust2rpm-v23/.pyproject-builddir + RPM_TOXENV=py310 + HOSTNAME=rpmbuild + /usr/bin/python3 -Bs /usr/lib/rpm/anolis/pyproject_buildrequires.py --generate-extras --python3_pkgversion 3 --wheeldir /builddir/build/BUILD/rust2rpm-v23/pyproject-wheeldir --output /builddir/build/BUILD/rust-packaging-23-2.an23.aarch64-pyproject-buildrequires -t Handling setuptools from build-system.requires Requirement satisfied: setuptools (installed: setuptools 65.5.1) running egg_info creating rust2rpm.egg-info writing rust2rpm.egg-info/PKG-INFO writing dependency_links to rust2rpm.egg-info/dependency_links.txt writing entry points to rust2rpm.egg-info/entry_points.txt writing requirements to rust2rpm.egg-info/requires.txt writing top-level names to rust2rpm.egg-info/top_level.txt writing manifest file 'rust2rpm.egg-info/SOURCES.txt' reading manifest file 'rust2rpm.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' adding license file 'LICENSE' writing manifest file 'rust2rpm.egg-info/SOURCES.txt' Handling wheel from get_requires_for_build_wheel Requirement satisfied: wheel (installed: wheel 0.38.4) Handling tox-current-env >= 0.0.6 from tox itself Requirement satisfied: tox-current-env >= 0.0.6 (installed: tox-current-env 0.0.11) py310: OK (0.02 seconds) congratulations :) (0.19 seconds) Handling tox from tox --print-deps-only: py310 Requirement satisfied: tox (installed: tox 4.4.7) Handling pytest from tox --print-deps-only: py310 Requirement satisfied: pytest (installed: pytest 7.3.1) Handling jinja2 from tox --print-deps-only: py310 Requirement satisfied: jinja2 (installed: jinja2 3.1.3) Handling pyparsing from tox --print-deps-only: py310 Requirement satisfied: pyparsing (installed: pyparsing 3.0.7) Handling requests from tox --print-deps-only: py310 Requirement satisfied: requests (installed: requests 2.31.0) Handling termcolor from tox --print-deps-only: py310 Requirement satisfied: termcolor (installed: termcolor 1.1.0) Handling tqdm from tox --print-deps-only: py310 Requirement satisfied: tqdm (installed: tqdm 4.65.0) running dist_info writing rust2rpm.egg-info/PKG-INFO writing dependency_links to rust2rpm.egg-info/dependency_links.txt writing entry points to rust2rpm.egg-info/entry_points.txt writing requirements to rust2rpm.egg-info/requires.txt writing top-level names to rust2rpm.egg-info/top_level.txt reading manifest file 'rust2rpm.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' adding license file 'LICENSE' writing manifest file 'rust2rpm.egg-info/SOURCES.txt' creating '/builddir/build/BUILD/rust2rpm-v23/rust2rpm-23.dist-info' Handling jinja2 from hook generated metadata: Requires-Dist (rust2rpm) Requirement satisfied: jinja2 (installed: jinja2 3.1.3) Handling pyparsing from hook generated metadata: Requires-Dist (rust2rpm) Requirement satisfied: pyparsing (installed: pyparsing 3.0.7) Handling requests from hook generated metadata: Requires-Dist (rust2rpm) Requirement satisfied: requests (installed: requests 2.31.0) Handling termcolor from hook generated metadata: Requires-Dist (rust2rpm) Requirement satisfied: termcolor (installed: termcolor 1.1.0) Handling tqdm from hook generated metadata: Requires-Dist (rust2rpm) Requirement satisfied: tqdm (installed: tqdm 4.65.0) + cat /builddir/build/BUILD/rust-packaging-23-2.an23.aarch64-pyproject-buildrequires + rm -rfv rust2rpm-23.dist-info/ removed 'rust2rpm-23.dist-info/entry_points.txt' removed 'rust2rpm-23.dist-info/top_level.txt' removed 'rust2rpm-23.dist-info/METADATA' removed 'rust2rpm-23.dist-info/LICENSE' removed directory 'rust2rpm-23.dist-info/' + RPM_EC=0 ++ jobs -p + exit 0 Wrote: /builddir/build/SRPMS/rust-packaging-23-2.an23.buildreqs.nosrc.rpm Child return code was: 11 Dynamic buildrequires detected Going to install missing buildrequires. See root.log for details. ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -ba --noprep --noclean --target aarch64 --nodeps /builddir/build/SPECS/rust-packaging.spec'], chrootPath='/var/lib/mock/dist-an23-build-362231-71197/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=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -ba --noprep --noclean --target aarch64 --nodeps /builddir/build/SPECS/rust-packaging.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'} and shell False Building target platforms: aarch64 Building for target aarch64 setting SOURCE_DATE_EPOCH=1710288000 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.zdY09P + umask 022 + cd /builddir/build/BUILD + cd rust2rpm-v23 + 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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/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/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + echo pyproject-rpm-macros + echo python3-devel + echo 'python3dist(pip) >= 19' + echo 'python3dist(packaging)' + '[' -f pyproject.toml ']' + echo '(python3dist(tomli) if python3-devel < 3.11)' + rm -rfv '*.dist-info/' + '[' -f /usr/bin/python3 ']' + mkdir -p /builddir/build/BUILD/rust2rpm-v23/.pyproject-builddir + echo -n + 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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection' + 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 ' + TMPDIR=/builddir/build/BUILD/rust2rpm-v23/.pyproject-builddir + RPM_TOXENV=py310 + HOSTNAME=rpmbuild + /usr/bin/python3 -Bs /usr/lib/rpm/anolis/pyproject_buildrequires.py --generate-extras --python3_pkgversion 3 --wheeldir /builddir/build/BUILD/rust2rpm-v23/pyproject-wheeldir --output /builddir/build/BUILD/rust-packaging-23-2.an23.aarch64-pyproject-buildrequires -t Handling setuptools from build-system.requires Requirement satisfied: setuptools (installed: setuptools 65.5.1) running egg_info writing rust2rpm.egg-info/PKG-INFO writing dependency_links to rust2rpm.egg-info/dependency_links.txt writing entry points to rust2rpm.egg-info/entry_points.txt writing requirements to rust2rpm.egg-info/requires.txt writing top-level names to rust2rpm.egg-info/top_level.txt reading manifest file 'rust2rpm.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' adding license file 'LICENSE' writing manifest file 'rust2rpm.egg-info/SOURCES.txt' Handling wheel from get_requires_for_build_wheel Requirement satisfied: wheel (installed: wheel 0.38.4) Handling tox-current-env >= 0.0.6 from tox itself Requirement satisfied: tox-current-env >= 0.0.6 (installed: tox-current-env 0.0.11) py310: OK (0.02 seconds) congratulations :) (0.19 seconds) Handling tox from tox --print-deps-only: py310 Requirement satisfied: tox (installed: tox 4.4.7) Handling pytest from tox --print-deps-only: py310 Requirement satisfied: pytest (installed: pytest 7.3.1) Handling jinja2 from tox --print-deps-only: py310 Requirement satisfied: jinja2 (installed: jinja2 3.1.3) Handling pyparsing from tox --print-deps-only: py310 Requirement satisfied: pyparsing (installed: pyparsing 3.0.7) Handling requests from tox --print-deps-only: py310 Requirement satisfied: requests (installed: requests 2.31.0) Handling termcolor from tox --print-deps-only: py310 Requirement satisfied: termcolor (installed: termcolor 1.1.0) Handling tqdm from tox --print-deps-only: py310 Requirement satisfied: tqdm (installed: tqdm 4.65.0) running dist_info writing rust2rpm.egg-info/PKG-INFO writing dependency_links to rust2rpm.egg-info/dependency_links.txt writing entry points to rust2rpm.egg-info/entry_points.txt writing requirements to rust2rpm.egg-info/requires.txt writing top-level names to rust2rpm.egg-info/top_level.txt reading manifest file 'rust2rpm.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' adding license file 'LICENSE' writing manifest file 'rust2rpm.egg-info/SOURCES.txt' creating '/builddir/build/BUILD/rust2rpm-v23/rust2rpm-23.dist-info' Handling jinja2 from hook generated metadata: Requires-Dist (rust2rpm) Requirement satisfied: jinja2 (installed: jinja2 3.1.3) Handling pyparsing from hook generated metadata: Requires-Dist (rust2rpm) Requirement satisfied: pyparsing (installed: pyparsing 3.0.7) Handling requests from hook generated metadata: Requires-Dist (rust2rpm) Requirement satisfied: requests (installed: requests 2.31.0) Handling termcolor from hook generated metadata: Requires-Dist (rust2rpm) Requirement satisfied: termcolor (installed: termcolor 1.1.0) Handling tqdm from hook generated metadata: Requires-Dist (rust2rpm) Requirement satisfied: tqdm (installed: tqdm 4.65.0) + cat /builddir/build/BUILD/rust-packaging-23-2.an23.aarch64-pyproject-buildrequires + rm -rfv rust2rpm-23.dist-info/ removed 'rust2rpm-23.dist-info/entry_points.txt' removed 'rust2rpm-23.dist-info/top_level.txt' removed 'rust2rpm-23.dist-info/METADATA' removed 'rust2rpm-23.dist-info/LICENSE' removed directory 'rust2rpm-23.dist-info/' + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.wqpwaF + 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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/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/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd rust2rpm-v23 + mkdir -p /builddir/build/BUILD/rust2rpm-v23/.pyproject-builddir + 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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection' + 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 ' + TMPDIR=/builddir/build/BUILD/rust2rpm-v23/.pyproject-builddir + /usr/bin/python3 -Bs /usr/lib/rpm/anolis/pyproject_wheel.py /builddir/build/BUILD/rust2rpm-v23/pyproject-wheeldir Looking in indexes: https://mirrors.aliyun.com/pypi/simple/ Processing /builddir/build/BUILD/rust2rpm-v23 Preparing metadata (pyproject.toml): started Running command Preparing metadata (pyproject.toml) running dist_info creating /builddir/build/BUILD/rust2rpm-v23/.pyproject-builddir/pip-modern-metadata-w03i1w1k/rust2rpm.egg-info writing /builddir/build/BUILD/rust2rpm-v23/.pyproject-builddir/pip-modern-metadata-w03i1w1k/rust2rpm.egg-info/PKG-INFO writing dependency_links to /builddir/build/BUILD/rust2rpm-v23/.pyproject-builddir/pip-modern-metadata-w03i1w1k/rust2rpm.egg-info/dependency_links.txt writing entry points to /builddir/build/BUILD/rust2rpm-v23/.pyproject-builddir/pip-modern-metadata-w03i1w1k/rust2rpm.egg-info/entry_points.txt writing requirements to /builddir/build/BUILD/rust2rpm-v23/.pyproject-builddir/pip-modern-metadata-w03i1w1k/rust2rpm.egg-info/requires.txt writing top-level names to /builddir/build/BUILD/rust2rpm-v23/.pyproject-builddir/pip-modern-metadata-w03i1w1k/rust2rpm.egg-info/top_level.txt writing manifest file '/builddir/build/BUILD/rust2rpm-v23/.pyproject-builddir/pip-modern-metadata-w03i1w1k/rust2rpm.egg-info/SOURCES.txt' reading manifest file '/builddir/build/BUILD/rust2rpm-v23/.pyproject-builddir/pip-modern-metadata-w03i1w1k/rust2rpm.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' adding license file 'LICENSE' writing manifest file '/builddir/build/BUILD/rust2rpm-v23/.pyproject-builddir/pip-modern-metadata-w03i1w1k/rust2rpm.egg-info/SOURCES.txt' creating '/builddir/build/BUILD/rust2rpm-v23/.pyproject-builddir/pip-modern-metadata-w03i1w1k/rust2rpm-23.dist-info' Preparing metadata (pyproject.toml): finished with status 'done' Building wheels for collected packages: rust2rpm Building wheel for rust2rpm (pyproject.toml): started Running command Building wheel for rust2rpm (pyproject.toml) running bdist_wheel running build running build_py creating build creating build/lib creating build/lib/rust2rpm copying rust2rpm/__init__.py -> build/lib/rust2rpm copying rust2rpm/__main__.py -> build/lib/rust2rpm copying rust2rpm/cfg.py -> build/lib/rust2rpm copying rust2rpm/generator.py -> build/lib/rust2rpm copying rust2rpm/licensing.py -> build/lib/rust2rpm copying rust2rpm/log.py -> build/lib/rust2rpm copying rust2rpm/util.py -> build/lib/rust2rpm creating build/lib/rust2rpm/core copying rust2rpm/core/__init__.py -> build/lib/rust2rpm/core copying rust2rpm/core/inspector.py -> build/lib/rust2rpm/core copying rust2rpm/core/metadata.py -> build/lib/rust2rpm/core running egg_info writing rust2rpm.egg-info/PKG-INFO writing dependency_links to rust2rpm.egg-info/dependency_links.txt writing entry points to rust2rpm.egg-info/entry_points.txt writing requirements to rust2rpm.egg-info/requires.txt writing top-level names to rust2rpm.egg-info/top_level.txt reading manifest file 'rust2rpm.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' adding license file 'LICENSE' writing manifest file 'rust2rpm.egg-info/SOURCES.txt' /usr/lib/python3.10/site-packages/setuptools/command/build_py.py:202: SetuptoolsDeprecationWarning: Installing 'rust2rpm.templates' as data is deprecated, please list it in `packages`. !! ############################ # Package would be ignored # ############################ Python recognizes 'rust2rpm.templates' as an importable package, but it is not listed in the `packages` configuration of setuptools. 'rust2rpm.templates' has been automatically added to the distribution only because it may contain data files, but this behavior is likely to change in future versions of setuptools (and therefore is considered deprecated). Please make sure that 'rust2rpm.templates' is included as a package by using the `packages` configuration field or the proper discovery methods (for example by using `find_namespace_packages(...)`/`find_namespace:` instead of `find_packages(...)`/`find:`). You can read more about "package discovery" and "data files" on setuptools documentation page. !! check.warn(importable) copying rust2rpm/spdx_to_fedora.csv -> build/lib/rust2rpm creating build/lib/rust2rpm/templates copying rust2rpm/templates/fedora-changelog.spec.inc -> build/lib/rust2rpm/templates copying rust2rpm/templates/mageia-changelog.spec.inc -> build/lib/rust2rpm/templates copying rust2rpm/templates/main.spec -> build/lib/rust2rpm/templates copying rust2rpm/templates/opensuse-changelog.spec.inc -> build/lib/rust2rpm/templates copying rust2rpm/templates/opensuse-header.spec.inc -> build/lib/rust2rpm/templates copying rust2rpm/templates/plain-changelog.spec.inc -> build/lib/rust2rpm/templates installing to build/bdist.linux-aarch64/wheel running install running install_lib creating build/bdist.linux-aarch64 creating build/bdist.linux-aarch64/wheel creating build/bdist.linux-aarch64/wheel/rust2rpm copying build/lib/rust2rpm/__init__.py -> build/bdist.linux-aarch64/wheel/rust2rpm copying build/lib/rust2rpm/__main__.py -> build/bdist.linux-aarch64/wheel/rust2rpm copying build/lib/rust2rpm/cfg.py -> build/bdist.linux-aarch64/wheel/rust2rpm copying build/lib/rust2rpm/generator.py -> build/bdist.linux-aarch64/wheel/rust2rpm copying build/lib/rust2rpm/licensing.py -> build/bdist.linux-aarch64/wheel/rust2rpm copying build/lib/rust2rpm/log.py -> build/bdist.linux-aarch64/wheel/rust2rpm copying build/lib/rust2rpm/util.py -> build/bdist.linux-aarch64/wheel/rust2rpm creating build/bdist.linux-aarch64/wheel/rust2rpm/core copying build/lib/rust2rpm/core/__init__.py -> build/bdist.linux-aarch64/wheel/rust2rpm/core copying build/lib/rust2rpm/core/inspector.py -> build/bdist.linux-aarch64/wheel/rust2rpm/core copying build/lib/rust2rpm/core/metadata.py -> build/bdist.linux-aarch64/wheel/rust2rpm/core copying build/lib/rust2rpm/spdx_to_fedora.csv -> build/bdist.linux-aarch64/wheel/rust2rpm creating build/bdist.linux-aarch64/wheel/rust2rpm/templates copying build/lib/rust2rpm/templates/fedora-changelog.spec.inc -> build/bdist.linux-aarch64/wheel/rust2rpm/templates copying build/lib/rust2rpm/templates/mageia-changelog.spec.inc -> build/bdist.linux-aarch64/wheel/rust2rpm/templates copying build/lib/rust2rpm/templates/main.spec -> build/bdist.linux-aarch64/wheel/rust2rpm/templates copying build/lib/rust2rpm/templates/opensuse-changelog.spec.inc -> build/bdist.linux-aarch64/wheel/rust2rpm/templates copying build/lib/rust2rpm/templates/opensuse-header.spec.inc -> build/bdist.linux-aarch64/wheel/rust2rpm/templates copying build/lib/rust2rpm/templates/plain-changelog.spec.inc -> build/bdist.linux-aarch64/wheel/rust2rpm/templates running install_egg_info Copying rust2rpm.egg-info to build/bdist.linux-aarch64/wheel/rust2rpm-23-py3.10.egg-info running install_scripts creating build/bdist.linux-aarch64/wheel/rust2rpm-23.dist-info/WHEEL creating '/builddir/build/BUILD/rust2rpm-v23/.pyproject-builddir/pip-wheel-3yw7e342/tmpmdsh__d_/rust2rpm-23-py3-none-any.whl' and adding 'build/bdist.linux-aarch64/wheel' to it adding 'rust2rpm/__init__.py' adding 'rust2rpm/__main__.py' adding 'rust2rpm/cfg.py' adding 'rust2rpm/generator.py' adding 'rust2rpm/licensing.py' adding 'rust2rpm/log.py' adding 'rust2rpm/spdx_to_fedora.csv' adding 'rust2rpm/util.py' adding 'rust2rpm/core/__init__.py' adding 'rust2rpm/core/inspector.py' adding 'rust2rpm/core/metadata.py' adding 'rust2rpm/templates/fedora-changelog.spec.inc' adding 'rust2rpm/templates/mageia-changelog.spec.inc' adding 'rust2rpm/templates/main.spec' adding 'rust2rpm/templates/opensuse-changelog.spec.inc' adding 'rust2rpm/templates/opensuse-header.spec.inc' adding 'rust2rpm/templates/plain-changelog.spec.inc' adding 'rust2rpm-23.dist-info/LICENSE' adding 'rust2rpm-23.dist-info/METADATA' adding 'rust2rpm-23.dist-info/WHEEL' adding 'rust2rpm-23.dist-info/entry_points.txt' adding 'rust2rpm-23.dist-info/top_level.txt' adding 'rust2rpm-23.dist-info/RECORD' removing build/bdist.linux-aarch64/wheel Building wheel for rust2rpm (pyproject.toml): finished with status 'done' Created wheel for rust2rpm: filename=rust2rpm-23-py3-none-any.whl size=34086 sha256=ba24ba90ca019320e295cdf324c558d445fccc319d07143288f50aa379acf4b2 Stored in directory: /builddir/.cache/pip/wheels/25/81/7f/b130caee1a15d2dd231c508059db2e75340f9b5da6d182b08e Successfully built rust2rpm + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.lVhJgI + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/rust-packaging-23-2.an23.aarch64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/rust-packaging-23-2.an23.aarch64 ++ dirname /builddir/build/BUILDROOT/rust-packaging-23-2.an23.aarch64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/rust-packaging-23-2.an23.aarch64 + 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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/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/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd rust2rpm-v23 ++ ls /builddir/build/BUILD/rust2rpm-v23/pyproject-wheeldir/rust2rpm-23-py3-none-any.whl ++ xargs basename --multiple ++ sed -E 's/([^-]+)-([^-]+)-.+\.whl/\1==\2/' + specifier=rust2rpm==23 + TMPDIR=/builddir/build/BUILD/rust2rpm-v23/.pyproject-builddir + /usr/bin/python3 -m pip install --root /builddir/build/BUILDROOT/rust-packaging-23-2.an23.aarch64 --prefix /usr --no-deps --disable-pip-version-check --progress-bar off --verbose --ignore-installed --no-warn-script-location --no-index --no-cache-dir --find-links /builddir/build/BUILD/rust2rpm-v23/pyproject-wheeldir rust2rpm==23 Using pip 23.3.1 from /usr/lib/python3.10/site-packages/pip (python 3.10) Looking in links: /builddir/build/BUILD/rust2rpm-v23/pyproject-wheeldir Processing ./pyproject-wheeldir/rust2rpm-23-py3-none-any.whl Installing collected packages: rust2rpm Creating /builddir/build/BUILDROOT/rust-packaging-23-2.an23.aarch64/usr/bin changing mode of /builddir/build/BUILDROOT/rust-packaging-23-2.an23.aarch64/usr/bin/cargo-inspector to 755 changing mode of /builddir/build/BUILDROOT/rust-packaging-23-2.an23.aarch64/usr/bin/rust2rpm to 755 Successfully installed rust2rpm-23 + '[' -d /builddir/build/BUILDROOT/rust-packaging-23-2.an23.aarch64/usr/bin ']' + '[' -f /usr/bin/pathfix3.10.py ']' + pathfix=/usr/bin/pathfix3.10.py + '[' -z s ']' + shebang_flags=-kas + /usr/bin/pathfix3.10.py -pni /usr/bin/python3 -kas /builddir/build/BUILDROOT/rust-packaging-23-2.an23.aarch64/usr/bin/cargo-inspector /builddir/build/BUILDROOT/rust-packaging-23-2.an23.aarch64/usr/bin/rust2rpm /builddir/build/BUILDROOT/rust-packaging-23-2.an23.aarch64/usr/bin/cargo-inspector: updating /builddir/build/BUILDROOT/rust-packaging-23-2.an23.aarch64/usr/bin/rust2rpm: updating + rm -rfv /builddir/build/BUILDROOT/rust-packaging-23-2.an23.aarch64/usr/bin/__pycache__ + rm -f /builddir/build/BUILD/rust-packaging-23-2.an23.aarch64-pyproject-ghost-distinfo + site_dirs=() + '[' -d /builddir/build/BUILDROOT/rust-packaging-23-2.an23.aarch64/usr/lib/python3.10/site-packages ']' + site_dirs+=("/usr/lib/python3.10/site-packages") + '[' /builddir/build/BUILDROOT/rust-packaging-23-2.an23.aarch64/usr/lib64/python3.10/site-packages '!=' /builddir/build/BUILDROOT/rust-packaging-23-2.an23.aarch64/usr/lib/python3.10/site-packages ']' + '[' -d /builddir/build/BUILDROOT/rust-packaging-23-2.an23.aarch64/usr/lib64/python3.10/site-packages ']' + for site_dir in ${site_dirs[@]} + for distinfo in /builddir/build/BUILDROOT/rust-packaging-23-2.an23.aarch64$site_dir/*.dist-info + echo '%ghost /usr/lib/python3.10/site-packages/rust2rpm-23.dist-info' + sed -i s/pip/rpm/ /builddir/build/BUILDROOT/rust-packaging-23-2.an23.aarch64/usr/lib/python3.10/site-packages/rust2rpm-23.dist-info/INSTALLER + PYTHONPATH=/usr/lib/rpm/anolis + /usr/bin/python3 -B /usr/lib/rpm/anolis/pyproject_preprocess_record.py --buildroot /builddir/build/BUILDROOT/rust-packaging-23-2.an23.aarch64 --record /builddir/build/BUILDROOT/rust-packaging-23-2.an23.aarch64/usr/lib/python3.10/site-packages/rust2rpm-23.dist-info/RECORD --output /builddir/build/BUILD/rust-packaging-23-2.an23.aarch64-pyproject-record + rm -fv /builddir/build/BUILDROOT/rust-packaging-23-2.an23.aarch64/usr/lib/python3.10/site-packages/rust2rpm-23.dist-info/RECORD removed '/builddir/build/BUILDROOT/rust-packaging-23-2.an23.aarch64/usr/lib/python3.10/site-packages/rust2rpm-23.dist-info/RECORD' + rm -fv /builddir/build/BUILDROOT/rust-packaging-23-2.an23.aarch64/usr/lib/python3.10/site-packages/rust2rpm-23.dist-info/REQUESTED removed '/builddir/build/BUILDROOT/rust-packaging-23-2.an23.aarch64/usr/lib/python3.10/site-packages/rust2rpm-23.dist-info/REQUESTED' ++ wc -l /builddir/build/BUILD/rust-packaging-23-2.an23.aarch64-pyproject-ghost-distinfo ++ cut -f1 '-d ' + lines=1 + '[' 1 -ne 1 ']' + install -D -p -m 0644 -t /builddir/build/BUILDROOT/rust-packaging-23-2.an23.aarch64/usr/lib/rpm/macros.d data/macros.rust data/macros.cargo + install -D -p -m 0644 -t /builddir/build/BUILDROOT/rust-packaging-23-2.an23.aarch64/usr/lib/rpm/fileattrs data/cargo.attr + /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/brp-strip /usr/bin/strip + /usr/lib/rpm/brp-strip-comment-note /usr/bin/strip /usr/bin/objdump + /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 + /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/rust-packaging-23-2.an23.aarch64/usr/lib/python3.10 using python3.10 + /usr/lib/rpm/anolis/brp-python-hardlink Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.K2OCmG + 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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/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/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd rust2rpm-v23 + TOX_TESTENV_PASSENV='*' + PYTHONDONTWRITEBYTECODE=1 + PATH=/builddir/build/BUILDROOT/rust-packaging-23-2.an23.aarch64/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin + PYTHONPATH=/builddir/build/BUILDROOT/rust-packaging-23-2.an23.aarch64/usr/lib64/python3.10/site-packages:/builddir/build/BUILDROOT/rust-packaging-23-2.an23.aarch64/usr/lib/python3.10/site-packages + PYTEST_ADDOPTS=' --ignore=/builddir/build/BUILD/rust2rpm-v23/.pyproject-builddir' + HOSTNAME=rpmbuild + /usr/bin/python3 -m tox --current-env -q --recreate -e py310 ============================= test session starts ============================== platform linux -- Python 3.10.13, pytest-7.3.1, pluggy-1.0.0 -- /usr/bin/python3 cachedir: .tox/py310/.pytest_cache rootdir: /builddir/build/BUILD/rust2rpm-v23 collecting ... collected 180 items rust2rpm/tests/test_cfg.py::test_pyparsing_run_tests PASSED [ 0%] rust2rpm/tests/test_cfg.py::test_expressions[cfg(target_os = "macos")-False] PASSED [ 1%] rust2rpm/tests/test_cfg.py::test_expressions[cfg(any(foo, bar))-False] PASSED [ 1%] rust2rpm/tests/test_cfg.py::test_expressions[cfg(all(unix, target_pointer_width = "16"))-True] PASSED [ 2%] rust2rpm/tests/test_cfg.py::test_expressions[cfg(not(foo))-True] PASSED [ 2%] rust2rpm/tests/test_cfg.py::test_expressions[cfg(unix)-True] PASSED [ 3%] rust2rpm/tests/test_cfg.py::test_expressions[cfg(not(unix))-False] PASSED [ 3%] rust2rpm/tests/test_cfg.py::test_expressions[cfg(windows)-False] PASSED [ 4%] rust2rpm/tests/test_cfg.py::test_expressions[cfg(miri)-False] PASSED [ 5%] rust2rpm/tests/test_cfg.py::test_expressions[cfg(linux)-False] PASSED [ 5%] rust2rpm/tests/test_cfg.py::test_expressions[cfg(not(windows))-True] PASSED [ 6%] rust2rpm/tests/test_cfg.py::test_expressions[cfg(any(unix, windows))-True] PASSED [ 6%] rust2rpm/tests/test_cfg.py::test_expressions[cfg(any(windows, unix))-True] PASSED [ 7%] rust2rpm/tests/test_cfg.py::test_expressions[cfg(any(windows, windows, windows))-False] PASSED [ 7%] rust2rpm/tests/test_cfg.py::test_expressions[cfg(target_os = "linux")-True] PASSED [ 8%] rust2rpm/tests/test_cfg.py::test_expressions[cfg(any(target_os = "linux"))-True] PASSED [ 8%] rust2rpm/tests/test_cfg.py::test_expressions[cfg(all(target_os = "linux"))-True] PASSED [ 9%] rust2rpm/tests/test_cfg.py::test_expressions[cfg(any(target_os = "linux", target_os = "macos"))-True] PASSED [ 10%] rust2rpm/tests/test_cfg.py::test_expressions[cfg(any(target_pointer_width = "16", target_pointer_width = "32", target_pointer_width = "64"))-True] PASSED [ 10%] rust2rpm/tests/test_cfg.py::test_expressions[cfg(any(target_os = "android", target_os = "linux"))-True] PASSED [ 11%] rust2rpm/tests/test_cfg.py::test_expressions[cfg(all(not(rustix_use_libc), not(miri), target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"), all(target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64")))))-True] PASSED [ 11%] rust2rpm/tests/test_cfg.py::test_expressions[cfg(any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"), all(target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64")))))))-True] PASSED [ 12%] rust2rpm/tests/test_cfg.py::test_expressions[cfg(not(target_os = "emscripten"))-True] PASSED [ 12%] rust2rpm/tests/test_cfg.py::test_expressions[cfg(all(any(target_arch = "wasm32", target_arch = "wasm64"), not(target_os = "wasi")))-False] PASSED [ 13%] rust2rpm/tests/test_cfg.py::test_expressions[cfg(loom)-False] PASSED [ 13%] rust2rpm/tests/test_cfg.py::test_expressions[cfg(not(all(any(target_arch = "wasm32", target_arch = "wasm64"), target_os = "unknown")))-True] PASSED [ 14%] rust2rpm/tests/test_cfg.py::test_expressions[cfg(not(any(target_arch = "wasm32", target_arch = "wasm64")))-True] PASSED [ 15%] rust2rpm/tests/test_cfg.py::test_expressions[cfg(target_os = "freebsd")-False] PASSED [ 15%] rust2rpm/tests/test_cfg.py::test_expressions[cfg(tokio_unstable)-False] PASSED [ 16%] rust2rpm/tests/test_generator.py::test_to_list PASSED [ 16%] rust2rpm/tests/test_generator.py::test_spec[plain-tomlfile0] PASSED [ 17%] rust2rpm/tests/test_generator.py::test_spec[plain-tomlfile1] PASSED [ 17%] rust2rpm/tests/test_generator.py::test_spec[plain-tomlfile2] PASSED [ 18%] rust2rpm/tests/test_generator.py::test_spec[fedora-tomlfile0] PASSED [ 18%] rust2rpm/tests/test_generator.py::test_spec[fedora-tomlfile1] PASSED [ 19%] rust2rpm/tests/test_generator.py::test_spec[fedora-tomlfile2] PASSED [ 20%] rust2rpm/tests/test_generator.py::test_spec[mageia-tomlfile0] PASSED [ 20%] rust2rpm/tests/test_generator.py::test_spec[mageia-tomlfile1] PASSED [ 21%] rust2rpm/tests/test_generator.py::test_spec[mageia-tomlfile2] PASSED [ 21%] rust2rpm/tests/test_generator.py::test_spec[opensuse-tomlfile0] FAILED [ 22%] rust2rpm/tests/test_generator.py::test_spec[opensuse-tomlfile1] FAILED [ 22%] rust2rpm/tests/test_generator.py::test_spec[opensuse-tomlfile2] FAILED [ 23%] rust2rpm/tests/test_version.py::test_dependency[^1.2.3-(crate(test) >= 1.2.3 with crate(test) < 2.0.0~)] PASSED [ 23%] rust2rpm/tests/test_version.py::test_dependency[^1.2-(crate(test) >= 1.2.0 with crate(test) < 2.0.0~)] PASSED [ 24%] rust2rpm/tests/test_version.py::test_dependency[^1-(crate(test) >= 1.0.0 with crate(test) < 2.0.0~)] PASSED [ 25%] rust2rpm/tests/test_version.py::test_dependency[^0.2.3-(crate(test) >= 0.2.3 with crate(test) < 0.3.0~)] PASSED [ 25%] rust2rpm/tests/test_version.py::test_dependency[^0.2-(crate(test) >= 0.2.0 with crate(test) < 0.3.0~)] PASSED [ 26%] rust2rpm/tests/test_version.py::test_dependency[^0.0.3-(crate(test) >= 0.0.3 with crate(test) < 0.0.4~)] PASSED [ 26%] rust2rpm/tests/test_version.py::test_dependency[^0.0-(crate(test) >= 0.0.0 with crate(test) < 0.1.0~)] PASSED [ 27%] rust2rpm/tests/test_version.py::test_dependency[^0-(crate(test) >= 0.0.0 with crate(test) < 1.0.0~)] PASSED [ 27%] rust2rpm/tests/test_version.py::test_dependency[~1.2.3-(crate(test) >= 1.2.3 with crate(test) < 1.3.0~)] PASSED [ 28%] rust2rpm/tests/test_version.py::test_dependency[~1.2-(crate(test) >= 1.2.0 with crate(test) < 1.3.0~)] PASSED [ 28%] rust2rpm/tests/test_version.py::test_dependency[~1-(crate(test) >= 1.0.0 with crate(test) < 2.0.0~)] PASSED [ 29%] rust2rpm/tests/test_version.py::test_dependency[*-crate(test) >= 0.0.0] PASSED [ 30%] rust2rpm/tests/test_version.py::test_dependency[0.*-(crate(test) >= 0.0.0 with crate(test) < 1.0.0~)] PASSED [ 30%] rust2rpm/tests/test_version.py::test_dependency[0.0.*-(crate(test) >= 0.0.0 with crate(test) < 0.1.0~)] PASSED [ 31%] rust2rpm/tests/test_version.py::test_dependency[0.1.*-(crate(test) >= 0.1.0 with crate(test) < 0.2.0~)] PASSED [ 31%] rust2rpm/tests/test_version.py::test_dependency[0.*.*-(crate(test) >= 0.0.0 with crate(test) < 1.0.0~)] PASSED [ 32%] rust2rpm/tests/test_version.py::test_dependency[1.*-(crate(test) >= 1.0.0 with crate(test) < 2.0.0~)] PASSED [ 32%] rust2rpm/tests/test_version.py::test_dependency[1.2.*-(crate(test) >= 1.2.0 with crate(test) < 1.3.0~)] PASSED [ 33%] rust2rpm/tests/test_version.py::test_dependency[1.*.*-(crate(test) >= 1.0.0 with crate(test) < 2.0.0~)] PASSED [ 33%] rust2rpm/tests/test_version.py::test_dependency[>= 1.2.0-crate(test) >= 1.2.0] PASSED [ 34%] rust2rpm/tests/test_version.py::test_dependency[> 1-crate(test) > 1.0.0] PASSED [ 35%] rust2rpm/tests/test_version.py::test_dependency[< 2-crate(test) < 2.0.0~] PASSED [ 35%] rust2rpm/tests/test_version.py::test_dependency[= 1.2.3-crate(test) = 1.2.3] PASSED [ 36%] rust2rpm/tests/test_version.py::test_dependency[>= 1.2, < 1.5-(crate(test) >= 1.2.0 with crate(test) < 1.5.0~)] PASSED [ 36%] rust2rpm/tests/test_version.py::test_dependency[^1.0.0-alpha.6-(crate(test) >= 1.0.0~alpha.6 with crate(test) < 2.0.0~)] PASSED [ 37%] rust2rpm/tests/test_version.py::test_dependency[^0.1.0-alpha.6-(crate(test) >= 0.1.0~alpha.6 with crate(test) < 0.2.0~)] PASSED [ 37%] rust2rpm/tests/test_version.py::test_dependency[^0.0.1-alpha.6-(crate(test) >= 0.0.1~alpha.6 with crate(test) < 0.0.2~)] PASSED [ 38%] rust2rpm/tests/test_version.py::test_dependency[^0.0.0-alpha.6-(crate(test) >= 0.0.0~alpha.6 with crate(test) < 0.0.1~)] PASSED [ 38%] rust2rpm/tests/test_version.py::test_parse_version[-parsed_version0] PASSED [ 39%] rust2rpm/tests/test_version.py::test_parse_version[0-parsed_version1] PASSED [ 40%] rust2rpm/tests/test_version.py::test_parse_version[1.0-parsed_version2] PASSED [ 40%] rust2rpm/tests/test_version.py::test_parse_version[2.1.0-parsed_version3] PASSED [ 41%] rust2rpm/tests/test_version.py::test_parse_version[2.1.0+build1-parsed_version4] PASSED [ 41%] rust2rpm/tests/test_version.py::test_parse_version[2.1.0-alpha1-parsed_version5] PASSED [ 42%] rust2rpm/tests/test_version.py::test_parse_version[2.1.0-alpha1+build1-parsed_version6] PASSED [ 42%] rust2rpm/tests/test_version.py::test_unparse_version[parsed_version0-0.0.0] PASSED [ 43%] rust2rpm/tests/test_version.py::test_unparse_version[parsed_version1-1.0.0] PASSED [ 43%] rust2rpm/tests/test_version.py::test_unparse_version[parsed_version2-2.1.0] PASSED [ 44%] rust2rpm/tests/test_version.py::test_unparse_version[parsed_version3-2.1.0+build1] PASSED [ 45%] rust2rpm/tests/test_version.py::test_unparse_version[parsed_version4-2.1.0+snapshot_preview_build1] PASSED [ 45%] rust2rpm/tests/test_version.py::test_unparse_version[parsed_version5-2.1.0-alpha1] PASSED [ 46%] rust2rpm/tests/test_version.py::test_unparse_version[parsed_version6-2.1.0-snapshot_preview_alpha1] PASSED [ 46%] rust2rpm/tests/test_version.py::test_unparse_version[parsed_version7-2.1.0-alpha1+build1] PASSED [ 47%] rust2rpm/tests/test_version.py::test_unparse_version[parsed_version8-2.1.0-snapshot_preview_alpha1+snapshot_preview_build1] PASSED [ 47%] rust2rpm/tests/test_version.py::test_unparse_version_sep[parsed_version0-2.1.0] PASSED [ 48%] rust2rpm/tests/test_version.py::test_unparse_version_sep[parsed_version1-2.1.0+build1] PASSED [ 48%] rust2rpm/tests/test_version.py::test_unparse_version_sep[parsed_version2-2.1.0+snapshot_preview_build1] PASSED [ 49%] rust2rpm/tests/test_version.py::test_unparse_version_sep[parsed_version3-2.1.0~alpha1] PASSED [ 50%] rust2rpm/tests/test_version.py::test_unparse_version_sep[parsed_version4-2.1.0~snapshot_preview_alpha1] PASSED [ 50%] rust2rpm/tests/test_version.py::test_unparse_version_sep[parsed_version5-2.1.0~alpha1+build1] PASSED [ 51%] rust2rpm/tests/test_version.py::test_unparse_version_sep[parsed_version6-2.1.0~snapshot_preview_alpha1+snapshot_preview_build1] PASSED [ 51%] rust2rpm/tests/test_version.py::test_parse[*-parsed_requirement0] PASSED [ 52%] rust2rpm/tests/test_version.py::test_parse[0.*-parsed_requirement1] PASSED [ 52%] rust2rpm/tests/test_version.py::test_parse[0.1.*-parsed_requirement2] PASSED [ 53%] rust2rpm/tests/test_version.py::test_parse[0.*.*-parsed_requirement3] PASSED [ 53%] rust2rpm/tests/test_version.py::test_parse[<0-parsed_requirement4] PASSED [ 54%] rust2rpm/tests/test_version.py::test_parse[<0.1-parsed_requirement5] PASSED [ 55%] rust2rpm/tests/test_version.py::test_parse[<0.1.2-parsed_requirement6] PASSED [ 55%] rust2rpm/tests/test_version.py::test_parse[<0.1.2-alpha1-parsed_requirement7] PASSED [ 56%] rust2rpm/tests/test_version.py::test_parse[<=0.1.2-parsed_requirement8] PASSED [ 56%] rust2rpm/tests/test_version.py::test_parse[=0.1.2-parsed_requirement9] PASSED [ 57%] rust2rpm/tests/test_version.py::test_parse[==0.1.2-parsed_requirement10] PASSED [ 57%] rust2rpm/tests/test_version.py::test_parse[>=0.1.2-parsed_requirement11] PASSED [ 58%] rust2rpm/tests/test_version.py::test_parse[>0.1.2-parsed_requirement12] PASSED [ 58%] rust2rpm/tests/test_version.py::test_parse[0.1.2-parsed_requirement13] PASSED [ 59%] rust2rpm/tests/test_version.py::test_parse[!=0.1.2-parsed_requirement14] PASSED [ 60%] rust2rpm/tests/test_version.py::test_parse[^0.1.2-parsed_requirement15] PASSED [ 60%] rust2rpm/tests/test_version.py::test_parse[~0.1.2-parsed_requirement16] PASSED [ 61%] rust2rpm/tests/test_version.py::test_parse[~=0.1.2-parsed_requirement17] PASSED [ 61%] rust2rpm/tests/test_version.py::test_coerce[version0-coerced_version0] PASSED [ 62%] rust2rpm/tests/test_version.py::test_coerce[version1-coerced_version1] PASSED [ 62%] rust2rpm/tests/test_version.py::test_coerce[version2-coerced_version2] PASSED [ 63%] rust2rpm/tests/test_version.py::test_coerce[version3-coerced_version3] PASSED [ 63%] rust2rpm/tests/test_version.py::test_coerce[version4-coerced_version4] PASSED [ 64%] rust2rpm/tests/test_version.py::test_coerce[version5-coerced_version5] PASSED [ 65%] rust2rpm/tests/test_version.py::test_eval[v10->-v20-False] PASSED [ 65%] rust2rpm/tests/test_version.py::test_eval[v11-<-v21-True] PASSED [ 66%] rust2rpm/tests/test_version.py::test_eval[v12->=-v22-False] PASSED [ 66%] rust2rpm/tests/test_version.py::test_eval[v13-<=-v23-True] PASSED [ 67%] rust2rpm/tests/test_version.py::test_eval[v14-<-v24-False] PASSED [ 67%] rust2rpm/tests/test_version.py::test_eval[v15->-v25-True] PASSED [ 68%] rust2rpm/tests/test_version.py::test_eval[v16-<=-v26-False] PASSED [ 68%] rust2rpm/tests/test_version.py::test_eval[v17->=-v27-True] PASSED [ 69%] rust2rpm/tests/test_version.py::test_next_major[version0-next_version0] PASSED [ 70%] rust2rpm/tests/test_version.py::test_next_major[version1-next_version1] PASSED [ 70%] rust2rpm/tests/test_version.py::test_next_major[version2-next_version2] PASSED [ 71%] rust2rpm/tests/test_version.py::test_next_major[version3-next_version3] PASSED [ 71%] rust2rpm/tests/test_version.py::test_next_major[version4-next_version4] PASSED [ 72%] rust2rpm/tests/test_version.py::test_next_major[version5-next_version5] PASSED [ 72%] rust2rpm/tests/test_version.py::test_next_major[version6-next_version6] PASSED [ 73%] rust2rpm/tests/test_version.py::test_next_major[version7-next_version7] PASSED [ 73%] rust2rpm/tests/test_version.py::test_next_major[version8-next_version8] PASSED [ 74%] rust2rpm/tests/test_version.py::test_next_major[version9-next_version9] PASSED [ 75%] rust2rpm/tests/test_version.py::test_next_major[version10-next_version10] PASSED [ 75%] rust2rpm/tests/test_version.py::test_next_minor[version0-next_version0] PASSED [ 76%] rust2rpm/tests/test_version.py::test_next_minor[version1-next_version1] PASSED [ 76%] rust2rpm/tests/test_version.py::test_next_minor[version2-next_version2] PASSED [ 77%] rust2rpm/tests/test_version.py::test_next_minor[version3-next_version3] PASSED [ 77%] rust2rpm/tests/test_version.py::test_next_minor[version4-next_version4] PASSED [ 78%] rust2rpm/tests/test_version.py::test_next_minor[version5-next_version5] PASSED [ 78%] rust2rpm/tests/test_version.py::test_next_minor[version6-next_version6] PASSED [ 79%] rust2rpm/tests/test_version.py::test_next_minor[version7-next_version7] PASSED [ 80%] rust2rpm/tests/test_version.py::test_next_minor[version8-next_version8] PASSED [ 80%] rust2rpm/tests/test_version.py::test_next_minor[version9-next_version9] PASSED [ 81%] rust2rpm/tests/test_version.py::test_next_minor[version10-next_version10] PASSED [ 81%] rust2rpm/tests/test_version.py::test_next_patch[version0-next_version0] PASSED [ 82%] rust2rpm/tests/test_version.py::test_next_patch[version1-next_version1] PASSED [ 82%] rust2rpm/tests/test_version.py::test_next_patch[version2-next_version2] PASSED [ 83%] rust2rpm/tests/test_version.py::test_next_patch[version3-next_version3] PASSED [ 83%] rust2rpm/tests/test_version.py::test_next_patch[version4-next_version4] PASSED [ 84%] rust2rpm/tests/test_version.py::test_next_patch[version5-next_version5] PASSED [ 85%] rust2rpm/tests/test_version.py::test_next_patch[version6-next_version6] PASSED [ 85%] rust2rpm/tests/test_version.py::test_next_patch[version7-next_version7] PASSED [ 86%] rust2rpm/tests/test_version.py::test_next_patch[version8-next_version8] PASSED [ 86%] rust2rpm/tests/test_version.py::test_next_patch[version9-next_version9] PASSED [ 87%] rust2rpm/tests/test_version.py::test_next_patch[version10-next_version10] PASSED [ 87%] rust2rpm/tests/test_version.py::test_normalize[requirement0-normalized_requirement0] PASSED [ 88%] rust2rpm/tests/test_version.py::test_normalize[requirement1-normalized_requirement1] PASSED [ 88%] rust2rpm/tests/test_version.py::test_normalize[requirement2-normalized_requirement2] PASSED [ 89%] rust2rpm/tests/test_version.py::test_normalize[requirement3-normalized_requirement3] PASSED [ 90%] rust2rpm/tests/test_version.py::test_normalize[requirement4-normalized_requirement4] PASSED [ 90%] rust2rpm/tests/test_version.py::test_normalize[requirement5-normalized_requirement5] PASSED [ 91%] rust2rpm/tests/test_version.py::test_normalize[requirement6-normalized_requirement6] PASSED [ 91%] rust2rpm/tests/test_version.py::test_normalize[requirement7-normalized_requirement7] PASSED [ 92%] rust2rpm/tests/test_version.py::test_normalize[requirement8-normalized_requirement8] PASSED [ 92%] rust2rpm/tests/test_version.py::test_normalize[requirement9-normalized_requirement9] PASSED [ 93%] rust2rpm/tests/test_version.py::test_normalize[requirement10-normalized_requirement10] PASSED [ 93%] rust2rpm/tests/test_version.py::test_normalize[requirement11-normalized_requirement11] PASSED [ 94%] rust2rpm/tests/test_version.py::test_normalize[requirement12-normalized_requirement12] PASSED [ 95%] rust2rpm/tests/test_version.py::test_normalize[requirement13-normalized_requirement13] PASSED [ 95%] rust2rpm/tests/test_version.py::test_normalize[requirement14-normalized_requirement14] PASSED [ 96%] rust2rpm/tests/test_version.py::test_normalize[requirement15-normalized_requirement15] PASSED [ 96%] rust2rpm/tests/test_version.py::test_normalize[requirement16-normalized_requirement16] PASSED [ 97%] rust2rpm/tests/test_version.py::test_normalize[requirement17-normalized_requirement17] PASSED [ 97%] rust2rpm/tests/test_version.py::test_normalize[requirement18-normalized_requirement18] PASSED [ 98%] rust2rpm/tests/test_version.py::test_normalize[requirement19-normalized_requirement19] PASSED [ 98%] rust2rpm/tests/test_version.py::test_normalize[requirement20-normalized_requirement20] PASSED [ 99%] rust2rpm/tests/test_version.py::test_normalize[requirement21-normalized_requirement21] PASSED [100%] =================================== FAILURES =================================== ________________________ test_spec[opensuse-tomlfile0] _________________________ tomlfile = PosixPath('/builddir/build/BUILD/rust2rpm-v23/rust2rpm/tests/samples/cxx-build-1.0.71.toml') target = 'opensuse' tmpdir = local('/tmp/pytest-of-mockbuild/pytest-0/test_spec_opensuse_tomlfile0_0') @pytest.mark.parametrize("tomlfile", tomlfiles) @pytest.mark.parametrize("target", ["plain", "fedora", "mageia", "opensuse"]) def test_spec(tomlfile, target, tmpdir): crate = tomlfile.with_suffix("").name spec = mock_spec_file_render(crate, tomlfile, target, tmpdir) spec = re.sub("(# Generated by rust2rpm) .*", r"\1 NNN", spec) if os.getenv("SAVE_SPECS") == "1": # helper mode to create test data path = resources.path("rust2rpm.tests.samples", f"{crate}.{target}.spec") path.write_text(spec) else: expected = resources.files("rust2rpm.tests.samples").joinpath(f"{crate}.{target}.spec").read_text() > assert spec == expected E AssertionError: assert '#\n# spec fi...ial package\n' == '#\n# spec fi...ial package\n' E # E # spec file for package rust-cxx-build E # E - # Copyright (c) 2023 Jane Jane . E ? ^ E + # Copyright (c) 2024 Jane Jane . E ? ^... E E ...Full output truncated (144 lines hidden), use '-vv' to show rust2rpm/tests/test_generator.py:82: AssertionError ________________________ test_spec[opensuse-tomlfile1] _________________________ tomlfile = PosixPath('/builddir/build/BUILD/rust2rpm-v23/rust2rpm/tests/samples/nix-0.24.1.toml') target = 'opensuse' tmpdir = local('/tmp/pytest-of-mockbuild/pytest-0/test_spec_opensuse_tomlfile1_0') @pytest.mark.parametrize("tomlfile", tomlfiles) @pytest.mark.parametrize("target", ["plain", "fedora", "mageia", "opensuse"]) def test_spec(tomlfile, target, tmpdir): crate = tomlfile.with_suffix("").name spec = mock_spec_file_render(crate, tomlfile, target, tmpdir) spec = re.sub("(# Generated by rust2rpm) .*", r"\1 NNN", spec) if os.getenv("SAVE_SPECS") == "1": # helper mode to create test data path = resources.path("rust2rpm.tests.samples", f"{crate}.{target}.spec") path.write_text(spec) else: expected = resources.files("rust2rpm.tests.samples").joinpath(f"{crate}.{target}.spec").read_text() > assert spec == expected E AssertionError: assert '#\n# spec fi...ial package\n' == '#\n# spec fi...ial package\n' E # E # spec file for package rust-nix E # E - # Copyright (c) 2023 Jane Jane . E ? ^ E + # Copyright (c) 2024 Jane Jane . E ? ^... E E ...Full output truncated (547 lines hidden), use '-vv' to show rust2rpm/tests/test_generator.py:82: AssertionError ----------------------------- Captured stderr call ----------------------------- • Dropping target-specific dependency on 'sysctl'. ________________________ test_spec[opensuse-tomlfile2] _________________________ tomlfile = PosixPath('/builddir/build/BUILD/rust2rpm-v23/rust2rpm/tests/samples/tokio-1.19.2.toml') target = 'opensuse' tmpdir = local('/tmp/pytest-of-mockbuild/pytest-0/test_spec_opensuse_tomlfile2_0') @pytest.mark.parametrize("tomlfile", tomlfiles) @pytest.mark.parametrize("target", ["plain", "fedora", "mageia", "opensuse"]) def test_spec(tomlfile, target, tmpdir): crate = tomlfile.with_suffix("").name spec = mock_spec_file_render(crate, tomlfile, target, tmpdir) spec = re.sub("(# Generated by rust2rpm) .*", r"\1 NNN", spec) if os.getenv("SAVE_SPECS") == "1": # helper mode to create test data path = resources.path("rust2rpm.tests.samples", f"{crate}.{target}.spec") path.write_text(spec) else: expected = resources.files("rust2rpm.tests.samples").joinpath(f"{crate}.{target}.spec").read_text() > assert spec == expected E AssertionError: assert '#\n# spec fi...ial package\n' == '#\n# spec fi...ial package\n' E # E # spec file for package rust-tokio E # E - # Copyright (c) 2023 Jane Jane . E ? ^ E + # Copyright (c) 2024 Jane Jane . E ? ^... E E ...Full output truncated (433 lines hidden), use '-vv' to show rust2rpm/tests/test_generator.py:82: AssertionError ----------------------------- Captured stderr call ----------------------------- • Dropping target-specific dependency on 'loom'. • Dropping target-specific dependency on 'wasm-bindgen-test'. • Dropping target-specific dependency on 'mio-aio'. • Dropping target-specific dependency on 'tracing'. • Dropping target-specific dependency on 'winapi'. • Dropping target-specific dependency on 'ntapi'. =========================== short test summary info ============================ FAILED rust2rpm/tests/test_generator.py::test_spec[opensuse-tomlfile0] - Asse... FAILED rust2rpm/tests/test_generator.py::test_spec[opensuse-tomlfile1] - Asse... FAILED rust2rpm/tests/test_generator.py::test_spec[opensuse-tomlfile2] - Asse... ======================== 3 failed, 177 passed in 1.33s ========================= py310: exit 1 (1.58 seconds) /builddir/build/BUILD/rust2rpm-v23> pytest -v pid=296029 py310: FAIL code 1 (1.60=setup[0.02]+cmd[1.58] seconds) evaluation failed :( (1.77 seconds) error: Bad exit status from /var/tmp/rpm-tmp.K2OCmG (%check) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.K2OCmG (%check) Child return code was: 1 EXCEPTION: [Error('Command failed: \n # bash --login -c /usr/bin/rpmbuild -ba --noprep --noclean --target aarch64 --nodeps /builddir/build/SPECS/rust-packaging.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 598, in do_with_status raise exception.Error("Command failed: \n # %s\n%s" % (command, output), child.returncode) mockbuild.exception.Error: Command failed: # bash --login -c /usr/bin/rpmbuild -ba --noprep --noclean --target aarch64 --nodeps /builddir/build/SPECS/rust-packaging.spec