Mock Version: 3.5 Mock Version: 3.5 Mock Version: 3.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target loongarch64 --nodeps /builddir/build/SPECS/maturin.spec'], chrootPath='/home/lib/mock/dist-ocs23-loongarch64-build-226486-16850/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=86400uid=981gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target loongarch64 --nodeps /builddir/build/SPECS/maturin.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: loongarch64 Building for target loongarch64 Wrote: /builddir/build/SRPMS/maturin-1.4.0-2.ocs23.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -br --noclean --target loongarch64 --nodeps /builddir/build/SPECS/maturin.spec'], chrootPath='/home/lib/mock/dist-ocs23-loongarch64-build-226486-16850/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=86400uid=981gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueraiseExc=FalseprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -br --noclean --target loongarch64 --nodeps /builddir/build/SPECS/maturin.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: loongarch64 Building for target loongarch64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.EDSYFr + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf maturin-1.4.0 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/maturin-1.4.0.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd maturin-1.4.0 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/maturin-1.4.0-vendor.tar.xz + STATUS=0 + '[' 0 -ne 0 ']' + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/0001-drop-unavailable-features-and-unused-dev-dependencie.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/0002-drop-incompatible-cargo-flags-from-setuptools_rust.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/0003-remove-shebang-from-non-executable-__init__.py-file.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/bin/mkdir -p .cargo + cat + /usr/bin/tar -xoaf /builddir/build/SOURCES/maturin-1.4.0-vendor.tar.xz + cat + RPM_EC=0 ++ jobs -p + exit 0 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.musTIS + umask 022 + cd /builddir/build/BUILD + cd maturin-1.4.0 + echo pyproject-rpm-macros + echo python3-devel + echo 'python3dist(pip) >= 19' + echo 'python3dist(packaging)' + '[' -f pyproject.toml ']' + echo 'python3dist(toml)' + rm -rfv '*.dist-info/' + '[' -f /usr/bin/python3 ']' + RPM_TOXENV=py311 + HOSTNAME=rpmbuild + /usr/bin/python3 -s /usr/lib/rpm/OpenCloudOS/pyproject_buildrequires.py --generate-extras --python3_pkgversion 3 Import error: No module named 'toml' + RPM_EC=0 ++ jobs -p + exit 0 Wrote: /builddir/build/SRPMS/maturin-1.4.0-2.ocs23.buildreqs.nosrc.rpm Child return code was: 11 Dynamic buildrequires detected Going to install missing buildrequires. See root.log for details. ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -br --noclean --target loongarch64 --nodeps /builddir/build/SPECS/maturin.spec'], chrootPath='/home/lib/mock/dist-ocs23-loongarch64-build-226486-16850/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=86400uid=981gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueraiseExc=FalseprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -br --noclean --target loongarch64 --nodeps /builddir/build/SPECS/maturin.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: loongarch64 Building for target loongarch64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.sOeztW + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf maturin-1.4.0 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/maturin-1.4.0.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd maturin-1.4.0 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/maturin-1.4.0-vendor.tar.xz + STATUS=0 + '[' 0 -ne 0 ']' + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/0001-drop-unavailable-features-and-unused-dev-dependencie.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/0002-drop-incompatible-cargo-flags-from-setuptools_rust.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/0003-remove-shebang-from-non-executable-__init__.py-file.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/bin/mkdir -p .cargo + cat + /usr/bin/tar -xoaf /builddir/build/SOURCES/maturin-1.4.0-vendor.tar.xz + cat + RPM_EC=0 ++ jobs -p + exit 0 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.BYg20Z + umask 022 + cd /builddir/build/BUILD + cd maturin-1.4.0 + echo pyproject-rpm-macros + echo python3-devel + echo 'python3dist(pip) >= 19' + echo 'python3dist(packaging)' + '[' -f pyproject.toml ']' + echo 'python3dist(toml)' + rm -rfv '*.dist-info/' + '[' -f /usr/bin/python3 ']' + RPM_TOXENV=py311 + HOSTNAME=rpmbuild + /usr/bin/python3 -s /usr/lib/rpm/OpenCloudOS/pyproject_buildrequires.py --generate-extras --python3_pkgversion 3 Handling setuptools from build-system.requires Requirement not satisfied: setuptools Handling wheel>=0.36.2 from build-system.requires Requirement not satisfied: wheel>=0.36.2 Handling tomli>=1.1.0 ; python_version<'3.11' from build-system.requires Ignoring alien requirement: tomli>=1.1.0 ; python_version<'3.11' Handling setuptools-rust>=1.4.0 from build-system.requires Requirement not satisfied: setuptools-rust>=1.4.0 Exiting dependency generation pass: build backend + RPM_EC=0 ++ jobs -p + exit 0 Wrote: /builddir/build/SRPMS/maturin-1.4.0-2.ocs23.buildreqs.nosrc.rpm Child return code was: 11 Dynamic buildrequires detected Going to install missing buildrequires. See root.log for details. ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -br --noclean --target loongarch64 --nodeps /builddir/build/SPECS/maturin.spec'], chrootPath='/home/lib/mock/dist-ocs23-loongarch64-build-226486-16850/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=86400uid=981gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueraiseExc=FalseprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -br --noclean --target loongarch64 --nodeps /builddir/build/SPECS/maturin.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: loongarch64 Building for target loongarch64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.lNNT4I + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf maturin-1.4.0 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/maturin-1.4.0.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd maturin-1.4.0 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/maturin-1.4.0-vendor.tar.xz + STATUS=0 + '[' 0 -ne 0 ']' + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/0001-drop-unavailable-features-and-unused-dev-dependencie.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/0002-drop-incompatible-cargo-flags-from-setuptools_rust.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/0003-remove-shebang-from-non-executable-__init__.py-file.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/bin/mkdir -p .cargo + cat + /usr/bin/tar -xoaf /builddir/build/SOURCES/maturin-1.4.0-vendor.tar.xz + cat + RPM_EC=0 ++ jobs -p + exit 0 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.K5DKKr + umask 022 + cd /builddir/build/BUILD + cd maturin-1.4.0 + echo pyproject-rpm-macros + echo python3-devel + echo 'python3dist(pip) >= 19' + echo 'python3dist(packaging)' + '[' -f pyproject.toml ']' + echo 'python3dist(toml)' + rm -rfv '*.dist-info/' + '[' -f /usr/bin/python3 ']' + RPM_TOXENV=py311 + HOSTNAME=rpmbuild + /usr/bin/python3 -s /usr/lib/rpm/OpenCloudOS/pyproject_buildrequires.py --generate-extras --python3_pkgversion 3 Handling setuptools from build-system.requires Requirement satisfied: setuptools (installed: setuptools 68.0.0) Handling wheel>=0.36.2 from build-system.requires Requirement satisfied: wheel>=0.36.2 (installed: wheel 0.41.2) Handling tomli>=1.1.0 ; python_version<'3.11' from build-system.requires Ignoring alien requirement: tomli>=1.1.0 ; python_version<'3.11' Handling setuptools-rust>=1.4.0 from build-system.requires Requirement satisfied: setuptools-rust>=1.4.0 (installed: setuptools-rust 1.7.0) Handling wheel from get_requires_for_build_wheel Requirement satisfied: wheel (installed: wheel 0.41.2) Handling setuptools-rust>=1.4.0 from get_requires_for_build_wheel Requirement satisfied: setuptools-rust>=1.4.0 (installed: setuptools-rust 1.7.0) warning: no files found matching '*.json' under directory 'src/python_interpreter' Handling tomli >=1.1.0 ; python_version < "3.11" from wheel metadata: Requires-Dist Ignoring alien requirement: tomli >=1.1.0 ; python_version < "3.11" Handling patchelf ; extra == 'patchelf' from wheel metadata: Requires-Dist Ignoring alien requirement: patchelf ; extra == 'patchelf' Handling ziglang ~=0.10.0 ; extra == 'zig' from wheel metadata: Requires-Dist Ignoring alien requirement: ziglang ~=0.10.0 ; extra == 'zig' + RPM_EC=0 ++ jobs -p + exit 0 Wrote: /builddir/build/SRPMS/maturin-1.4.0-2.ocs23.buildreqs.nosrc.rpm Child return code was: 11 Dynamic buildrequires detected Going to install missing buildrequires. See root.log for details. ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -ba --noprep --noclean --target loongarch64 --nodeps /builddir/build/SPECS/maturin.spec'], chrootPath='/home/lib/mock/dist-ocs23-loongarch64-build-226486-16850/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=86400uid=981gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -ba --noprep --noclean --target loongarch64 --nodeps /builddir/build/SPECS/maturin.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: loongarch64 Building for target loongarch64 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.rsjotW + umask 022 + cd /builddir/build/BUILD + cd maturin-1.4.0 + echo pyproject-rpm-macros + echo python3-devel + echo 'python3dist(pip) >= 19' + echo 'python3dist(packaging)' + '[' -f pyproject.toml ']' + echo 'python3dist(toml)' + rm -rfv maturin-1.4.0.dist-info/ removed 'maturin-1.4.0.dist-info/top_level.txt' removed 'maturin-1.4.0.dist-info/METADATA' removed directory 'maturin-1.4.0.dist-info/' + '[' -f /usr/bin/python3 ']' + RPM_TOXENV=py311 + HOSTNAME=rpmbuild + /usr/bin/python3 -s /usr/lib/rpm/OpenCloudOS/pyproject_buildrequires.py --generate-extras --python3_pkgversion 3 Handling setuptools from build-system.requires Requirement satisfied: setuptools (installed: setuptools 68.0.0) Handling wheel>=0.36.2 from build-system.requires Requirement satisfied: wheel>=0.36.2 (installed: wheel 0.41.2) Handling tomli>=1.1.0 ; python_version<'3.11' from build-system.requires Ignoring alien requirement: tomli>=1.1.0 ; python_version<'3.11' Handling setuptools-rust>=1.4.0 from build-system.requires Requirement satisfied: setuptools-rust>=1.4.0 (installed: setuptools-rust 1.7.0) Handling wheel from get_requires_for_build_wheel Requirement satisfied: wheel (installed: wheel 0.41.2) Handling setuptools-rust>=1.4.0 from get_requires_for_build_wheel Requirement satisfied: setuptools-rust>=1.4.0 (installed: setuptools-rust 1.7.0) warning: no files found matching '*.json' under directory 'src/python_interpreter' Handling tomli >=1.1.0 ; python_version < "3.11" from wheel metadata: Requires-Dist Ignoring alien requirement: tomli >=1.1.0 ; python_version < "3.11" Handling patchelf ; extra == 'patchelf' from wheel metadata: Requires-Dist Ignoring alien requirement: patchelf ; extra == 'patchelf' Handling ziglang ~=0.10.0 ; extra == 'zig' from wheel metadata: Requires-Dist Ignoring alien requirement: ziglang ~=0.10.0 ; extra == 'zig' + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.lnaqJq + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd maturin-1.4.0 + export 'RUSTFLAGS=%{build_rustflags}' + RUSTFLAGS='%{build_rustflags}' + mkdir -p /builddir/build/BUILD/maturin-1.4.0/.pyproject-builddir + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection' + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1' + TMPDIR=/builddir/build/BUILD/maturin-1.4.0/.pyproject-builddir + /usr/bin/python3 -m pip wheel --wheel-dir /builddir/build/BUILD/maturin-1.4.0/pyproject-wheeldir --no-deps --use-pep517 --no-build-isolation --disable-pip-version-check --no-clean --progress-bar off --verbose . Processing /builddir/build/BUILD/maturin-1.4.0 Preparing metadata (pyproject.toml): started Running command Preparing metadata (pyproject.toml) running dist_info creating /builddir/build/BUILD/maturin-1.4.0/.pyproject-builddir/pip-modern-metadata-ae2l70f4/maturin.egg-info writing /builddir/build/BUILD/maturin-1.4.0/.pyproject-builddir/pip-modern-metadata-ae2l70f4/maturin.egg-info/PKG-INFO writing dependency_links to /builddir/build/BUILD/maturin-1.4.0/.pyproject-builddir/pip-modern-metadata-ae2l70f4/maturin.egg-info/dependency_links.txt writing requirements to /builddir/build/BUILD/maturin-1.4.0/.pyproject-builddir/pip-modern-metadata-ae2l70f4/maturin.egg-info/requires.txt writing top-level names to /builddir/build/BUILD/maturin-1.4.0/.pyproject-builddir/pip-modern-metadata-ae2l70f4/maturin.egg-info/top_level.txt writing manifest file '/builddir/build/BUILD/maturin-1.4.0/.pyproject-builddir/pip-modern-metadata-ae2l70f4/maturin.egg-info/SOURCES.txt' reading manifest file '/builddir/build/BUILD/maturin-1.4.0/.pyproject-builddir/pip-modern-metadata-ae2l70f4/maturin.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' warning: no files found matching '*.json' under directory 'src/python_interpreter' writing manifest file '/builddir/build/BUILD/maturin-1.4.0/.pyproject-builddir/pip-modern-metadata-ae2l70f4/maturin.egg-info/SOURCES.txt' creating '/builddir/build/BUILD/maturin-1.4.0/.pyproject-builddir/pip-modern-metadata-ae2l70f4/maturin-1.4.0.dist-info' Preparing metadata (pyproject.toml): finished with status 'done' Building wheels for collected packages: maturin Building wheel for maturin (pyproject.toml): started Running command Building wheel for maturin (pyproject.toml) running bdist_wheel running build running build_py creating build creating build/lib.linux-loongarch64-cpython-311 creating build/lib.linux-loongarch64-cpython-311/maturin copying maturin/__init__.py -> build/lib.linux-loongarch64-cpython-311/maturin copying maturin/__main__.py -> build/lib.linux-loongarch64-cpython-311/maturin copying maturin/import_hook.py -> build/lib.linux-loongarch64-cpython-311/maturin running egg_info writing maturin.egg-info/PKG-INFO writing dependency_links to maturin.egg-info/dependency_links.txt writing requirements to maturin.egg-info/requires.txt writing top-level names to maturin.egg-info/top_level.txt reading manifest file 'maturin.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' warning: no files found matching '*.json' under directory 'src/python_interpreter' writing manifest file 'maturin.egg-info/SOURCES.txt' running build_ext running build_rust error: failed to run `rustc` to learn about target-specific information Caused by: process didn't exit successfully: `/usr/bin/rustc - --crate-name ___ --print=file-names '%{build_rustflags}' --crate-type bin --crate-type rlib --crate-type dylib --crate-type cdylib --crate-type staticlib --crate-type proc-macro --print=sysroot --print=split-debuginfo --print=crate-name --print=cfg` (exit status: 1) --- stderr error: multiple input filenames provided (first two filenames are `-` and `%{build_rustflags}`) error: `cargo metadata --manifest-path Cargo.toml --format-version 1` failed with code 101 -- Output captured from stdout: error: subprocess-exited-with-error × Building wheel for maturin (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.11/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py build_wheel /builddir/build/BUILD/maturin-1.4.0/.pyproject-builddir/tmp0vc2pfe9 cwd: /builddir/build/BUILD/maturin-1.4.0 Building wheel for maturin (pyproject.toml): finished with status 'error' ERROR: Failed building wheel for maturin Failed to build maturin ERROR: Failed to build one or more wheels RPM build errors: error: Bad exit status from /var/tmp/rpm-tmp.lnaqJq (%build) Bad exit status from /var/tmp/rpm-tmp.lnaqJq (%build) Child return code was: 1 EXCEPTION: [Error('Command failed: \n # bash --login -c /usr/bin/rpmbuild -ba --noprep --noclean --target loongarch64 --nodeps /builddir/build/SPECS/maturin.spec\n', 1)] Traceback (most recent call last): File "/usr/lib/python3.10/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) File "/usr/lib/python3.10/site-packages/mockbuild/util.py", line 598, in do_with_status raise exception.Error("Command failed: \n # %s\n%s" % (command, output), child.returncode) mockbuild.exception.Error: Command failed: # bash --login -c /usr/bin/rpmbuild -ba --noprep --noclean --target loongarch64 --nodeps /builddir/build/SPECS/maturin.spec