Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 733112 - www-client/firefox fails to build with dev-lang/rust-1.45
Summary: www-client/firefox fails to build with dev-lang/rust-1.45
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Mozilla Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-07-18 00:34 UTC by William T Wilson
Modified: 2020-07-18 10:23 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description William T Wilson 2020-07-18 00:34:45 UTC
Firefox is currently incompatible with Rust 1.45.  See upstream bug:
https://bugzilla.mozilla.org/show_bug.cgi?id=1640982

Both current and ESR releases are impacted.

Reproducible: Always

Steps to Reproduce:
1. Upgrade rust to 1.45
2. Attempt to emerge Firefox

Actual Results:  
Compile will fail with error:
error: options `-C embed-bitcode=no` and `-C lto` are incompatible
error: could not compile `gkrust`.


Expected Results:  
Successful compile and install


Mozilla intends to fix the bug, but hasn't yet.  There is a workaround given in the bug report, but it's fairly deep into the build process and the simpler thing for now would probably be to exclude rust-1.45 from the ebuild.

End-user workaround for now: add =dev-lang/rust-1.45 to package.mask
Comment 1 William T Wilson 2020-07-18 00:48:39 UTC
Correction, correct line for workaround in package mask is:
=dev-lang/rust-1.45.0
or
=dev-lang/rust-1.45*