Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 878335 - dev-python/cryptography-38.0.2: fails build on riscv: error: colud not compile `proc-macro2`
Summary: dev-python/cryptography-38.0.2: fails build on riscv: error: colud not compil...
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: riscv Linux
: Normal normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-10-26 05:13 UTC by yongxiang
Modified: 2022-10-26 05:38 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log (build.log,61.79 KB, text/plain)
2022-10-26 05:19 UTC, yongxiang
Details
emerge-info (emerge-info,5.37 KB, text/plain)
2022-10-26 05:23 UTC, yongxiang
Details

Note You need to log in before you can comment on or make changes to this bug.
Description yongxiang 2022-10-26 05:13:29 UTC
error: could not compile `proc-macro2`

Caused by:
  process didn't exit successfully: `rustc --crate-name build_script_build --edition=2018 /var/tmp/portage/dev-python/cryptography-38.0.2/work/cargo_home/gentoo/proc-macro2-1.0.43/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 overflow-checks=on --cfg 'feature="default"' --cfg 'feature="proc-macro"' -C metadata=8990af03f17c3d3a -C extra-filename=-8990af03f17c3d3a --out-dir /var/tmp/portage/dev-python/cryptography-38.0.2/work/cryptography-38.0.2/src/rust/target/release/build/proc-macro2-8990af03f17c3d3a -L dependency=/var/tmp/portage/dev-python/cryptography-38.0.2/work/cryptography-38.0.2/src/rust/target/release/deps --cap-lints allow` (signal: 11, SIGSEGV: invalid memory reference)
warning: build failed, waiting for other jobs to finish...

Reproducible: Always
Comment 1 yongxiang 2022-10-26 05:19:01 UTC
Created attachment 825475 [details]
build.log
Comment 2 yongxiang 2022-10-26 05:23:28 UTC
Created attachment 825477 [details]
emerge-info
Comment 3 yongxiang 2022-10-26 05:38:19 UTC
Wrong use of dev-lang/rust-bin-1.64.0.