e7e)[0x3fbb577e7e] /lib64/lp64d/librustc_driver-351c05eb4fa8d0a5.so(_RNvXs1_Cs20tQuC9slFF_18rustc_codegen_llvmNtB5_18LlvmCodegenBackendNtNtNtCs4Du69Vto7DQ_17rustc_codegen_ssa6traits5write19WriteBackendMethods8optimize+0xa6)[0x3fbb58ee42] /lib64/lp64d/librustc_driver-351c05eb4fa8d0a5.so(+0x2361efe)[0x3fbb561efe] /lib64/lp64d/librustc_driver-351c05eb4fa8d0a5.so(+0x236382e)[0x3fbb56382e] /lib64/lp64d/librustc_driver-351c05eb4fa8d0a5.so(+0x2392948)[0x3fbb592948] /lib64/lp64d/librustc_driver-351c05eb4fa8d0a5.so(+0x236af94)[0x3fbb56af94] /lib64/lp64d/libstd-77f10468c0c48dc7.so(rust_metadata_std_4706166f41de8e8a+0xad1e8)[0x3fbc5701e8] /lib64/lp64d/libc.so.6(+0x748d2)[0x3fb90fb8d2] /lib64/lp64d/libc.so.6(+0xc6e14)[0x3fb914de14] error: could not compile `pyo3-macros-backend` (lib) Caused by: process didn't exit successfully: `/usr/bin/rustc --crate-name pyo3_macros_backend --edition=2018 /usr/share/cargo/registry/pyo3-macros-backend-0.19.2/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 overflow-checks=on --cfg 'feature="abi3"' -C metadata=0e51b299a1d6f46b -C extra-filename=-0e51b299a1d6f46b --out-dir /builddir/build/BUILD/cryptography-41.0.5/src/rust/target/release/deps -L dependency=/builddir/build/BUILD/cryptography-41.0.5/src/rust/target/release/deps --extern proc_macro2=/builddir/build/BUILD/cryptography-41.0.5/src/rust/target/release/deps/libproc_macro2-09fd37278b4119dc.rmeta --extern quote=/builddir/build/BUILD/cryptography-41.0.5/src/rust/target/release/deps/libquote-574dc05b399c6d85.rmeta --extern syn=/builddir/build/BUILD/cryptography-41.0.5/src/rust/target/release/deps/libsyn-82f66ad14571b7df.rmeta --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... =============================DEBUG ASSISTANCE============================= If you are seeing a compilation error please try the following steps to successfully install cryptography: 1) Upgrade to the latest pip and try again. This will fix errors for most users. See: https://pip.pypa.io/en/stable/installing/#upgrading-pip 2) Read https://cryptography.io/en/latest/installation/ for specific instructions for your platform. 3) Check our frequently asked questions for more information: https://cryptography.io/en/latest/faq/ 4) Ensure you have a recent Rust toolchain installed: https://cryptography.io/en/latest/installation/#rust Python: 3.12.0 platform: Linux-5.18.8-200.0.riscv64.fc33.riscv64-riscv64-with-glibc2.38.9000 pip: n/a setuptools: 68.2.2 setuptools_rust: 1.7.0 rustc: 1.73.0 (cc66ad468 2023-10-03) (Fedora 1.73.0-2.0.riscv64.fc40) =============================DEBUG ASSISTANCE============================= error: `cargo rustc --lib --message-format=json-render-diagnostics --manifest-path src/rust/Cargo.toml --release -v --features pyo3/extension-module --crate-type cdylib --` failed with code 101 error: Bad exit status from /var/tmp/rpm-tmp.lkuuEz (%build) Bad exit status from /var/tmp/rpm-tmp.lkuuEz (%build) RPM build errors: Child return code was: 1 EXCEPTION: [Error()] 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 600, 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 --target riscv64 --nodeps /builddir/build/SPECS/python-cryptography.spec