<html>
  <head>
    <meta content="text/html; charset=windows-1252"
      http-equiv="Content-Type">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <div class="moz-cite-prefix">On 02/02/2015 02:10, Angus Lees wrote:<br>
    </div>
    <blockquote
cite="mid:CAPA_H3dyFT1kkg6hJi91kA_vhhGhm8q_89=M2uuUz1xdMk=wkA@mail.gmail.com"
      type="cite"><br>
      <br>
      <div class="gmail_quote">On Fri Jan 30 2015 at 6:23:06 PM Luca
        Bruno <<a moz-do-not-send="true"
          href="mailto:lucab@debian.org">lucab@debian.org</a>> wrote:<br>
        <blockquote class="gmail_quote" style="margin:0 0 0
          .8ex;border-left:1px #ccc solid;padding-left:1ex">On Thursday
          29 January 2015 08:38:18 Sylvestre Ledru wrote:<br>
          <br>
          > > The main differences with the current packaging and
          mine are:<br>
          > >  (1) I build-dep on a hypothetical existing rustc
          package by default<br>
          > ><br>
          > > and use build profiles to skip this and download
          stage0 at build time<br>
          > > for bootstrapping.<br>
          ><br>
          > Well, how do you manage that fact that builds don't have
          network access?<br>
        </blockquote>
        <div><br>
        </div>
        <div>I was trying to follow existing precedents of bootstrapping
          other toolchains and circular build-dependencies:</div>
        <div><br>
        </div>
        <div>In the distant future, the rustc package will clearly
          build-dep on rustc (>= some version) and this won't even be
          exciting.  Just like bootstrapping other circular-dependent
          toolchains (eg: haskell, python), we need to apply some manual
          black-magic to bootstrap the first package and temporarily
          break that circular dependency.</div>
        <div><br>
        </div>
        <div>So: with my packaging, the "normal" build requires rustc
          already installed (and thus is impossible for the first
          packages, and likely also impossible once we correctly specify
          the (narrow!) range of rustc compilers required). 
          Bootstrapping requires a manual build, and thus downloading
          off the internet at build-time seemed as bad as any other
          option - and easier to type ;)</div>
        <div><br>
        </div>
        <blockquote class="gmail_quote" style="margin:0 0 0
          .8ex;border-left:1px #ccc solid;padding-left:1ex">
          Putting aside the network issue, I'm also interested in
          looking at how<br>
          flexible build-profiles are for supporting different
          bootstrapping options.<br>
          I'm still new to it, though, so having a look at your work
          here would be<br>
          great.<br>
          Can you please push to some personal repo and post the link
          here?<br>
        </blockquote>
        <div><br>
        </div>
        <div>Yep, repo here: <a moz-do-not-send="true"
            href="https://github.com/anguslees/rust/compare/debian/experimental">https://github.com/anguslees/rust/compare/debian/experimental</a></div>
        <br>
      </div>
    </blockquote>
    I did a first merge from your work.<br>
    it is not perfect but it is a first step.<br>
    <br>
    I will try to fix the various potential issues and upload a -2.<br>
    <br>
    Cheers,<br>
    Sylvestre<br>
    <br>
  </body>
</html>