Mock Version: 3.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/python-safetensors.spec'], chrootPath='/var/lib/mock/openeuler-23.09-x86_64-1713081218.207063/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 x86_64 --nodeps /builddir/build/SPECS/python-safetensors.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: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/python-safetensors-0.4.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 x86_64 --nodeps /builddir/build/SPECS/python-safetensors.spec'], chrootPath='/var/lib/mock/openeuler-23.09-x86_64-1713081218.207063/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 x86_64 --nodeps /builddir/build/SPECS/python-safetensors.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: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/python-safetensors-0.4.2-1.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/python-safetensors.spec'], chrootPath='/var/lib/mock/openeuler-23.09-x86_64-1713081218.207063/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 x86_64 --nodeps /builddir/build/SPECS/python-safetensors.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 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.uyNIOY + umask 022 + cd /builddir/build/BUILD + mkdir -vp /builddir/.cargo + cat + tee -a /builddir/.cargo/config [source.crates-io] replace-with = 'rsproxy-sparse' [source.rsproxy] registry = "https://rsproxy.cn/crates.io-index" [source.rsproxy-sparse] registry = "sparse+https://rsproxy.cn/index/" [registries.rsproxy] index = "https://rsproxy.cn/crates.io-index" [net] git-fetch-with-cli = true + cd /builddir/build/BUILD + rm -rf safetensors-0.4.2 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/safetensors-0.4.2.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd safetensors-0.4.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.Rhotcn + umask 022 + cd /builddir/build/BUILD + cd safetensors-0.4.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 -m64 -mtune=generic -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/safetensors-0.4.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 `rsproxy-sparse` index Downloading crates ... Downloaded heck v0.4.1 (registry `rsproxy-sparse`) Downloaded bitflags v1.3.2 (registry `rsproxy-sparse`) Downloaded scopeguard v1.2.0 (registry `rsproxy-sparse`) Downloaded autocfg v1.1.0 (registry `rsproxy-sparse`) Downloaded parking_lot v0.12.1 (registry `rsproxy-sparse`) Downloaded memmap2 v0.5.10 (registry `rsproxy-sparse`) Downloaded serde v1.0.195 (registry `rsproxy-sparse`) Downloaded parking_lot_core v0.9.9 (registry `rsproxy-sparse`) Downloaded libc v0.2.152 (registry `rsproxy-sparse`) Downloaded indoc v2.0.4 (registry `rsproxy-sparse`) Downloaded windows-targets v0.48.5 (registry `rsproxy-sparse`) Downloaded pyo3-ffi v0.20.2 (registry `rsproxy-sparse`) Downloaded quote v1.0.35 (registry `rsproxy-sparse`) Downloaded unicode-ident v1.0.12 (registry `rsproxy-sparse`) Downloaded proc-macro2 v1.0.78 (registry `rsproxy-sparse`) Downloaded windows_i686_gnu v0.48.5 (registry `rsproxy-sparse`) Downloaded syn v2.0.48 (registry `rsproxy-sparse`) Downloaded windows_aarch64_gnullvm v0.48.5 (registry `rsproxy-sparse`) Downloaded pyo3-macros-backend v0.20.2 (registry `rsproxy-sparse`) Downloaded windows_i686_msvc v0.48.5 (registry `rsproxy-sparse`) Downloaded itoa v1.0.10 (registry `rsproxy-sparse`) Downloaded unindent v0.2.3 (registry `rsproxy-sparse`) Downloaded memoffset v0.9.0 (registry `rsproxy-sparse`) Downloaded cfg-if v1.0.0 (registry `rsproxy-sparse`) Downloaded target-lexicon v0.12.13 (registry `rsproxy-sparse`) Downloaded serde_json v1.0.111 (registry `rsproxy-sparse`) Downloaded ryu v1.0.16 (registry `rsproxy-sparse`) Downloaded once_cell v1.19.0 (registry `rsproxy-sparse`) Downloaded serde_derive v1.0.195 (registry `rsproxy-sparse`) Downloaded lock_api v0.4.11 (registry `rsproxy-sparse`) Downloaded smallvec v1.13.1 (registry `rsproxy-sparse`) Downloaded redox_syscall v0.4.1 (registry `rsproxy-sparse`) Downloaded windows_x86_64_gnullvm v0.48.5 (registry `rsproxy-sparse`) Downloaded windows_x86_64_msvc v0.48.5 (registry `rsproxy-sparse`) Downloaded pyo3-build-config v0.20.2 (registry `rsproxy-sparse`) Downloaded pyo3 v0.20.2 (registry `rsproxy-sparse`) Downloaded windows_aarch64_msvc v0.48.5 (registry `rsproxy-sparse`) Downloaded windows_x86_64_gnu v0.48.5 (registry `rsproxy-sparse`) Downloaded pyo3-macros v0.20.2 (registry `rsproxy-sparse`) 🍹 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 safetensors-0.4.2.dist-info Checking for Rust toolchain.... Running `maturin pep517 write-dist-info --metadata-directory /tmp/pip-modern-metadata-bifscns6 --interpreter /usr/bin/python3` Preparing metadata (pyproject.toml): finished with status 'done' Building wheels for collected packages: safetensors Building wheel for safetensors (pyproject.toml): started Running command Building wheel for safetensors (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` Compiling target-lexicon v0.12.13 Compiling proc-macro2 v1.0.78 Compiling unicode-ident v1.0.12 Compiling autocfg v1.1.0 Compiling once_cell v1.19.0 Compiling libc v0.2.152 Compiling lock_api v0.4.11 Compiling serde v1.0.195 Compiling quote v1.0.35 Compiling pyo3-build-config v0.20.2 Compiling syn v2.0.48 Compiling parking_lot_core v0.9.9 Compiling memoffset v0.9.0 Compiling smallvec v1.13.1 Compiling cfg-if v1.0.0 Compiling scopeguard v1.2.0 Compiling serde_json v1.0.111 Compiling heck v0.4.1 Compiling ryu v1.0.16 Compiling itoa v1.0.10 Compiling parking_lot v0.12.1 Compiling unindent v0.2.3 Compiling indoc v2.0.4 Compiling pyo3-ffi v0.20.2 Compiling pyo3 v0.20.2 Compiling memmap2 v0.5.10 Compiling pyo3-macros-backend v0.20.2 Compiling serde_derive v1.0.195 Compiling pyo3-macros v0.20.2 Compiling safetensors v0.4.2 (/builddir/build/BUILD/safetensors-0.4.2/safetensors) Compiling safetensors-python v0.4.2 (/builddir/build/BUILD/safetensors-0.4.2/bindings/python) Finished release [optimized] target(s) in 18.42s 📦 Built wheel for CPython 3.11 to /builddir/build/BUILD/safetensors-0.4.2/bindings/python/target/wheels/safetensors-0.4.2-cp311-cp311-linux_x86_64.whl /builddir/build/BUILD/safetensors-0.4.2/bindings/python/target/wheels/safetensors-0.4.2-cp311-cp311-linux_x86_64.whl Building wheel for safetensors (pyproject.toml): finished with status 'done' Created wheel for safetensors: filename=safetensors-0.4.2-cp311-cp311-linux_x86_64.whl size=444862 sha256=dadde49e5213e1792831f177e32410afe9113feb5acc7819a003c6596d3d47df Stored in directory: /tmp/pip-ephem-wheel-cache-be49252n/wheels/4d/cc/97/4972040c1109e1478713b1d213e7ab17b167d7f5fd32cb4a84 Successfully built safetensors + sleep 1 + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.5Si8Cq + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/python-safetensors-0.4.2-1.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/python-safetensors-0.4.2-1.x86_64 ++ dirname /builddir/build/BUILDROOT/python-safetensors-0.4.2-1.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/python-safetensors-0.4.2-1.x86_64 + cd safetensors-0.4.2 + cd ./bindings/python ++ ls ./build/safetensors-0.4.2-cp311-cp311-linux_x86_64.whl ++ xargs basename --multiple ++ sed -E 's/([^-]+)-([^-]+)-.+\.whl/\1==\2/' + specifier=safetensors==0.4.2 + 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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection ' + LDFLAGS='-Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/generic-hardened-ld' + /usr/bin/python3 -mpip install --verbose --progress-bar off --disable-pip-version-check --root /builddir/build/BUILDROOT/python-safetensors-0.4.2-1.x86_64 --no-compile --ignore-installed --no-deps --no-index --find-links ./build safetensors==0.4.2 Using pip 23.1.2 from /usr/lib/python3.11/site-packages/pip (python 3.11) Looking in links: ./build Processing ./build/safetensors-0.4.2-cp311-cp311-linux_x86_64.whl Installing collected packages: safetensors Successfully installed safetensors-0.4.2 + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip /usr/bin/strip + /usr/lib/rpm/brp-strip-comment-note /usr/bin/strip /usr/bin/objdump + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1 1 Bytecompiling .py files below /builddir/build/BUILDROOT/python-safetensors-0.4.2-1.x86_64/usr/lib64/python3.11 using /usr/bin/python3.11 + /usr/lib/rpm/brp-python-hardlink Processing files: python3-safetensors-0.4.2-1.x86_64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.PTwJb3 + umask 022 + cd /builddir/build/BUILD + cd safetensors-0.4.2 + DOCDIR=/builddir/build/BUILDROOT/python-safetensors-0.4.2-1.x86_64/usr/share/doc/python3-safetensors + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/python-safetensors-0.4.2-1.x86_64/usr/share/doc/python3-safetensors + cp -pr README.md /builddir/build/BUILDROOT/python-safetensors-0.4.2-1.x86_64/usr/share/doc/python3-safetensors + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.v1mCUd + umask 022 + cd /builddir/build/BUILD + cd safetensors-0.4.2 + LICENSEDIR=/builddir/build/BUILDROOT/python-safetensors-0.4.2-1.x86_64/usr/share/licenses/python3-safetensors + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/python-safetensors-0.4.2-1.x86_64/usr/share/licenses/python3-safetensors + cp -pr LICENSE /builddir/build/BUILDROOT/python-safetensors-0.4.2-1.x86_64/usr/share/licenses/python3-safetensors + RPM_EC=0 ++ jobs -p + exit 0 /usr/lib/rpm/pythondistdeps.py:105: DeprecationWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html from pkg_resources import Distribution, FileMetadata, PathMetadata, Requirement /usr/lib/rpm/pythondistdeps.py:105: DeprecationWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html from pkg_resources import Distribution, FileMetadata, PathMetadata, Requirement Provides: python3-safetensors = 0.4.2-1 python3-safetensors(x86-64) = 0.4.2-1 python3.11dist(safetensors) = 0.4.2 python3dist(safetensors) = 0.4.2 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PartialHardlinkSets) <= 4.0.4-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: ld-linux-x86-64.so.2()(64bit) ld-linux-x86-64.so.2(GLIBC_2.3)(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.14)(64bit) libc.so.6(GLIBC_2.17)(64bit) libc.so.6(GLIBC_2.18)(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.25)(64bit) libc.so.6(GLIBC_2.28)(64bit) libc.so.6(GLIBC_2.3)(64bit) libc.so.6(GLIBC_2.3.4)(64bit) libc.so.6(GLIBC_2.33)(64bit) libc.so.6(GLIBC_2.34)(64bit) libgcc_s.so.1()(64bit) libgcc_s.so.1(GCC_3.0)(64bit) libgcc_s.so.1(GCC_3.3)(64bit) libgcc_s.so.1(GCC_4.2.0)(64bit) python(abi) = 3.11 rtld(GNU_HASH) Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/python-safetensors-0.4.2-1.x86_64 Wrote: /builddir/build/RPMS/python3-safetensors-0.4.2-1.x86_64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.20ZS8v + umask 022 + cd /builddir/build/BUILD + cd safetensors-0.4.2 + /usr/bin/rm -rf /builddir/build/BUILDROOT/python-safetensors-0.4.2-1.x86_64 + RPM_EC=0 ++ jobs -p + exit 0 Executing(rmbuild): /bin/sh -e /var/tmp/rpm-tmp.kEAU6O + umask 022 + cd /builddir/build/BUILD + rm -rf safetensors-0.4.2 safetensors-0.4.2.gemspec + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0