Mock Version: 3.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target aarch64 --nodeps /builddir/build/SPECS/python-tokenizers.spec'], chrootPath='/var/lib/mock/openeuler-23.09-aarch64-1713074002.652787/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=0uid=1000gid=135user='mockbuild'nspawn_args=[]unshare_net=FalseprintOutput=True) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target aarch64 --nodeps /builddir/build/SPECS/python-tokenizers.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 :1: DeprecationWarning: The distutils package is deprecated and slated for removal in Python 3.12. Use setuptools or check PEP 632 for potential alternatives :1: DeprecationWarning: The distutils.sysconfig module is deprecated, use sysconfig instead Building target platforms: aarch64 Building for target aarch64 Wrote: /builddir/build/SRPMS/python-tokenizers-0.15.2-1.src.rpm Child return code was: 0 Mock Version: 3.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target aarch64 --nodeps /builddir/build/SPECS/python-tokenizers.spec'], chrootPath='/var/lib/mock/openeuler-23.09-aarch64-1713074002.652787/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=0uid=1000gid=135user='mockbuild'nspawn_args=[]unshare_net=FalseprintOutput=True) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target aarch64 --nodeps /builddir/build/SPECS/python-tokenizers.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 :1: DeprecationWarning: The distutils package is deprecated and slated for removal in Python 3.12. Use setuptools or check PEP 632 for potential alternatives :1: DeprecationWarning: The distutils.sysconfig module is deprecated, use sysconfig instead Building target platforms: aarch64 Building for target aarch64 Wrote: /builddir/build/SRPMS/python-tokenizers-0.15.2-1.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target aarch64 --nodeps /builddir/build/SPECS/python-tokenizers.spec'], chrootPath='/var/lib/mock/openeuler-23.09-aarch64-1713074002.652787/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=0uid=1000gid=135user='mockbuild'nspawn_args=[]unshare_net=FalseprintOutput=True) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target aarch64 --nodeps /builddir/build/SPECS/python-tokenizers.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: aarch64 Building for target aarch64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.MNvUsv + umask 022 + cd /builddir/build/BUILD + mkdir -vp /builddir/.cargo + cat + tee -a /builddir/.cargo/config [source.crates-io] replace-with = 'mirror' [source.mirror] registry = "https://mirrors.tuna.tsinghua.edu.cn/git/crates.io-index.git" + cd /builddir/build/BUILD + rm -rf tokenizers-0.15.2 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/tokenizers-0.15.2.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd tokenizers-0.15.2 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.VOGRTF + umask 022 + cd /builddir/build/BUILD + cd tokenizers-0.15.2 + cd ./bindings/python + CFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/generic-hardened-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + LDFLAGS='-Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/generic-hardened-ld' + /usr/bin/python3 -mpip wheel --verbose --progress-bar off --disable-pip-version-check --use-pep517 --no-build-isolation --no-deps --wheel-dir ./build . Processing /builddir/build/BUILD/tokenizers-0.15.2/bindings/python Preparing metadata (pyproject.toml): started Running command Preparing metadata (pyproject.toml) warning: Both `/builddir/.cargo/config` and `/builddir/.cargo/config.toml` exist. Using `/builddir/.cargo/config` warning: Both `/builddir/.cargo/config` and `/builddir/.cargo/config.toml` exist. Using `/builddir/.cargo/config` Updating `mirror` index Downloading crates ... warning: spurious network error (3 tries remaining): [28] Timeout was reached (failed to download any data for `aho-corasick v1.1.2` within 30s) warning: spurious network error (3 tries remaining): [28] Timeout was reached (download of `anstream v0.6.11` failed to transfer more than 10 bytes in 30s) warning: spurious network error (3 tries remaining): [28] Timeout was reached (failed to download any data for `anstyle v1.0.6` within 30s) warning: spurious network error (3 tries remaining): [28] Timeout was reached (download of `base64 v0.13.1` failed to transfer more than 10 bytes in 30s) warning: spurious network error (3 tries remaining): [28] Timeout was reached (failed to download any data for `bitflags v1.3.2` within 30s) warning: spurious network error (3 tries remaining): [28] Timeout was reached (download of `clap_builder v4.5.0` failed to transfer more than 10 bytes in 30s) warning: spurious network error (3 tries remaining): [28] Timeout was reached (failed to download any data for `clap_derive v4.5.0` within 30s) warning: spurious network error (3 tries remaining): [28] Timeout was reached (download of `crossbeam-epoch v0.9.18` failed to transfer more than 10 bytes in 30s) warning: spurious network error (3 tries remaining): [28] Timeout was reached (failed to download any data for `crossbeam-utils v0.8.19` within 30s) warning: spurious network error (3 tries remaining): [28] Timeout was reached (download of `derive_builder_core v0.12.0` failed to transfer more than 10 bytes in 30s) warning: spurious network error (3 tries remaining): [28] Timeout was reached (failed to download any data for `derive_builder_macro v0.12.0` within 30s) warning: spurious network error (3 tries remaining): [28] Timeout was reached (download of `esaxx-rs v0.1.10` failed to transfer more than 10 bytes in 30s) warning: spurious network error (3 tries remaining): [28] Timeout was reached (failed to download any data for `fastrand v2.0.1` within 30s) warning: spurious network error (3 tries remaining): [28] Timeout was reached (download of `humantime v2.1.0` failed to transfer more than 10 bytes in 30s) warning: spurious network error (3 tries remaining): [28] Timeout was reached (failed to download any data for `ident_case v1.0.1` within 30s) warning: spurious network error (3 tries remaining): [28] Timeout was reached (download of `itertools v0.11.0` failed to transfer more than 10 bytes in 30s) warning: spurious network error (3 tries remaining): [28] Timeout was reached (download of `lock_api v0.4.11` failed to transfer more than 10 bytes in 30s) warning: spurious network error (3 tries remaining): [28] Timeout was reached (failed to download any data for `itertools v0.12.1` within 30s) warning: spurious network error (3 tries remaining): [28] Timeout was reached (download of `macro_rules_attribute v0.2.0` failed to transfer more than 10 bytes in 30s) warning: spurious network error (3 tries remaining): [28] Timeout was reached (failed to download any data for `log v0.4.20` within 30s) warning: spurious network error (3 tries remaining): [28] Timeout was reached (download of `matrixmultiply v0.3.8` failed to transfer more than 10 bytes in 30s) warning: spurious network error (3 tries remaining): [28] Timeout was reached (failed to download any data for `macro_rules_attribute-proc_macro v0.2.0` within 30s) Downloaded memoffset v0.9.0 (registry `mirror`) Downloaded memchr v2.7.1 (registry `mirror`) Downloaded minimal-lexical v0.2.1 (registry `mirror`) Downloaded monostate v0.1.11 (registry `mirror`) Downloaded monostate-impl v0.1.11 (registry `mirror`) Downloaded nom v7.1.3 (registry `mirror`) Downloaded num-complex v0.4.5 (registry `mirror`) Downloaded num-traits v0.2.18 (registry `mirror`) Downloaded number_prefix v0.4.0 (registry `mirror`) Downloaded numpy v0.20.0 (registry `mirror`) Downloaded once_cell v1.19.0 (registry `mirror`) Downloaded parking_lot v0.12.1 (registry `mirror`) Downloaded pkg-config v0.3.29 (registry `mirror`) Downloaded paste v1.0.14 (registry `mirror`) Downloaded portable-atomic v1.6.0 (registry `mirror`) Downloaded ppv-lite86 v0.2.17 (registry `mirror`) Downloaded proc-macro2 v1.0.78 (registry `mirror`) Downloaded pyo3-build-config v0.20.2 (registry `mirror`) Downloaded pyo3-ffi v0.20.2 (registry `mirror`) Downloaded pyo3-macros v0.20.2 (registry `mirror`) Downloaded pyo3-macros-backend v0.20.2 (registry `mirror`) Downloaded rand v0.8.5 (registry `mirror`) Downloaded rand_core v0.6.4 (registry `mirror`) Downloaded rawpointer v0.2.1 (registry `mirror`) Downloaded rand_chacha v0.3.1 (registry `mirror`) Downloaded rayon v1.8.1 (registry `mirror`) Downloaded rayon-core v1.12.1 (registry `mirror`) Downloaded redox_syscall v0.4.1 (registry `mirror`) Downloaded rayon-cond v0.3.0 (registry `mirror`) Downloaded ryu v1.0.16 (registry `mirror`) Downloaded scopeguard v1.2.0 (registry `mirror`) Downloaded serde v1.0.196 (registry `mirror`) Downloaded serde_derive v1.0.196 (registry `mirror`) Downloaded serde_json v1.0.113 (registry `mirror`) Downloaded smallvec v1.13.1 (registry `mirror`) Downloaded strsim v0.11.0 (registry `mirror`) Downloaded parking_lot_core v0.9.9 (registry `mirror`) Downloaded strsim v0.10.0 (registry `mirror`) Downloaded syn v2.0.48 (registry `mirror`) Downloaded unicode-normalization-alignments v0.1.12 (registry `mirror`) Downloaded unicode-ident v1.0.12 (registry `mirror`) Downloaded thiserror v1.0.56 (registry `mirror`) Downloaded termcolor v1.4.1 (registry `mirror`) Downloaded tempfile v3.10.0 (registry `mirror`) Downloaded unicode-segmentation v1.11.0 (registry `mirror`) Downloaded unicode-width v0.1.11 (registry `mirror`) Downloaded rustc-hash v1.1.0 (registry `mirror`) Downloaded quote v1.0.35 (registry `mirror`) Downloaded onig v6.4.0 (registry `mirror`) Downloaded num-integer v0.1.46 (registry `mirror`) Downloaded target-lexicon v0.12.13 (registry `mirror`) Downloaded thiserror-impl v1.0.56 (registry `mirror`) Downloaded syn v1.0.109 (registry `mirror`) Downloaded unindent v0.2.3 (registry `mirror`) Downloaded winapi-util v0.1.6 (registry `mirror`) Downloaded unicode_categories v0.1.1 (registry `mirror`) Downloaded ndarray v0.15.6 (registry `mirror`) Downloaded windows-targets v0.52.0 (registry `mirror`) Downloaded regex v1.10.3 (registry `mirror`) Downloaded windows-targets v0.48.5 (registry `mirror`) Downloaded wasi v0.11.0+wasi-snapshot-preview1 (registry `mirror`) Downloaded utf8parse v0.2.1 (registry `mirror`) Downloaded regex-syntax v0.8.2 (registry `mirror`) Downloaded pyo3 v0.20.2 (registry `mirror`) Downloaded rustix v0.38.31 (registry `mirror`) Downloaded windows_aarch64_gnullvm v0.52.0 (registry `mirror`) Downloaded windows_aarch64_gnullvm v0.48.5 (registry `mirror`) Downloaded spm_precompiled v0.1.4 (registry `mirror`) Downloaded regex-automata v0.4.5 (registry `mirror`) Downloaded onig_sys v69.8.1 (registry `mirror`) Downloaded windows_aarch64_msvc v0.48.5 (registry `mirror`) Downloaded windows_i686_gnu v0.52.0 (registry `mirror`) Downloaded windows_i686_msvc v0.48.5 (registry `mirror`) Downloaded windows_i686_gnu v0.48.5 (registry `mirror`) Downloaded windows_aarch64_msvc v0.52.0 (registry `mirror`) Downloaded windows_x86_64_gnu v0.48.5 (registry `mirror`) Downloaded windows_i686_msvc v0.52.0 (registry `mirror`) Downloaded winapi v0.3.9 (registry `mirror`) Downloaded windows-sys v0.52.0 (registry `mirror`) Downloaded winapi-x86_64-pc-windows-gnu v0.4.0 (registry `mirror`) Downloaded winapi-i686-pc-windows-gnu v0.4.0 (registry `mirror`) Downloaded windows_x86_64_gnullvm v0.52.0 (registry `mirror`) Downloaded anstyle-wincon v3.0.2 (registry `mirror`) Downloaded anstream v0.6.11 (registry `mirror`) Downloaded bitflags v2.4.2 (registry `mirror`) Downloaded autocfg v1.1.0 (registry `mirror`) Downloaded anstyle-parse v0.2.3 (registry `mirror`) Downloaded aho-corasick v1.1.2 (registry `mirror`) Downloaded derive_builder v0.12.0 (registry `mirror`) Downloaded humantime v2.1.0 (registry `mirror`) Downloaded getrandom v0.2.12 (registry `mirror`) Downloaded anstyle-query v1.0.2 (registry `mirror`) Downloaded darling_macro v0.14.4 (registry `mirror`) Downloaded anstyle v1.0.6 (registry `mirror`) Downloaded base64 v0.13.1 (registry `mirror`) Downloaded cc v1.0.83 (registry `mirror`) Downloaded fnv v1.0.7 (registry `mirror`) Downloaded windows_x86_64_gnu v0.52.0 (registry `mirror`) Downloaded windows_x86_64_msvc v0.52.0 (registry `mirror`) Downloaded windows_x86_64_msvc v0.48.5 (registry `mirror`) Downloaded windows_x86_64_gnullvm v0.48.5 (registry `mirror`) warning: spurious network error (3 tries remaining): [28] Timeout was reached (download of `linux-raw-sys v0.4.13` failed to transfer more than 10 bytes in 30s) warning: spurious network error (3 tries remaining): [28] Timeout was reached (failed to download any data for `cfg-if v1.0.0` within 30s) Downloaded colorchoice v1.0.0 (registry `mirror`) Downloaded darling v0.14.4 (registry `mirror`) Downloaded fastrand v2.0.1 (registry `mirror`) Downloaded instant v0.1.12 (registry `mirror`) Downloaded clap v4.5.0 (registry `mirror`) Downloaded either v1.10.0 (registry `mirror`) Downloaded derive_builder_core v0.12.0 (registry `mirror`) Downloaded itoa v1.0.10 (registry `mirror`) Downloaded ident_case v1.0.1 (registry `mirror`) Downloaded indicatif v0.17.8 (registry `mirror`) Downloaded errno v0.3.8 (registry `mirror`) Downloaded darling_core v0.14.4 (registry `mirror`) Downloaded clap_builder v4.5.0 (registry `mirror`) Downloaded crossbeam-utils v0.8.19 (registry `mirror`) Downloaded hermit-abi v0.3.5 (registry `mirror`) Downloaded crossbeam-epoch v0.9.18 (registry `mirror`) Downloaded esaxx-rs v0.1.10 (registry `mirror`) Downloaded matrixmultiply v0.3.8 (registry `mirror`) Downloaded encode_unicode v0.3.6 (registry `mirror`) Downloaded heck v0.4.1 (registry `mirror`) Downloaded console v0.15.8 (registry `mirror`) Downloaded macro_rules_attribute-proc_macro v0.2.0 (registry `mirror`) Downloaded lazy_static v1.4.0 (registry `mirror`) Downloaded log v0.4.20 (registry `mirror`) Downloaded itertools v0.11.0 (registry `mirror`) Downloaded is-terminal v0.4.12 (registry `mirror`) Downloaded itertools v0.12.1 (registry `mirror`) Downloaded derive_builder_macro v0.12.0 (registry `mirror`) Downloaded lock_api v0.4.11 (registry `mirror`) Downloaded macro_rules_attribute v0.2.0 (registry `mirror`) Downloaded libc v0.2.153 (registry `mirror`) Downloaded indoc v2.0.4 (registry `mirror`) Downloaded crossbeam-deque v0.8.5 (registry `mirror`) Downloaded cfg-if v1.0.0 (registry `mirror`) Downloaded bitflags v1.3.2 (registry `mirror`) Downloaded clap_lex v0.7.0 (registry `mirror`) Downloaded env_logger v0.10.2 (registry `mirror`) Downloaded clap_derive v4.5.0 (registry `mirror`) Downloaded linux-raw-sys v0.4.13 (registry `mirror`) 🍹 Building a mixed python/rust project 🔗 Found pyo3 bindings 🐍 Found CPython 3.11 at /usr/bin/python3 📡 Using build options features, bindings from pyproject.toml tokenizers-0.15.2.dist-info Checking for Rust toolchain.... Running `maturin pep517 write-dist-info --metadata-directory /tmp/pip-modern-metadata-293gkwr7 --interpreter /usr/bin/python3` Preparing metadata (pyproject.toml): finished with status 'done' Building wheels for collected packages: tokenizers Building wheel for tokenizers (pyproject.toml): started Running command Building wheel for tokenizers (pyproject.toml) Running `maturin pep517 build-wheel -i /usr/bin/python3 --compatibility off` warning: Both `/builddir/.cargo/config` and `/builddir/.cargo/config.toml` exist. Using `/builddir/.cargo/config` warning: Both `/builddir/.cargo/config` and `/builddir/.cargo/config.toml` exist. Using `/builddir/.cargo/config` 🍹 Building a mixed python/rust project 🔗 Found pyo3 bindings 🐍 Found CPython 3.11 at /usr/bin/python3 📡 Using build options features, bindings from pyproject.toml warning: Both `/builddir/.cargo/config` and `/builddir/.cargo/config.toml` exist. Using `/builddir/.cargo/config` warning: Both `/builddir/.cargo/config` and `/builddir/.cargo/config.toml` exist. Using `/builddir/.cargo/config` error: package `clap v4.5.0` cannot be built because it requires rustc 1.74 or newer, while the currently active rustc version is 1.71.1 Either upgrade to rustc 1.74 or newer, or use cargo update -p clap@4.5.0 --precise ver where `ver` is the latest version of `clap` supporting rustc 1.71.1 💥 maturin failed Caused by: Failed to build a native library through cargo Caused by: Cargo build finished with "exit status: 101": `PYO3_ENVIRONMENT_SIGNATURE="cpython-3.11-64bit" PYO3_PYTHON="/usr/bin/python3" PYTHON_SYS_EXECUTABLE="/usr/bin/python3" "cargo" "rustc" "--features" "pyo3/extension-module" "--message-format" "json-render-diagnostics" "--manifest-path" "/builddir/build/BUILD/tokenizers-0.15.2/bindings/python/Cargo.toml" "--release" "--lib"` Error: command ['maturin', 'pep517', 'build-wheel', '-i', '/usr/bin/python3', '--compatibility', 'off'] returned non-zero exit status 1 error: subprocess-exited-with-error × Building wheel for tokenizers (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 /tmp/tmpqls8rfer cwd: /builddir/build/BUILD/tokenizers-0.15.2/bindings/python Building wheel for tokenizers (pyproject.toml): finished with status 'error' ERROR: Failed building wheel for tokenizers Failed to build tokenizers ERROR: Failed to build one or more wheels error: Bad exit status from /var/tmp/rpm-tmp.VOGRTF (%build) Bad exit status from /var/tmp/rpm-tmp.VOGRTF (%build) RPM build errors: Child return code was: 1 EXCEPTION: [Error('Command failed: \n # bash --login -c /usr/bin/rpmbuild -bb --target aarch64 --nodeps /builddir/build/SPECS/python-tokenizers.spec\n', 1)] Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) File "/usr/lib/python3.9/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 -bb --target aarch64 --nodeps /builddir/build/SPECS/python-tokenizers.spec