[Pkg-rust-maintainers] build profiles [was : Re: Hi :)]

Angus Lees gus at debian.org
Mon Feb 16 02:00:51 UTC 2015


Yeah, naturally apt-get source won't work until after the package is
properly in the archives.
In the meantime, just run dpkg-buildpackage -Pdlstage0,nodocs (and any
other args) from the source directory.

 - Gus

On Sat Feb 14 2015 at 1:33:56 AM Sylvestre Ledru <sylvestre at debian.org>
wrote:

> On 29/01/2015 05:48, Angus Lees wrote:
> > I'm excited by Rust and glad to see this packaging effort spring back
> > to (visible) life.  Over the last month or so, I've been trying to
> > build my own rustc packages, and it's well past time that I made
> > contact with the rest of you.
> >
> > 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.
> >
> > The two modes work very cleanly from a packaging pov, but of course we
> > aren't going to have a stable rustc that we can use to build the next
> > compiler any time soon.  I was imagining that we'd be stuck in
> > experimental until we could build ongoing releases without binary
> > blobs - but if we have agreement from ftp-masters on the
> > embedded-stage0-blob approach then perhaps we don't want this part.
> >
> I tried to merge your work into our.
> However, I cannot get the package to build using the build profile
> (documented in README.Debian)
>
> This fails:
> $ apt-get source --compile --build-profiles=dlstage0,nodocs rustc
> Reading package lists... Done
> Building dependency tree
> Reading state information... Done
> E: Unable to find a source package for rustc
>
> (btw, your doc has a typo, it is build-profiles, not build-profile).
>
> Cheers,
> Sylvestre
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/pkg-rust-maintainers/attachments/20150216/7c30e40c/attachment.html>


More information about the Pkg-rust-maintainers mailing list