D: [iurt_root_command] chroot
Building target platforms: noarch
Building for target noarch
Installing /home/pterjan/rpmbuild/SRPMS/python-mechanize-0.4.10-1.mga10.src.rpm
Executing(%mkbuilddir): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.fTGeY3
+ umask 022
+ cd /home/pterjan/rpmbuild/BUILD/python-mechanize-0.4.10-build
+ test -d /home/pterjan/rpmbuild/BUILD/python-mechanize-0.4.10-build
+ /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w /home/pterjan/rpmbuild/BUILD/python-mechanize-0.4.10-build
+ /usr/bin/rm -rf /home/pterjan/rpmbuild/BUILD/python-mechanize-0.4.10-build
+ /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/python-mechanize-0.4.10-build
+ /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/python-mechanize-0.4.10-build/SPECPARTS
+ RPM_EC=0
++ jobs -p
+ exit 0
Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.dNITtS
+ umask 022
+ cd /home/pterjan/rpmbuild/BUILD/python-mechanize-0.4.10-build
+ '[' 1 -eq 1 ']'
+ '[' 1 -eq 1 ']'
+ '[' 1 -eq 1 ']'
+ cd /home/pterjan/rpmbuild/BUILD/python-mechanize-0.4.10-build
+ rm -rf mechanize-0.4.10
+ /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/mechanize-0.4.10.tar.gz
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd mechanize-0.4.10
+ /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w .
+ RPM_EC=0
++ jobs -p
+ exit 0
Executing(%generate_buildrequires): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.5pI6W1
+ umask 022
+ cd /home/pterjan/rpmbuild/BUILD/python-mechanize-0.4.10-build
+ cd mechanize-0.4.10
+ echo pyproject-rpm-macros
+ echo python3-devel
+ echo 'python3dist(packaging)'
+ echo 'python3dist(pip) >= 19'
+ '[' -f pyproject.toml ']'
+ '[' -f setup.py ']'
+ echo 'python3dist(setuptools) >= 40.8'
+ for f in pyproject.toml setup.py setup.cfg
+ '[' -f pyproject.toml ']'
+ for f in pyproject.toml setup.py setup.cfg
+ '[' -f setup.py ']'
+ sed -i -E -e '/^requires/s/(['\''"]\s*flit_core\s*>=\s*[0-9]+(\.[0-9]+)+)\s*,\s*<\s*[0-9]+(\.[0-9]+)*(\s*['\''"])/\1\4/' setup.py
+ sed -i -E -e '/python_requires/s/(['\''"]?\s*\S*\s*>=\s*[0-9]+(\.[0-9]+)*)\s*(,\s*(<|!=)\s*[0-9]+(\.[0-9]+)*(\.\*)*)+(\s*['\''"]?)/\1\7/' setup.py
+ sed -i -E -e 's/(['\''"]?\s*\S*\s*>=\s*[0-9]+(\.[0-9a-z]+)*)\s*,\s*(<|!=|<=)\s*[0-9]+(\.[0-9a-z]+)*(-?dev[0-9]*)?(\.\*)*(\s*['\''"]?)/\1\7/g' setup.py
+ sed -i -E -e 's/(['\''"]\w+\s*)!=(\s*([0-9])+(\.[0-9]+)*\s*['\''"])/\1>\2/g' setup.py
+ sed -i -E -e 's/(['\''"]\s*>=\s*[0-9]+(\.[0-9]+)*)\s*,\s*(<|!=)\s*[0-9]+(\.[0-9]+)*(\s*['\''"])/\1\5/g' setup.py
+ sed -i -E -e 's/(['\''"]?\s*\S*\s*>=\s*[0-9]+(\.[0-9]+)*)\s*(,\s*(<|!=)\s*[0-9]+(\.[0-9]+)*(\.\*)*)+(\s*['\''"]?)/\1\7/g' setup.py
+ sed -i -E -e 's/(['\''"]\s*)\^(\s*[0-9]+(\.[0-9]+)*\s*['\''"])/\1>=\2/g' setup.py
+ sed -i -e 's/~=/>=/g' setup.py
+ sed -i -E -e 's/(['\''"]\s*\S*\s*)==(\s*[0-9]+(\.[0-9]+)*)\.\*(\s*['\''"])/\1>=\2\4/g' setup.py
+ sed -i -E -e 's/(['\''"]?\w*\s*>=\s*[0-9]+(\.[0-9]+)*)\s*,\s*(<|!=)[0-9]+(\.[0-9]+)*\s*(['\''"]?)/\1\5/g' setup.py
+ for f in pyproject.toml setup.py setup.cfg
+ '[' -f setup.cfg ']'
+ sed -i -E -e '/^requires/s/(['\''"]\s*flit_core\s*>=\s*[0-9]+(\.[0-9]+)+)\s*,\s*<\s*[0-9]+(\.[0-9]+)*(\s*['\''"])/\1\4/' setup.cfg
+ sed -i -E -e '/python_requires/s/(['\''"]?\s*\S*\s*>=\s*[0-9]+(\.[0-9]+)*)\s*(,\s*(<|!=)\s*[0-9]+(\.[0-9]+)*(\.\*)*)+(\s*['\''"]?)/\1\7/' setup.cfg
+ sed -i -E -e 's/(['\''"]?\s*\S*\s*>=\s*[0-9]+(\.[0-9a-z]+)*)\s*,\s*(<|!=|<=)\s*[0-9]+(\.[0-9a-z]+)*(-?dev[0-9]*)?(\.\*)*(\s*['\''"]?)/\1\7/g' setup.cfg
+ sed -i -E -e 's/(['\''"]\w+\s*)!=(\s*([0-9])+(\.[0-9]+)*\s*['\''"])/\1>\2/g' setup.cfg
+ sed -i -E -e 's/(['\''"]\s*>=\s*[0-9]+(\.[0-9]+)*)\s*,\s*(<|!=)\s*[0-9]+(\.[0-9]+)*(\s*['\''"])/\1\5/g' setup.cfg
+ sed -i -E -e 's/(['\''"]?\s*\S*\s*>=\s*[0-9]+(\.[0-9]+)*)\s*(,\s*(<|!=)\s*[0-9]+(\.[0-9]+)*(\.\*)*)+(\s*['\''"]?)/\1\7/g' setup.cfg
+ sed -i -E -e 's/(['\''"]\s*)\^(\s*[0-9]+(\.[0-9]+)*\s*['\''"])/\1>=\2/g' setup.cfg
+ sed -i -e 's/~=/>=/g' setup.cfg
+ sed -i -E -e 's/(['\''"]\s*\S*\s*)==(\s*[0-9]+(\.[0-9]+)*)\.\*(\s*['\''"])/\1>=\2\4/g' setup.cfg
+ sed -i -E -e 's/(['\''"]?\w*\s*>=\s*[0-9]+(\.[0-9]+)*)\s*,\s*(<|!=)[0-9]+(\.[0-9]+)*\s*(['\''"]?)/\1\5/g' setup.cfg
+ rm -rfv '*.dist-info/'
+ '[' -f /usr/bin/python3 ']'
+ mkdir -p /home/pterjan/rpmbuild/BUILD/python-mechanize-0.4.10-build/mechanize-0.4.10/.pyproject-builddir
+ echo -n
+ CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full'
+ CXXFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full'
+ FFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full '
+ FCFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full '
+ VALAFLAGS=-g
+ RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn'
+ LDFLAGS='-Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld'
+ LT_SYS_LIBRARY_PATH=/usr/lib:
+ export LT_SYS_LIBRARY_PATH
+ CC=gcc
+ CXX=g++
+ TMPDIR=/home/pterjan/rpmbuild/BUILD/python-mechanize-0.4.10-build/mechanize-0.4.10/.pyproject-builddir
+ RPM_TOXENV=py312
+ HOSTNAME=rpmbuild
+ /usr/bin/python3 -Bs /usr/lib/rpm/redhat/pyproject_buildrequires.py --generate-extras --python3_pkgversion 3 --wheeldir /home/pterjan/rpmbuild/BUILD/python-mechanize-0.4.10-build/mechanize-0.4.10/pyproject-wheeldir --output /home/pterjan/rpmbuild/BUILD/python-mechanize-0.4.10-build/python-mechanize-0.4.10-1.mga10.noarch-pyproject-buildrequires
Handling setuptools >= 40.8 from default build backend
Requirement satisfied: setuptools >= 40.8
   (installed: setuptools 75.6.0)
running 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
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'
running dist_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
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'
creating '/home/pterjan/rpmbuild/BUILD/python-mechanize-0.4.10-build/mechanize-0.4.10/mechanize-0.4.10.dist-info'
/usr/lib/python3.12/site-packages/setuptools/_distutils/cmd.py:111: SetuptoolsDeprecationWarning: bdist_wheel.universal is deprecated
!!

        ********************************************************************************
        With Python 2.7 end-of-life, support for building universal wheels
        (i.e., wheels that support both Python 2 and Python 3)
        is being obviated.
        Please discontinue using this option, or if you still need it,
        file an issue with pypa/setuptools describing your use case.

        By 2025-Aug-30, you need to update your project and remove deprecated calls
        or your builds will no longer be supported.
        ********************************************************************************

!!
  self.finalize_options()
Handling html5lib>=0.999999999 from hook generated metadata: Requires-Dist (mechanize)
Requirement satisfied: html5lib>=0.999999999
   (installed: html5lib 1.1)
Handling html5-parser>=0.4.4; extra == "fast" from hook generated metadata: Requires-Dist (mechanize)
Ignoring alien requirement: html5-parser>=0.4.4; extra == "fast"
Handling twisted; extra == "test" from hook generated metadata: Requires-Dist (mechanize)
Ignoring alien requirement: twisted; extra == "test"
Handling service_identity; extra == "test" from hook generated metadata: Requires-Dist (mechanize)
Ignoring alien requirement: service_identity; extra == "test"
Handling six; extra == "test" from hook generated metadata: Requires-Dist (mechanize)
Ignoring alien requirement: six; extra == "test"
Handling html5lib; extra == "test" from hook generated metadata: Requires-Dist (mechanize)
Ignoring alien requirement: html5lib; extra == "test"
Handling lxml; extra == "binarytest" from hook generated metadata: Requires-Dist (mechanize)
Ignoring alien requirement: lxml; extra == "binarytest"
Handling html5-parser; extra == "binarytest" from hook generated metadata: Requires-Dist (mechanize)
Ignoring alien requirement: html5-parser; extra == "binarytest"
+ cat /home/pterjan/rpmbuild/BUILD/python-mechanize-0.4.10-build/python-mechanize-0.4.10-1.mga10.noarch-pyproject-buildrequires
+ rm -rfv mechanize-0.4.10.dist-info/
removed 'mechanize-0.4.10.dist-info/zip-safe'
removed 'mechanize-0.4.10.dist-info/top_level.txt'
removed 'mechanize-0.4.10.dist-info/METADATA'
removed 'mechanize-0.4.10.dist-info/LICENSE'
removed directory 'mechanize-0.4.10.dist-info/'
+ RPM_EC=0
++ jobs -p
+ exit 0
Executing(%build): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.QH63G3
+ umask 022
+ cd /home/pterjan/rpmbuild/BUILD/python-mechanize-0.4.10-build
+ CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full'
+ export CFLAGS
+ CXXFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full'
+ export CXXFLAGS
+ FFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full '
+ export FFLAGS
+ FCFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full '
+ export FCFLAGS
+ VALAFLAGS=-g
+ export VALAFLAGS
+ RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn'
+ export RUSTFLAGS
+ LDFLAGS='-Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld'
+ 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.10
+ '[' 1 -eq 1 ']'
+ '[' 1 -eq 1 ']'
+ mkdir -p /home/pterjan/rpmbuild/BUILD/python-mechanize-0.4.10-build/mechanize-0.4.10/.pyproject-builddir
+ CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full'
+ CXXFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full'
+ FFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full '
+ FCFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full '
+ VALAFLAGS=-g
+ RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn'
+ LDFLAGS='-Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld'
+ LT_SYS_LIBRARY_PATH=/usr/lib:
+ export LT_SYS_LIBRARY_PATH
+ CC=gcc
+ CXX=g++
+ TMPDIR=/home/pterjan/rpmbuild/BUILD/python-mechanize-0.4.10-build/mechanize-0.4.10/.pyproject-builddir
+ /usr/bin/python3 -Bs /usr/lib/rpm/redhat/pyproject_wheel.py /home/pterjan/rpmbuild/BUILD/python-mechanize-0.4.10-build/mechanize-0.4.10/pyproject-wheeldir
Processing /home/pterjan/rpmbuild/BUILD/python-mechanize-0.4.10-build/mechanize-0.4.10
  Preparing metadata (pyproject.toml): started
  Running command Preparing metadata (pyproject.toml)
  running dist_info
  creating /home/pterjan/rpmbuild/BUILD/python-mechanize-0.4.10-build/mechanize-0.4.10/.pyproject-builddir/pip-modern-metadata-mr8p6ge_/mechanize.egg-info
  writing /home/pterjan/rpmbuild/BUILD/python-mechanize-0.4.10-build/mechanize-0.4.10/.pyproject-builddir/pip-modern-metadata-mr8p6ge_/mechanize.egg-info/PKG-INFO
  writing dependency_links to /home/pterjan/rpmbuild/BUILD/python-mechanize-0.4.10-build/mechanize-0.4.10/.pyproject-builddir/pip-modern-metadata-mr8p6ge_/mechanize.egg-info/dependency_links.txt
  writing requirements to /home/pterjan/rpmbuild/BUILD/python-mechanize-0.4.10-build/mechanize-0.4.10/.pyproject-builddir/pip-modern-metadata-mr8p6ge_/mechanize.egg-info/requires.txt
  writing top-level names to /home/pterjan/rpmbuild/BUILD/python-mechanize-0.4.10-build/mechanize-0.4.10/.pyproject-builddir/pip-modern-metadata-mr8p6ge_/mechanize.egg-info/top_level.txt
  writing manifest file '/home/pterjan/rpmbuild/BUILD/python-mechanize-0.4.10-build/mechanize-0.4.10/.pyproject-builddir/pip-modern-metadata-mr8p6ge_/mechanize.egg-info/SOURCES.txt'
  reading manifest file '/home/pterjan/rpmbuild/BUILD/python-mechanize-0.4.10-build/mechanize-0.4.10/.pyproject-builddir/pip-modern-metadata-mr8p6ge_/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 '/home/pterjan/rpmbuild/BUILD/python-mechanize-0.4.10-build/mechanize-0.4.10/.pyproject-builddir/pip-modern-metadata-mr8p6ge_/mechanize.egg-info/SOURCES.txt'
  creating '/home/pterjan/rpmbuild/BUILD/python-mechanize-0.4.10-build/mechanize-0.4.10/.pyproject-builddir/pip-modern-metadata-mr8p6ge_/mechanize-0.4.10.dist-info'
  /usr/lib/python3.12/site-packages/setuptools/_distutils/cmd.py:111: SetuptoolsDeprecationWarning: bdist_wheel.universal is deprecated
  !!

          ********************************************************************************
          With Python 2.7 end-of-life, support for building universal wheels
          (i.e., wheels that support both Python 2 and Python 3)
          is being obviated.
          Please discontinue using this option, or if you still need it,
          file an issue with pypa/setuptools describing your use case.

          By 2025-Aug-30, you need to update your project and remove deprecated calls
          or your builds will no longer be supported.
          ********************************************************************************

  !!
    self.finalize_options()
  Preparing metadata (pyproject.toml): finished with status 'done'
Building wheels for collected packages: mechanize
  Building wheel for mechanize (pyproject.toml): started
  Running command Building wheel for mechanize (pyproject.toml)
  running bdist_wheel
  /usr/lib/python3.12/site-packages/setuptools/_distutils/cmd.py:111: SetuptoolsDeprecationWarning: bdist_wheel.universal is deprecated
  !!

          ********************************************************************************
          With Python 2.7 end-of-life, support for building universal wheels
          (i.e., wheels that support both Python 2 and Python 3)
          is being obviated.
          Please discontinue using this option, or if you still need it,
          file an issue with pypa/setuptools describing your use case.

          By 2025-Aug-30, you need to update your project and remove deprecated calls
          or your builds will no longer be supported.
          ********************************************************************************

  !!
    self.finalize_options()
  running build
  running build_py
  creating build/lib/mechanize
  copying mechanize/_rfc3986.py -> build/lib/mechanize
  copying mechanize/_useragent.py -> build/lib/mechanize
  copying mechanize/_urllib2_fork.py -> build/lib/mechanize
  copying mechanize/_auth.py -> build/lib/mechanize
  copying mechanize/_testcase.py -> build/lib/mechanize
  copying mechanize/_form_controls.py -> build/lib/mechanize
  copying mechanize/_util.py -> build/lib/mechanize
  copying mechanize/polyglot.py -> build/lib/mechanize
  copying mechanize/_http.py -> build/lib/mechanize
  copying mechanize/_clientcookie.py -> build/lib/mechanize
  copying mechanize/_debug.py -> build/lib/mechanize
  copying mechanize/_gzip.py -> build/lib/mechanize
  copying mechanize/_response.py -> build/lib/mechanize
  copying mechanize/_headersutil.py -> build/lib/mechanize
  copying mechanize/_mechanize.py -> build/lib/mechanize
  copying mechanize/_request.py -> build/lib/mechanize
  copying mechanize/_html.py -> build/lib/mechanize
  copying mechanize/_urllib2.py -> build/lib/mechanize
  copying mechanize/__init__.py -> build/lib/mechanize
  copying mechanize/_opener.py -> build/lib/mechanize
  copying mechanize/_equiv.py -> build/lib/mechanize
  copying mechanize/_form.py -> build/lib/mechanize
  copying mechanize/_version.py -> build/lib/mechanize
  copying mechanize/_sockettimeout.py -> build/lib/mechanize
  copying mechanize/_entities.py -> build/lib/mechanize
  installing to build/bdist.linux-x86_64/wheel
  running install
  running install_lib
  creating build/bdist.linux-x86_64/wheel
  creating build/bdist.linux-x86_64/wheel/mechanize
  copying build/lib/mechanize/_rfc3986.py -> build/bdist.linux-x86_64/wheel/./mechanize
  copying build/lib/mechanize/_useragent.py -> build/bdist.linux-x86_64/wheel/./mechanize
  copying build/lib/mechanize/_urllib2_fork.py -> build/bdist.linux-x86_64/wheel/./mechanize
  copying build/lib/mechanize/_auth.py -> build/bdist.linux-x86_64/wheel/./mechanize
  copying build/lib/mechanize/_testcase.py -> build/bdist.linux-x86_64/wheel/./mechanize
  copying build/lib/mechanize/_form_controls.py -> build/bdist.linux-x86_64/wheel/./mechanize
  copying build/lib/mechanize/_util.py -> build/bdist.linux-x86_64/wheel/./mechanize
  copying build/lib/mechanize/polyglot.py -> build/bdist.linux-x86_64/wheel/./mechanize
  copying build/lib/mechanize/_http.py -> build/bdist.linux-x86_64/wheel/./mechanize
  copying build/lib/mechanize/_clientcookie.py -> build/bdist.linux-x86_64/wheel/./mechanize
  copying build/lib/mechanize/_debug.py -> build/bdist.linux-x86_64/wheel/./mechanize
  copying build/lib/mechanize/_gzip.py -> build/bdist.linux-x86_64/wheel/./mechanize
  copying build/lib/mechanize/_response.py -> build/bdist.linux-x86_64/wheel/./mechanize
  copying build/lib/mechanize/_headersutil.py -> build/bdist.linux-x86_64/wheel/./mechanize
  copying build/lib/mechanize/_mechanize.py -> build/bdist.linux-x86_64/wheel/./mechanize
  copying build/lib/mechanize/_request.py -> build/bdist.linux-x86_64/wheel/./mechanize
  copying build/lib/mechanize/_html.py -> build/bdist.linux-x86_64/wheel/./mechanize
  copying build/lib/mechanize/_urllib2.py -> build/bdist.linux-x86_64/wheel/./mechanize
  copying build/lib/mechanize/__init__.py -> build/bdist.linux-x86_64/wheel/./mechanize
  copying build/lib/mechanize/_opener.py -> build/bdist.linux-x86_64/wheel/./mechanize
  copying build/lib/mechanize/_equiv.py -> build/bdist.linux-x86_64/wheel/./mechanize
  copying build/lib/mechanize/_form.py -> build/bdist.linux-x86_64/wheel/./mechanize
  copying build/lib/mechanize/_version.py -> build/bdist.linux-x86_64/wheel/./mechanize
  copying build/lib/mechanize/_sockettimeout.py -> build/bdist.linux-x86_64/wheel/./mechanize
  copying build/lib/mechanize/_entities.py -> build/bdist.linux-x86_64/wheel/./mechanize
  running install_egg_info
  running 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
  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 build/bdist.linux-x86_64/wheel/./mechanize-0.4.10-py3.12.egg-info
  running install_scripts
  creating build/bdist.linux-x86_64/wheel/mechanize-0.4.10.dist-info/WHEEL
  creating '/home/pterjan/rpmbuild/BUILD/python-mechanize-0.4.10-build/mechanize-0.4.10/.pyproject-builddir/pip-wheel-s84ikr0k/.tmp-nf_t2pq4/mechanize-0.4.10-py2.py3-none-any.whl' and adding 'build/bdist.linux-x86_64/wheel' to it
  adding 'mechanize/__init__.py'
  adding 'mechanize/_auth.py'
  adding 'mechanize/_clientcookie.py'
  adding 'mechanize/_debug.py'
  adding 'mechanize/_entities.py'
  adding 'mechanize/_equiv.py'
  adding 'mechanize/_form.py'
  adding 'mechanize/_form_controls.py'
  adding 'mechanize/_gzip.py'
  adding 'mechanize/_headersutil.py'
  adding 'mechanize/_html.py'
  adding 'mechanize/_http.py'
  adding 'mechanize/_mechanize.py'
  adding 'mechanize/_opener.py'
  adding 'mechanize/_request.py'
  adding 'mechanize/_response.py'
  adding 'mechanize/_rfc3986.py'
  adding 'mechanize/_sockettimeout.py'
  adding 'mechanize/_testcase.py'
  adding 'mechanize/_urllib2.py'
  adding 'mechanize/_urllib2_fork.py'
  adding 'mechanize/_useragent.py'
  adding 'mechanize/_util.py'
  adding 'mechanize/_version.py'
  adding 'mechanize/polyglot.py'
  adding 'mechanize-0.4.10.dist-info/LICENSE'
  adding 'mechanize-0.4.10.dist-info/METADATA'
  adding 'mechanize-0.4.10.dist-info/WHEEL'
  adding 'mechanize-0.4.10.dist-info/top_level.txt'
  adding 'mechanize-0.4.10.dist-info/zip-safe'
  adding 'mechanize-0.4.10.dist-info/RECORD'
  removing build/bdist.linux-x86_64/wheel
  Building wheel for mechanize (pyproject.toml): finished with status 'done'
  Created wheel for mechanize: filename=mechanize-0.4.10-py2.py3-none-any.whl size=110019 sha256=7ffe79380af66f5d5ff89863ed62795493321de785052c3b7c7b661540e7b9f5
  Stored in directory: /home/pterjan/.cache/pip/wheels/4c/e4/9f/003dd60e99665999044e9cdd9198ad9a39d1dcd95634f334e5
Successfully built mechanize
+ RPM_EC=0
++ jobs -p
+ exit 0
Executing(%install): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.GSrbwi
+ umask 022
+ cd /home/pterjan/rpmbuild/BUILD/python-mechanize-0.4.10-build
+ '[' 1 -eq 1 ']'
+ '[' /home/pterjan/rpmbuild/BUILD/python-mechanize-0.4.10-build/BUILDROOT '!=' / ']'
+ rm -rf /home/pterjan/rpmbuild/BUILD/python-mechanize-0.4.10-build/BUILDROOT
++ dirname /home/pterjan/rpmbuild/BUILD/python-mechanize-0.4.10-build/BUILDROOT
+ mkdir -p /home/pterjan/rpmbuild/BUILD/python-mechanize-0.4.10-build
+ mkdir /home/pterjan/rpmbuild/BUILD/python-mechanize-0.4.10-build/BUILDROOT
+ CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full'
+ export CFLAGS
+ CXXFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full'
+ export CXXFLAGS
+ FFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full '
+ export FFLAGS
+ FCFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full '
+ export FCFLAGS
+ VALAFLAGS=-g
+ export VALAFLAGS
+ RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn'
+ export RUSTFLAGS
+ LDFLAGS='-Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld'
+ 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.10
+ '[' 1 -eq 1 ']'
++ ls /home/pterjan/rpmbuild/BUILD/python-mechanize-0.4.10-build/mechanize-0.4.10/pyproject-wheeldir/mechanize-0.4.10-py2.py3-none-any.whl
++ xargs basename --multiple
++ sed -E 's/([^-]+)-([^-]+)-.+\.whl/\1==\2/'
+ specifier=mechanize==0.4.10
+ '[' -z mechanize==0.4.10 ']'
+ TMPDIR=/home/pterjan/rpmbuild/BUILD/python-mechanize-0.4.10-build/mechanize-0.4.10/.pyproject-builddir
+ /usr/bin/python3 -m pip install --root /home/pterjan/rpmbuild/BUILD/python-mechanize-0.4.10-build/BUILDROOT --prefix /usr --no-deps --disable-pip-version-check --progress-bar off --verbose --ignore-installed --no-warn-script-location --no-index --no-cache-dir --find-links /home/pterjan/rpmbuild/BUILD/python-mechanize-0.4.10-build/mechanize-0.4.10/pyproject-wheeldir mechanize==0.4.10
Using pip 24.3.1 from /usr/lib/python3.12/site-packages/pip (python 3.12)
Looking in links: /home/pterjan/rpmbuild/BUILD/python-mechanize-0.4.10-build/mechanize-0.4.10/pyproject-wheeldir
Processing ./pyproject-wheeldir/mechanize-0.4.10-py2.py3-none-any.whl
Installing collected packages: mechanize
Successfully installed mechanize-0.4.10
+ '[' -d /home/pterjan/rpmbuild/BUILD/python-mechanize-0.4.10-build/BUILDROOT/usr/bin ']'
+ rm -f /home/pterjan/rpmbuild/BUILD/python-mechanize-0.4.10-build/python-mechanize-0.4.10-1.mga10.noarch-pyproject-ghost-distinfo
+ site_dirs=()
+ '[' -d /home/pterjan/rpmbuild/BUILD/python-mechanize-0.4.10-build/BUILDROOT/usr/lib/python3.12/site-packages ']'
+ site_dirs+=("/usr/lib/python3.12/site-packages")
+ '[' /home/pterjan/rpmbuild/BUILD/python-mechanize-0.4.10-build/BUILDROOT/usr/lib64/python3.12/site-packages '!=' /home/pterjan/rpmbuild/BUILD/python-mechanize-0.4.10-build/BUILDROOT/usr/lib/python3.12/site-packages ']'
+ '[' -d /home/pterjan/rpmbuild/BUILD/python-mechanize-0.4.10-build/BUILDROOT/usr/lib64/python3.12/site-packages ']'
+ for site_dir in ${site_dirs[@]}
+ for distinfo in /home/pterjan/rpmbuild/BUILD/python-mechanize-0.4.10-build/BUILDROOT$site_dir/*.dist-info
+ echo '%ghost /usr/lib/python3.12/site-packages/mechanize-0.4.10.dist-info'
+ sed -i s/pip/rpm/ /home/pterjan/rpmbuild/BUILD/python-mechanize-0.4.10-build/BUILDROOT/usr/lib/python3.12/site-packages/mechanize-0.4.10.dist-info/INSTALLER
+ PYTHONPATH=/usr/lib/rpm/redhat
+ /usr/bin/python3 -B /usr/lib/rpm/redhat/pyproject_preprocess_record.py --buildroot /home/pterjan/rpmbuild/BUILD/python-mechanize-0.4.10-build/BUILDROOT --record /home/pterjan/rpmbuild/BUILD/python-mechanize-0.4.10-build/BUILDROOT/usr/lib/python3.12/site-packages/mechanize-0.4.10.dist-info/RECORD --output /home/pterjan/rpmbuild/BUILD/python-mechanize-0.4.10-build/python-mechanize-0.4.10-1.mga10.noarch-pyproject-record
+ rm -fv /home/pterjan/rpmbuild/BUILD/python-mechanize-0.4.10-build/BUILDROOT/usr/lib/python3.12/site-packages/mechanize-0.4.10.dist-info/RECORD
removed '/home/pterjan/rpmbuild/BUILD/python-mechanize-0.4.10-build/BUILDROOT/usr/lib/python3.12/site-packages/mechanize-0.4.10.dist-info/RECORD'
+ rm -fv /home/pterjan/rpmbuild/BUILD/python-mechanize-0.4.10-build/BUILDROOT/usr/lib/python3.12/site-packages/mechanize-0.4.10.dist-info/REQUESTED
removed '/home/pterjan/rpmbuild/BUILD/python-mechanize-0.4.10-build/BUILDROOT/usr/lib/python3.12/site-packages/mechanize-0.4.10.dist-info/REQUESTED'
++ wc -l /home/pterjan/rpmbuild/BUILD/python-mechanize-0.4.10-build/python-mechanize-0.4.10-1.mga10.noarch-pyproject-ghost-distinfo
++ cut -f1 '-d '
+ lines=1
+ '[' 1 -ne 1 ']'
+ RPM_FILES_ESCAPE=4.19
+ /usr/bin/python3 /usr/lib/rpm/redhat/pyproject_save_files.py --output-files /home/pterjan/rpmbuild/BUILD/python-mechanize-0.4.10-build/python-mechanize-0.4.10-1.mga10.noarch-pyproject-files --output-modules /home/pterjan/rpmbuild/BUILD/python-mechanize-0.4.10-build/python-mechanize-0.4.10-1.mga10.noarch-pyproject-modules --buildroot /home/pterjan/rpmbuild/BUILD/python-mechanize-0.4.10-build/BUILDROOT --sitelib /usr/lib/python3.12/site-packages --sitearch /usr/lib64/python3.12/site-packages --python-version 3.12 --pyproject-record /home/pterjan/rpmbuild/BUILD/python-mechanize-0.4.10-build/python-mechanize-0.4.10-1.mga10.noarch-pyproject-record --prefix /usr mechanize
+ /usr/lib/rpm/check-buildroot
+ '[' -n '' ']'
+ /usr/share/spec-helper/clean_files
+ '[' -n '' ']'
+ /usr/share/spec-helper/compress_files .xz
+ '[' -n '' ']'
+ /usr/share/spec-helper/relink_symlinks
+ '[' -n '' ']'
+ /usr/share/spec-helper/clean_perl
+ '[' -n '' ']'
+ /usr/share/spec-helper/lib_symlinks
+ '[' -n '' ']'
+ /usr/share/spec-helper/gprintify
+ '[' -n '' ']'
+ /usr/share/spec-helper/fix_mo
+ '[' -n '' ']'
+ /usr/share/spec-helper/fix_pamd
+ '[' -n '' ']'
+ /usr/share/spec-helper/remove_info_dir
+ '[' -n '' ']'
+ /usr/share/spec-helper/fix_eol
+ '[' -n '' ']'
+ /usr/share/spec-helper/check_desktop_files
+ '[' -n '' ']'
+ /usr/share/spec-helper/check_elf_files
+ /usr/lib/rpm/brp-strip /usr/bin/strip
+ /usr/lib/rpm/brp-strip-comment-note /usr/bin/strip /usr/bin/objdump
+ /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip
+ /usr/lib/rpm/check-rpaths
+ /usr/lib/rpm/brp-remove-la-files
+ /usr/lib/rpm/redhat/brp-mangle-shebangs
+ env -u SOURCE_DATE_EPOCH /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 -j16
Bytecompiling .py files below /home/pterjan/rpmbuild/BUILD/python-mechanize-0.4.10-build/BUILDROOT/usr/lib/python3.12 using python3.12
Not clamping source mtimes, $SOURCE_DATE_EPOCH not set
+ /usr/lib/rpm/redhat/brp-python-hardlink
Processing files: python3-mechanize-0.4.10-1.mga10.noarch
Executing(%doc): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.aQVZrH
+ umask 022
+ cd /home/pterjan/rpmbuild/BUILD/python-mechanize-0.4.10-build
+ cd mechanize-0.4.10
+ DOCDIR=/home/pterjan/rpmbuild/BUILD/python-mechanize-0.4.10-build/BUILDROOT/usr/share/doc/python3-mechanize
+ export LC_ALL=C
+ LC_ALL=C
+ export DOCDIR
+ /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/python-mechanize-0.4.10-build/BUILDROOT/usr/share/doc/python3-mechanize
+ cp -pr /home/pterjan/rpmbuild/BUILD/python-mechanize-0.4.10-build/mechanize-0.4.10/examples/forms /home/pterjan/rpmbuild/BUILD/python-mechanize-0.4.10-build/BUILDROOT/usr/share/doc/python3-mechanize
+ cp -pr /home/pterjan/rpmbuild/BUILD/python-mechanize-0.4.10-build/mechanize-0.4.10/examples/hack21.py /home/pterjan/rpmbuild/BUILD/python-mechanize-0.4.10-build/BUILDROOT/usr/share/doc/python3-mechanize
+ cp -pr /home/pterjan/rpmbuild/BUILD/python-mechanize-0.4.10-build/mechanize-0.4.10/examples/pypi.py /home/pterjan/rpmbuild/BUILD/python-mechanize-0.4.10-build/BUILDROOT/usr/share/doc/python3-mechanize
+ RPM_EC=0
++ jobs -p
+ exit 0
Provides: python-clientcookie python-mechanize = 0.4.10-1.mga10 python3-mechanize = 0.4.10-1.mga10 python3.12-mechanize = 0.4.10-1.mga10 python3.12dist(mechanize) = 0.4.10 python3dist(mechanize) = 0.4.10
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: python(abi) = 3.12 python3.12dist(html5lib) >= 0.999999999
Obsoletes: python-clientcookie < 1.3.0-2 python-mechanize < 0.4.10-1.mga10
Checking for unpackaged file(s): /usr/lib/rpm/check-files /home/pterjan/rpmbuild/BUILD/python-mechanize-0.4.10-build/BUILDROOT
Wrote: /home/pterjan/rpmbuild/RPMS/noarch/python3-mechanize-0.4.10-1.mga10.noarch.rpm
Executing(rmbuild): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.8AZlxH
+ umask 022
+ cd /home/pterjan/rpmbuild/BUILD/python-mechanize-0.4.10-build
+ test -d /home/pterjan/rpmbuild/BUILD/python-mechanize-0.4.10-build
+ /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w /home/pterjan/rpmbuild/BUILD/python-mechanize-0.4.10-build
+ rm -rf /home/pterjan/rpmbuild/BUILD/python-mechanize-0.4.10-build
+ RPM_EC=0
++ jobs -p
+ exit 0
D: [iurt_root_command] Success!