<html>
  <head>
    <meta content="text/html; charset=windows-1252"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <div class="moz-cite-prefix">Congrat, did you push something ?<br>
      <br>
      Thanks<br>
      Sylvestre<br>
      Le 28/07/2015 18:37, Angus Lees a écrit :<br>
    </div>
    <blockquote
cite="mid:CAPA_H3fez1UaVy_dSNgP7JM7P2CR_9niy_5LPCk+uuzjmGi33g@mail.gmail.com"
      type="cite">
      <div dir="ltr">(This is very interesting, thanks Luca)</div>
      <br>
      <div class="gmail_quote">
        <div dir="ltr">On Tue, 28 Jul 2015 at 21:09 Luca Bruno <<a
            moz-do-not-send="true" href="mailto:lucab@debian.org"><a class="moz-txt-link-abbreviated" href="mailto:lucab@debian.org">lucab@debian.org</a></a>>
          wrote:<br>
        </div>
        <blockquote class="gmail_quote" style="margin:0 0 0
          .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi all,<br>
          just a quick mail to say that I was looking a bit into a
          cleaner way to<br>
          bootstrap cargo (ie. without embedding a binary).<br>
          <br>
          It is my understanding that some other distros (Bitrig, some
          *BSD) are<br>
          currently relying on this:<br>
          <a moz-do-not-send="true"
            href="https://github.com/dhuseby/cargo-bootstrap"
            rel="noreferrer" target="_blank">https://github.com/dhuseby/cargo-bootstrap</a><br>
          <br>
          It is a minimal python script that mimics cargo
          fetch&build capabilities to<br>
          locally build a stage0 cargo. It needs python-dulwich (already
          in debian) and<br>
          python-pytoml (I've just uploaded this to NEW).<br>
          <br>
          With those, and embedding only crate-index plus all cargo
          source dependencies,<br>
          I was more or less able to bootstrap it from sources only.<br>
          <br>
          Some comments:<br>
           * git2-rs depends on newer libgit2, I added a note here[0]
          and pinged<br>
             debian maintainer for 0.23.0-1 ETA<br>
           * I had some issue with curl-sys and openssl-sys, but this
          was probably my<br>
             mistake<br>
           * post-configure (ie. stage1), Cargo.{toml|lock} needs to be
          somehow adjusted<br>
             to use local crates. I haven't yet looked into this,
          pointers are welcome.<br>
          <br>
          I still have no idea how to ship all cargo dependencies in
          debian (embedded<br>
          with cargo? multiple source-only package?), but at least it
          looks like a<br>
          start :)<br>
          <br>
          [0] <a moz-do-not-send="true"
href="https://github.com/alexcrichton/git2-rs/issues/32#issuecomment-125539959"
            rel="noreferrer" target="_blank">https://github.com/alexcrichton/git2-rs/issues/32#issuecomment-125539959</a><br>
          <br>
          Ciao, Luca<br>
          <br>
          --<br>
           .''`.  ** Debian GNU/Linux **  | Luca Bruno (kaeso)<br>
          : :'  :   The Universal O.S.    | lucab (AT) <a
            moz-do-not-send="true" href="http://debian.org"
            rel="noreferrer" target="_blank">debian.org</a><br>
          `. `'`                          | GPG: 0xBB1A3A854F3BBEBF<br>
            `-     <a moz-do-not-send="true"
            href="http://www.debian.org" rel="noreferrer"
            target="_blank">http://www.debian.org</a>  | Debian
          GNU/Linux Developer<br>
          _______________________________________________<br>
          Pkg-rust-maintainers mailing list<br>
          <a moz-do-not-send="true"
            href="mailto:Pkg-rust-maintainers@lists.alioth.debian.org"
            target="_blank">Pkg-rust-maintainers@lists.alioth.debian.org</a><br>
          <a moz-do-not-send="true"
href="https://lists.alioth.debian.org/mailman/listinfo/pkg-rust-maintainers"
            rel="noreferrer" target="_blank">https://lists.alioth.debian.org/mailman/listinfo/pkg-rust-maintainers</a><br>
        </blockquote>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
Pkg-rust-maintainers mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Pkg-rust-maintainers@lists.alioth.debian.org">Pkg-rust-maintainers@lists.alioth.debian.org</a>
<a class="moz-txt-link-freetext" href="https://lists.alioth.debian.org/mailman/listinfo/pkg-rust-maintainers">https://lists.alioth.debian.org/mailman/listinfo/pkg-rust-maintainers</a>
</pre>
    </blockquote>
    <br>
  </body>
</html>