Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 686740

Summary: dev-lang/rust-1.34.2 broken installation breaks configuring firefox and thunderbird
Product: Gentoo Linux Reporter: Tom <sl.tom>
Component: Current packagesAssignee: Gentoo Rust Project <rust>
Status: RESOLVED DUPLICATE    
Severity: normal CC: jstein, mozilla
Priority: Normal    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: all relevant log-files

Description Tom 2019-05-25 13:03:57 UTC
Created attachment 577780 [details]
all relevant log-files

Hello,

the configure script for firefox 60.7.0 fails while looking for
the rustc command - the offending line is:

### output of: rustc -V -v:
rustc 1.34.2
binary: rustc
commit-hash: unknown
commit-date: unknown
host: i686-unknown-linux-gnu
release: 1.34.2
error: failed to find a `codegen-backends` folder in the sysroot candidates:
* /usr
* /usr/lib

### temporary workaround:
cd /usr/lib/rust-1.34.2/rustlib/i686-unknown-linux-gnu
ln -s ../../rust-1.34.2/rustlib/i686-unknown-linux-gnu/codegen-backends

### retry: rustc -V -v:
rustc 1.34.2
binary: rustc
commit-hash: unknown
commit-date: unknown
host: i686-unknown-linux-gnu
release: 1.34.2
LLVM version: 8.0

After applying the above workaround, both firefox and thunderbird
will compile fine.

Inside the tgz archive you'll find all necessary information,
including the build.log for firefox.

CU Tom
Comment 1 Thomas Deutschmann (RETIRED) gentoo-dev 2019-05-25 13:59:01 UTC

*** This bug has been marked as a duplicate of bug 672816 ***