[Pkg-rust-maintainers] Hi :)
Sylvestre Ledru
sylvestre at debian.org
Sun Feb 15 18:00:08 UTC 2015
On 02/02/2015 02:10, Angus Lees wrote:
>
>
> On Fri Jan 30 2015 at 6:23:06 PM Luca Bruno <lucab at debian.org
> <mailto:lucab at debian.org>> wrote:
>
> On Thursday 29 January 2015 08:38:18 Sylvestre Ledru wrote:
>
> > > The main differences with the current packaging and mine are:
> > > (1) I build-dep on a hypothetical existing rustc package by
> default
> > >
> > > and use build profiles to skip this and download stage0 at
> build time
> > > for bootstrapping.
> >
> > Well, how do you manage that fact that builds don't have network
> access?
>
>
> I was trying to follow existing precedents of bootstrapping other
> toolchains and circular build-dependencies:
>
> 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.
>
> 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 ;)
>
> Putting aside the network issue, I'm also interested in looking at how
> flexible build-profiles are for supporting different bootstrapping
> options.
> I'm still new to it, though, so having a look at your work here
> would be
> great.
> Can you please push to some personal repo and post the link here?
>
>
> Yep, repo here:
> https://github.com/anguslees/rust/compare/debian/experimental
>
I did a first merge from your work.
it is not perfect but it is a first step.
I will try to fix the various potential issues and upload a -2.
Cheers,
Sylvestre
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/pkg-rust-maintainers/attachments/20150215/7e3357a5/attachment.html>
More information about the Pkg-rust-maintainers
mailing list