Mock Version: 5.0 Mock Version: 5.0 Mock Version: 5.0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target riscv64 --nodeps /builddir/build/SPECS/rust-pyo3.spec'], chrootPath='/var/lib/mock/f40-build-2101599-50504/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=864000uid=996gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target riscv64 --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 Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1703203200 Wrote: /builddir/build/SRPMS/rust-pyo3-0.20.0-1.fc40.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -br --noclean --target riscv64 --nodeps /builddir/build/SPECS/rust-pyo3.spec'], chrootPath='/var/lib/mock/f40-build-2101599-50504/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=864000uid=996gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueraiseExc=FalseprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -br --noclean --target riscv64 --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 Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1703203200 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.ny4J7o + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf pyo3-0.20.0 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/pyo3-0.20.0.crate + STATUS=0 + '[' 0 -ne 0 ']' + cd pyo3-0.20.0 + rm -rf /builddir/build/BUILD/pyo3-0.20.0-SPECPARTS + /usr/bin/mkdir -p /builddir/build/BUILD/pyo3-0.20.0-SPECPARTS + /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-ignore-doctests-with-missing-send_wrapper-dependency.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + rm -r emscripten/ newsfragments/ + rm tests/test_pep_587.rs + set -euo pipefail + /usr/bin/mkdir -p target/rpm + /usr/bin/ln -s rpm target/release + /usr/bin/rm -rf .cargo/ + /usr/bin/mkdir -p .cargo + cat + cat + /usr/bin/rm -f Cargo.lock + /usr/bin/rm -f Cargo.toml.orig + RPM_EC=0 ++ jobs -p + exit 0 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.DQBx8E + umask 022 + cd /builddir/build/BUILD + cd pyo3-0.20.0 + /usr/bin/cargo2rpm --path Cargo.toml buildrequires --all-features --with-check + RPM_EC=0 ++ jobs -p + exit 0 Wrote: /builddir/build/SRPMS/rust-pyo3-0.20.0-1.fc40.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 riscv64 --nodeps /builddir/build/SPECS/rust-pyo3.spec'], chrootPath='/var/lib/mock/f40-build-2101599-50504/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=864000uid=996gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueraiseExc=FalseprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -br --noclean --target riscv64 --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 Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1703203200 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.KRjOaH + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf pyo3-0.20.0 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/pyo3-0.20.0.crate + STATUS=0 + '[' 0 -ne 0 ']' + cd pyo3-0.20.0 + rm -rf /builddir/build/BUILD/pyo3-0.20.0-SPECPARTS + /usr/bin/mkdir -p /builddir/build/BUILD/pyo3-0.20.0-SPECPARTS + /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-ignore-doctests-with-missing-send_wrapper-dependency.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + rm -r emscripten/ newsfragments/ + rm tests/test_pep_587.rs + set -euo pipefail + /usr/bin/mkdir -p target/rpm + /usr/bin/ln -s rpm target/release + /usr/bin/rm -rf .cargo/ + /usr/bin/mkdir -p .cargo + cat + cat + /usr/bin/rm -f Cargo.lock + /usr/bin/rm -f Cargo.toml.orig + RPM_EC=0 ++ jobs -p + exit 0 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.bUWxlB + umask 022 + cd /builddir/build/BUILD + cd pyo3-0.20.0 + /usr/bin/cargo2rpm --path Cargo.toml buildrequires --all-features --with-check + RPM_EC=0 ++ jobs -p + exit 0 Wrote: /builddir/build/SRPMS/rust-pyo3-0.20.0-1.fc40.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 riscv64 --nodeps /builddir/build/SPECS/rust-pyo3.spec'], chrootPath='/var/lib/mock/f40-build-2101599-50504/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=864000uid=996gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -ba --noprep --noclean --target riscv64 --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 Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1703203200 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.C3luu9 + umask 022 + cd /builddir/build/BUILD + cd pyo3-0.20.0 + /usr/bin/cargo2rpm --path Cargo.toml buildrequires --all-features --with-check + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.qa3lSD + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd pyo3-0.20.0 + /usr/bin/env CARGO_HOME=.cargo RUSTC_BOOTSTRAP=1 'RUSTFLAGS=-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' /usr/bin/cargo build -j8 -Z avoid-dev-deps --profile rpm Compiling target-lexicon v0.12.12 Compiling autocfg v1.1.0 Compiling proc-macro2 v1.0.70 Compiling once_cell v1.19.0 Compiling unicode-ident v1.0.12 Compiling libc v0.2.150 Compiling parking_lot_core v0.9.9 Compiling smallvec v1.11.2 Running `/usr/bin/rustc --crate-name build_script_build --edition=2018 /usr/share/cargo/registry/target-lexicon-0.12.12/build.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type bin --emit=dep-info,link -C embed-bitcode=no -C debug-assertions=off --cfg 'feature="default"' -C metadata=5f9a2c584a8b46f6 -C extra-filename=-5f9a2c584a8b46f6 --out-dir /builddir/build/BUILD/pyo3-0.20.0/target/rpm/build/target-lexicon-5f9a2c584a8b46f6 -L dependency=/builddir/build/BUILD/pyo3-0.20.0/target/rpm/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn` Running `/usr/bin/rustc --crate-name autocfg /usr/share/cargo/registry/autocfg-1.1.0/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debug-assertions=off -C metadata=43486544924e9a9a -C extra-filename=-43486544924e9a9a --out-dir /builddir/build/BUILD/pyo3-0.20.0/target/rpm/deps -L dependency=/builddir/build/BUILD/pyo3-0.20.0/target/rpm/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn` Running `/usr/bin/rustc --crate-name build_script_build --edition=2021 /usr/share/cargo/registry/proc-macro2-1.0.70/build.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type bin --emit=dep-info,link -C embed-bitcode=no -C debug-assertions=off --cfg 'feature="proc-macro"' -C metadata=a63aaa7e78367366 -C extra-filename=-a63aaa7e78367366 --out-dir /builddir/build/BUILD/pyo3-0.20.0/target/rpm/build/proc-macro2-a63aaa7e78367366 -L dependency=/builddir/build/BUILD/pyo3-0.20.0/target/rpm/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn` Running `/usr/bin/rustc --crate-name once_cell --edition=2021 /usr/share/cargo/registry/once_cell-1.19.0/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debug-assertions=off --cfg 'feature="alloc"' --cfg 'feature="default"' --cfg 'feature="race"' --cfg 'feature="std"' -C metadata=28731d9811b51f2a -C extra-filename=-28731d9811b51f2a --out-dir /builddir/build/BUILD/pyo3-0.20.0/target/rpm/deps -L dependency=/builddir/build/BUILD/pyo3-0.20.0/target/rpm/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn` Running `/usr/bin/rustc --crate-name unicode_ident --edition=2018 /usr/share/cargo/registry/unicode-ident-1.0.12/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debug-assertions=off -C metadata=d30ae545f2f29cdc -C extra-filename=-d30ae545f2f29cdc --out-dir /builddir/build/BUILD/pyo3-0.20.0/target/rpm/deps -L dependency=/builddir/build/BUILD/pyo3-0.20.0/target/rpm/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn` Running `/usr/bin/rustc --crate-name build_script_build /usr/share/cargo/registry/libc-0.2.150/build.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type bin --emit=dep-info,link -C embed-bitcode=no -C debug-assertions=off --cfg 'feature="default"' --cfg 'feature="std"' -C metadata=83a5b7401395b39b -C extra-filename=-83a5b7401395b39b --out-dir /builddir/build/BUILD/pyo3-0.20.0/target/rpm/build/libc-83a5b7401395b39b -L dependency=/builddir/build/BUILD/pyo3-0.20.0/target/rpm/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn` Running `/usr/bin/rustc --crate-name smallvec --edition=2018 /usr/share/cargo/registry/smallvec-1.11.2/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no -C codegen-units=1 -C debuginfo=2 -C metadata=c09067de20e63cd2 -C extra-filename=-c09067de20e63cd2 --out-dir /builddir/build/BUILD/pyo3-0.20.0/target/rpm/deps -L dependency=/builddir/build/BUILD/pyo3-0.20.0/target/rpm/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn` Running `/usr/bin/rustc --crate-name build_script_build --edition=2018 /usr/share/cargo/registry/parking_lot_core-0.9.9/build.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type bin --emit=dep-info,link -C embed-bitcode=no -C debug-assertions=off -C metadata=5167666c8cd310d5 -C extra-filename=-5167666c8cd310d5 --out-dir /builddir/build/BUILD/pyo3-0.20.0/target/rpm/build/parking_lot_core-5167666c8cd310d5 -L dependency=/builddir/build/BUILD/pyo3-0.20.0/target/rpm/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn` error: rustc interrupted by SIGSEGV, printing backtrace /lib64/lp64d/librustc_driver-c309084a720e38a9.so(+0x9de4b2)[0xffffffb7fde4b2] linux-vdso.so.1(__vdso_rt_sigreturn+0x0)[0xffffffba97d800] /lib64/lp64d/libc.so.6(read+0x4a)[0xffffffb73e049e] /lib64/lp64d/libstd-befa7e56df894fae.so(_ZN3std3sys4unix2fs4File4read17h9832a648c413ac6dE+0x26)[0xffffffb7540250] /lib64/lp64d/librustc_driver-c309084a720e38a9.so(+0x2323fba)[0xffffffb9923fba] /lib64/lp64d/librustc_driver-c309084a720e38a9.so(+0x23238a8)[0xffffffb99238a8] /lib64/lp64d/librustc_driver-c309084a720e38a9.so(+0x2323ab6)[0xffffffb9923ab6] /lib64/lp64d/librustc_driver-c309084a720e38a9.so(+0x23250ec)[0xffffffb99250ec] /lib64/lp64d/librustc_driver-c309084a720e38a9.so(+0x2323b76)[0xffffffb9923b76] /lib64/lp64d/libstd-befa7e56df894fae.so(rust_metadata_std_2a86bed24e1ebfc9+0xabf36)[0xffffffb7545f36] /lib64/lp64d/libc.so.6(+0x7469c)[0xffffffb739569c] /lib64/lp64d/libc.so.6(+0xc6c78)[0xffffffb73e7c78] note: we would appreciate a report at https://github.com/rust-lang/rust Compiling heck v0.4.1 Running `/usr/bin/rustc --crate-name heck --edition=2018 /usr/share/cargo/registry/heck-0.4.1/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debug-assertions=off --cfg 'feature="default"' -C metadata=5f950b11ab7c8906 -C extra-filename=-5f950b11ab7c8906 --out-dir /builddir/build/BUILD/pyo3-0.20.0/target/rpm/deps -L dependency=/builddir/build/BUILD/pyo3-0.20.0/target/rpm/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn` error: rustc interrupted by SIGSEGV, printing backtrace /lib64/lp64d/librustc_driver-c309084a720e38a9.so(+0x9de4b2)[0xffffff947de4b2] linux-vdso.so.1(__vdso_rt_sigreturn+0x0)[0xffffff97258800] /lib64/lp64d/libc.so.6(read+0x4a)[0xffffff93be049e] /lib64/lp64d/libstd-befa7e56df894fae.so(_ZN3std3sys4unix2fs4File4read17h9832a648c413ac6dE+0x26)[0xffffff93d40250] /lib64/lp64d/librustc_driver-c309084a720e38a9.so(+0x2323fba)[0xffffff96123fba] /lib64/lp64d/librustc_driver-c309084a720e38a9.so(+0x23238a8)[0xffffff961238a8] /lib64/lp64d/librustc_driver-c309084a720e38a9.so(+0x2323ab6)[0xffffff96123ab6] /lib64/lp64d/librustc_driver-c309084a720e38a9.so(+0x23250ec)[0xffffff961250ec] /lib64/lp64d/librustc_driver-c309084a720e38a9.so(+0x2323b76)[0xffffff96123b76] /lib64/lp64d/libstd-befa7e56df894fae.so(rust_metadata_std_2a86bed24e1ebfc9+0xabf36)[0xffffff93d45f36] /lib64/lp64d/libc.so.6(+0x7469c)[0xffffff93b9569c] /lib64/lp64d/libc.so.6(+0xc6c78)[0xffffff93be7c78] note: we would appreciate a report at https://github.com/rust-lang/rust error: rustc interrupted by SIGSEGV, printing backtrace /lib64/lp64d/librustc_driver-c309084a720e38a9.so(+0x9de4b2)[0xffffff981de4b2] linux-vdso.so.1(__vdso_rt_sigreturn+0x0)[0xffffff9abe7800] /lib64/lp64d/libc.so.6(read+0x4a)[0xffffff975e049e] /lib64/lp64d/libstd-befa7e56df894fae.so(_ZN3std3sys4unix2fs4File4read17h9832a648c413ac6dE+0x26)[0xffffff97740250] /lib64/lp64d/librustc_driver-c309084a720e38a9.so(+0x2323fba)[0xffffff99b23fba] /lib64/lp64d/librustc_driver-c309084a720e38a9.so(+0x23238a8)[0xffffff99b238a8] /lib64/lp64d/librustc_driver-c309084a720e38a9.so(+0x2323ab6)[0xffffff99b23ab6] /lib64/lp64d/librustc_driver-c309084a720e38a9.so(+0x23250ec)[0xffffff99b250ec] /lib64/lp64d/librustc_driver-c309084a720e38a9.so(+0x2323b76)[0xffffff99b23b76] /lib64/lp64d/libstd-befa7e56df894fae.so(rust_metadata_std_2a86bed24e1ebfc9+0xabf36)[0xffffff97745f36] /lib64/lp64d/libc.so.6(+0x7469c)[0xffffff9759569c] /lib64/lp64d/libc.so.6(+0xc6c78)[0xffffff975e7c78] note: we would appreciate a report at https://github.com/rust-lang/rust Compiling cfg-if v1.0.0 Running `/usr/bin/rustc --crate-name cfg_if --edition=2018 /usr/share/cargo/registry/cfg-if-1.0.0/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no -C codegen-units=1 -C debuginfo=2 -C metadata=0f12d93033a26f93 -C extra-filename=-0f12d93033a26f93 --out-dir /builddir/build/BUILD/pyo3-0.20.0/target/rpm/deps -L dependency=/builddir/build/BUILD/pyo3-0.20.0/target/rpm/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn` error: rustc interrupted by SIGSEGV, printing backtrace /lib64/lp64d/librustc_driver-c309084a720e38a9.so(+0x9de4b2)[0xffffff9e7de4b2] linux-vdso.so.1(__vdso_rt_sigreturn+0x0)[0xffffffa1289800] /lib64/lp64d/libc.so.6(read+0x4a)[0xffffff9dbe049e] /lib64/lp64d/libstd-befa7e56df894fae.so(_ZN3std3sys4unix2fs4File4read17h9832a648c413ac6dE+0x26)[0xffffff9dd40250] /lib64/lp64d/librustc_driver-c309084a720e38a9.so(+0x2323fba)[0xffffffa0123fba] /lib64/lp64d/librustc_driver-c309084a720e38a9.so(+0x23238a8)[0xffffffa01238a8] /lib64/lp64d/librustc_driver-c309084a720e38a9.so(+0x2323ab6)[0xffffffa0123ab6] /lib64/lp64d/librustc_driver-c309084a720e38a9.so(+0x23250ec)[0xffffffa01250ec] /lib64/lp64d/librustc_driver-c309084a720e38a9.so(+0x2323b76)[0xffffffa0123b76] /lib64/lp64d/libstd-befa7e56df894fae.so(rust_metadata_std_2a86bed24e1ebfc9+0xabf36)[0xffffff9dd45f36] /lib64/lp64d/libc.so.6(+0x7469c)[0xffffff9db9569c] /lib64/lp64d/libc.so.6(+0xc6c78)[0xffffff9dbe7c78] note: we would appreciate a report at https://github.com/rust-lang/rust error: rustc interrupted by SIGSEGV, printing backtrace /lib64/lp64d/librustc_driver-c309084a720e38a9.so(+0x9de4b2)[0xffffff939de4b2] linux-vdso.so.1(__vdso_rt_sigreturn+0x0)[0xffffff96380800] /lib64/lp64d/libc.so.6(read+0x4a)[0xffffff92de049e] /lib64/lp64d/libstd-befa7e56df894fae.so(_ZN3std3sys4unix2fs4File4read17h9832a648c413ac6dE+0x26)[0xffffff92f40250] /lib64/lp64d/librustc_driver-c309084a720e38a9.so(+0x2323fba)[0xffffff95323fba] /lib64/lp64d/librustc_driver-c309084a720e38a9.so(+0x23238a8)[0xffffff953238a8] /lib64/lp64d/librustc_driver-c309084a720e38a9.so(+0x2323ab6)[0xffffff95323ab6] /lib64/lp64d/librustc_driver-c309084a720e38a9.so(+0x23250ec)[0xffffff953250ec] /lib64/lp64d/librustc_driver-c309084a720e38a9.so(+0x2323b76)[0xffffff95323b76] /lib64/lp64d/libstd-befa7e56df894fae.so(rust_metadata_std_2a86bed24e1ebfc9+0xabf36)[0xffffff92f45f36] /lib64/lp64d/libc.so.6(+0x7469c)[0xffffff92d9569c] /lib64/lp64d/libc.so.6(+0xc6c78)[0xffffff92de7c78] note: we would appreciate a report at https://github.com/rust-lang/rust Compiling scopeguard v1.2.0 Running `/usr/bin/rustc --crate-name scopeguard /usr/share/cargo/registry/scopeguard-1.2.0/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no -C codegen-units=1 -C debuginfo=2 -C metadata=dcf627130a481804 -C extra-filename=-dcf627130a481804 --out-dir /builddir/build/BUILD/pyo3-0.20.0/target/rpm/deps -L dependency=/builddir/build/BUILD/pyo3-0.20.0/target/rpm/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn` Compiling unindent v0.2.3 Running `/usr/bin/rustc --crate-name unindent --edition=2021 /usr/share/cargo/registry/unindent-0.2.3/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no -C codegen-units=1 -C debuginfo=2 -C metadata=892012b2a8f74d5d -C extra-filename=-892012b2a8f74d5d --out-dir /builddir/build/BUILD/pyo3-0.20.0/target/rpm/deps -L dependency=/builddir/build/BUILD/pyo3-0.20.0/target/rpm/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn` error: could not compile `parking_lot_core` (build script) Caused by: process didn't exit successfully: `/usr/bin/rustc --crate-name build_script_build --edition=2018 /usr/share/cargo/registry/parking_lot_core-0.9.9/build.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type bin --emit=dep-info,link -C embed-bitcode=no -C debug-assertions=off -C metadata=5167666c8cd310d5 -C extra-filename=-5167666c8cd310d5 --out-dir /builddir/build/BUILD/pyo3-0.20.0/target/rpm/build/parking_lot_core-5167666c8cd310d5 -L dependency=/builddir/build/BUILD/pyo3-0.20.0/target/rpm/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn` (signal: 11, SIGSEGV: invalid memory reference) warning: build failed, waiting for other jobs to finish... error: rustc interrupted by SIGSEGV, printing backtrace /lib64/lp64d/librustc_driver-c309084a720e38a9.so(+0x9de4b2)[0xffffffbafde4b2] linux-vdso.so.1(__vdso_rt_sigreturn+0x0)[0xffffffbdad2800] /lib64/lp64d/libc.so.6(syscall+0x1c)[0xffffffba54c264] /lib64/lp64d/libstd-befa7e56df894fae.so(_ZN3std3sys4unix5locks13futex_condvar7Condvar4wait17h9735986bca56331dE+0x64)[0xffffffbda12514] /lib64/lp64d/librustc_driver-c309084a720e38a9.so(+0x2323870)[0xffffffbc923870] /lib64/lp64d/librustc_driver-c309084a720e38a9.so(+0x2323ab6)[0xffffffbc923ab6] /lib64/lp64d/librustc_driver-c309084a720e38a9.so(+0x23250ec)[0xffffffbc9250ec] /lib64/lp64d/librustc_driver-c309084a720e38a9.so(+0x2323b76)[0xffffffbc923b76] /lib64/lp64d/libstd-befa7e56df894fae.so(rust_metadata_std_2a86bed24e1ebfc9+0xabf36)[0xffffffbda10f36] /lib64/lp64d/libc.so.6(+0x7469c)[0xffffffba4fb69c] /lib64/lp64d/libc.so.6(+0xc6c78)[0xffffffba54dc78] note: we would appreciate a report at https://github.com/rust-lang/rust error: rustc interrupted by SIGSEGV, printing backtrace /lib64/lp64d/librustc_driver-c309084a720e38a9.so(+0x9de4b2)[0xffffff9abde4b2] linux-vdso.so.1(__vdso_rt_sigreturn+0x0)[0xffffff9d6f4800] /lib64/lp64d/libc.so.6(syscall+0x1c)[0xffffff9a14c264] /lib64/lp64d/libstd-befa7e56df894fae.so(_ZN3std3sys4unix5locks11futex_mutex5Mutex14lock_contended17h95e8e53aa0d0c145E+0x96)[0xffffff9d5f7e08] /lib64/lp64d/libstd-befa7e56df894fae.so(_ZN3std3sys4unix5locks13futex_condvar7Condvar4wait17h9735986bca56331dE+0x9e)[0xffffff9d63454e] /lib64/lp64d/librustc_driver-c309084a720e38a9.so(+0x2323870)[0xffffff9c523870] /lib64/lp64d/librustc_driver-c309084a720e38a9.so(+0x2323ab6)[0xffffff9c523ab6] /lib64/lp64d/librustc_driver-c309084a720e38a9.so(+0x23250ec)[0xffffff9c5250ec] /lib64/lp64d/librustc_driver-c309084a720e38a9.so(+0x2323b76)[0xffffff9c523b76] /lib64/lp64d/libstd-befa7e56df894fae.so(rust_metadata_std_2a86bed24e1ebfc9+0xabf36)[0xffffff9d632f36] /lib64/lp64d/libc.so.6(+0x7469c)[0xffffff9a0fb69c] /lib64/lp64d/libc.so.6(+0xc6c78)[0xffffff9a14dc78] note: we would appreciate a report at https://github.com/rust-lang/rust error: rustc interrupted by SIGSEGV, printing backtrace /lib64/lp64d/librustc_driver-c309084a720e38a9.so(+0x9de4b2)[0xffffff923de4b2] linux-vdso.so.1(__vdso_rt_sigreturn+0x0)[0xffffff94d62800] /lib64/lp64d/libc.so.6(syscall+0x1c)[0xffffff917e6264] /lib64/lp64d/libstd-befa7e56df894fae.so(_ZN3std3sys4unix5locks13futex_condvar7Condvar4wait17h9735986bca56331dE+0x64)[0xffffff91947514] /lib64/lp64d/librustc_driver-c309084a720e38a9.so(+0x2323870)[0xffffff93d23870] /lib64/lp64d/librustc_driver-c309084a720e38a9.so(+0x2323ab6)[0xffffff93d23ab6] /lib64/lp64d/librustc_driver-c309084a720e38a9.so(+0x23250ec)[0xffffff93d250ec] /lib64/lp64d/librustc_driver-c309084a720e38a9.so(+0x2323b76)[0xffffff93d23b76] /lib64/lp64d/libstd-befa7e56df894fae.so(rust_metadata_std_2a86bed24e1ebfc9+0xabf36)[0xffffff91945f36] /lib64/lp64d/libc.so.6(+0x7469c)[0xffffff9179569c] /lib64/lp64d/libc.so.6(+0xc6c78)[0xffffff917e7c78] note: we would appreciate a report at https://github.com/rust-lang/rust error: rustc interrupted by SIGSEGV, printing backtrace /lib64/lp64d/librustc_driver-c309084a720e38a9.so(+0x9de4b2)[0xffffff8abde4b2] linux-vdso.so.1(__vdso_rt_sigreturn+0x0)[0xffffff8d6c4800] /lib64/lp64d/libc.so.6(syscall+0x1c)[0xffffff8a14c264] /lib64/lp64d/libstd-befa7e56df894fae.so(_ZN3std3sys4unix5locks11futex_mutex5Mutex14lock_contended17h95e8e53aa0d0c145E+0x96)[0xffffff8d5c7e08] /lib64/lp64d/libstd-befa7e56df894fae.so(_ZN3std3sys4unix5locks13futex_condvar7Condvar4wait17h9735986bca56331dE+0x9e)[0xffffff8d60454e] /lib64/lp64d/librustc_driver-c309084a720e38a9.so(+0x2323870)[0xffffff8c523870] /lib64/lp64d/librustc_driver-c309084a720e38a9.so(+0x2323ab6)[0xffffff8c523ab6] /lib64/lp64d/librustc_driver-c309084a720e38a9.so(+0x23250ec)[0xffffff8c5250ec] /lib64/lp64d/librustc_driver-c309084a720e38a9.so(+0x2323b76)[0xffffff8c523b76] /lib64/lp64d/libstd-befa7e56df894fae.so(rust_metadata_std_2a86bed24e1ebfc9+0xabf36)[0xffffff8d602f36] /lib64/lp64d/libc.so.6(+0x7469c)[0xffffff8a0fb69c] /lib64/lp64d/libc.so.6(+0xc6c78)[0xffffff8a14dc78] note: we would appreciate a report at https://github.com/rust-lang/rust error: rustc interrupted by SIGSEGV, printing backtrace /lib64/lp64d/librustc_driver-c309084a720e38a9.so(+0x9de4b2)[0xffffff871de4b2] linux-vdso.so.1(__vdso_rt_sigreturn+0x0)[0xffffff89ba0800] /lib64/lp64d/libc.so.6(syscall+0x1c)[0xffffff865e6264] /lib64/lp64d/libstd-befa7e56df894fae.so(_ZN3std3sys4unix5locks13futex_condvar7Condvar4wait17h9735986bca56331dE+0x64)[0xffffff86747514] /lib64/lp64d/librustc_driver-c309084a720e38a9.so(+0x2323870)[0xffffff88b23870] /lib64/lp64d/librustc_driver-c309084a720e38a9.so(+0x2323ab6)[0xffffff88b23ab6] /lib64/lp64d/librustc_driver-c309084a720e38a9.so(+0x23250ec)[0xffffff88b250ec] /lib64/lp64d/librustc_driver-c309084a720e38a9.so(+0x2323b76)[0xffffff88b23b76] /lib64/lp64d/libstd-befa7e56df894fae.so(rust_metadata_std_2a86bed24e1ebfc9+0xabf36)[0xffffff86745f36] /lib64/lp64d/libc.so.6(+0x7469c)[0xffffff8659569c] /lib64/lp64d/libc.so.6(+0xc6c78)[0xffffff865e7c78] note: we would appreciate a report at https://github.com/rust-lang/rust error: rustc interrupted by SIGSEGV, printing backtrace /lib64/lp64d/librustc_driver-c309084a720e38a9.so(+0x9de4b2)[0xffffffb6dde4b2] linux-vdso.so.1(__vdso_rt_sigreturn+0x0)[0xffffffb9945800] /lib64/lp64d/libc.so.6(syscall+0x1c)[0xffffffb634c264] /lib64/lp64d/libstd-befa7e56df894fae.so(_ZN3std3sys4unix5locks13futex_condvar7Condvar4wait17h9735986bca56331dE+0x64)[0xffffffb9885514] /lib64/lp64d/librustc_driver-c309084a720e38a9.so(+0x2323870)[0xffffffb8723870] /lib64/lp64d/librustc_driver-c309084a720e38a9.so(+0x2323ab6)[0xffffffb8723ab6] /lib64/lp64d/librustc_driver-c309084a720e38a9.so(+0x23250ec)[0xffffffb87250ec] /lib64/lp64d/librustc_driver-c309084a720e38a9.so(+0x2323b76)[0xffffffb8723b76] /lib64/lp64d/libstd-befa7e56df894fae.so(rust_metadata_std_2a86bed24e1ebfc9+0xabf36)[0xffffffb9883f36] /lib64/lp64d/libc.so.6(+0x7469c)[0xffffffb62fb69c] /lib64/lp64d/libc.so.6(+0xc6c78)[0xffffffb634dc78] note: we would appreciate a report at https://github.com/rust-lang/rust error: could not compile `autocfg` (lib) Caused by: process didn't exit successfully: `/usr/bin/rustc --crate-name autocfg /usr/share/cargo/registry/autocfg-1.1.0/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debug-assertions=off -C metadata=43486544924e9a9a -C extra-filename=-43486544924e9a9a --out-dir /builddir/build/BUILD/pyo3-0.20.0/target/rpm/deps -L dependency=/builddir/build/BUILD/pyo3-0.20.0/target/rpm/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn` (signal: 11, SIGSEGV: invalid memory reference) error: Bad exit status from /var/tmp/rpm-tmp.qa3lSD (%build) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.qa3lSD (%build) Child return code was: 1 EXCEPTION: [Error('Command failed: \n # bash --login -c /usr/bin/rpmbuild -ba --noprep --noclean --target riscv64 --nodeps /builddir/build/SPECS/rust-pyo3.spec\n', 1)] Traceback (most recent call last): File "/usr/lib/python3.11/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) ^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/mockbuild/util.py", line 597, 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 riscv64 --nodeps /builddir/build/SPECS/rust-pyo3.spec