[opensuse-factory] Rust language inclusion in Opensuse repos?
Hi, Are there any plans to include the rust programming language packages in the official opensuse repositories for Leap and Tumbleweed? If not, who should I talk to about getting them included? Rust is v1.8.0 and pretty stable now. Personally I've never used it before but I was interested in learning it, and I saw it wasn't available as a package in any of the official repositories on Tumbleweed. Thank you, Aayush Agarwal -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
On 05/12/2016 07:00 AM, Aayush Agarwal wrote:
Hi,
Are there any plans to include the rust programming language packages in the official opensuse repositories for Leap and Tumbleweed? If not, who should I talk to about getting them included?
Rust is v1.8.0 and pretty stable now. Personally I've never used it before but I was interested in learning it, and I saw it wasn't available as a package in any of the official repositories on Tumbleweed.
Thank you, Aayush Agarwal
Hi, As with most things in openSUSE It would really just take someone being interested and doing the work, thats how most new features get added. Cheers -- Simon Lees (Simotek) http://simotek.net Emergency Update Team keybase.io/simotek SUSE Linux Adeliade Australia, UTC+9:30 GPG Fingerprint: 5B87 DB9D 88DC F606 E489 CEC5 0922 C246 02F0 014B
On Wed, May 11, 2016 at 5:30 PM, Aayush Agarwal
Hi,
Are there any plans to include the rust programming language packages in the official opensuse repositories for Leap and Tumbleweed? If not, who should I talk to about getting them included?
Rust is v1.8.0 and pretty stable now. Personally I've never used it before but I was interested in learning it, and I saw it wasn't available as a package in any of the official repositories on Tumbleweed.
Thank you, Aayush Agarwal
openSUSE is extremely contributor friendly, but there is no central control of which packages go into factory/Tumbleweed. Someone already has a rust devel project setup (an unofficial repo): https://build.opensuse.org/project/show/devel:languages:rust The rustc package got a new tarball only 26 days ago. https://build.opensuse.org/package/show/devel:languages:rust/rustc But it doesn't build currently. If you want to see rust in factory/tumbleweed you should: - branch the project, - fix it so it builds, - SR your fixes back to the devel project - ask to have yourself added as a maintainer and bugfixer - SR the fixed devel package to factory Greg -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
Greg Freemyer
Someone already has a rust devel project setup (an unofficial repo):
https://build.opensuse.org/project/show/devel:languages:rust
The rust devel project is mainly developed by mvyskocil, me and dmacvicar. In the past it has been building fine, but unfortunately it seems that 1.8.0 is hitting the limits of the build VMs on the OBS - building rust is a very disk and memory intensive operation. It also takes a ridiculous amount of time :/ So, there are a number of complications remaining to be solved before rust is ready for inclusion in Tumbleweed. - First of all, the package needs to succeed reliably, not break on low disk space etc. - Rust needs to be able to bootstrap itself from the previous version. In the past, building rust requires a binary snapshot of a previous version of rust. This is no good for building from source, if we need a binary snapshot we might as well just ship that instead. So the preferred thing would be if rust 1.8 can build using rust 1.7, then we can bootstrap each update with the already-compiled compiler. I have talked to Aaron Turon in the rust team about this, and they finally promised to make this a requirement for rust from version 1.9 (if I remember correctly). So that will be a better point at which to submit rust for Tumbleweed. - Cargo needs to be buildable using the compiled version of rust we have. Right now, Cargo has the same bootstrapping problem as rust except worse - not only does it need a random rust snapshot, it also needs a random Cargo snapshot and about 30 crates to build. Then we get to the problems of packaging crates... - Rust doesn't have a stable ABI, which means that every time the rust compiler is updated, we'd have to rebuild every single project which uses the rust standard library as they would otherwise break. - There has to be a decision on how to manage crates. The best thing would be if each crate was its own separate rpm package. However, there are some issues with that.. First of all, rust (just like go) doesn't do dynamic linking with crates. Second of all, the ABI problem makes dynamically linking to crates meaningless anyway since any rebuild of a crate might mean having to rebuild the projects that rely on it. Rebuilding rust projects would eat up a ton of OBS resources. There has been some discussion on this with us and other distributions in the rust internals forum, here: https://internals.rust-lang.org/t/perfecting-rust-packaging-the-plan/2767 There is a desire from rust upstream to make this easier, so hopefully there will be progress on this in the near future. Any help in figuring any of these things out is welcome! Especially the issue of packaging crates is one that I know other languages also have (like go and haskell) so if we can come up with some solution for making that kind of package management easier, that would be great. Cheers, Kristoffer -- // Kristoffer Grönlund // kgronlund@suse.com -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
Kristoffer Grönlund
The rust devel project is mainly developed by mvyskocil, me and dmacvicar. In the past it has been building fine, but unfortunately it seems that 1.8.0 is hitting the limits of the build VMs on the OBS - building rust is a very disk and memory intensive operation. It also takes a ridiculous amount of time :/
Oh, I should also mention that I am going to do a short talk about rust and packaging rust at the openSUSE conference in june: https://events.opensuse.org/conference/oSC16/program/proposal/782 Hopefully it at least builds on the OBS again by then ;) Cheers, Kristoffer -- // Kristoffer Grönlund // kgronlund@suse.com -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
On 05/12/2016 03:22 PM, Kristoffer Grönlund wrote:
Greg Freemyer
writes: Someone already has a rust devel project setup (an unofficial repo):
https://build.opensuse.org/project/show/devel:languages:rust
The rust devel project is mainly developed by mvyskocil, me and dmacvicar. In the past it has been building fine, but unfortunately it seems that 1.8.0 is hitting the limits of the build VMs on the OBS - building rust is a very disk and memory intensive operation. It also takes a ridiculous amount of time :/
So, there are a number of complications remaining to be solved before rust is ready for inclusion in Tumbleweed.
- First of all, the package needs to succeed reliably, not break on low disk space etc.
This part should be doable pretty easily with an appropriate _constraints file http://openbuildservice.org/help/manuals/obs-reference-guide/cha.obs.build_j... -- Simon Lees (Simotek) http://simotek.net Emergency Update Team keybase.io/simotek SUSE Linux Adeliade Australia, UTC+9:30 GPG Fingerprint: 5B87 DB9D 88DC F606 E489 CEC5 0922 C246 02F0 014B
Simon Lees
This part should be doable pretty easily with an appropriate _constraints file http://openbuildservice.org/help/manuals/obs-reference-guide/cha.obs.build_j...
Ah right, we had it set with 4G RAM but I'll try bumping the disk up as well. Cheers, Kristoffer
--
Simon Lees (Simotek) http://simotek.net
Emergency Update Team keybase.io/simotek SUSE Linux Adeliade Australia, UTC+9:30 GPG Fingerprint: 5B87 DB9D 88DC F606 E489 CEC5 0922 C246 02F0 014B
-- // Kristoffer Grönlund // kgronlund@suse.com -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
Kristoffer Grönlund
- Rust needs to be able to bootstrap itself from the previous version. In the past, building rust requires a binary snapshot of a previous version of rust. This is no good for building from source, if we need a binary snapshot we might as well just ship that instead. So the preferred thing would be if rust 1.8 can build using rust 1.7, then we can bootstrap each update with the already-compiled compiler.
I have talked to Aaron Turon in the rust team about this, and they finally promised to make this a requirement for rust from version 1.9 (if I remember correctly). So that will be a better point at which to submit rust for Tumbleweed.
I didn't quite remember that correctly: Rust 1.10 will be bootstrapped from rust 1.9, and from then on it'll be rolling. So Rust 1.10 is probably a good target for when to submit the rust compiler for Tumbleweed. See: https://github.com/rust-lang/rust/pull/32731 -- // Kristoffer Grönlund // kgronlund@suse.com -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
On Wed, 11 May 2016 17:30:15 -0400 Aayush Agarwal wrote:
Hi,
Hello. Just found your message in the Gmail/Spam folder. Please, read the thread http://lists.opensuse.org/opensuse-factory/2016-04/msg00337.html -- WBR Kyrill
participants (5)
-
Aayush Agarwal
-
Greg Freemyer
-
Kristoffer Grönlund
-
Kyrill Detinov
-
Simon Lees