Unable to compile thunderbird due to absent 'rustup'. There is no ebuild available to install rustup in main portage tree and looks like will never be. Is there any workaround or patch available to overcome rustup requirement? Reproducible: Always Steps to Reproduce: 1. emerge =mail-client/thunderbird-68.2.1 $ equery l dev-lang/rust * Searching for rust in dev-lang ... [IP-] [ ] dev-lang/rust-1.38.0:stable/1.38 $ rustup bash: rustup: command not found ``` 0:12.27 checking for rustc... /usr/bin/rustc 0:12.27 checking for cargo... /usr/bin/cargo 0:12.41 DEBUG: Executing: `rustup which rustc` 0:12.41 DEBUG: The command returned non-zero exit status 1. 0:12.41 DEBUG: Its error output was: 0:12.41 DEBUG: | error: multiple input filenames provided (first two filenames are `which` and `rustc`) 0:12.41 DEBUG: | 0:12.41 ERROR: Command `rustup which rustc` failed with exit status 1. 0:12.47 *** Fix above errors and then restart with\ 0:12.47 "./mach build" 0:12.47 gmake: *** [client.mk:115: configure] Error 1 * ERROR: mail-client/thunderbird-68.2.1::gentoo failed (configure phase): * (no error message) * * Call stack: * ebuild.sh, line 125: Called src_configure * environment, line 5399: Called die * The specific snippet of code: * SHELL="${SHELL:-${EPREFIX}/bin/bash}" MOZ_NOSPAM=1 ./mach configure || die ```
Please attach the entire build log to this bug report.
Created attachment 594954 [details] thunderbird-68.2.1/temp/build.log Build log for =thunderbird-68.2.1
Please check your rust installation. It looks like your rust isn't working...
run eselect rust select 1 and test again.
Really, rustc failed to compile "hello world" example, because it is still linked to LLVM8 (removed from system), not LLVM9 (current in system). $ rustc --version rustc 1.38.0 $ cat hello.rs fn main() { println!("Hello, world!"); } $ rustc hello.rs error: couldn't load codegen backend "/usr/lib64/rust-1.38.0/rustlib/x86_64-unknown-linux-gnu/codegen-backends/librustc_codegen_llvm-llvm.so": "libLLVMX86AsmParser.so.8: cannot open shared object file: No such file or directory" Re-emerged dev-lang/rust and now thunderbird compiles without errors. Feel free to close this bug.