[Pkg-rust-maintainers] build profiles [was : Re: Hi :)]
Sylvestre Ledru
sylvestre at debian.org
Fri Feb 13 14:33:21 UTC 2015
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
More information about the Pkg-rust-maintainers
mailing list