[Pkg-rust-maintainers] some progress on 1.0.0 alpha

Luca Bruno lucab at debian.org
Mon Jan 19 22:24:46 UTC 2015


On Monday 19 January 2015 11:07:40 Jordan Justen wrote:
> I attempted to make some progress on packaging rust 1.0.0 alpha.
> 
> I got something that could build with pbuilder for amd64 and i386. I
> only tested the installed package a little on amd64.
> 
> I was basing my work on:
> http://anonscm.debian.org/cgit/collab-maint/rust.git/
> but, it appears that this repo no longer exists.

Sorry for breaking it, we were today in the process of moving stuff to the new 
project. That repo now lives at pkg-rust/legacy-rust.git but I think it's 
easier if we just scrap the bloated history and start from a fresh one.

As people may have noticed, we have now a ML :)
I'm switching over there from now on...

> I hope some of this is useful in getting rust packaged for debian.

Yes, thanks, it's a start. I'll have a look at it tomorrow morning.

In the meanwhile I was trying to catch-up with latest libraries status, and it 
seems that:
 * libuv has been split out in an external crate
 * debian jemalloc can't be used due to rust using a "je_" prefix
   https://github.com/rust-lang/rust/pull/18678
 * system compiler-rt doesn't link out-of-the-box due to
   https://github.com/rust-lang/rust/issues/15054
 * minimum LLVM is now 3.6 (yet unreleased) due to
   https://github.com/rust-lang/rust/issues/20010 

So I suspect we should focus on using embedded libs for 1.0 and and later try 
to improve the situation. This has unfortunately some drawbacks:
 * a big source tarball (currently 21M)
 * a very long build time
 * having to fill-in a huge debian/copyright file

Cheers, Luca

-- 
 .''`.  ** Debian GNU/Linux **  | Luca Bruno (kaeso)
: :'  :   The Universal O.S.    | lucab (AT) debian.org
`. `'`                          | GPG Key ID: 0x4F3BBEBF
  `-     http://www.debian.org 	| Debian GNU/Linux Developer




More information about the Pkg-rust-maintainers mailing list