[Pkg-rust-maintainers] Help with packaging rust

Ahmed Charles acharles at outlook.com
Mon Jun 8 10:08:12 UTC 2015


So, I have a working sid install and I'm curious what the best step
forward should be? I've never packaged anything for Debian before, so
I'm not familiar with the build process, but I am fairly familiar with
rust. So, perhaps working on getting cargo working with rustc-1.0 would
be a good first step? And I assumed upstream would be willing to accept
patches that make that a reality as well?

(I won't really be able to do much stuff until the weekend, however.
Just want to make sure when I am able to, I get off to the right start.)

On 6/3/2015 2:44 PM, Ahmed Charles wrote:
> 
> Thanks for the response, I'll definitely take a look at those things.
> 
> ------------------------------------------------------------------------
> From: gus at debian.org
> Date: Wed, 3 Jun 2015 08:08:06 +0000
> To: acharles at outlook.com; pkg-rust-maintainers at lists.alioth.debian.org
> Subject: Re: [Pkg-rust-maintainers] Help with packaging rust
> 
> Welcome!
> 
> The best way to get started is to jump right in and file bugs, write
> patches, or start discussions.
> 
> You've almost certainly already found it, but the source
> is http://anonscm.debian.org/cgit/pkg-rust/rust.git/
> 
> My personal big "todo" items are:
> 
>  - package up cargo
>    (my preliminary work
> is http://anonscm.debian.org/cgit/pkg-rust/cargo.git/log/?h=gus/wip-debian
> - but I've stalled waiting for a cargo release that builds with a stable
> rustc.  We could bundle the right rustc-nightly along with cargo, etc if
> we wanted to package it right now but that solution still makes me feel
> dirty :/  )
> 
>  - Get rustc.deb on more architectures
>    - This is all about working out the cross-bootstrap story, since we
> can't bundle the stage0 for every arch.  The Rust packaging now has a
> good multiarch split, but I need to multiarch some of the build-deps
> (notably llvm-3.6-dev) before this is possible.
> 
>  - Come up with a generic solution for packaging Rust libraries so they
> still work with cargo
>   - This may or may not be a prerequisite for packaging cargo itself.
>   - I started a discussion (and proposal)
> here: https://internals.rust-lang.org/t/how-to-distro-package-a-cargo-using-rust-executable/1785
> which people seem mostly ok with, but requires non-trivial work.
> 
>  - Take advantage of some of the Debian auto-testing environments.
>   - Make some of the rustc test suite available to autopkgtest
>   - Once we get cross-compiling working, something on ci.debian.net
> <http://ci.debian.net> that re-bootstraps a new arch - just to make sure
> it keeps working.
> 
>  - Gus
> 
> On Wed, 3 Jun 2015 at 11:38 Ahmed Charles <acharles at outlook.com
> <mailto:acharles at outlook.com>> wrote:
> 
>     I'd like to help packaging rustc/cargo on debian. What's the best
>     way to get started/help out?
> 
>     Thanks
>     _______________________________________________
>     Pkg-rust-maintainers mailing list
>     Pkg-rust-maintainers at lists.alioth.debian.org
>     <mailto:Pkg-rust-maintainers at lists.alioth.debian.org>
>     https://lists.alioth.debian.org/mailman/listinfo/pkg-rust-maintainers
> 
> 
> _______________________________________________ Pkg-rust-maintainers
> mailing list Pkg-rust-maintainers at lists.alioth.debian.org
> https://lists.alioth.debian.org/mailman/listinfo/pkg-rust-maintainers
> 
> 
> _______________________________________________
> Pkg-rust-maintainers mailing list
> Pkg-rust-maintainers at lists.alioth.debian.org
> https://lists.alioth.debian.org/mailman/listinfo/pkg-rust-maintainers
> 




More information about the Pkg-rust-maintainers mailing list