Mock Version: 4.1 Mock Version: 4.1 Mock Version: 4.1 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target x86_64 --nodeps /builddir/build/SPECS/rust-pyo3.spec'], chrootPath='/var/lib/mock/dist-ocs23-base-build-316007-33186/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=982gid=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/rust-pyo3.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 /etc/profile.d/colorxzgrep.sh: line 1: /usr/libexec/grepconf.sh: No such file or directory Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/rust-pyo3-0.22.2-2.ocs23.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/rust-pyo3.spec'], chrootPath='/var/lib/mock/dist-ocs23-base-build-316007-33186/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=982gid=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/rust-pyo3.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 /etc/profile.d/colorxzgrep.sh: line 1: /usr/libexec/grepconf.sh: No such file or directory Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.QRezdL + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf pyo3-0.22.2 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/pyo3-0.22.2.crate + STATUS=0 + '[' 0 -ne 0 ']' + cd pyo3-0.22.2 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/pyo3-fix-metadata.diff + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/0001-Make-unsafe-subinterpreter-support-available-via-cfg.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/CVE-2024-9979.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f The text leading up to this was: -------------------------- |From 675e50592c9e3bea108c139dc725a209c3b50628 Mon Sep 17 00:00:00 2001 |From: Nathan Goldbaum |Date: Tue, 1 Oct 2024 23:24:29 -0600 |Subject: [PATCH 1/2] Add PyWeakref_GetRef and use it in weakref wrappers. | (#4528) | |* add FFI bindings and a compat definition for PyWeakref_GetRef | |* implement get_object method of weakref wrappers using PyWeakref_GetRef | |* add changelog | |* rename _ref argument to reference | |* mark PyWeakref_GetObject as deprecated | |* mark test as using deprecated API item | |* update docs to reference PyWeakref_GetRef semantics | |* remove weakref methods that return borrowed references | |* fix lints about unused imports |--- | pyo3-ffi/src/compat/py_3_13.rs | 33 ++ | pyo3-ffi/src/weakrefobject.rs | 9 +- | src/types/weakref/anyref.rs | 685 +++------------------------------ | src/types/weakref/proxy.rs | 39 +- | src/types/weakref/reference.rs | 29 +- | 8 files changed, 159 insertions(+), 636 deletions(-) | |diff --git a/pyo3-ffi/src/compat/py_3_13.rs b/pyo3-ffi/src/compat/py_3_13.rs |index 75c4cd101ae..23ab4918afe 100644 |--- a/pyo3-ffi/src/compat/py_3_13.rs |+++ b/pyo3-ffi/src/compat/py_3_13.rs -------------------------- No file to patch. Skipping patch. 1 out of 1 hunk ignored The text leading up to this was: -------------------------- |diff --git a/pyo3-ffi/src/weakrefobject.rs b/pyo3-ffi/src/weakrefobject.rs |index 7e11a9012e7..305dc290fa8 100644 |--- a/pyo3-ffi/src/weakrefobject.rs |+++ b/pyo3-ffi/src/weakrefobject.rs -------------------------- No file to patch. Skipping patch. 1 out of 1 hunk ignored error: Bad exit status from /var/tmp/rpm-tmp.QRezdL (%prep) Bad exit status from /var/tmp/rpm-tmp.QRezdL (%prep) RPM build errors: Child return code was: 1