Mock Version: 6.1 Mock Version: 6.1 Mock Version: 6.1 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target noarch --nodeps /builddir/build/SPECS/python-mechanize.spec'], chrootPath='/var/lib/mock/f40-build-58554265-6566363/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.5pg099_3:/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.5pg099_3:/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', 'd4f19aa10de54386ac4d665820db83a7', '-D', '/var/lib/mock/f40-build-58554265-6566363/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.5pg099_3:/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-mechanize.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=1706227200 Wrote: /builddir/build/SRPMS/python-mechanize-0.4.8-10.fc40.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-mechanize.spec'], chrootPath='/var/lib/mock/f40-build-58554265-6566363/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.5pg099_3:/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.5pg099_3:/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', 'fcdc7d46e8504eedad46048c41d15db2', '-D', '/var/lib/mock/f40-build-58554265-6566363/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.5pg099_3:/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-mechanize.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=1706227200 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.4s2PNB + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf mechanize-0.4.8 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/v0.4.8.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd mechanize-0.4.8 + rm -rf /builddir/build/BUILD/mechanize-0.4.8-SPECPARTS + /usr/bin/mkdir -p /builddir/build/BUILD/mechanize-0.4.8-SPECPARTS + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/0001-Use-asserts-for-failing-test-so-we-get-better-feedba.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/0002-DRYer.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/0003-Change-test-to-not-rely-on-order-of-cookie-iteration.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + chmod -x examples/forms/echo.cgi examples/forms/example.py examples/forms/simple.py + rm -rf SPECPARTS + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.DhVf35 + umask 022 + cd /builddir/build/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 -mcpu=power8 -mtune=power8 -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,-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 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection ' + 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 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -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 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -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 mechanize-0.4.8 + 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 -mcpu=power8 -mtune=power8 -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 ' + /usr/bin/python3 setup.py build '--executable=/usr/bin/python3 -sP' No `packages` or `py_modules` configuration, performing automatic discovery. `flat-layout` detected -- analysing . discovered packages -- ['mechanize'] running build running build_py creating build creating build/lib creating build/lib/mechanize copying mechanize/__init__.py -> build/lib/mechanize copying mechanize/_auth.py -> build/lib/mechanize copying mechanize/_clientcookie.py -> build/lib/mechanize copying mechanize/_debug.py -> build/lib/mechanize copying mechanize/_entities.py -> build/lib/mechanize copying mechanize/_equiv.py -> build/lib/mechanize copying mechanize/_form.py -> build/lib/mechanize copying mechanize/_form_controls.py -> build/lib/mechanize copying mechanize/_gzip.py -> build/lib/mechanize copying mechanize/_headersutil.py -> build/lib/mechanize copying mechanize/_html.py -> build/lib/mechanize copying mechanize/_http.py -> build/lib/mechanize copying mechanize/_mechanize.py -> build/lib/mechanize copying mechanize/_opener.py -> build/lib/mechanize copying mechanize/_request.py -> build/lib/mechanize copying mechanize/_response.py -> build/lib/mechanize copying mechanize/_rfc3986.py -> build/lib/mechanize copying mechanize/_sockettimeout.py -> build/lib/mechanize copying mechanize/_testcase.py -> build/lib/mechanize copying mechanize/_urllib2.py -> build/lib/mechanize copying mechanize/_urllib2_fork.py -> build/lib/mechanize copying mechanize/_useragent.py -> build/lib/mechanize copying mechanize/_util.py -> build/lib/mechanize copying mechanize/_version.py -> build/lib/mechanize copying mechanize/polyglot.py -> build/lib/mechanize + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.wf9sUT + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/python-mechanize-0.4.8-10.fc40.noarch '!=' / ']' + rm -rf /builddir/build/BUILDROOT/python-mechanize-0.4.8-10.fc40.noarch ++ dirname /builddir/build/BUILDROOT/python-mechanize-0.4.8-10.fc40.noarch + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/python-mechanize-0.4.8-10.fc40.noarch + 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 -mcpu=power8 -mtune=power8 -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,-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 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection ' + 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 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -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 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -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 mechanize-0.4.8 + 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 -mcpu=power8 -mtune=power8 -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 ' + /usr/bin/python3 setup.py install -O1 --skip-build --root /builddir/build/BUILDROOT/python-mechanize-0.4.8-10.fc40.noarch --prefix /usr No `packages` or `py_modules` configuration, performing automatic discovery. `flat-layout` detected -- analysing . discovered packages -- ['mechanize'] running install /usr/lib/python3.12/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/BUILDROOT/python-mechanize-0.4.8-10.fc40.noarch/usr creating /builddir/build/BUILDROOT/python-mechanize-0.4.8-10.fc40.noarch/usr/lib creating /builddir/build/BUILDROOT/python-mechanize-0.4.8-10.fc40.noarch/usr/lib/python3.12 creating /builddir/build/BUILDROOT/python-mechanize-0.4.8-10.fc40.noarch/usr/lib/python3.12/site-packages creating /builddir/build/BUILDROOT/python-mechanize-0.4.8-10.fc40.noarch/usr/lib/python3.12/site-packages/mechanize copying build/lib/mechanize/__init__.py -> /builddir/build/BUILDROOT/python-mechanize-0.4.8-10.fc40.noarch/usr/lib/python3.12/site-packages/mechanize copying build/lib/mechanize/_auth.py -> /builddir/build/BUILDROOT/python-mechanize-0.4.8-10.fc40.noarch/usr/lib/python3.12/site-packages/mechanize copying build/lib/mechanize/_clientcookie.py -> /builddir/build/BUILDROOT/python-mechanize-0.4.8-10.fc40.noarch/usr/lib/python3.12/site-packages/mechanize copying build/lib/mechanize/_debug.py -> /builddir/build/BUILDROOT/python-mechanize-0.4.8-10.fc40.noarch/usr/lib/python3.12/site-packages/mechanize copying build/lib/mechanize/_entities.py -> /builddir/build/BUILDROOT/python-mechanize-0.4.8-10.fc40.noarch/usr/lib/python3.12/site-packages/mechanize copying build/lib/mechanize/_equiv.py -> /builddir/build/BUILDROOT/python-mechanize-0.4.8-10.fc40.noarch/usr/lib/python3.12/site-packages/mechanize copying build/lib/mechanize/_form.py -> /builddir/build/BUILDROOT/python-mechanize-0.4.8-10.fc40.noarch/usr/lib/python3.12/site-packages/mechanize copying build/lib/mechanize/_form_controls.py -> /builddir/build/BUILDROOT/python-mechanize-0.4.8-10.fc40.noarch/usr/lib/python3.12/site-packages/mechanize copying build/lib/mechanize/_gzip.py -> /builddir/build/BUILDROOT/python-mechanize-0.4.8-10.fc40.noarch/usr/lib/python3.12/site-packages/mechanize copying build/lib/mechanize/_headersutil.py -> /builddir/build/BUILDROOT/python-mechanize-0.4.8-10.fc40.noarch/usr/lib/python3.12/site-packages/mechanize copying build/lib/mechanize/_html.py -> /builddir/build/BUILDROOT/python-mechanize-0.4.8-10.fc40.noarch/usr/lib/python3.12/site-packages/mechanize copying build/lib/mechanize/_http.py -> /builddir/build/BUILDROOT/python-mechanize-0.4.8-10.fc40.noarch/usr/lib/python3.12/site-packages/mechanize copying build/lib/mechanize/_mechanize.py -> /builddir/build/BUILDROOT/python-mechanize-0.4.8-10.fc40.noarch/usr/lib/python3.12/site-packages/mechanize copying build/lib/mechanize/_opener.py -> /builddir/build/BUILDROOT/python-mechanize-0.4.8-10.fc40.noarch/usr/lib/python3.12/site-packages/mechanize copying build/lib/mechanize/_request.py -> /builddir/build/BUILDROOT/python-mechanize-0.4.8-10.fc40.noarch/usr/lib/python3.12/site-packages/mechanize copying build/lib/mechanize/_response.py -> /builddir/build/BUILDROOT/python-mechanize-0.4.8-10.fc40.noarch/usr/lib/python3.12/site-packages/mechanize copying build/lib/mechanize/_rfc3986.py -> /builddir/build/BUILDROOT/python-mechanize-0.4.8-10.fc40.noarch/usr/lib/python3.12/site-packages/mechanize copying build/lib/mechanize/_sockettimeout.py -> /builddir/build/BUILDROOT/python-mechanize-0.4.8-10.fc40.noarch/usr/lib/python3.12/site-packages/mechanize copying build/lib/mechanize/_testcase.py -> /builddir/build/BUILDROOT/python-mechanize-0.4.8-10.fc40.noarch/usr/lib/python3.12/site-packages/mechanize copying build/lib/mechanize/_urllib2.py -> /builddir/build/BUILDROOT/python-mechanize-0.4.8-10.fc40.noarch/usr/lib/python3.12/site-packages/mechanize copying build/lib/mechanize/_urllib2_fork.py -> /builddir/build/BUILDROOT/python-mechanize-0.4.8-10.fc40.noarch/usr/lib/python3.12/site-packages/mechanize copying build/lib/mechanize/_useragent.py -> /builddir/build/BUILDROOT/python-mechanize-0.4.8-10.fc40.noarch/usr/lib/python3.12/site-packages/mechanize copying build/lib/mechanize/_util.py -> /builddir/build/BUILDROOT/python-mechanize-0.4.8-10.fc40.noarch/usr/lib/python3.12/site-packages/mechanize copying build/lib/mechanize/_version.py -> /builddir/build/BUILDROOT/python-mechanize-0.4.8-10.fc40.noarch/usr/lib/python3.12/site-packages/mechanize copying build/lib/mechanize/polyglot.py -> /builddir/build/BUILDROOT/python-mechanize-0.4.8-10.fc40.noarch/usr/lib/python3.12/site-packages/mechanize byte-compiling /builddir/build/BUILDROOT/python-mechanize-0.4.8-10.fc40.noarch/usr/lib/python3.12/site-packages/mechanize/__init__.py to __init__.cpython-312.pyc byte-compiling /builddir/build/BUILDROOT/python-mechanize-0.4.8-10.fc40.noarch/usr/lib/python3.12/site-packages/mechanize/_auth.py to _auth.cpython-312.pyc byte-compiling /builddir/build/BUILDROOT/python-mechanize-0.4.8-10.fc40.noarch/usr/lib/python3.12/site-packages/mechanize/_clientcookie.py to _clientcookie.cpython-312.pyc byte-compiling /builddir/build/BUILDROOT/python-mechanize-0.4.8-10.fc40.noarch/usr/lib/python3.12/site-packages/mechanize/_debug.py to _debug.cpython-312.pyc byte-compiling /builddir/build/BUILDROOT/python-mechanize-0.4.8-10.fc40.noarch/usr/lib/python3.12/site-packages/mechanize/_entities.py to _entities.cpython-312.pyc byte-compiling /builddir/build/BUILDROOT/python-mechanize-0.4.8-10.fc40.noarch/usr/lib/python3.12/site-packages/mechanize/_equiv.py to _equiv.cpython-312.pyc byte-compiling /builddir/build/BUILDROOT/python-mechanize-0.4.8-10.fc40.noarch/usr/lib/python3.12/site-packages/mechanize/_form.py to _form.cpython-312.pyc byte-compiling /builddir/build/BUILDROOT/python-mechanize-0.4.8-10.fc40.noarch/usr/lib/python3.12/site-packages/mechanize/_form_controls.py to _form_controls.cpython-312.pyc byte-compiling /builddir/build/BUILDROOT/python-mechanize-0.4.8-10.fc40.noarch/usr/lib/python3.12/site-packages/mechanize/_gzip.py to _gzip.cpython-312.pyc byte-compiling /builddir/build/BUILDROOT/python-mechanize-0.4.8-10.fc40.noarch/usr/lib/python3.12/site-packages/mechanize/_headersutil.py to _headersutil.cpython-312.pyc byte-compiling /builddir/build/BUILDROOT/python-mechanize-0.4.8-10.fc40.noarch/usr/lib/python3.12/site-packages/mechanize/_html.py to _html.cpython-312.pyc byte-compiling /builddir/build/BUILDROOT/python-mechanize-0.4.8-10.fc40.noarch/usr/lib/python3.12/site-packages/mechanize/_http.py to _http.cpython-312.pyc byte-compiling /builddir/build/BUILDROOT/python-mechanize-0.4.8-10.fc40.noarch/usr/lib/python3.12/site-packages/mechanize/_mechanize.py to _mechanize.cpython-312.pyc byte-compiling /builddir/build/BUILDROOT/python-mechanize-0.4.8-10.fc40.noarch/usr/lib/python3.12/site-packages/mechanize/_opener.py to _opener.cpython-312.pyc byte-compiling /builddir/build/BUILDROOT/python-mechanize-0.4.8-10.fc40.noarch/usr/lib/python3.12/site-packages/mechanize/_request.py to _request.cpython-312.pyc byte-compiling /builddir/build/BUILDROOT/python-mechanize-0.4.8-10.fc40.noarch/usr/lib/python3.12/site-packages/mechanize/_response.py to _response.cpython-312.pyc byte-compiling /builddir/build/BUILDROOT/python-mechanize-0.4.8-10.fc40.noarch/usr/lib/python3.12/site-packages/mechanize/_rfc3986.py to _rfc3986.cpython-312.pyc byte-compiling /builddir/build/BUILDROOT/python-mechanize-0.4.8-10.fc40.noarch/usr/lib/python3.12/site-packages/mechanize/_sockettimeout.py to _sockettimeout.cpython-312.pyc byte-compiling /builddir/build/BUILDROOT/python-mechanize-0.4.8-10.fc40.noarch/usr/lib/python3.12/site-packages/mechanize/_testcase.py to _testcase.cpython-312.pyc byte-compiling /builddir/build/BUILDROOT/python-mechanize-0.4.8-10.fc40.noarch/usr/lib/python3.12/site-packages/mechanize/_urllib2.py to _urllib2.cpython-312.pyc byte-compiling /builddir/build/BUILDROOT/python-mechanize-0.4.8-10.fc40.noarch/usr/lib/python3.12/site-packages/mechanize/_urllib2_fork.py to _urllib2_fork.cpython-312.pyc byte-compiling /builddir/build/BUILDROOT/python-mechanize-0.4.8-10.fc40.noarch/usr/lib/python3.12/site-packages/mechanize/_useragent.py to _useragent.cpython-312.pyc byte-compiling /builddir/build/BUILDROOT/python-mechanize-0.4.8-10.fc40.noarch/usr/lib/python3.12/site-packages/mechanize/_util.py to _util.cpython-312.pyc byte-compiling /builddir/build/BUILDROOT/python-mechanize-0.4.8-10.fc40.noarch/usr/lib/python3.12/site-packages/mechanize/_version.py to _version.cpython-312.pyc byte-compiling /builddir/build/BUILDROOT/python-mechanize-0.4.8-10.fc40.noarch/usr/lib/python3.12/site-packages/mechanize/polyglot.py to polyglot.cpython-312.pyc writing byte-compilation script '/tmp/tmpgu009vix.py' /usr/bin/python3 /tmp/tmpgu009vix.py removing /tmp/tmpgu009vix.py running install_egg_info running egg_info creating mechanize.egg-info writing mechanize.egg-info/PKG-INFO writing dependency_links to mechanize.egg-info/dependency_links.txt writing requirements to mechanize.egg-info/requires.txt writing top-level names to mechanize.egg-info/top_level.txt writing manifest file 'mechanize.egg-info/SOURCES.txt' reading manifest file 'mechanize.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' warning: no files found matching '*.cgi' under directory 'test-tools' adding license file 'LICENSE' writing manifest file 'mechanize.egg-info/SOURCES.txt' Copying mechanize.egg-info to /builddir/build/BUILDROOT/python-mechanize-0.4.8-10.fc40.noarch/usr/lib/python3.12/site-packages/mechanize-0.4.8-py3.12.egg-info running install_scripts + rm -rfv /builddir/build/BUILDROOT/python-mechanize-0.4.8-10.fc40.noarch/usr/bin/__pycache__ + /usr/bin/find-debuginfo -j8 --strict-build-id -m -i --build-id-seed 0.4.8-10.fc40 --unique-debug-suffix -0.4.8-10.fc40.noarch --unique-debug-src-base python-mechanize-0.4.8-10.fc40.noarch --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/mechanize-0.4.8 find-debuginfo: starting Extracting debug info from 0 files Creating .debug symlinks for symlinks to ELF files find: ‘debug’: No such file or directory find-debuginfo: done + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /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 -j8 Bytecompiling .py files below /builddir/build/BUILDROOT/python-mechanize-0.4.8-10.fc40.noarch/usr/lib/python3.12 using python3.12 + /usr/lib/rpm/redhat/brp-python-hardlink Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.l5EPDk + umask 022 + cd /builddir/build/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 -mcpu=power8 -mtune=power8 -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,-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 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection ' + 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 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -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 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -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 mechanize-0.4.8 + chmod +x examples/forms/echo.cgi examples/forms/example.py examples/forms/simple.py + python3 run_tests.py ..................................................................................................................................................................../builddir/build/BUILD/mechanize-0.4.8/mechanize/_urllib2_fork.py:1199: ResourceWarning: unclosed headers = OrderedDict(req.headers) ResourceWarning: Enable tracemalloc to get the object allocation traceback /builddir/build/BUILD/mechanize-0.4.8/mechanize/_urllib2_fork.py:1199: ResourceWarning: unclosed headers = OrderedDict(req.headers) ResourceWarning: Enable tracemalloc to get the object allocation traceback ......./builddir/build/BUILD/mechanize-0.4.8/mechanize/_equiv.py:68: ResourceWarning: unclosed def __iter__(self): ResourceWarning: Enable tracemalloc to get the object allocation traceback /builddir/build/BUILD/mechanize-0.4.8/mechanize/_equiv.py:68: ResourceWarning: unclosed def __iter__(self): ResourceWarning: Enable tracemalloc to get the object allocation traceback ..../builddir/build/BUILD/mechanize-0.4.8/mechanize/_opener.py:99: ResourceWarning: unclosed ii = meth.find("_") ResourceWarning: Enable tracemalloc to get the object allocation traceback /builddir/build/BUILD/mechanize-0.4.8/mechanize/_opener.py:99: ResourceWarning: unclosed ii = meth.find("_") ResourceWarning: Enable tracemalloc to get the object allocation traceback /builddir/build/BUILD/mechanize-0.4.8/mechanize/_opener.py:99: ResourceWarning: unclosed ii = meth.find("_") ResourceWarning: Enable tracemalloc to get the object allocation traceback /builddir/build/BUILD/mechanize-0.4.8/mechanize/_opener.py:99: ResourceWarning: unclosed ii = meth.find("_") ResourceWarning: Enable tracemalloc to get the object allocation traceback .............................................................F............................................/builddir/build/BUILD/mechanize-0.4.8/mechanize/_opener.py:123: ResourceWarning: unclosed lookup.setdefault(kind, set()).add(handler) ResourceWarning: Enable tracemalloc to get the object allocation traceback /builddir/build/BUILD/mechanize-0.4.8/mechanize/_opener.py:123: ResourceWarning: unclosed lookup.setdefault(kind, set()).add(handler) ResourceWarning: Enable tracemalloc to get the object allocation traceback ..................../usr/lib/python3.12/site-packages/html5lib/html5parser.py:121: ResourceWarning: unclosed self.phases = {name: cls(self, self.tree) for name, cls in ResourceWarning: Enable tracemalloc to get the object allocation traceback /usr/lib/python3.12/site-packages/html5lib/html5parser.py:121: ResourceWarning: unclosed self.phases = {name: cls(self, self.tree) for name, cls in ResourceWarning: Enable tracemalloc to get the object allocation traceback /usr/lib/python3.12/site-packages/html5lib/html5parser.py:121: ResourceWarning: unclosed self.phases = {name: cls(self, self.tree) for name, cls in ResourceWarning: Enable tracemalloc to get the object allocation traceback /usr/lib/python3.12/site-packages/html5lib/html5parser.py:121: ResourceWarning: unclosed self.phases = {name: cls(self, self.tree) for name, cls in ResourceWarning: Enable tracemalloc to get the object allocation traceback /usr/lib/python3.12/site-packages/html5lib/html5parser.py:121: ResourceWarning: unclosed self.phases = {name: cls(self, self.tree) for name, cls in ResourceWarning: Enable tracemalloc to get the object allocation traceback /usr/lib/python3.12/site-packages/html5lib/html5parser.py:121: ResourceWarning: unclosed self.phases = {name: cls(self, self.tree) for name, cls in ResourceWarning: Enable tracemalloc to get the object allocation traceback /usr/lib/python3.12/site-packages/html5lib/html5parser.py:121: ResourceWarning: unclosed self.phases = {name: cls(self, self.tree) for name, cls in ResourceWarning: Enable tracemalloc to get the object allocation traceback /usr/lib/python3.12/site-packages/html5lib/html5parser.py:121: ResourceWarning: unclosed self.phases = {name: cls(self, self.tree) for name, cls in ResourceWarning: Enable tracemalloc to get the object allocation traceback ..... ====================================================================== FAIL: test_ftp (test.test_urllib2.HandlerTests.test_ftp) ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/mechanize-0.4.8/test/test_urllib2.py", line 881, in test_ftp self.assertEqual(headers.get("Content-type"), mimetype) AssertionError: 'image/gif' != None ---------------------------------------------------------------------- Ran 306 tests in 6.505s FAILED (failures=1) sys:1: ResourceWarning: unclosed sys:1: ResourceWarning: unclosed sys:1: ResourceWarning: unclosed RPM build errors: error: Bad exit status from /var/tmp/rpm-tmp.l5EPDk (%check) Bad exit status from /var/tmp/rpm-tmp.l5EPDk (%check) Child return code was: 1 EXCEPTION: [Error('Command failed: \n # /usr/bin/systemd-nspawn -q -M fcdc7d46e8504eedad46048c41d15db2 -D /var/lib/mock/f40-build-58554265-6566363/root -a -u mockbuild --capability=cap_ipc_lock --bind=/tmp/mock-resolv.5pg099_3:/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-mechanize.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 fcdc7d46e8504eedad46048c41d15db2 -D /var/lib/mock/f40-build-58554265-6566363/root -a -u mockbuild --capability=cap_ipc_lock --bind=/tmp/mock-resolv.5pg099_3:/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-mechanize.spec'