On 01/22/2018 02:09 AM, Aleksa Sarai wrote:
Aren't arm64, ppc64el and s390x tier 1 architectures in SLE?
I meant "tier 2" from the PoV of Rust, not SLE.
Yes, I know. It was more a rhetorical question to underline the problem. But it was probably unnecessary.
One example for this is the fact that you need exactly version N-1 to build version N of the Rust compiler. Using a slightly older version or even version N does not work. Tried that several times.
This is an exception, not the rule, and is something that is solved by packaging (as it has been solved in openSUSE with the bootstrap packages).
"@daym Have you tried building Rust with exactly one version before? Rust version 1.x only supports bootstrapping from version 1.(x-1), not 1.(x-2) or below, and also not 1.x or newer. And can you maybe paste an error somewhere?"
https://github.com/rust-lang/rust/issues/45593#issuecomment-340187339
You also realize this when you try building rustc from source. When you build 1.23, it downloads 1.22 and so on. Furthermore, keeping Firefox up to date already puts requirements on the Rust version. I can't find the mailing list thread at the moment, but one of Debian's Rust maintainers who also works upstream at Mozilla has said that Rust always has to be updated as well when you want to update Firefox. This is very problematic for LTS distributions when they are shipping Firefox ESR which is going to introduce a Rust dependency with the next ESR release which will be version 60. So, if SLE wants to update to the next ESR release of Firefox, it will also have to include Rust in the same maintenance request.
There are several other compilers that have this requirement (Go does for example -- though to be honest we ignore it when packaging for the most part).
That's not true. Golang-go can be built using gcc-go which can be bootstrapped purely from C. In fact, the Golang-Go compiler is currrently built using gcc-go in Debian. Upstream Go always ensures that golang-go can be built with gcc-go. Rust has mrustc for that, but that one isn't supporting anything beyond x86 at the moment. Adrian -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org