[Pkg-rust-maintainers] On bootstrapping cargo

Sylvestre Ledru sylvestre at debian.org
Fri Jul 31 23:55:14 UTC 2015


Congrat, did you push something ?

Thanks
Sylvestre
Le 28/07/2015 18:37, Angus Lees a écrit :
> (This is very interesting, thanks Luca)
>
> On Tue, 28 Jul 2015 at 21:09 Luca Bruno <lucab at debian.org
> <mailto:lucab at debian.org>> wrote:
>
>     Hi all,
>     just a quick mail to say that I was looking a bit into a cleaner
>     way to
>     bootstrap cargo (ie. without embedding a binary).
>
>     It is my understanding that some other distros (Bitrig, some *BSD) are
>     currently relying on this:
>     https://github.com/dhuseby/cargo-bootstrap
>
>     It is a minimal python script that mimics cargo fetch&build
>     capabilities to
>     locally build a stage0 cargo. It needs python-dulwich (already in
>     debian) and
>     python-pytoml (I've just uploaded this to NEW).
>
>     With those, and embedding only crate-index plus all cargo source
>     dependencies,
>     I was more or less able to bootstrap it from sources only.
>
>     Some comments:
>      * git2-rs depends on newer libgit2, I added a note here[0] and pinged
>        debian maintainer for 0.23.0-1 ETA
>      * I had some issue with curl-sys and openssl-sys, but this was
>     probably my
>        mistake
>      * post-configure (ie. stage1), Cargo.{toml|lock} needs to be
>     somehow adjusted
>        to use local crates. I haven't yet looked into this, pointers
>     are welcome.
>
>     I still have no idea how to ship all cargo dependencies in debian
>     (embedded
>     with cargo? multiple source-only package?), but at least it looks
>     like a
>     start :)
>
>     [0]
>     https://github.com/alexcrichton/git2-rs/issues/32#issuecomment-125539959
>
>     Ciao, Luca
>
>     --
>      .''`.  ** Debian GNU/Linux **  | Luca Bruno (kaeso)
>     : :'  :   The Universal O.S.    | lucab (AT) debian.org
>     <http://debian.org>
>     `. `'`                          | GPG: 0xBB1A3A854F3BBEBF
>       `-     http://www.debian.org  | Debian GNU/Linux Developer
>     _______________________________________________
>     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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/pkg-rust-maintainers/attachments/20150731/5aa70711/attachment.html>


More information about the Pkg-rust-maintainers mailing list