Mock Version: 5.9 Mock Version: 5.9 Mock Version: 5.9 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target noarch --nodeps /builddir/build/SPECS/python-libarchive-c.spec'], chrootPath='/var/lib/mock/f42-build-55130164-6532747/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=201600uid=1000gid=425user='mockbuild'unshare_net=TrueprintOutput=Falsenspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.ng4t8mpu:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.ng4t8mpu:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '618b461cd7dc4257b0a76adf52250beb', '-D', '/var/lib/mock/f42-build-55130164-6532747/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.ng4t8mpu:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target noarch --nodeps /builddir/build/SPECS/python-libarchive-c.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: noarch Building for target noarch setting SOURCE_DATE_EPOCH=1721347200 Wrote: /builddir/build/SRPMS/python-libarchive-c-5.1-3.fc42.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target noarch --nodeps /builddir/build/SPECS/python-libarchive-c.spec'], chrootPath='/var/lib/mock/f42-build-55130164-6532747/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=201600uid=1000gid=425user='mockbuild'unshare_net=TrueprintOutput=Falsenspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.ng4t8mpu:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.ng4t8mpu:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', 'acee4ef1e6384cf2a9e631e6b7442f72', '-D', '/var/lib/mock/f42-build-55130164-6532747/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.ng4t8mpu:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target noarch --nodeps /builddir/build/SPECS/python-libarchive-c.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: noarch Building for target noarch setting SOURCE_DATE_EPOCH=1721347200 Executing(%mkbuilddir): /bin/sh -e /var/tmp/rpm-tmp.FdsIbq + umask 022 + cd /builddir/build/BUILD/python-libarchive-c-5.1-build + test -d /builddir/build/BUILD/python-libarchive-c-5.1-build + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w /builddir/build/BUILD/python-libarchive-c-5.1-build + /usr/bin/rm -rf /builddir/build/BUILD/python-libarchive-c-5.1-build + /usr/bin/mkdir -p /builddir/build/BUILD/python-libarchive-c-5.1-build + /usr/bin/mkdir -p /builddir/build/BUILD/python-libarchive-c-5.1-build/SPECPARTS + RPM_EC=0 ++ jobs -p + exit 0 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.zvyGjj + umask 022 + cd /builddir/build/BUILD/python-libarchive-c-5.1-build + cd /builddir/build/BUILD/python-libarchive-c-5.1-build + rm -rf python-libarchive-c-5.1 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/python-libarchive-c-5.1.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd python-libarchive-c-5.1 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.sppDNO + umask 022 + cd /builddir/build/BUILD/python-libarchive-c-5.1-build + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes --cap-lints=warn' + export RUSTFLAGS + 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 ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd python-libarchive-c-5.1 + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + 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 ' + /usr/bin/python3 setup.py build '--executable=/usr/bin/python3 -sP' running build running build_py creating build creating build/lib creating build/lib/libarchive copying libarchive/__init__.py -> build/lib/libarchive copying libarchive/entry.py -> build/lib/libarchive copying libarchive/exception.py -> build/lib/libarchive copying libarchive/extract.py -> build/lib/libarchive copying libarchive/ffi.py -> build/lib/libarchive copying libarchive/flags.py -> build/lib/libarchive copying libarchive/read.py -> build/lib/libarchive copying libarchive/write.py -> build/lib/libarchive + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.hZDrge + umask 022 + cd /builddir/build/BUILD/python-libarchive-c-5.1-build + '[' /builddir/build/BUILD/python-libarchive-c-5.1-build/BUILDROOT '!=' / ']' + rm -rf /builddir/build/BUILD/python-libarchive-c-5.1-build/BUILDROOT ++ dirname /builddir/build/BUILD/python-libarchive-c-5.1-build/BUILDROOT + mkdir -p /builddir/build/BUILD/python-libarchive-c-5.1-build + mkdir /builddir/build/BUILD/python-libarchive-c-5.1-build/BUILDROOT + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes --cap-lints=warn' + export RUSTFLAGS + 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 ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd python-libarchive-c-5.1 + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + 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 ' + /usr/bin/python3 setup.py install -O1 --skip-build --root /builddir/build/BUILD/python-libarchive-c-5.1-build/BUILDROOT --prefix /usr running install /usr/lib/python3.13/site-packages/setuptools/_distutils/cmd.py:66: SetuptoolsDeprecationWarning: setup.py install is deprecated. !! ******************************************************************************** Please avoid running ``setup.py`` directly. Instead, use pypa/build, pypa/installer or other standards-based tools. Follow the current Python packaging guidelines when building Python RPM packages. See https://blog.ganssle.io/articles/2021/10/setup-py-deprecated.html and https://docs.fedoraproject.org/en-US/packaging-guidelines/Python/ for details. ******************************************************************************** !! self.initialize_options() running install_lib creating /builddir/build/BUILD/python-libarchive-c-5.1-build/BUILDROOT/usr creating /builddir/build/BUILD/python-libarchive-c-5.1-build/BUILDROOT/usr/lib creating /builddir/build/BUILD/python-libarchive-c-5.1-build/BUILDROOT/usr/lib/python3.13 creating /builddir/build/BUILD/python-libarchive-c-5.1-build/BUILDROOT/usr/lib/python3.13/site-packages creating /builddir/build/BUILD/python-libarchive-c-5.1-build/BUILDROOT/usr/lib/python3.13/site-packages/libarchive copying build/lib/libarchive/__init__.py -> /builddir/build/BUILD/python-libarchive-c-5.1-build/BUILDROOT/usr/lib/python3.13/site-packages/libarchive copying build/lib/libarchive/entry.py -> /builddir/build/BUILD/python-libarchive-c-5.1-build/BUILDROOT/usr/lib/python3.13/site-packages/libarchive copying build/lib/libarchive/exception.py -> /builddir/build/BUILD/python-libarchive-c-5.1-build/BUILDROOT/usr/lib/python3.13/site-packages/libarchive copying build/lib/libarchive/extract.py -> /builddir/build/BUILD/python-libarchive-c-5.1-build/BUILDROOT/usr/lib/python3.13/site-packages/libarchive copying build/lib/libarchive/ffi.py -> /builddir/build/BUILD/python-libarchive-c-5.1-build/BUILDROOT/usr/lib/python3.13/site-packages/libarchive copying build/lib/libarchive/flags.py -> /builddir/build/BUILD/python-libarchive-c-5.1-build/BUILDROOT/usr/lib/python3.13/site-packages/libarchive copying build/lib/libarchive/read.py -> /builddir/build/BUILD/python-libarchive-c-5.1-build/BUILDROOT/usr/lib/python3.13/site-packages/libarchive copying build/lib/libarchive/write.py -> /builddir/build/BUILD/python-libarchive-c-5.1-build/BUILDROOT/usr/lib/python3.13/site-packages/libarchive byte-compiling /builddir/build/BUILD/python-libarchive-c-5.1-build/BUILDROOT/usr/lib/python3.13/site-packages/libarchive/__init__.py to __init__.cpython-313.pyc byte-compiling /builddir/build/BUILD/python-libarchive-c-5.1-build/BUILDROOT/usr/lib/python3.13/site-packages/libarchive/entry.py to entry.cpython-313.pyc byte-compiling /builddir/build/BUILD/python-libarchive-c-5.1-build/BUILDROOT/usr/lib/python3.13/site-packages/libarchive/exception.py to exception.cpython-313.pyc byte-compiling /builddir/build/BUILD/python-libarchive-c-5.1-build/BUILDROOT/usr/lib/python3.13/site-packages/libarchive/extract.py to extract.cpython-313.pyc byte-compiling /builddir/build/BUILD/python-libarchive-c-5.1-build/BUILDROOT/usr/lib/python3.13/site-packages/libarchive/ffi.py to ffi.cpython-313.pyc byte-compiling /builddir/build/BUILD/python-libarchive-c-5.1-build/BUILDROOT/usr/lib/python3.13/site-packages/libarchive/flags.py to flags.cpython-313.pyc byte-compiling /builddir/build/BUILD/python-libarchive-c-5.1-build/BUILDROOT/usr/lib/python3.13/site-packages/libarchive/read.py to read.cpython-313.pyc byte-compiling /builddir/build/BUILD/python-libarchive-c-5.1-build/BUILDROOT/usr/lib/python3.13/site-packages/libarchive/write.py to write.cpython-313.pyc writing byte-compilation script '/tmp/tmp6g0coh3z.py' /usr/bin/python3 /tmp/tmp6g0coh3z.py removing /tmp/tmp6g0coh3z.py running install_egg_info running egg_info creating libarchive_c.egg-info writing libarchive_c.egg-info/PKG-INFO writing dependency_links to libarchive_c.egg-info/dependency_links.txt writing top-level names to libarchive_c.egg-info/top_level.txt writing manifest file 'libarchive_c.egg-info/SOURCES.txt' reading manifest file 'libarchive_c.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' adding license file 'LICENSE.md' writing manifest file 'libarchive_c.egg-info/SOURCES.txt' Copying libarchive_c.egg-info to /builddir/build/BUILD/python-libarchive-c-5.1-build/BUILDROOT/usr/lib/python3.13/site-packages/libarchive_c-5.1-py3.13.egg-info running install_scripts + rm -rfv /builddir/build/BUILD/python-libarchive-c-5.1-build/BUILDROOT/usr/bin/__pycache__ + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w /builddir/build/BUILD/python-libarchive-c-5.1-build/BUILDROOT + /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/brp-remove-la-files + env /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 -j6 Bytecompiling .py files below /builddir/build/BUILD/python-libarchive-c-5.1-build/BUILDROOT/usr/lib/python3.13 using python3.13 + /usr/lib/rpm/redhat/brp-python-hardlink + /usr/bin/add-determinism --brp -j6 /builddir/build/BUILD/python-libarchive-c-5.1-build/BUILDROOT /builddir/build/BUILD/python-libarchive-c-5.1-build/BUILDROOT/usr/lib/python3.13/site-packages/libarchive/__pycache__/flags.cpython-313.pyc: rewriting with normalized contents /builddir/build/BUILD/python-libarchive-c-5.1-build/BUILDROOT/usr/lib/python3.13/site-packages/libarchive/__pycache__/__init__.cpython-313.pyc: rewriting with normalized contents /builddir/build/BUILD/python-libarchive-c-5.1-build/BUILDROOT/usr/lib/python3.13/site-packages/libarchive/__pycache__/exception.cpython-313.pyc: rewriting with normalized contents /builddir/build/BUILD/python-libarchive-c-5.1-build/BUILDROOT/usr/lib/python3.13/site-packages/libarchive/__pycache__/extract.cpython-313.pyc: rewriting with normalized contents /builddir/build/BUILD/python-libarchive-c-5.1-build/BUILDROOT/usr/lib/python3.13/site-packages/libarchive/__pycache__/read.cpython-313.pyc: rewriting with normalized contents /builddir/build/BUILD/python-libarchive-c-5.1-build/BUILDROOT/usr/lib/python3.13/site-packages/libarchive/__pycache__/ffi.cpython-313.pyc: rewriting with normalized contents /builddir/build/BUILD/python-libarchive-c-5.1-build/BUILDROOT/usr/lib/python3.13/site-packages/libarchive/__pycache__/write.cpython-313.opt-1.pyc: replacing with normalized version /builddir/build/BUILD/python-libarchive-c-5.1-build/BUILDROOT/usr/lib/python3.13/site-packages/libarchive/__pycache__/write.cpython-313.pyc: replacing with normalized version /builddir/build/BUILD/python-libarchive-c-5.1-build/BUILDROOT/usr/lib/python3.13/site-packages/libarchive/__pycache__/entry.cpython-313.pyc: rewriting with normalized contents Scanned 8 directories and 28 files, processed 9 inodes, 9 modified (2 replaced + 7 rewritten), 0 unsupported format, 0 errors Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.Kd87Vc + umask 022 + cd /builddir/build/BUILD/python-libarchive-c-5.1-build + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes --cap-lints=warn' + export RUSTFLAGS + 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 ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd python-libarchive-c-5.1 + pytest-3.13 -s -vv tests ============================= test session starts ============================== platform linux -- Python 3.13.0, pytest-8.3.3, pluggy-1.5.0 -- /usr/bin/python3 cachedir: .pytest_cache rootdir: /builddir/build/BUILD/python-libarchive-c-5.1-build/python-libarchive-c-5.1 collecting ... collected 36 items tests/test_atime_mtime_ctime.py::test_memory_atime_ctime[zip-int] PASSED tests/test_atime_mtime_ctime.py::test_memory_atime_ctime[pax-float] PASSED tests/test_atime_mtime_ctime.py::test_file_atime_ctime[zip-int] PASSED tests/test_atime_mtime_ctime.py::test_file_atime_ctime[pax-float] PASSED tests/test_atime_mtime_ctime.py::test_memory_time_setters[zip-int] PASSED tests/test_atime_mtime_ctime.py::test_memory_time_setters[pax-float] PASSED tests/test_atime_mtime_ctime.py::test_file_time_setters[zip-int] PASSED tests/test_atime_mtime_ctime.py::test_file_time_setters[pax-float] PASSED tests/test_convert.py::test_convert PASSED tests/test_entry.py::test_entry_properties PASSED tests/test_entry.py::test_check_ArchiveEntry_against_TarInfo PASSED tests/test_entry.py::test_check_archiveentry_using_python_testtar FAILED tests/test_entry.py::test_check_archiveentry_with_unicode_and_binary_entries_tar PASSED tests/test_entry.py::test_check_archiveentry_with_unicode_and_binary_entries_zip PASSED tests/test_entry.py::test_check_archiveentry_with_unicode_and_binary_entries_zip2 PASSED tests/test_entry.py::test_check_archiveentry_with_unicode_entries_and_name_zip PASSED tests/test_entry.py::test_the_life_cycle_of_archive_entries PASSED tests/test_entry.py::test_non_ASCII_encoding_of_file_metadata PASSED tests/test_errors.py::test_add_files_nonexistent PASSED tests/test_errors.py::test_check_int_logs_warnings PASSED tests/test_errors.py::test_check_null PASSED tests/test_errors.py::test_error_string_decoding PASSED tests/test_rwx.py::test_buffers PASSED tests/test_rwx.py::test_fd PASSED tests/test_rwx.py::test_files PASSED tests/test_rwx.py::test_custom_writer_and_stream_reader PASSED tests/test_rwx.py::test_write_fail PASSED tests/test_rwx.py::test_write_not_fail PASSED tests/test_rwx.py::test_adding_nonexistent_file_to_archive PASSED tests/test_rwx.py::test_adding_entry_from_memory[zip-content] PASSED tests/test_rwx.py::test_adding_entry_from_memory[gnutar-] PASSED tests/test_rwx.py::test_adding_entry_from_memory[pax-{"a": 1, "b": 2, "c": 3}] PASSED tests/test_rwx.py::test_adding_entry_from_memory[7zip-lorem\x00ipsum] PASSED tests/test_security_flags.py::test_extraction_is_secure_by_default PASSED tests/test_security_flags.py::test_explicit_no_dot_dot PASSED tests/test_security_flags.py::test_explicit_no_absolute_paths PASSED =================================== FAILURES =================================== _________________ test_check_archiveentry_using_python_testtar _________________ def test_check_archiveentry_using_python_testtar(): > check_entries(join(data_dir, 'testtar.tar')) tests/test_entry.py:67: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/test_entry.py:95: in check_entries actual = list(get_entries(test_file)) tests/__init__.py:47: in get_entries for entry in arch: libarchive/read.py:27: in __iter__ r = read_next_header2(archive_p, entry._entry_p) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ retcode = -10, func = <_FuncPtr object at 0x7f9d69564a10> args = (93985974653808, 93985974668880) def check_int(retcode, func, args): if retcode >= 0: return retcode elif retcode == ARCHIVE_WARN: logger.warning(_error_string(args[0])) return retcode else: > raise archive_error(args[0], retcode) E libarchive.exception.ArchiveError: Damaged tar archive (errno=22, retcode=-10, archive_p=93985974653808) libarchive/ffi.py:98: ArchiveError =========================== short test summary info ============================ FAILED tests/test_entry.py::test_check_archiveentry_using_python_testtar - libarchive.exception.ArchiveError: Damaged tar archive (errno=22, retcode=-10, archive_p=93985974653808) ========================= 1 failed, 35 passed in 0.47s ========================= error: Bad exit status from /var/tmp/rpm-tmp.Kd87Vc (%check) Bad exit status from /var/tmp/rpm-tmp.Kd87Vc (%check) RPM build errors: Child return code was: 1 EXCEPTION: [Error('Command failed: \n # /usr/bin/systemd-nspawn -q -M acee4ef1e6384cf2a9e631e6b7442f72 -D /var/lib/mock/f42-build-55130164-6532747/root -a -u mockbuild --capability=cap_ipc_lock --bind=/tmp/mock-resolv.ng4t8mpu:/etc/resolv.conf --bind=/dev/btrfs-control --bind=/dev/mapper/control --bind=/dev/fuse --bind=/dev/loop-control --bind=/dev/loop0 --bind=/dev/loop1 --bind=/dev/loop2 --bind=/dev/loop3 --bind=/dev/loop4 --bind=/dev/loop5 --bind=/dev/loop6 --bind=/dev/loop7 --bind=/dev/loop8 --bind=/dev/loop9 --bind=/dev/loop10 --bind=/dev/loop11 --console=pipe --setenv=TERM=vt100 --setenv=SHELL=/bin/bash --setenv=HOME=/builddir --setenv=HOSTNAME=mock --setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin \'--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"\' \'--setenv=PS1= \\s-\\v\\$ \' --setenv=LANG=C.UTF-8 --resolv-conf=off bash --login -c \'/usr/bin/rpmbuild -bb --noclean --target noarch --nodeps /builddir/build/SPECS/python-libarchive-c.spec\'\n', 1)] Traceback (most recent call last): File "/usr/lib/python3.13/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) File "/usr/lib/python3.13/site-packages/mockbuild/util.py", line 610, in do_with_status raise exception.Error("Command failed: \n # %s\n%s" % (cmd_pretty(command, env), output), child.returncode) mockbuild.exception.Error: Command failed: # /usr/bin/systemd-nspawn -q -M acee4ef1e6384cf2a9e631e6b7442f72 -D /var/lib/mock/f42-build-55130164-6532747/root -a -u mockbuild --capability=cap_ipc_lock --bind=/tmp/mock-resolv.ng4t8mpu:/etc/resolv.conf --bind=/dev/btrfs-control --bind=/dev/mapper/control --bind=/dev/fuse --bind=/dev/loop-control --bind=/dev/loop0 --bind=/dev/loop1 --bind=/dev/loop2 --bind=/dev/loop3 --bind=/dev/loop4 --bind=/dev/loop5 --bind=/dev/loop6 --bind=/dev/loop7 --bind=/dev/loop8 --bind=/dev/loop9 --bind=/dev/loop10 --bind=/dev/loop11 --console=pipe --setenv=TERM=vt100 --setenv=SHELL=/bin/bash --setenv=HOME=/builddir --setenv=HOSTNAME=mock --setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin '--setenv=PROMPT_COMMAND=printf "\033]0;\007"' '--setenv=PS1= \s-\v\$ ' --setenv=LANG=C.UTF-8 --resolv-conf=off bash --login -c '/usr/bin/rpmbuild -bb --noclean --target noarch --nodeps /builddir/build/SPECS/python-libarchive-c.spec'