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

Angus Lees gus at debian.org
Mon Feb 16 02:04:47 UTC 2015


Oh, right - I could certainly clarify the README.Debian.   I also called my
source package rustc, since that seemed to be the direction upstream was
heading (latest release is rustc-*.tar.gz and many pieces are being moved
out into separate projects).    Also, you're right - for the bootstrap
section I should talk about dpkg-buildpackage rather than apt-get source,
because that's exactly the bootstrap case ;)

On Mon Feb 16 2015 at 1:01:05 PM Angus Lees <gus at debian.org> wrote:

> 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
>>
>>  _______________________________________________
> Pkg-rust-maintainers mailing list
> Pkg-rust-maintainers at lists.alioth.debian.org
> https://lists.alioth.debian.org/mailman/listinfo/pkg-rust-maintainers
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/pkg-rust-maintainers/attachments/20150216/8cffd6ce/attachment.html>


More information about the Pkg-rust-maintainers mailing list