Gentoo Archives: gentoo-user

From: Richard Bradfield <bradfier@×××××.me>
To: gentoo-user@l.g.o
Subject: [gentoo-user] Firefox 57.0.4 fails to build due to Rust 1.23
Date: Sat, 27 Jan 2018 18:18:42
Message-Id: 20180127181756.k6tscdiq2jqf3zpl@carbon.fstab.me
Hi folks,

Forgive me if this has been spotted elsewhere, it's not in this list yet
as far as I can see.

The excellent work to bring the version of Rust in ~amd64 up to date has
had an unfortunate side effect, in that it now prevents Firefox from
building. Firefox appears to only supports Rust 1.19 and no later.

I get a failure in one of the Rust components, as the build converts
warnings to errors, and an import is now unused in 1.23 as it's now
implicitly in scope, according to this thread [1]

I know this is only a minor point release, but I was hoping to update
for the SPECTRE mitigations.

Has anyone patched this themselves, or do I need to think about rolling
the system rust back to 1.19?

Emerge build log is attached, it's a bit noisy around the errors sadly.


[1] https://www.reddit.com/r/rust/comments/7rjvfu/this_is_why_you_should_not_treat_warnings_as/

-- 
Richard Bradfield

Attachments

File name MIME type
firefox-57.0.4-build.log text/plain

Replies