D: [iurt_root_command] chroot Building target platforms: x86_64 Building for target x86_64 Installing /home/pterjan/rpmbuild/SRPMS/python-pymilter-1.0.5-4.mga10.src.rpm Executing(%mkbuilddir): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.kxwS6J Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.GoFeDK + umask 022 + cd /home/pterjan/rpmbuild/BUILD/python-pymilter-1.0.5-build + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD/python-pymilter-1.0.5-build + rm -rf pymilter-1.0.5 + /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/pymilter-1.0.5.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd pymilter-1.0.5 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/pymilter-check.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + RPM_EC=0 ++ jobs -p + exit 0 Executing(%generate_buildrequires): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.A3s6L5 + umask 022 + cd /home/pterjan/rpmbuild/BUILD/python-pymilter-1.0.5-build + cd pymilter-1.0.5 + 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-pymilter-1.0.5-build/pymilter-1.0.5/.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/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + CXX=g++ + TMPDIR=/home/pterjan/rpmbuild/BUILD/python-pymilter-1.0.5-build/pymilter-1.0.5/.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-pymilter-1.0.5-build/pymilter-1.0.5/pyproject-wheeldir --output /home/pterjan/rpmbuild/BUILD/python-pymilter-1.0.5-build/python-pymilter-1.0.5-4.mga10.x86_64-pyproject-buildrequires Handling setuptools >= 40.8 from default build backend Requirement satisfied: setuptools >= 40.8 (installed: setuptools 78.1.0) /usr/lib/python3.13/site-packages/setuptools/dist.py:759: SetuptoolsDeprecationWarning: License classifiers are deprecated. !! ******************************************************************************** Please consider removing the following classifiers in favor of a SPDX license expression: License :: OSI Approved :: GNU General Public License (GPL) See https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license for details. ******************************************************************************** !! self._finalize_license_expression() running egg_info writing pymilter.egg-info/PKG-INFO writing dependency_links to pymilter.egg-info/dependency_links.txt writing top-level names to pymilter.egg-info/top_level.txt reading manifest file 'pymilter.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' warning: no files found matching 'milter-template.py' warning: no files found matching 'start.sh' adding license file 'COPYING' writing manifest file 'pymilter.egg-info/SOURCES.txt' running dist_info writing pymilter.egg-info/PKG-INFO writing dependency_links to pymilter.egg-info/dependency_links.txt writing top-level names to pymilter.egg-info/top_level.txt reading manifest file 'pymilter.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' warning: no files found matching 'milter-template.py' warning: no files found matching 'start.sh' adding license file 'COPYING' writing manifest file 'pymilter.egg-info/SOURCES.txt' creating '/home/pterjan/rpmbuild/BUILD/python-pymilter-1.0.5-build/pymilter-1.0.5/pymilter-1.0.5.dist-info' + cat /home/pterjan/rpmbuild/BUILD/python-pymilter-1.0.5-build/python-pymilter-1.0.5-4.mga10.x86_64-pyproject-buildrequires + rm -rfv pymilter-1.0.5.dist-info/ removed 'pymilter-1.0.5.dist-info/top_level.txt' removed 'pymilter-1.0.5.dist-info/METADATA' removed 'pymilter-1.0.5.dist-info/licenses/COPYING' removed directory 'pymilter-1.0.5.dist-info/licenses' removed directory 'pymilter-1.0.5.dist-info/' + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.mkrGCJ + umask 022 + cd /home/pterjan/rpmbuild/BUILD/python-pymilter-1.0.5-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/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd pymilter-1.0.5 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + mkdir -p /home/pterjan/rpmbuild/BUILD/python-pymilter-1.0.5-build/pymilter-1.0.5/.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/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + CXX=g++ + TMPDIR=/home/pterjan/rpmbuild/BUILD/python-pymilter-1.0.5-build/pymilter-1.0.5/.pyproject-builddir + /usr/bin/python3 -Bs /usr/lib/rpm/redhat/pyproject_wheel.py /home/pterjan/rpmbuild/BUILD/python-pymilter-1.0.5-build/pymilter-1.0.5/pyproject-wheeldir Processing /home/pterjan/rpmbuild/BUILD/python-pymilter-1.0.5-build/pymilter-1.0.5 Preparing metadata (pyproject.toml): started Running command Preparing metadata (pyproject.toml) /usr/lib/python3.13/site-packages/setuptools/dist.py:759: SetuptoolsDeprecationWarning: License classifiers are deprecated. !! ******************************************************************************** Please consider removing the following classifiers in favor of a SPDX license expression: License :: OSI Approved :: GNU General Public License (GPL) See https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license for details. ******************************************************************************** !! self._finalize_license_expression() running dist_info creating /home/pterjan/rpmbuild/BUILD/python-pymilter-1.0.5-build/pymilter-1.0.5/.pyproject-builddir/pip-modern-metadata-z99i_ztq/pymilter.egg-info writing /home/pterjan/rpmbuild/BUILD/python-pymilter-1.0.5-build/pymilter-1.0.5/.pyproject-builddir/pip-modern-metadata-z99i_ztq/pymilter.egg-info/PKG-INFO writing dependency_links to /home/pterjan/rpmbuild/BUILD/python-pymilter-1.0.5-build/pymilter-1.0.5/.pyproject-builddir/pip-modern-metadata-z99i_ztq/pymilter.egg-info/dependency_links.txt writing top-level names to /home/pterjan/rpmbuild/BUILD/python-pymilter-1.0.5-build/pymilter-1.0.5/.pyproject-builddir/pip-modern-metadata-z99i_ztq/pymilter.egg-info/top_level.txt writing manifest file '/home/pterjan/rpmbuild/BUILD/python-pymilter-1.0.5-build/pymilter-1.0.5/.pyproject-builddir/pip-modern-metadata-z99i_ztq/pymilter.egg-info/SOURCES.txt' reading manifest file '/home/pterjan/rpmbuild/BUILD/python-pymilter-1.0.5-build/pymilter-1.0.5/.pyproject-builddir/pip-modern-metadata-z99i_ztq/pymilter.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' warning: no files found matching 'milter-template.py' warning: no files found matching 'start.sh' adding license file 'COPYING' writing manifest file '/home/pterjan/rpmbuild/BUILD/python-pymilter-1.0.5-build/pymilter-1.0.5/.pyproject-builddir/pip-modern-metadata-z99i_ztq/pymilter.egg-info/SOURCES.txt' creating '/home/pterjan/rpmbuild/BUILD/python-pymilter-1.0.5-build/pymilter-1.0.5/.pyproject-builddir/pip-modern-metadata-z99i_ztq/pymilter-1.0.5.dist-info' Preparing metadata (pyproject.toml): finished with status 'done' Building wheels for collected packages: pymilter Building wheel for pymilter (pyproject.toml): started Running command Building wheel for pymilter (pyproject.toml) /usr/lib/python3.13/site-packages/setuptools/dist.py:759: SetuptoolsDeprecationWarning: License classifiers are deprecated. !! ******************************************************************************** Please consider removing the following classifiers in favor of a SPDX license expression: License :: OSI Approved :: GNU General Public License (GPL) See https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license for details. ******************************************************************************** !! self._finalize_license_expression() running bdist_wheel running build running build_py creating build/lib.linux-x86_64-cpython-313 copying mime.py -> build/lib.linux-x86_64-cpython-313 creating build/lib.linux-x86_64-cpython-313/Milter copying Milter/dynip.py -> build/lib.linux-x86_64-cpython-313/Milter copying Milter/greylist.py -> build/lib.linux-x86_64-cpython-313/Milter copying Milter/pyip6.py -> build/lib.linux-x86_64-cpython-313/Milter copying Milter/policy.py -> build/lib.linux-x86_64-cpython-313/Milter copying Milter/testctx.py -> build/lib.linux-x86_64-cpython-313/Milter copying Milter/test.py -> build/lib.linux-x86_64-cpython-313/Milter copying Milter/config.py -> build/lib.linux-x86_64-cpython-313/Milter copying Milter/greysql.py -> build/lib.linux-x86_64-cpython-313/Milter copying Milter/plock.py -> build/lib.linux-x86_64-cpython-313/Milter copying Milter/__init__.py -> build/lib.linux-x86_64-cpython-313/Milter copying Milter/sgmllib.py -> build/lib.linux-x86_64-cpython-313/Milter copying Milter/unsign.py -> build/lib.linux-x86_64-cpython-313/Milter copying Milter/dsn.py -> build/lib.linux-x86_64-cpython-313/Milter copying Milter/cache.py -> build/lib.linux-x86_64-cpython-313/Milter copying Milter/utils.py -> build/lib.linux-x86_64-cpython-313/Milter copying Milter/dns.py -> build/lib.linux-x86_64-cpython-313/Milter running build_ext building 'milter' extension creating build/temp.linux-x86_64-cpython-313 gcc -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 -fPIC -DMAX_ML_REPLY=32 -I/usr/include/python3.13 -c miltermodule.c -o build/temp.linux-x86_64-cpython-313/miltermodule.o -Werror=implicit-function-declaration In file included from miltermodule.c:50: /usr/include/libmilter/mfapi.h:98:17: error: ‘bool’ cannot be defined via ‘typedef’ 98 | typedef int bool; | ^~~~ /usr/include/libmilter/mfapi.h:98:17: note: ‘bool’ is a keyword with ‘-std=c23’ onwards error: command '/usr/bin/gcc' failed with exit code 1 error: subprocess-exited-with-error × Building wheel for pymilter (pyproject.toml) did not run successfully. │ exit code: 1 ╰─> See above for output. note: This error originates from a subprocess, and is likely not a problem with pip. full command: /usr/bin/python3 /usr/lib/python3.13/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py build_wheel /home/pterjan/rpmbuild/BUILD/python-pymilter-1.0.5-build/pymilter-1.0.5/.pyproject-builddir/tmpahm_rqbn cwd: /home/pterjan/rpmbuild/BUILD/python-pymilter-1.0.5-build/pymilter-1.0.5 Building wheel for pymilter (pyproject.toml): finished with status 'error' ERROR: Failed building wheel for pymilter Failed to build pymilter ERROR: Failed to build one or more wheels error: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.mkrGCJ (%build) RPM build errors: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.mkrGCJ (%build) I: [iurt_root_command] ERROR: chroot