Mock Version: 2.16 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target s390x --nodeps /builddir/build/SPECS/rust-packaging.spec'], chrootPath='/var/lib/mock/fedora-rawhide-s390x-1644920974.454965/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=0uid=1001gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.8bxd78d6:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.8bxd78d6:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '9d8a210f953b4d66ab04526a03426f50', '-D', '/var/lib/mock/fedora-rawhide-s390x-1644920974.454965/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.8bxd78d6:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target s390x --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', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: s390x Building for target s390x setting SOURCE_DATE_EPOCH=1644883200 Wrote: /builddir/build/SRPMS/rust-packaging-20-2.fc37.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target s390x --nodeps /builddir/build/SPECS/rust-packaging.spec'], chrootPath='/var/lib/mock/fedora-rawhide-s390x-1644920974.454965/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=0uid=1001gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.8bxd78d6:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.8bxd78d6:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', 'a8b34532ecf64fbb82d9dcf14df8be38', '-D', '/var/lib/mock/fedora-rawhide-s390x-1644920974.454965/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.8bxd78d6:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target s390x --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', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: s390x Building for target s390x setting SOURCE_DATE_EPOCH=1644883200 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.PZw8rx + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf rust2rpm-v20 + /usr/bin/gzip -dc /builddir/build/SOURCES/rust2rpm-v20.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd rust2rpm-v20 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/bin/cat /builddir/build/SOURCES/168.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/bin/cat /builddir/build/SOURCES/179.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.cCilT9 + 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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=zEC12 -mtune=z13 -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=zEC12 -mtune=z13 -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=zEC12 -mtune=z13 -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 -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=zEC12 -mtune=z13 -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/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -Wl,-dT,/builddir/build/BUILD/rust2rpm-v20/.package_note-rust-packaging-20-2.fc37.s390x.ld' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + '[' -f /usr/lib/rpm/generate-rpm-note.sh ']' + /usr/lib/rpm/generate-rpm-note.sh rust-packaging 20-2.fc37 s390x + cd rust2rpm-v20 + 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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=zEC12 -mtune=z13 -fasynchronous-unwind-tables -fstack-clash-protection' + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -Wl,-dT,/builddir/build/BUILD/rust2rpm-v20/.package_note-rust-packaging-20-2.fc37.s390x.ld' + /usr/bin/python3 setup.py build '--executable=/usr/bin/python3 -s' running build running build_py creating build creating build/lib creating build/lib/rust2rpm copying rust2rpm/metadata.py -> build/lib/rust2rpm copying rust2rpm/licensing.py -> build/lib/rust2rpm copying rust2rpm/inspector.py -> build/lib/rust2rpm copying rust2rpm/__main__.py -> build/lib/rust2rpm copying rust2rpm/__init__.py -> build/lib/rust2rpm copying rust2rpm/spdx_to_fedora.csv -> build/lib/rust2rpm creating build/lib/rust2rpm/templates copying rust2rpm/templates/main.spec -> build/lib/rust2rpm/templates copying rust2rpm/templates/plain-changelog.spec.inc -> build/lib/rust2rpm/templates copying rust2rpm/templates/opensuse-header.spec.inc -> build/lib/rust2rpm/templates copying rust2rpm/templates/opensuse-changelog.spec.inc -> build/lib/rust2rpm/templates copying rust2rpm/templates/mageia-changelog.spec.inc -> build/lib/rust2rpm/templates copying rust2rpm/templates/fedora-changelog.spec.inc -> build/lib/rust2rpm/templates + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.tlNhnf + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/rust-packaging-20-2.fc37.s390x '!=' / ']' + rm -rf /builddir/build/BUILDROOT/rust-packaging-20-2.fc37.s390x ++ dirname /builddir/build/BUILDROOT/rust-packaging-20-2.fc37.s390x + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/rust-packaging-20-2.fc37.s390x + 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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=zEC12 -mtune=z13 -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=zEC12 -mtune=z13 -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=zEC12 -mtune=z13 -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 -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=zEC12 -mtune=z13 -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/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -Wl,-dT,/builddir/build/BUILD/rust2rpm-v20/.package_note-rust-packaging-20-2.fc37.s390x.ld' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd rust2rpm-v20 + 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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=zEC12 -mtune=z13 -fasynchronous-unwind-tables -fstack-clash-protection' + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -Wl,-dT,/builddir/build/BUILD/rust2rpm-v20/.package_note-rust-packaging-20-2.fc37.s390x.ld' + /usr/bin/python3 setup.py install -O1 --skip-build --root /builddir/build/BUILDROOT/rust-packaging-20-2.fc37.s390x running install /usr/lib/python3.10/site-packages/setuptools/command/install.py:34: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools. warnings.warn( running install_lib creating /builddir/build/BUILDROOT/rust-packaging-20-2.fc37.s390x/usr creating /builddir/build/BUILDROOT/rust-packaging-20-2.fc37.s390x/usr/lib creating /builddir/build/BUILDROOT/rust-packaging-20-2.fc37.s390x/usr/lib/python3.10 creating /builddir/build/BUILDROOT/rust-packaging-20-2.fc37.s390x/usr/lib/python3.10/site-packages creating /builddir/build/BUILDROOT/rust-packaging-20-2.fc37.s390x/usr/lib/python3.10/site-packages/rust2rpm creating /builddir/build/BUILDROOT/rust-packaging-20-2.fc37.s390x/usr/lib/python3.10/site-packages/rust2rpm/templates copying build/lib/rust2rpm/templates/fedora-changelog.spec.inc -> /builddir/build/BUILDROOT/rust-packaging-20-2.fc37.s390x/usr/lib/python3.10/site-packages/rust2rpm/templates copying build/lib/rust2rpm/templates/mageia-changelog.spec.inc -> /builddir/build/BUILDROOT/rust-packaging-20-2.fc37.s390x/usr/lib/python3.10/site-packages/rust2rpm/templates copying build/lib/rust2rpm/templates/opensuse-changelog.spec.inc -> /builddir/build/BUILDROOT/rust-packaging-20-2.fc37.s390x/usr/lib/python3.10/site-packages/rust2rpm/templates copying build/lib/rust2rpm/templates/opensuse-header.spec.inc -> /builddir/build/BUILDROOT/rust-packaging-20-2.fc37.s390x/usr/lib/python3.10/site-packages/rust2rpm/templates copying build/lib/rust2rpm/templates/plain-changelog.spec.inc -> /builddir/build/BUILDROOT/rust-packaging-20-2.fc37.s390x/usr/lib/python3.10/site-packages/rust2rpm/templates copying build/lib/rust2rpm/templates/main.spec -> /builddir/build/BUILDROOT/rust-packaging-20-2.fc37.s390x/usr/lib/python3.10/site-packages/rust2rpm/templates copying build/lib/rust2rpm/spdx_to_fedora.csv -> /builddir/build/BUILDROOT/rust-packaging-20-2.fc37.s390x/usr/lib/python3.10/site-packages/rust2rpm copying build/lib/rust2rpm/__init__.py -> /builddir/build/BUILDROOT/rust-packaging-20-2.fc37.s390x/usr/lib/python3.10/site-packages/rust2rpm copying build/lib/rust2rpm/__main__.py -> /builddir/build/BUILDROOT/rust-packaging-20-2.fc37.s390x/usr/lib/python3.10/site-packages/rust2rpm copying build/lib/rust2rpm/inspector.py -> /builddir/build/BUILDROOT/rust-packaging-20-2.fc37.s390x/usr/lib/python3.10/site-packages/rust2rpm copying build/lib/rust2rpm/licensing.py -> /builddir/build/BUILDROOT/rust-packaging-20-2.fc37.s390x/usr/lib/python3.10/site-packages/rust2rpm copying build/lib/rust2rpm/metadata.py -> /builddir/build/BUILDROOT/rust-packaging-20-2.fc37.s390x/usr/lib/python3.10/site-packages/rust2rpm byte-compiling /builddir/build/BUILDROOT/rust-packaging-20-2.fc37.s390x/usr/lib/python3.10/site-packages/rust2rpm/__init__.py to __init__.cpython-310.pyc byte-compiling /builddir/build/BUILDROOT/rust-packaging-20-2.fc37.s390x/usr/lib/python3.10/site-packages/rust2rpm/__main__.py to __main__.cpython-310.pyc byte-compiling /builddir/build/BUILDROOT/rust-packaging-20-2.fc37.s390x/usr/lib/python3.10/site-packages/rust2rpm/inspector.py to inspector.cpython-310.pyc byte-compiling /builddir/build/BUILDROOT/rust-packaging-20-2.fc37.s390x/usr/lib/python3.10/site-packages/rust2rpm/licensing.py to licensing.cpython-310.pyc byte-compiling /builddir/build/BUILDROOT/rust-packaging-20-2.fc37.s390x/usr/lib/python3.10/site-packages/rust2rpm/metadata.py to metadata.cpython-310.pyc writing byte-compilation script '/tmp/tmp44cmmlu_.py' /usr/bin/python3 -Wignore:The distutils package is deprecated and slated for removal in Python 3.12. Use setuptools or check PEP 632 for potential alternatives:DeprecationWarning /tmp/tmp44cmmlu_.py removing /tmp/tmp44cmmlu_.py running install_egg_info 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' Copying rust2rpm.egg-info to /builddir/build/BUILDROOT/rust-packaging-20-2.fc37.s390x/usr/lib/python3.10/site-packages/rust2rpm-20-py3.10.egg-info running install_scripts Installing cargo-inspector script to /builddir/build/BUILDROOT/rust-packaging-20-2.fc37.s390x/usr/bin Installing rust2rpm script to /builddir/build/BUILDROOT/rust-packaging-20-2.fc37.s390x/usr/bin + rm -rfv /builddir/build/BUILDROOT/rust-packaging-20-2.fc37.s390x/usr/bin/__pycache__ + install -D -p -m 0644 -t /builddir/build/BUILDROOT/rust-packaging-20-2.fc37.s390x/usr/lib/rpm/macros.d data/macros.rust data/macros.cargo + install -D -p -m 0644 -t /builddir/build/BUILDROOT/rust-packaging-20-2.fc37.s390x/usr/lib/rpm/fileattrs data/cargo.attr + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /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/redhat/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/redhat/brp-mangle-shebangs + /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 Bytecompiling .py files below /builddir/build/BUILDROOT/rust-packaging-20-2.fc37.s390x/usr/lib/python3.10 using python3.10 + /usr/lib/rpm/redhat/brp-python-hardlink Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.lEofRs + 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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=zEC12 -mtune=z13 -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=zEC12 -mtune=z13 -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=zEC12 -mtune=z13 -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 -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=zEC12 -mtune=z13 -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/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -Wl,-dT,/builddir/build/BUILD/rust2rpm-v20/.package_note-rust-packaging-20-2.fc37.s390x.ld' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + '[' -f /usr/lib/rpm/generate-rpm-note.sh ']' + /usr/lib/rpm/generate-rpm-note.sh rust-packaging 20-2.fc37 s390x + cd rust2rpm-v20 + py.test-3.10 -vv test.py ============================= test session starts ============================== platform linux -- Python 3.10.2, pytest-6.2.5, py-1.11.0, pluggy-1.0.0 -- /usr/bin/python3 cachedir: .pytest_cache rootdir: /builddir/build/BUILD/rust2rpm-v20 collecting ... collected 126 items test.py::test_dependency[^1.2.3-(crate(test) >= 1.2.3 with crate(test) < 2.0.0~)] PASSED [ 0%] test.py::test_dependency[^1.2-(crate(test) >= 1.2.0 with crate(test) < 2.0.0~)] PASSED [ 1%] test.py::test_dependency[^1-(crate(test) >= 1.0.0 with crate(test) < 2.0.0~)] PASSED [ 2%] test.py::test_dependency[^0.2.3-(crate(test) >= 0.2.3 with crate(test) < 0.3.0~)] PASSED [ 3%] test.py::test_dependency[^0.2-(crate(test) >= 0.2.0 with crate(test) < 0.3.0~)] PASSED [ 3%] test.py::test_dependency[^0.0.3-(crate(test) >= 0.0.3 with crate(test) < 0.0.4~)] PASSED [ 4%] test.py::test_dependency[^0.0-(crate(test) >= 0.0.0 with crate(test) < 0.1.0~)] PASSED [ 5%] test.py::test_dependency[^0-(crate(test) >= 0.0.0 with crate(test) < 1.0.0~)] PASSED [ 6%] test.py::test_dependency[~1.2.3-(crate(test) >= 1.2.3 with crate(test) < 1.3.0~)] PASSED [ 7%] test.py::test_dependency[~1.2-(crate(test) >= 1.2.0 with crate(test) < 1.3.0~)] PASSED [ 7%] test.py::test_dependency[~1-(crate(test) >= 1.0.0 with crate(test) < 2.0.0~)] PASSED [ 8%] test.py::test_dependency[*-crate(test) >= 0.0.0] PASSED [ 9%] test.py::test_dependency[1.*-(crate(test) >= 1.0.0 with crate(test) < 2.0.0~)] PASSED [ 10%] test.py::test_dependency[1.2.*-(crate(test) >= 1.2.0 with crate(test) < 1.3.0~)] PASSED [ 11%] test.py::test_dependency[1.*.*-(crate(test) >= 1.0.0 with crate(test) < 2.0.0~)] PASSED [ 11%] test.py::test_dependency[>= 1.2.0-crate(test) >= 1.2.0] PASSED [ 12%] test.py::test_dependency[> 1-crate(test) > 1.0.0] PASSED [ 13%] test.py::test_dependency[< 2-crate(test) < 2.0.0~] PASSED [ 14%] test.py::test_dependency[= 1.2.3-crate(test) = 1.2.3] PASSED [ 15%] test.py::test_dependency[>= 1.2, < 1.5-(crate(test) >= 1.2.0 with crate(test) < 1.5.0~)] PASSED [ 15%] test.py::test_dependency[^1.0.0-alpha.6-(crate(test) >= 1.0.0~alpha.6 with crate(test) < 2.0.0~)] PASSED [ 16%] test.py::test_dependency[^0.1.0-alpha.6-(crate(test) >= 0.1.0~alpha.6 with crate(test) < 0.2.0~)] PASSED [ 17%] test.py::test_dependency[^0.0.1-alpha.6-(crate(test) >= 0.0.1~alpha.6 with crate(test) < 0.0.2~)] PASSED [ 18%] test.py::test_dependency[^0.0.0-alpha.6-(crate(test) >= 0.0.0~alpha.6 with crate(test) < 0.0.1~)] PASSED [ 19%] test.py::test_parse_version[-parsed_version0] PASSED [ 19%] test.py::test_parse_version[0-parsed_version1] PASSED [ 20%] test.py::test_parse_version[1.0-parsed_version2] PASSED [ 21%] test.py::test_parse_version[2.1.0-parsed_version3] PASSED [ 22%] test.py::test_parse_version[2.1.0+build1-parsed_version4] PASSED [ 23%] test.py::test_parse_version[2.1.0-alpha1-parsed_version5] PASSED [ 23%] test.py::test_parse_version[2.1.0-alpha1+build1-parsed_version6] PASSED [ 24%] test.py::test_unparse_version[parsed_version0-0.0.0] PASSED [ 25%] test.py::test_unparse_version[parsed_version1-1.0.0] PASSED [ 26%] test.py::test_unparse_version[parsed_version2-2.1.0] PASSED [ 26%] test.py::test_unparse_version[parsed_version3-2.1.0+build1] PASSED [ 27%] test.py::test_unparse_version[parsed_version4-2.1.0+snapshot_preview_build1] PASSED [ 28%] test.py::test_unparse_version[parsed_version5-2.1.0-alpha1] PASSED [ 29%] test.py::test_unparse_version[parsed_version6-2.1.0-snapshot_preview_alpha1] PASSED [ 30%] test.py::test_unparse_version[parsed_version7-2.1.0-alpha1+build1] PASSED [ 30%] test.py::test_unparse_version[parsed_version8-2.1.0-snapshot_preview_alpha1+snapshot_preview_build1] PASSED [ 31%] test.py::test_unparse_version_sep[parsed_version0-2.1.0] PASSED [ 32%] test.py::test_unparse_version_sep[parsed_version1-2.1.0+build1] PASSED [ 33%] test.py::test_unparse_version_sep[parsed_version2-2.1.0+snapshot_preview_build1] PASSED [ 34%] test.py::test_unparse_version_sep[parsed_version3-2.1.0~alpha1] PASSED [ 34%] test.py::test_unparse_version_sep[parsed_version4-2.1.0~snapshot_preview_alpha1] PASSED [ 35%] test.py::test_unparse_version_sep[parsed_version5-2.1.0~alpha1+build1] PASSED [ 36%] test.py::test_unparse_version_sep[parsed_version6-2.1.0~snapshot_preview_alpha1+snapshot_preview_build1] PASSED [ 37%] test.py::test_parse[*-parsed_requirement0] PASSED [ 38%] test.py::test_parse[0.*-parsed_requirement1] PASSED [ 38%] test.py::test_parse[0.1.*-parsed_requirement2] PASSED [ 39%] test.py::test_parse[0.*.*-parsed_requirement3] PASSED [ 40%] test.py::test_parse[<0-parsed_requirement4] PASSED [ 41%] test.py::test_parse[<0.1-parsed_requirement5] PASSED [ 42%] test.py::test_parse[<0.1.2-parsed_requirement6] PASSED [ 42%] test.py::test_parse[<0.1.2-alpha1-parsed_requirement7] PASSED [ 43%] test.py::test_parse[<=0.1.2-parsed_requirement8] PASSED [ 44%] test.py::test_parse[=0.1.2-parsed_requirement9] PASSED [ 45%] test.py::test_parse[==0.1.2-parsed_requirement10] PASSED [ 46%] test.py::test_parse[>=0.1.2-parsed_requirement11] PASSED [ 46%] test.py::test_parse[>0.1.2-parsed_requirement12] PASSED [ 47%] test.py::test_parse[0.1.2-parsed_requirement13] PASSED [ 48%] test.py::test_parse[!=0.1.2-parsed_requirement14] PASSED [ 49%] test.py::test_parse[^0.1.2-parsed_requirement15] PASSED [ 50%] test.py::test_parse[~0.1.2-parsed_requirement16] PASSED [ 50%] test.py::test_parse[~=0.1.2-parsed_requirement17] PASSED [ 51%] test.py::test_coerce[version0-coerced_version0] PASSED [ 52%] test.py::test_coerce[version1-coerced_version1] PASSED [ 53%] test.py::test_coerce[version2-coerced_version2] PASSED [ 53%] test.py::test_coerce[version3-coerced_version3] PASSED [ 54%] test.py::test_coerce[version4-coerced_version4] PASSED [ 55%] test.py::test_coerce[version5-coerced_version5] PASSED [ 56%] test.py::test_next_major[version0-next_version0] PASSED [ 57%] test.py::test_next_major[version1-next_version1] PASSED [ 57%] test.py::test_next_major[version2-next_version2] PASSED [ 58%] test.py::test_next_major[version3-next_version3] PASSED [ 59%] test.py::test_next_major[version4-next_version4] PASSED [ 60%] test.py::test_next_major[version5-next_version5] PASSED [ 61%] test.py::test_next_major[version6-next_version6] PASSED [ 61%] test.py::test_next_major[version7-next_version7] PASSED [ 62%] test.py::test_next_major[version8-next_version8] PASSED [ 63%] test.py::test_next_major[version9-next_version9] PASSED [ 64%] test.py::test_next_major[version10-next_version10] PASSED [ 65%] test.py::test_next_minor[version0-next_version0] PASSED [ 65%] test.py::test_next_minor[version1-next_version1] PASSED [ 66%] test.py::test_next_minor[version2-next_version2] PASSED [ 67%] test.py::test_next_minor[version3-next_version3] PASSED [ 68%] test.py::test_next_minor[version4-next_version4] PASSED [ 69%] test.py::test_next_minor[version5-next_version5] PASSED [ 69%] test.py::test_next_minor[version6-next_version6] PASSED [ 70%] test.py::test_next_minor[version7-next_version7] PASSED [ 71%] test.py::test_next_minor[version8-next_version8] PASSED [ 72%] test.py::test_next_minor[version9-next_version9] PASSED [ 73%] test.py::test_next_minor[version10-next_version10] PASSED [ 73%] test.py::test_next_patch[version0-next_version0] PASSED [ 74%] test.py::test_next_patch[version1-next_version1] PASSED [ 75%] test.py::test_next_patch[version2-next_version2] PASSED [ 76%] test.py::test_next_patch[version3-next_version3] PASSED [ 76%] test.py::test_next_patch[version4-next_version4] PASSED [ 77%] test.py::test_next_patch[version5-next_version5] PASSED [ 78%] test.py::test_next_patch[version6-next_version6] PASSED [ 79%] test.py::test_next_patch[version7-next_version7] PASSED [ 80%] test.py::test_next_patch[version8-next_version8] PASSED [ 80%] test.py::test_next_patch[version9-next_version9] PASSED [ 81%] test.py::test_next_patch[version10-next_version10] PASSED [ 82%] test.py::test_normalize[requirement0-normalized_requirement0] PASSED [ 83%] test.py::test_normalize[requirement1-normalized_requirement1] PASSED [ 84%] test.py::test_normalize[requirement2-normalized_requirement2] PASSED [ 84%] test.py::test_normalize[requirement3-normalized_requirement3] PASSED [ 85%] test.py::test_normalize[requirement4-normalized_requirement4] PASSED [ 86%] test.py::test_normalize[requirement5-normalized_requirement5] PASSED [ 87%] test.py::test_normalize[requirement6-normalized_requirement6] PASSED [ 88%] test.py::test_normalize[requirement7-normalized_requirement7] PASSED [ 88%] test.py::test_normalize[requirement8-normalized_requirement8] PASSED [ 89%] test.py::test_normalize[requirement9-normalized_requirement9] PASSED [ 90%] test.py::test_normalize[requirement10-normalized_requirement10] PASSED [ 91%] test.py::test_normalize[requirement11-normalized_requirement11] PASSED [ 92%] test.py::test_normalize[requirement12-normalized_requirement12] PASSED [ 92%] test.py::test_normalize[requirement13-normalized_requirement13] PASSED [ 93%] test.py::test_normalize[requirement14-normalized_requirement14] PASSED [ 94%] test.py::test_normalize[requirement15-normalized_requirement15] PASSED [ 95%] test.py::test_normalize[requirement16-normalized_requirement16] PASSED [ 96%] test.py::test_normalize[requirement17-normalized_requirement17] PASSED [ 96%] test.py::test_normalize[requirement18-normalized_requirement18] PASSED [ 97%] test.py::test_normalize[requirement19-normalized_requirement19] PASSED [ 98%] test.py::test_normalize[requirement20-normalized_requirement20] PASSED [ 99%] test.py::test_normalize[requirement21-normalized_requirement21] PASSED [100%] ============================= 126 passed in 0.13s ============================== + RPM_EC=0 ++ jobs -p + exit 0 Processing files: rust-packaging-20-2.fc37.s390x Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.uKlbk9 + umask 022 + cd /builddir/build/BUILD + cd rust2rpm-v20 + LICENSEDIR=/builddir/build/BUILDROOT/rust-packaging-20-2.fc37.s390x/usr/share/licenses/rust-packaging + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/rust-packaging-20-2.fc37.s390x/usr/share/licenses/rust-packaging + cp -pr LICENSE /builddir/build/BUILDROOT/rust-packaging-20-2.fc37.s390x/usr/share/licenses/rust-packaging + RPM_EC=0 ++ jobs -p + exit 0 Provides: rust-packaging = 20-2.fc37 rust-packaging(s390-64) = 20-2.fc37 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: python3-rust2rpm-20-2.fc37.s390x Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.a8ZkKS + umask 022 + cd /builddir/build/BUILD + cd rust2rpm-v20 + DOCDIR=/builddir/build/BUILDROOT/rust-packaging-20-2.fc37.s390x/usr/share/doc/python3-rust2rpm + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/rust-packaging-20-2.fc37.s390x/usr/share/doc/python3-rust2rpm + cp -pr NEWS /builddir/build/BUILDROOT/rust-packaging-20-2.fc37.s390x/usr/share/doc/python3-rust2rpm + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.tyUQOV + umask 022 + cd /builddir/build/BUILD + cd rust2rpm-v20 + LICENSEDIR=/builddir/build/BUILDROOT/rust-packaging-20-2.fc37.s390x/usr/share/licenses/python3-rust2rpm + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/rust-packaging-20-2.fc37.s390x/usr/share/licenses/python3-rust2rpm + cp -pr LICENSE /builddir/build/BUILDROOT/rust-packaging-20-2.fc37.s390x/usr/share/licenses/python3-rust2rpm + RPM_EC=0 ++ jobs -p + exit 0 Provides: python-rust2rpm = 20-2.fc37 python3-rust2rpm = 20-2.fc37 python3-rust2rpm(s390-64) = 20-2.fc37 python3.10-rust2rpm = 20-2.fc37 python3.10dist(rust2rpm) = 20 python3dist(rust2rpm) = 20 rust2rpm = 20-2.fc37 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PartialHardlinkSets) <= 4.0.4-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: /usr/bin/python3 python(abi) = 3.10 python3.10dist(jinja2) python3.10dist(requests) python3.10dist(tqdm) Obsoletes: python-rust2rpm < 20-2.fc37 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/rust-packaging-20-2.fc37.s390x Wrote: /builddir/build/RPMS/rust-packaging-20-2.fc37.s390x.rpm Wrote: /builddir/build/RPMS/python3-rust2rpm-20-2.fc37.s390x.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.YWhECM + umask 022 + cd /builddir/build/BUILD + cd rust2rpm-v20 + /usr/bin/rm -rf /builddir/build/BUILDROOT/rust-packaging-20-2.fc37.s390x + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0