nurali Apprentice
Joined: 17 Nov 2022 Posts: 182 Location: Somewhere,Earth
|
Posted: Sun Jun 02, 2024 6:52 am Post subject: Wezterm fails to build |
|
|
Hello all:
Wezterm-20240203.110809-r1 fails with
Code: |
Running `rustc --crate-name rustix --edition=2018 /var/tmp/portage/x11-terms/wezterm-20240203.110809-r1/work/cargo_home/gentoo/rustix-0.37.27/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 --cfg 'feature="fs"' --cfg 'feature="io-lifetimes"' --cfg 'feature="std"' -C metadata=bb23b3ebb01bcb00 -C extra-filename=-bb23b3ebb01bcb00 --out-dir /var/tmp/portage/x11-terms/wezterm-20240203.110809-r1/work/wezterm-20240203-110809-5046fc22/target/release/deps -C strip=debuginfo -L dependency=/var/tmp/portage/x11-terms/wezterm-20240203.110809-r1/work/wezterm-20240203-110809-5046fc22/target/release/deps --extern bitflags=/var/tmp/portage/x11-terms/wezterm-20240203.110809-r1/work/wezterm-20240203-110809-5046fc22/target/release/deps/libbitflags-d639971962f57f6c.rmeta --extern io_lifetimes=/var/tmp/portage/x11-terms/wezterm-20240203.110809-r1/work/wezterm-20240203-110809-5046fc22/target/release/deps/libio_lifetimes-88c66227e1bba24d.rmeta --extern linux_raw_sys=/var/tmp/portage/x11-terms/wezterm-20240203.110809-r1/work/wezterm-20240203-110809-5046fc22/target/release/deps/liblinux_raw_sys-9c6735935cc09fab.rmeta --cap-lints allow -C opt-level=2 -C target-cpu=znver3 --cfg rustc_attrs --cfg linux_raw --cfg core_intrinsics --cfg asm --cfg linux_like --cfg linux_kernel`
error[E0635]: unknown feature `stdsimd`
--> /var/tmp/portage/x11-terms/wezterm-20240203.110809-r1/work/cargo_home/gentoo/ahash-0.7.7/src/lib.rs:33:42
|
33 | #![cfg_attr(feature = "stdsimd", feature(stdsimd))]
| ^^^^^^^
Running `rustc --crate-name rustix --edition=2021 /var/tmp/portage/x11-terms/wezterm-20240203.110809-r1/work/cargo_home/gentoo/rustix-0.38.30/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="fs"' --cfg 'feature="std"' -C metadata=850e8bd69c83ca98 -C extra-filename=-850e8bd69c83ca98 --out-dir /var/tmp/portage/x11-terms/wezterm-20240203.110809-r1/work/wezterm-20240203-110809-5046fc22/target/release/deps -C strip=debuginfo -L dependency=/var/tmp/portage/x11-terms/wezterm-20240203.110809-r1/work/wezterm-20240203-110809-5046fc22/target/release/deps --extern bitflags=/var/tmp/portage/x11-terms/wezterm-20240203.110809-r1/work/wezterm-20240203-110809-5046fc22/target/release/deps/libbitflags-cdc29ce4543b3ebe.rmeta --extern linux_raw_sys=/var/tmp/portage/x11-terms/wezterm-20240203.110809-r1/work/wezterm-20240203-110809-5046fc22/target/release/deps/liblinux_raw_sys-e95fc523eb672b0f.rmeta --cap-lints allow -C opt-level=2 -C target-cpu=znver3 --cfg static_assertions --cfg linux_raw --cfg linux_like --cfg linux_kernel`
For more information about this error, try `rustc --explain E0635`.
error: could not compile `ahash` (lib) due to 1 previous error
Caused by:
process didn't exit successfully: `rustc --crate-name ahash --edition=2018 /var/tmp/portage/x11-terms/wezterm-20240203.110809-r1/work/cargo_home/gentoo/ahash-0.7.7/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 --cfg 'feature="default"' --cfg 'feature="std"' -C metadata=c9ca742e66982f1a -C extra-filename=-c9ca742e66982f1a --out-dir /var/tmp/portage/x11-terms/wezterm-20240203.110809-r1/work/wezterm-20240203-110809-5046fc22/target/release/deps -C strip=debuginfo -L dependency=/var/tmp/portage/x11-terms/wezterm-20240203.110809-r1/work/wezterm-20240203-110809-5046fc22/target/release/deps --extern getrandom=/var/tmp/portage/x11-terms/wezterm-20240203.110809-r1/work/wezterm-20240203-110809-5046fc22/target/release/deps/libgetrandom-bf93955b983fc8f1.rmeta --extern once_cell=/var/tmp/portage/x11-terms/wezterm-20240203.110809-r1/work/wezterm-20240203-110809-5046fc22/target/release/deps/libonce_cell-5e26bf523331b8e0.rmeta --cap-lints allow -C opt-level=2 -C target-cpu=znver3 --cfg 'feature="specialize"' --cfg 'feature="stdsimd"' --cfg 'feature="runtime-rng"' --cfg 'feature="folded_multiply"'` (exit status: 1)
|
Anyone else getting this error?How should I solve this?
Rusc version 1.78.0 with USE
Code: |
ali@gentoo ~/Projects/repos/cruder $ equery uses rust | grep \+
+clippy
+cpu_flags_x86_sse2
+llvm_targets_AMDGPU
+lto
+nightly
+rust-analyzer
+rust-src
+rustfmt
+system-llvm
|
EDIT: Seems like the latest RUST compiler dosn't contain some features that old ones do, used 1.77.1 and the problem solved |
|