Firefox fails to build with Rust 1.39.0 (Rust error: E0204, E0119)
Categories
(Core :: CSS Parsing and Computation, defect)
Tracking
()
People
(Reporter: dylan.araps, Unassigned)
Details
Attachments
(1 file)
58.02 KB,
text/plain
|
Details |
User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Firefox/68.0
Steps to reproduce:
Steps to reproduce:
- Install Rust 1.39.0.
- Build Firefox using
mach build
. - Large number of errors (E0204, E0119) in multiple Rust files.
Actual results:
The build failed due to Rust language errors.
Expected results:
The build should succeed.
Reporter | ||
Updated•5 years ago
|
Comment 1•5 years ago
|
||
Bugbug thinks this bug should belong to this component, but please revert this change in case of error.
Updated•5 years ago
|
Comment 2•5 years ago
|
||
Which Firefox version are you building? This is an already-fixed bindgen bug that a change in the Rust standard library exposed, see:
The bug updating Bindgen landed on 71, bug 1583471.
Reporter | ||
Comment 3•5 years ago
|
||
I'm building version 70.0.1
. If this is fixed in 71.0.0
, feel free to close this.
Comment 4•5 years ago
|
||
Yeah, this is fixed in 71, I use 0.39 locally on trunk.
Thanks for reporting!
ehm, you might want to fix this properly? Right now there's no cve against rust, but something as CVE-2019-12083 might happen again. I agree that the informations provided aren't awfully helpfull, I can provide a build log with the errors to ease debugging this. Just ping me for request information.
Comment 6•5 years ago
|
||
(In reply to tt_1 from comment #5)
ehm, you might want to fix this properly? Right now there's no cve against rust, but something as CVE-2019-12083 might happen again. I agree that the informations provided aren't awfully helpfull, I can provide a build log with the errors to ease debugging this. Just ping me for request information.
I understand the failure mode, see the rust-lang issue linked in comment 2. I don't know how this would be a security issue, at least in the bindgen case, where it's just a build tool?
That is, what do you mean with "fixing it properly"? This is properly fixed on bindgen and on trunk already.
Right now it doesn't matter much, since there's no open cve against any version of rust. In my opinion it would be a wise move to backport the fix for this issue to esr, and possibly to the v70.0 branch, so that you're not caught by surprise if any cve is filled against rust in the future.
Comment 8•5 years ago
|
||
Ah, I see what you mean. Yeah, backporting the build fix to ESR should be straight-forward should it be needed... Probably not worth backporting to 70 at this point.
Description
•