D: [iurt_root_command] chroot
Building target platforms: noarch
Building for target noarch
Installing /home/pterjan/rpmbuild/SRPMS/python-legacy-cgi-2.6.2-2.mga10.src.rpm
Executing(%mkbuilddir): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.KUls2A
Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.VeXzmw
+ umask 022
+ cd /home/pterjan/rpmbuild/BUILD/python-legacy-cgi-2.6.2-build
+ '[' 1 -eq 1 ']'
+ '[' 1 -eq 1 ']'
+ '[' 1 -eq 1 ']'
+ cd /home/pterjan/rpmbuild/BUILD/python-legacy-cgi-2.6.2-build
+ rm -rf legacy_cgi-2.6.2
+ /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/legacy_cgi-2.6.2.tar.gz
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd legacy_cgi-2.6.2
+ /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.30GnK7
+ umask 022
+ cd /home/pterjan/rpmbuild/BUILD/python-legacy-cgi-2.6.2-build
+ cd legacy_cgi-2.6.2
+ echo pyproject-rpm-macros
+ echo python3-devel
+ echo 'python3dist(packaging)'
+ echo 'python3dist(pip) >= 19'
+ '[' -f pyproject.toml ']'
+ true
+ for f in pyproject.toml setup.py setup.cfg
+ '[' -f pyproject.toml ']'
+ 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/' pyproject.toml
+ 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/' pyproject.toml
+ 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' pyproject.toml
+ sed -i -E -e 's/(['\''"]\w+\s*)!=(\s*([0-9])+(\.[0-9]+)*\s*['\''"])/\1>\2/g' pyproject.toml
+ sed -i -E -e 's/(['\''"]\s*>=\s*[0-9]+(\.[0-9]+)*)\s*,\s*(<|!=)\s*[0-9]+(\.[0-9]+)*(\s*['\''"])/\1\5/g' pyproject.toml
+ sed -i -E -e 's/(['\''"]?\s*\S*\s*>=\s*[0-9]+(\.[0-9]+)*)\s*(,\s*(<|!=)\s*[0-9]+(\.[0-9]+)*(\.\*)*)+(\s*['\''"]?)/\1\7/g' pyproject.toml
+ sed -i -E -e 's/(['\''"]\s*)\^(\s*[0-9]+(\.[0-9]+)*\s*['\''"])/\1>=\2/g' pyproject.toml
+ sed -i -e 's/~=/>=/g' pyproject.toml
+ sed -i -E -e 's/(['\''"]\s*\S*\s*)==(\s*[0-9]+(\.[0-9]+)*)\.\*(\s*['\''"])/\1>=\2\4/g' pyproject.toml
+ sed -i -E -e 's/(['\''"]?\w*\s*>=\s*[0-9]+(\.[0-9]+)*)\s*,\s*(<|!=)[0-9]+(\.[0-9]+)*\s*(['\''"]?)/\1\5/g' pyproject.toml
+ for f in pyproject.toml setup.py setup.cfg
+ '[' -f setup.py ']'
+ for f in pyproject.toml setup.py setup.cfg
+ '[' -f setup.cfg ']'
+ rm -rfv '*.dist-info/'
+ '[' -f /usr/bin/python3 ']'
+ mkdir -p /home/pterjan/rpmbuild/BUILD/python-legacy-cgi-2.6.2-build/legacy_cgi-2.6.2/.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-legacy-cgi-2.6.2-build/legacy_cgi-2.6.2/.pyproject-builddir
+ RPM_TOXENV=py313
+ HOSTNAME=rpmbuild
+ /usr/bin/python3 -Bs /usr/lib/rpm/redhat/pyproject_buildrequires.py --generate-extras --python3_pkgversion 3 --wheeldir /home/pterjan/rpmbuild/BUILD/python-legacy-cgi-2.6.2-build/legacy_cgi-2.6.2/pyproject-wheeldir --output /home/pterjan/rpmbuild/BUILD/python-legacy-cgi-2.6.2-build/python-legacy-cgi-2.6.2-2.mga10.noarch-pyproject-buildrequires
Handling poetry-core>=1.0.0 from build-system.requires
Requirement satisfied: poetry-core>=1.0.0
   (installed: poetry-core 2.1.1)
The "poetry.dev-dependencies" section is deprecated and will be removed in a future version. Use "poetry.group.dev.dependencies" instead.
+ cat /home/pterjan/rpmbuild/BUILD/python-legacy-cgi-2.6.2-build/python-legacy-cgi-2.6.2-2.mga10.noarch-pyproject-buildrequires
+ rm -rfv legacy_cgi-2.6.2.dist-info/
removed 'legacy_cgi-2.6.2.dist-info/WHEEL'
removed 'legacy_cgi-2.6.2.dist-info/METADATA'
removed 'legacy_cgi-2.6.2.dist-info/LICENSE'
removed directory 'legacy_cgi-2.6.2.dist-info/'
+ RPM_EC=0
++ jobs -p
+ exit 0
Executing(%build): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.NRW8A1
+ umask 022
+ cd /home/pterjan/rpmbuild/BUILD/python-legacy-cgi-2.6.2-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 legacy_cgi-2.6.2
+ '[' 1 -eq 1 ']'
+ '[' 1 -eq 1 ']'
+ mkdir -p /home/pterjan/rpmbuild/BUILD/python-legacy-cgi-2.6.2-build/legacy_cgi-2.6.2/.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-legacy-cgi-2.6.2-build/legacy_cgi-2.6.2/.pyproject-builddir
+ /usr/bin/python3 -Bs /usr/lib/rpm/redhat/pyproject_wheel.py /home/pterjan/rpmbuild/BUILD/python-legacy-cgi-2.6.2-build/legacy_cgi-2.6.2/pyproject-wheeldir
Processing /home/pterjan/rpmbuild/BUILD/python-legacy-cgi-2.6.2-build/legacy_cgi-2.6.2
  Preparing metadata (pyproject.toml): started
  Running command Preparing metadata (pyproject.toml)
  The "poetry.dev-dependencies" section is deprecated and will be removed in a future version. Use "poetry.group.dev.dependencies" instead.
  Preparing metadata (pyproject.toml): finished with status 'done'
Building wheels for collected packages: legacy-cgi
  Building wheel for legacy-cgi (pyproject.toml): started
  Running command Building wheel for legacy-cgi (pyproject.toml)
  The "poetry.dev-dependencies" section is deprecated and will be removed in a future version. Use "poetry.group.dev.dependencies" instead.
  Building wheel for legacy-cgi (pyproject.toml): finished with status 'done'
  Created wheel for legacy-cgi: filename=legacy_cgi-2.6.2-py3-none-any.whl size=19565 sha256=bedae9b0c926c04c4fc20a565d99bcfec1a33d20c2fa5d4c521d12b2c64962fc
  Stored in directory: /home/pterjan/.cache/pip/wheels/d3/0f/07/6176327712424fdb6fa163efcf932c458f2665c3e3cb01804b
Successfully built legacy-cgi
+ RPM_EC=0
++ jobs -p
+ exit 0
Executing(%install): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.TBJPcs
+ umask 022
+ cd /home/pterjan/rpmbuild/BUILD/python-legacy-cgi-2.6.2-build
+ '[' 1 -eq 1 ']'
+ '[' /home/pterjan/rpmbuild/BUILD/python-legacy-cgi-2.6.2-build/BUILDROOT '!=' / ']'
+ rm -rf /home/pterjan/rpmbuild/BUILD/python-legacy-cgi-2.6.2-build/BUILDROOT
++ dirname /home/pterjan/rpmbuild/BUILD/python-legacy-cgi-2.6.2-build/BUILDROOT
+ mkdir -p /home/pterjan/rpmbuild/BUILD/python-legacy-cgi-2.6.2-build
+ mkdir /home/pterjan/rpmbuild/BUILD/python-legacy-cgi-2.6.2-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 legacy_cgi-2.6.2
+ '[' 1 -eq 1 ']'
++ ls /home/pterjan/rpmbuild/BUILD/python-legacy-cgi-2.6.2-build/legacy_cgi-2.6.2/pyproject-wheeldir/legacy_cgi-2.6.2-py3-none-any.whl
++ xargs basename --multiple
++ sed -E 's/([^-]+)-([^-]+)-.+\.whl/\1==\2/'
+ specifier=legacy_cgi==2.6.2
+ '[' -z legacy_cgi==2.6.2 ']'
+ TMPDIR=/home/pterjan/rpmbuild/BUILD/python-legacy-cgi-2.6.2-build/legacy_cgi-2.6.2/.pyproject-builddir
+ /usr/bin/python3 -m pip install --root /home/pterjan/rpmbuild/BUILD/python-legacy-cgi-2.6.2-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-legacy-cgi-2.6.2-build/legacy_cgi-2.6.2/pyproject-wheeldir legacy_cgi==2.6.2
Using pip 25.0.1 from /usr/lib/python3.13/site-packages/pip (python 3.13)
Looking in links: /home/pterjan/rpmbuild/BUILD/python-legacy-cgi-2.6.2-build/legacy_cgi-2.6.2/pyproject-wheeldir
Processing ./pyproject-wheeldir/legacy_cgi-2.6.2-py3-none-any.whl
Installing collected packages: legacy_cgi
Successfully installed legacy_cgi-2.6.2
+ '[' -d /home/pterjan/rpmbuild/BUILD/python-legacy-cgi-2.6.2-build/BUILDROOT/usr/bin ']'
+ rm -f /home/pterjan/rpmbuild/BUILD/python-legacy-cgi-2.6.2-build/python-legacy-cgi-2.6.2-2.mga10.noarch-pyproject-ghost-distinfo
+ site_dirs=()
+ '[' -d /home/pterjan/rpmbuild/BUILD/python-legacy-cgi-2.6.2-build/BUILDROOT/usr/lib/python3.13/site-packages ']'
+ site_dirs+=("/usr/lib/python3.13/site-packages")
+ '[' /home/pterjan/rpmbuild/BUILD/python-legacy-cgi-2.6.2-build/BUILDROOT/usr/lib64/python3.13/site-packages '!=' /home/pterjan/rpmbuild/BUILD/python-legacy-cgi-2.6.2-build/BUILDROOT/usr/lib/python3.13/site-packages ']'
+ '[' -d /home/pterjan/rpmbuild/BUILD/python-legacy-cgi-2.6.2-build/BUILDROOT/usr/lib64/python3.13/site-packages ']'
+ for site_dir in ${site_dirs[@]}
+ for distinfo in /home/pterjan/rpmbuild/BUILD/python-legacy-cgi-2.6.2-build/BUILDROOT$site_dir/*.dist-info
+ echo '%ghost /usr/lib/python3.13/site-packages/legacy_cgi-2.6.2.dist-info'
+ sed -i s/pip/rpm/ /home/pterjan/rpmbuild/BUILD/python-legacy-cgi-2.6.2-build/BUILDROOT/usr/lib/python3.13/site-packages/legacy_cgi-2.6.2.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-legacy-cgi-2.6.2-build/BUILDROOT --record /home/pterjan/rpmbuild/BUILD/python-legacy-cgi-2.6.2-build/BUILDROOT/usr/lib/python3.13/site-packages/legacy_cgi-2.6.2.dist-info/RECORD --output /home/pterjan/rpmbuild/BUILD/python-legacy-cgi-2.6.2-build/python-legacy-cgi-2.6.2-2.mga10.noarch-pyproject-record
+ rm -fv /home/pterjan/rpmbuild/BUILD/python-legacy-cgi-2.6.2-build/BUILDROOT/usr/lib/python3.13/site-packages/legacy_cgi-2.6.2.dist-info/RECORD
removed '/home/pterjan/rpmbuild/BUILD/python-legacy-cgi-2.6.2-build/BUILDROOT/usr/lib/python3.13/site-packages/legacy_cgi-2.6.2.dist-info/RECORD'
+ rm -fv /home/pterjan/rpmbuild/BUILD/python-legacy-cgi-2.6.2-build/BUILDROOT/usr/lib/python3.13/site-packages/legacy_cgi-2.6.2.dist-info/REQUESTED
removed '/home/pterjan/rpmbuild/BUILD/python-legacy-cgi-2.6.2-build/BUILDROOT/usr/lib/python3.13/site-packages/legacy_cgi-2.6.2.dist-info/REQUESTED'
++ wc -l /home/pterjan/rpmbuild/BUILD/python-legacy-cgi-2.6.2-build/python-legacy-cgi-2.6.2-2.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-legacy-cgi-2.6.2-build/python-legacy-cgi-2.6.2-2.mga10.noarch-pyproject-files --output-modules /home/pterjan/rpmbuild/BUILD/python-legacy-cgi-2.6.2-build/python-legacy-cgi-2.6.2-2.mga10.noarch-pyproject-modules --buildroot /home/pterjan/rpmbuild/BUILD/python-legacy-cgi-2.6.2-build/BUILDROOT --sitelib /usr/lib/python3.13/site-packages --sitearch /usr/lib64/python3.13/site-packages --python-version 3.13 --pyproject-record /home/pterjan/rpmbuild/BUILD/python-legacy-cgi-2.6.2-build/python-legacy-cgi-2.6.2-2.mga10.noarch-pyproject-record --prefix /usr 'cgi*'
+ /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-legacy-cgi-2.6.2-build/BUILDROOT/usr/lib/python3.13 using python3.13
Not clamping source mtimes, $SOURCE_DATE_EPOCH not set
+ /usr/lib/rpm/redhat/brp-python-hardlink
Executing(%check): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.nOJNQN
+ umask 022
+ cd /home/pterjan/rpmbuild/BUILD/python-legacy-cgi-2.6.2-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 legacy_cgi-2.6.2
+ '[' 1 -eq 1 ']'
+ '[' '!' -f /home/pterjan/rpmbuild/BUILD/python-legacy-cgi-2.6.2-build/python-legacy-cgi-2.6.2-2.mga10.noarch-pyproject-modules ']'
+ PATH=/home/pterjan/rpmbuild/BUILD/python-legacy-cgi-2.6.2-build/BUILDROOT/usr/bin:/usr/local/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/home/pterjan/.local/bin:/home/pterjan/bin
+ PYTHONPATH=/home/pterjan/rpmbuild/BUILD/python-legacy-cgi-2.6.2-build/BUILDROOT/usr/lib64/python3.13/site-packages:/home/pterjan/rpmbuild/BUILD/python-legacy-cgi-2.6.2-build/BUILDROOT/usr/lib/python3.13/site-packages
+ _PYTHONSITE=/home/pterjan/rpmbuild/BUILD/python-legacy-cgi-2.6.2-build/BUILDROOT/usr/lib64/python3.13/site-packages:/home/pterjan/rpmbuild/BUILD/python-legacy-cgi-2.6.2-build/BUILDROOT/usr/lib/python3.13/site-packages
+ PYTHONDONTWRITEBYTECODE=1
+ /usr/bin/python3 -sP /usr/lib/rpm/redhat/import_all_modules.py -f /home/pterjan/rpmbuild/BUILD/python-legacy-cgi-2.6.2-build/python-legacy-cgi-2.6.2-2.mga10.noarch-pyproject-modules
Check import: cgi
Check import: cgitb
+ RPM_EC=0
++ jobs -p
+ exit 0
Processing files: python3-legacy-cgi-2.6.2-2.mga10.noarch
Provides: python-legacy-cgi = 2.6.2-2.mga10 python3-legacy-cgi = 2.6.2-2.mga10 python3.13-legacy-cgi = 2.6.2-2.mga10 python3.13dist(legacy-cgi) = 2.6.2 python3dist(legacy-cgi) = 2.6.2
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.13
Checking for unpackaged file(s): /usr/lib/rpm/check-files /home/pterjan/rpmbuild/BUILD/python-legacy-cgi-2.6.2-build/BUILDROOT
Wrote: /home/pterjan/rpmbuild/RPMS/noarch/python3-legacy-cgi-2.6.2-2.mga10.noarch.rpm
Executing(rmbuild): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.YODw1P
+ umask 022
+ cd /home/pterjan/rpmbuild/BUILD/python-legacy-cgi-2.6.2-build
+ test -d /home/pterjan/rpmbuild/BUILD/python-legacy-cgi-2.6.2-build
+ /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w /home/pterjan/rpmbuild/BUILD/python-legacy-cgi-2.6.2-build
+ rm -rf /home/pterjan/rpmbuild/BUILD/python-legacy-cgi-2.6.2-build
+ RPM_EC=0
++ jobs -p
+ exit 0
D: [iurt_root_command] Success!