Overview

Request 561774 accepted

No description set
Loading...

Dominique Leuenberger's avatar

The cargo package we have (and the ine submitted) are nit compatible with this rust version (buildrequires rust <= 1.21.1)


Dominique Leuenberger's avatar

Err 1.22.1


Luke Jones's avatar
author source maintainer

Incoming - I may change it to require a version such as >= current since cargo usually builds with n-1 version okay.


Dominique Leuenberger's avatar

Seems MozillaFirefox is not happy with this version of rust:

https://build.opensuse.org/package/live_build_log/openSUSE:Factory:Staging:G:DVD/MozillaFirefox/standard/x86_64

[ 2395s] error: unused import: `std::ascii::AsciiExt`
[ 2395s]   --> /home/abuild/rpmbuild/BUILD/mozilla/servo/components/style/gecko_string_cache/mod.rs:16:5
[ 2395s]    |
[ 2395s] 16 | use std::ascii::AsciiExt;
[ 2395s]    |     ^^^^^^^^^^^^^^^^^^^^
[ 2395s]    |
[ 2395s] note: lint level defined here
[ 2395s]   --> /home/abuild/rpmbuild/BUILD/mozilla/servo/components/style/lib.rs:26:9
[ 2395s]    |
[ 2395s] 26 | #![deny(warnings)]
[ 2395s]    |         ^^^^^^^^
[ 2395s]    = note: #[deny(unused_imports)] implied by #[deny(warnings)]
[ 2395s] 
[ 2395s] error: unused import: `std::ascii::AsciiExt`

@wrosenauer


Luke Jones's avatar
author source maintainer

No definitely not to do with the Rust compiler, that's an issue with that release of Firefox. Seems they've turned on the equivalent of warnings == error.

"#![deny(warnings)]" So, either patch to remove "use std::ascii::AsciiExt;" from servo/components/style/gecko_string_cache/mod.rs (line 16).


Dominique Leuenberger's avatar

I'd assume rust to behave slightly different and/or having new warnings/errors raised.

Keep in mind that the same version of Firefox is currently in TW and builds with the previous version of rust.

this of course does not mean rust is at fault, but it IS exposed by the new rust version


Wolfgang Rosenauer's avatar

I'll check upstream as I would expect mozilla codebase pretty up to date with latest rust. Probably a fix from head can be backported.


Luke Jones's avatar
author source maintainer

Yes, of course - I need to remind myself to investigate next time, not make a snap judgment based on what I've seen previously (especially for breakage from new versions)


Wolfgang Rosenauer's avatar

https://build.opensuse.org/request/show/563240 should hopefully fix the breakage. The problem is indeed change in rust. The fact that it is an error instead of the default warning is a different story. https://blog.rust-lang.org/2018/01/04/Rust-1.23.html


Luke Jones's avatar
author source maintainer

Ah, I completely forgot I'd seen the Ascii change. Sorry, I should have picked up on it sooner.

Request History
Luke Jones's avatar

luke_nukem created request


Factory Auto's avatar

factory-auto added opensuse-review-team as a reviewer

Please review sources


Factory Auto's avatar

factory-auto added repo-checker as a reviewer

Please review build success


Factory Auto's avatar

factory-auto accepted review

Check script succeeded

Output of check script (non-fatal):
Unknown license 'MIT or Apache-2.0'
Unknown license 'MIT or Apache-2.0'


Jan Engelhardt's avatar

jengelh accepted review


Staging Bot's avatar

staging-bot set openSUSE:Factory:Staging:G as a staging project

Being evaluated by staging project "openSUSE:Factory:Staging:G"


Staging Bot's avatar

staging-bot accepted review

Picked openSUSE:Factory:Staging:G


Saul Goodman's avatar

licensedigger accepted review

ok


Repo Checker's avatar

repo-checker accepted review

cycle and install check passed


Dominique Leuenberger's avatar

dimstar_suse accepted review

ready to accept


Dominique Leuenberger's avatar

dimstar_suse approved review

ready to accept


Dominique Leuenberger's avatar

dimstar_suse accepted request

Accept to openSUSE:Factory

openSUSE Build Service is sponsored by