D: [iurt_root_command] chroot Building target platforms: x86_64 Building for target x86_64 sh: line 4: [: -j8: integer expression expected Installing /home/pterjan/rpmbuild/SRPMS/python-m2crypto-0.44.0-3.mga10.src.rpm Executing(%mkbuilddir): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.fTKy64 sh: line 4: [: -j8: integer expression expected Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.sXSFAM + umask 022 + cd /home/pterjan/rpmbuild/BUILD/python-m2crypto-0.44.0-build + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD/python-m2crypto-0.44.0-build + rm -rf m2crypto-0.44.0 + /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/m2crypto-0.44.0.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd m2crypto-0.44.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/0001-Add-D__linux__-to-swig-options.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/0001-Fix-arm-build.patch + RPM_EC=0 ++ jobs -p + exit 0 sh: line 4: [: -j8: integer expression expected Executing(%generate_buildrequires): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.ebgPeO + umask 022 + cd /home/pterjan/rpmbuild/BUILD/python-m2crypto-0.44.0-build + cd m2crypto-0.44.0 + 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 ']' + 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-m2crypto-0.44.0-build/m2crypto-0.44.0/.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-m2crypto-0.44.0-build/m2crypto-0.44.0/.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-m2crypto-0.44.0-build/m2crypto-0.44.0/pyproject-wheeldir --output /home/pterjan/rpmbuild/BUILD/python-m2crypto-0.44.0-build/python-m2crypto-0.44.0-3.mga10.x86_64-pyproject-buildrequires Handling setuptools from build-system.requires Requirement satisfied: setuptools (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 :: MIT License See https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license for details. ******************************************************************************** !! self._finalize_license_expression() INFO:run_command:running egg_info INFO:write_pkg_info:writing src/M2Crypto.egg-info/PKG-INFO INFO:write_file:writing dependency_links to src/M2Crypto.egg-info/dependency_links.txt INFO:write_file:writing requirements to src/M2Crypto.egg-info/requires.txt INFO:write_file:writing top-level names to src/M2Crypto.egg-info/top_level.txt INFO:read_manifest:reading manifest file 'src/M2Crypto.egg-info/SOURCES.txt' INFO:read_template:reading manifest template 'MANIFEST.in' WARNING:process_template_line:warning: no files found matching '*.dat' under directory 'tests' WARNING:process_template_line:warning: no files found matching '*.p7*' under directory 'tests' WARNING:process_template_line:warning: no previously-included files matching '*' found under directory '.keys' INFO:add_license_files:adding license file 'LICENCE' INFO:execute:writing manifest file 'src/M2Crypto.egg-info/SOURCES.txt' /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 :: MIT License See https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license for details. ******************************************************************************** !! self._finalize_license_expression() INFO:run_command:running dist_info INFO:mkpath:creating M2Crypto.egg-info INFO:write_pkg_info:writing M2Crypto.egg-info/PKG-INFO INFO:write_file:writing dependency_links to M2Crypto.egg-info/dependency_links.txt INFO:write_file:writing requirements to M2Crypto.egg-info/requires.txt INFO:write_file:writing top-level names to M2Crypto.egg-info/top_level.txt INFO:execute:writing manifest file 'M2Crypto.egg-info/SOURCES.txt' INFO:read_manifest:reading manifest file 'M2Crypto.egg-info/SOURCES.txt' INFO:read_template:reading manifest template 'MANIFEST.in' WARNING:process_template_line:warning: no files found matching '*.dat' under directory 'tests' WARNING:process_template_line:warning: no files found matching '*.p7*' under directory 'tests' WARNING:process_template_line:warning: no previously-included files matching '*' found under directory '.keys' INFO:add_license_files:adding license file 'LICENCE' INFO:execute:writing manifest file 'M2Crypto.egg-info/SOURCES.txt' INFO:run:creating '/home/pterjan/rpmbuild/BUILD/python-m2crypto-0.44.0-build/m2crypto-0.44.0/m2crypto-0.44.0.dist-info' Handling importlib-metadata; python_version < "3.8" from hook generated metadata: Requires-Dist (M2Crypto) Ignoring alien requirement: importlib-metadata; python_version < "3.8" + cat /home/pterjan/rpmbuild/BUILD/python-m2crypto-0.44.0-build/python-m2crypto-0.44.0-3.mga10.x86_64-pyproject-buildrequires + rm -rfv m2crypto-0.44.0.dist-info/ removed 'm2crypto-0.44.0.dist-info/top_level.txt' removed 'm2crypto-0.44.0.dist-info/METADATA' removed 'm2crypto-0.44.0.dist-info/licenses/LICENCE' removed directory 'm2crypto-0.44.0.dist-info/licenses' removed directory 'm2crypto-0.44.0.dist-info/' + RPM_EC=0 ++ jobs -p + exit 0 sh: line 4: [: -j8: integer expression expected Executing(%build): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.Lv2d2b + umask 022 + cd /home/pterjan/rpmbuild/BUILD/python-m2crypto-0.44.0-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 m2crypto-0.44.0 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + mkdir -p /home/pterjan/rpmbuild/BUILD/python-m2crypto-0.44.0-build/m2crypto-0.44.0/.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-m2crypto-0.44.0-build/m2crypto-0.44.0/.pyproject-builddir + /usr/bin/python3 -Bs /usr/lib/rpm/redhat/pyproject_wheel.py /home/pterjan/rpmbuild/BUILD/python-m2crypto-0.44.0-build/m2crypto-0.44.0/pyproject-wheeldir Processing /home/pterjan/rpmbuild/BUILD/python-m2crypto-0.44.0-build/m2crypto-0.44.0 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 :: MIT License See https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license for details. ******************************************************************************** !! self._finalize_license_expression() INFO:run_command:running dist_info INFO:mkpath:creating /home/pterjan/rpmbuild/BUILD/python-m2crypto-0.44.0-build/m2crypto-0.44.0/.pyproject-builddir/pip-modern-metadata-_glnrz9q/M2Crypto.egg-info INFO:write_pkg_info:writing /home/pterjan/rpmbuild/BUILD/python-m2crypto-0.44.0-build/m2crypto-0.44.0/.pyproject-builddir/pip-modern-metadata-_glnrz9q/M2Crypto.egg-info/PKG-INFO INFO:write_file:writing dependency_links to /home/pterjan/rpmbuild/BUILD/python-m2crypto-0.44.0-build/m2crypto-0.44.0/.pyproject-builddir/pip-modern-metadata-_glnrz9q/M2Crypto.egg-info/dependency_links.txt INFO:write_file:writing requirements to /home/pterjan/rpmbuild/BUILD/python-m2crypto-0.44.0-build/m2crypto-0.44.0/.pyproject-builddir/pip-modern-metadata-_glnrz9q/M2Crypto.egg-info/requires.txt INFO:write_file:writing top-level names to /home/pterjan/rpmbuild/BUILD/python-m2crypto-0.44.0-build/m2crypto-0.44.0/.pyproject-builddir/pip-modern-metadata-_glnrz9q/M2Crypto.egg-info/top_level.txt INFO:execute:writing manifest file '/home/pterjan/rpmbuild/BUILD/python-m2crypto-0.44.0-build/m2crypto-0.44.0/.pyproject-builddir/pip-modern-metadata-_glnrz9q/M2Crypto.egg-info/SOURCES.txt' INFO:read_manifest:reading manifest file '/home/pterjan/rpmbuild/BUILD/python-m2crypto-0.44.0-build/m2crypto-0.44.0/.pyproject-builddir/pip-modern-metadata-_glnrz9q/M2Crypto.egg-info/SOURCES.txt' INFO:read_template:reading manifest template 'MANIFEST.in' WARNING:process_template_line:warning: no files found matching '*.dat' under directory 'tests' WARNING:process_template_line:warning: no files found matching '*.p7*' under directory 'tests' WARNING:process_template_line:warning: no previously-included files matching '*' found under directory '.keys' INFO:add_license_files:adding license file 'LICENCE' INFO:execute:writing manifest file '/home/pterjan/rpmbuild/BUILD/python-m2crypto-0.44.0-build/m2crypto-0.44.0/.pyproject-builddir/pip-modern-metadata-_glnrz9q/M2Crypto.egg-info/SOURCES.txt' INFO:run:creating '/home/pterjan/rpmbuild/BUILD/python-m2crypto-0.44.0-build/m2crypto-0.44.0/.pyproject-builddir/pip-modern-metadata-_glnrz9q/m2crypto-0.44.0.dist-info' Preparing metadata (pyproject.toml): finished with status 'done' Building wheels for collected packages: M2Crypto Building wheel for M2Crypto (pyproject.toml): started Running command Building wheel for M2Crypto (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 :: MIT License See https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license for details. ******************************************************************************** !! self._finalize_license_expression() INFO:run_command:running bdist_wheel INFO:run_command:running build INFO:run_command:running build_py INFO:copy_file:copying src/M2Crypto/BIO.py -> build/lib.linux-x86_64-cpython-313/M2Crypto INFO:copy_file:copying src/M2Crypto/m2crypto.py -> build/lib.linux-x86_64-cpython-313/M2Crypto INFO:copy_file:copying src/M2Crypto/ASN1.py -> build/lib.linux-x86_64-cpython-313/M2Crypto INFO:copy_file:copying src/M2Crypto/Rand.py -> build/lib.linux-x86_64-cpython-313/M2Crypto INFO:copy_file:copying src/M2Crypto/RSA.py -> build/lib.linux-x86_64-cpython-313/M2Crypto INFO:copy_file:copying src/M2Crypto/types.py -> build/lib.linux-x86_64-cpython-313/M2Crypto INFO:copy_file:copying src/M2Crypto/callback.py -> build/lib.linux-x86_64-cpython-313/M2Crypto INFO:copy_file:copying src/M2Crypto/Engine.py -> build/lib.linux-x86_64-cpython-313/M2Crypto INFO:copy_file:copying src/M2Crypto/RC4.py -> build/lib.linux-x86_64-cpython-313/M2Crypto INFO:copy_file:copying src/M2Crypto/AuthCookie.py -> build/lib.linux-x86_64-cpython-313/M2Crypto INFO:copy_file:copying src/M2Crypto/SMIME.py -> build/lib.linux-x86_64-cpython-313/M2Crypto INFO:copy_file:copying src/M2Crypto/httpslib.py -> build/lib.linux-x86_64-cpython-313/M2Crypto INFO:copy_file:copying src/M2Crypto/BN.py -> build/lib.linux-x86_64-cpython-313/M2Crypto INFO:copy_file:copying src/M2Crypto/Err.py -> build/lib.linux-x86_64-cpython-313/M2Crypto INFO:copy_file:copying src/M2Crypto/m2.py -> build/lib.linux-x86_64-cpython-313/M2Crypto INFO:copy_file:copying src/M2Crypto/DSA.py -> build/lib.linux-x86_64-cpython-313/M2Crypto INFO:copy_file:copying src/M2Crypto/DH.py -> build/lib.linux-x86_64-cpython-313/M2Crypto INFO:copy_file:copying src/M2Crypto/threading.py -> build/lib.linux-x86_64-cpython-313/M2Crypto INFO:copy_file:copying src/M2Crypto/m2urllib.py -> build/lib.linux-x86_64-cpython-313/M2Crypto INFO:copy_file:copying src/M2Crypto/__init__.py -> build/lib.linux-x86_64-cpython-313/M2Crypto INFO:copy_file:copying src/M2Crypto/ftpslib.py -> build/lib.linux-x86_64-cpython-313/M2Crypto INFO:copy_file:copying src/M2Crypto/util.py -> build/lib.linux-x86_64-cpython-313/M2Crypto INFO:copy_file:copying src/M2Crypto/EC.py -> build/lib.linux-x86_64-cpython-313/M2Crypto INFO:copy_file:copying src/M2Crypto/EVP.py -> build/lib.linux-x86_64-cpython-313/M2Crypto INFO:copy_file:copying src/M2Crypto/m2urllib2.py -> build/lib.linux-x86_64-cpython-313/M2Crypto INFO:copy_file:copying src/M2Crypto/X509.py -> build/lib.linux-x86_64-cpython-313/M2Crypto INFO:copy_file:copying src/M2Crypto/m2xmlrpclib.py -> build/lib.linux-x86_64-cpython-313/M2Crypto INFO:mkpath:creating build/lib.linux-x86_64-cpython-313/M2Crypto/SSL INFO:copy_file:copying src/M2Crypto/SSL/cb.py -> build/lib.linux-x86_64-cpython-313/M2Crypto/SSL INFO:copy_file:copying src/M2Crypto/SSL/Session.py -> build/lib.linux-x86_64-cpython-313/M2Crypto/SSL INFO:copy_file:copying src/M2Crypto/SSL/Cipher.py -> build/lib.linux-x86_64-cpython-313/M2Crypto/SSL INFO:copy_file:copying src/M2Crypto/SSL/timeout.py -> build/lib.linux-x86_64-cpython-313/M2Crypto/SSL INFO:copy_file:copying src/M2Crypto/SSL/Checker.py -> build/lib.linux-x86_64-cpython-313/M2Crypto/SSL INFO:copy_file:copying src/M2Crypto/SSL/__init__.py -> build/lib.linux-x86_64-cpython-313/M2Crypto/SSL INFO:copy_file:copying src/M2Crypto/SSL/SSLServer.py -> build/lib.linux-x86_64-cpython-313/M2Crypto/SSL INFO:copy_file:copying src/M2Crypto/SSL/Context.py -> build/lib.linux-x86_64-cpython-313/M2Crypto/SSL INFO:copy_file:copying src/M2Crypto/SSL/Connection.py -> build/lib.linux-x86_64-cpython-313/M2Crypto/SSL INFO:copy_file:copying src/M2Crypto/SSL/TwistedProtocolWrapper.py -> build/lib.linux-x86_64-cpython-313/M2Crypto/SSL INFO:run_command:running egg_info INFO:write_pkg_info:writing src/M2Crypto.egg-info/PKG-INFO INFO:write_file:writing dependency_links to src/M2Crypto.egg-info/dependency_links.txt INFO:write_file:writing requirements to src/M2Crypto.egg-info/requires.txt INFO:write_file:writing top-level names to src/M2Crypto.egg-info/top_level.txt INFO:read_manifest:reading manifest file 'src/M2Crypto.egg-info/SOURCES.txt' INFO:read_template:reading manifest template 'MANIFEST.in' WARNING:process_template_line:warning: no files found matching '*.dat' under directory 'tests' WARNING:process_template_line:warning: no files found matching '*.p7*' under directory 'tests' WARNING:process_template_line:warning: no previously-included files matching '*' found under directory '.keys' INFO:add_license_files:adding license file 'LICENCE' INFO:execute:writing manifest file 'src/M2Crypto.egg-info/SOURCES.txt' INFO:copy_file:copying src/M2Crypto/m2.pyi -> build/lib.linux-x86_64-cpython-313/M2Crypto INFO:run_command:running build_ext INFO:build_extension:building 'M2Crypto._m2crypto' extension INFO:swig_sources:swigging src/SWIG/_m2crypto.i to src/SWIG/_m2crypto_wrap.c INFO:spawn:swig -python -I/usr/lib/gcc/x86_64-mageia-linux/15/include -I/usr/local/include -I/usr/include -D__linux__ -D__x86_64__ -I/usr/include/python3.13 -I/usr/include/openssl -includeall -builtin -outdir build/lib.linux-x86_64-cpython-313/M2Crypto -o src/SWIG/_m2crypto_wrap.c src/SWIG/_m2crypto.i /usr/include/features.h:462: Warning 202: Could not evaluate expression 'defined __cplusplus ? __cplusplus >= 201402L : defined __USE_ISOC11' /usr/include/features.h:462: Warning 202: Syntax error: expected operator /usr/include/features.h:480: Warning 202: Could not evaluate expression '(defined __USE_GNU \ && (defined __cplusplus \ ? (__cplusplus < 201103L && !defined __GXX_EXPERIMENTAL_CXX0X__) \ : (!defined __STDC_VERSION__ || __STDC_VERSION__ < 199901L)))' /usr/include/features.h:480: Warning 202: Syntax error: expected operator /usr/include/sys/cdefs.h:688: Warning 202: Could not evaluate expression '(!defined _Noreturn \ && (defined __STDC_VERSION__ ? __STDC_VERSION__ : 0) < 201112 \ && !(__GNUC_PREREQ (4,7) \ || (3 < __clang_major__ + (5 <= __clang_minor__))))' /usr/include/sys/cdefs.h:688: Warning 202: Syntax error: expected operator /usr/include/sys/cdefs.h:718: Warning 202: Could not evaluate expression '(!defined _Static_assert && !defined __cplusplus \ && (defined __STDC_VERSION__ ? __STDC_VERSION__ : 0) < 201112 \ && (!(__GNUC_PREREQ (4, 6) || __clang_major__ >= 4) \ || defined __STRICT_ANSI__))' /usr/include/sys/cdefs.h:718: Warning 202: Syntax error: expected operator /usr/include/sys/cdefs.h:393: Warning 305: Bad constant value (ignored). INFO:mkpath:creating build/temp.linux-x86_64-cpython-313/src/SWIG INFO:spawn: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 -I/usr/include/python3.13 -I/home/pterjan/rpmbuild/BUILD/python-m2crypto-0.44.0-build/m2crypto-0.44.0/src/SWIG -c src/SWIG/_m2crypto_wrap.c -o build/temp.linux-x86_64-cpython-313/src/SWIG/_m2crypto_wrap.o -Wno-deprecated-declarations -DTHREADING src/SWIG/_m2crypto_wrap.c: In function ‘_wrap_fd_set___fds_bits_set’: src/SWIG/_m2crypto_wrap.c:11928:88: error: ‘fd_set’ has no member named ‘__fds_bits’; did you mean ‘fds_bits’? 11928 | for (; ii < (size_t)1024/(8*(int) sizeof(__fd_mask)); ++ii) *(__fd_mask *)&arg1->__fds_bits[ii] = *((__fd_mask *)arg2 + ii); | ^~~~~~~~~~ | fds_bits src/SWIG/_m2crypto_wrap.c: In function ‘_wrap_fd_set___fds_bits_get’: src/SWIG/_m2crypto_wrap.c:11953:48: error: ‘fd_set’ has no member named ‘__fds_bits’; did you mean ‘fds_bits’? 11953 | result = (__fd_mask *)(__fd_mask *) ((arg1)->__fds_bits); | ^~~~~~~~~~ | fds_bits src/SWIG/_m2crypto_wrap.c: In function ‘m2_PyErr_SetString_from_errno’: src/SWIG/_m2crypto_wrap.c:5460:9: warning: ignoring return value of ‘strerror_r’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 5460 | strerror_r(err, err_reason, sizeof(err_reason)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ error: command '/usr/bin/gcc' failed with exit code 1 error: subprocess-exited-with-error × Building wheel for M2Crypto (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-m2crypto-0.44.0-build/m2crypto-0.44.0/.pyproject-builddir/tmpnnx82b00 cwd: /home/pterjan/rpmbuild/BUILD/python-m2crypto-0.44.0-build/m2crypto-0.44.0 Building wheel for M2Crypto (pyproject.toml): finished with status 'error' ERROR: Failed building wheel for M2Crypto Failed to build M2Crypto ERROR: Failed to build one or more wheels error: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.Lv2d2b (%build) RPM build errors: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.Lv2d2b (%build) I: [iurt_root_command] ERROR: chroot