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 x86_64 --nodeps /builddir/build/SPECS/python-maturin.spec'], chrootPath='/var/lib/mock/dist-an23-epao-build-320153-67905/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=990gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target x86_64 --nodeps /builddir/build/SPECS/python-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: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1694390400 Wrote: /builddir/build/SRPMS/python-maturin-1.3.0-1.an23.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -br --noclean --target x86_64 --nodeps /builddir/build/SPECS/python-maturin.spec'], chrootPath='/var/lib/mock/dist-an23-epao-build-320153-67905/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=990gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueraiseExc=FalseprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -br --noclean --target x86_64 --nodeps /builddir/build/SPECS/python-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: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1694390400 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.E3UDQ8 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf maturin-1.3.0 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/maturin-1.3.0.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd maturin-1.3.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + tar -xzf /builddir/build/SOURCES/vendor.tar.gz -C src/ + RPM_EC=0 ++ jobs -p + exit 0 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.hXC8Go + umask 022 + cd /builddir/build/BUILD + cd maturin-1.3.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=py310 + HOSTNAME=rpmbuild + /usr/bin/python3 -s /usr/lib/rpm/anolis/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/python-maturin-1.3.0-1.an23.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 x86_64 --nodeps /builddir/build/SPECS/python-maturin.spec'], chrootPath='/var/lib/mock/dist-an23-epao-build-320153-67905/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=990gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueraiseExc=FalseprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -br --noclean --target x86_64 --nodeps /builddir/build/SPECS/python-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: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1694390400 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.UQfjSh + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf maturin-1.3.0 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/maturin-1.3.0.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd maturin-1.3.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + tar -xzf /builddir/build/SOURCES/vendor.tar.gz -C src/ + RPM_EC=0 ++ jobs -p + exit 0 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.z6d7kD + umask 022 + cd /builddir/build/BUILD + cd maturin-1.3.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=py310 + HOSTNAME=rpmbuild + /usr/bin/python3 -s /usr/lib/rpm/anolis/pyproject_buildrequires.py --generate-extras --python3_pkgversion 3 Handling setuptools from build-system.requires Requirement satisfied: setuptools (installed: setuptools 65.5.1) 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 Requirement not satisfied: 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.5.2) Exiting dependency generation pass: build backend + RPM_EC=0 ++ jobs -p + exit 0 Wrote: /builddir/build/SRPMS/python-maturin-1.3.0-1.an23.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 x86_64 --nodeps /builddir/build/SPECS/python-maturin.spec'], chrootPath='/var/lib/mock/dist-an23-epao-build-320153-67905/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=990gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueraiseExc=FalseprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -br --noclean --target x86_64 --nodeps /builddir/build/SPECS/python-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: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1694390400 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.TlPl7J + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf maturin-1.3.0 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/maturin-1.3.0.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd maturin-1.3.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + tar -xzf /builddir/build/SOURCES/vendor.tar.gz -C src/ + RPM_EC=0 ++ jobs -p + exit 0 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.lUfeWF + umask 022 + cd /builddir/build/BUILD + cd maturin-1.3.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=py310 + HOSTNAME=rpmbuild + /usr/bin/python3 -s /usr/lib/rpm/anolis/pyproject_buildrequires.py --generate-extras --python3_pkgversion 3 Handling setuptools from build-system.requires Requirement satisfied: setuptools (installed: setuptools 65.5.1) Handling wheel>=0.36.2 from build-system.requires Requirement satisfied: wheel>=0.36.2 (installed: wheel 0.38.4) Handling tomli>=1.1.0 ; python_version<'3.11' from build-system.requires Requirement satisfied: tomli>=1.1.0 ; python_version<'3.11' (installed: tomli 2.0.1) Handling setuptools-rust>=1.4.0 from build-system.requires Requirement satisfied: setuptools-rust>=1.4.0 (installed: setuptools-rust 1.5.2) Handling wheel from get_requires_for_build_wheel Requirement satisfied: wheel (installed: wheel 0.38.4) Handling setuptools-rust>=1.4.0 from get_requires_for_build_wheel Requirement satisfied: setuptools-rust>=1.4.0 (installed: setuptools-rust 1.5.2) warning: no files found matching '*.json' under directory 'src/python_interpreter' HOOK STDOUT: running dist_info HOOK STDOUT: creating maturin.egg-info HOOK STDOUT: writing maturin.egg-info/PKG-INFO HOOK STDOUT: writing dependency_links to maturin.egg-info/dependency_links.txt HOOK STDOUT: writing requirements to maturin.egg-info/requires.txt HOOK STDOUT: writing top-level names to maturin.egg-info/top_level.txt HOOK STDOUT: writing manifest file 'maturin.egg-info/SOURCES.txt' HOOK STDOUT: reading manifest file 'maturin.egg-info/SOURCES.txt' HOOK STDOUT: reading manifest template 'MANIFEST.in' HOOK STDOUT: writing manifest file 'maturin.egg-info/SOURCES.txt' HOOK STDOUT: creating '/builddir/build/BUILD/maturin-1.3.0/maturin-1.3.0.dist-info' Handling tomli (>=1.1.0) ; python_version < "3.11" from wheel metadata: Requires-Dist Requirement satisfied: tomli (>=1.1.0) ; python_version < "3.11" (installed: tomli 2.0.1) 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/python-maturin-1.3.0-1.an23.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 x86_64 --nodeps /builddir/build/SPECS/python-maturin.spec'], chrootPath='/var/lib/mock/dist-an23-epao-build-320153-67905/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=990gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -ba --noprep --noclean --target x86_64 --nodeps /builddir/build/SPECS/python-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: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1694390400 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.kHuNQd + umask 022 + cd /builddir/build/BUILD + cd maturin-1.3.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.3.0.dist-info/ removed 'maturin-1.3.0.dist-info/top_level.txt' removed 'maturin-1.3.0.dist-info/METADATA' removed directory 'maturin-1.3.0.dist-info/' + '[' -f /usr/bin/python3 ']' + RPM_TOXENV=py310 + HOSTNAME=rpmbuild + /usr/bin/python3 -s /usr/lib/rpm/anolis/pyproject_buildrequires.py --generate-extras --python3_pkgversion 3 Handling setuptools from build-system.requires Requirement satisfied: setuptools (installed: setuptools 65.5.1) Handling wheel>=0.36.2 from build-system.requires Requirement satisfied: wheel>=0.36.2 (installed: wheel 0.38.4) Handling tomli>=1.1.0 ; python_version<'3.11' from build-system.requires Requirement satisfied: tomli>=1.1.0 ; python_version<'3.11' (installed: tomli 2.0.1) Handling setuptools-rust>=1.4.0 from build-system.requires Requirement satisfied: setuptools-rust>=1.4.0 (installed: setuptools-rust 1.5.2) Handling wheel from get_requires_for_build_wheel Requirement satisfied: wheel (installed: wheel 0.38.4) Handling setuptools-rust>=1.4.0 from get_requires_for_build_wheel Requirement satisfied: setuptools-rust>=1.4.0 (installed: setuptools-rust 1.5.2) warning: no files found matching '*.json' under directory 'src/python_interpreter' HOOK STDOUT: running dist_info HOOK STDOUT: writing maturin.egg-info/PKG-INFO HOOK STDOUT: writing dependency_links to maturin.egg-info/dependency_links.txt HOOK STDOUT: writing requirements to maturin.egg-info/requires.txt HOOK STDOUT: writing top-level names to maturin.egg-info/top_level.txt HOOK STDOUT: reading manifest file 'maturin.egg-info/SOURCES.txt' HOOK STDOUT: reading manifest template 'MANIFEST.in' HOOK STDOUT: writing manifest file 'maturin.egg-info/SOURCES.txt' HOOK STDOUT: creating '/builddir/build/BUILD/maturin-1.3.0/maturin-1.3.0.dist-info' Handling tomli (>=1.1.0) ; python_version < "3.11" from wheel metadata: Requires-Dist Requirement satisfied: tomli (>=1.1.0) ; python_version < "3.11" (installed: tomli 2.0.1) 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.9XvAzx + 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/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/anolis/anolis-hardened-ld -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -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.3.0 + mkdir -p /builddir/build/BUILD/maturin-1.3.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/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/anolis/anolis-hardened-ld -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -Wl,--build-id=sha1 ' + TMPDIR=/builddir/build/BUILD/maturin-1.3.0/.pyproject-builddir + /usr/bin/python3 -m pip wheel --wheel-dir /builddir/build/BUILD/maturin-1.3.0/pyproject-wheeldir --no-deps --use-pep517 --no-build-isolation --disable-pip-version-check --no-clean --progress-bar off --verbose . Looking in indexes: https://mirrors.aliyun.com/pypi/simple/ Processing /builddir/build/BUILD/maturin-1.3.0 Preparing metadata (pyproject.toml): started Running command Preparing metadata (pyproject.toml) running dist_info creating /builddir/build/BUILD/maturin-1.3.0/.pyproject-builddir/pip-modern-metadata-8ufcp_z8/maturin.egg-info writing /builddir/build/BUILD/maturin-1.3.0/.pyproject-builddir/pip-modern-metadata-8ufcp_z8/maturin.egg-info/PKG-INFO writing dependency_links to /builddir/build/BUILD/maturin-1.3.0/.pyproject-builddir/pip-modern-metadata-8ufcp_z8/maturin.egg-info/dependency_links.txt writing requirements to /builddir/build/BUILD/maturin-1.3.0/.pyproject-builddir/pip-modern-metadata-8ufcp_z8/maturin.egg-info/requires.txt writing top-level names to /builddir/build/BUILD/maturin-1.3.0/.pyproject-builddir/pip-modern-metadata-8ufcp_z8/maturin.egg-info/top_level.txt writing manifest file '/builddir/build/BUILD/maturin-1.3.0/.pyproject-builddir/pip-modern-metadata-8ufcp_z8/maturin.egg-info/SOURCES.txt' reading manifest file '/builddir/build/BUILD/maturin-1.3.0/.pyproject-builddir/pip-modern-metadata-8ufcp_z8/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.3.0/.pyproject-builddir/pip-modern-metadata-8ufcp_z8/maturin.egg-info/SOURCES.txt' creating '/builddir/build/BUILD/maturin-1.3.0/.pyproject-builddir/pip-modern-metadata-8ufcp_z8/maturin-1.3.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-x86_64-cpython-310 creating build/lib.linux-x86_64-cpython-310/maturin copying maturin/__init__.py -> build/lib.linux-x86_64-cpython-310/maturin copying maturin/__main__.py -> build/lib.linux-x86_64-cpython-310/maturin copying maturin/import_hook.py -> build/lib.linux-x86_64-cpython-310/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 cargo build --manifest-path Cargo.toml --message-format=json-render-diagnostics --release -v --no-default-features --locked Updating `ustc` index warning: spurious network error (2 tries remaining): [6] Couldn't resolve host name (Could not resolve host: mirrors.ustc.edu.cn) warning: spurious network error (1 tries remaining): [6] Couldn't resolve host name (Could not resolve host: mirrors.ustc.edu.cn) error: failed to get `anyhow` as a dependency of package `maturin v1.3.0 (/builddir/build/BUILD/maturin-1.3.0)` Caused by: failed to query replaced source registry `crates-io` Caused by: download of config.json failed Caused by: failed to download from `https://mirrors.ustc.edu.cn/crates.io-index/config.json` Caused by: [6] Couldn't resolve host name (Could not resolve host: mirrors.ustc.edu.cn) error: `cargo build --manifest-path Cargo.toml --message-format=json-render-diagnostics --release -v --no-default-features --locked` failed with code 101 Building wheel for maturin (pyproject.toml): finished with status 'error' Failed to build maturin 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.10/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py build_wheel /builddir/build/BUILD/maturin-1.3.0/.pyproject-builddir/tmpdm7c_c7g cwd: /builddir/build/BUILD/maturin-1.3.0 ERROR: Failed building wheel for maturin ERROR: Failed to build one or more wheels RPM build errors: error: Bad exit status from /var/tmp/rpm-tmp.9XvAzx (%build) Bad exit status from /var/tmp/rpm-tmp.9XvAzx (%build) Child return code was: 1 EXCEPTION: [Error('Command failed: \n # bash --login -c /usr/bin/rpmbuild -ba --noprep --noclean --target x86_64 --nodeps /builddir/build/SPECS/python-maturin.spec\n', 1)] Traceback (most recent call last): File "/usr/lib/python3.6/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) File "/usr/lib/python3.6/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 x86_64 --nodeps /builddir/build/SPECS/python-maturin.spec