Re: Testing ports of rust software w/o building rustc

From: Pat Maddox <pat_at_patmaddox.com>
Date: Sun, 13 Nov 2022 20:02:47 UTC
On Sat, Nov 12, 2022, at 6:08 PM, Sysadmin Lists wrote:
>> ----------------------------------------
>> From: Paul Mather <paul@gromit.dlib.vt.edu>
>> Sent: Fri Nov 11 22:48:31 CET 2022
>> To: Nicolas Herry <beastieboy@beastieboy.net>
>> Cc: Fernando Apesteguía <fernando.apesteguia@gmail.com>, User Questions <freebsd-questions@freebsd.org>
>> Subject: Re: Testing ports of rust software w/o building rustc
>> 
>> On Nov 11, 2022, at 3:23 PM, Nicolas Herry <beastieboy@beastieboy.net> wrote:
>> 
>> > Paul Mather <paul@gromit.dlib.vt.edu> writes:
>> > 
>> > Then I'm curious now: why not opt for poudriere-devel (and binary
>> > downloads)? Do you need to pass specific options to the compilation of
>> > Rust?
>> 
>> Also, TBH, the documentation on binary package downloading support in Poudriere isn't exactly extensive.  Prompted by your message I went looking for it and all I could find is some comments at the end of the poudriere.conf.sample file.  (Also, also, I'm running -STABLE, and I don't believe there is a FreeBSD package repo for that, so I don't know how useful the capability would be to me.  I could be wrong, though.)
>
> There's this in poudriere-bulk (8):
>
>      -b branch
>               Fetch binary packages from a binary package repository instead
>               of building them.  The branch argument can be one of the
>               following: latest, quarterly, release_X (where X is the minor
>               version of a release, e.g., “0”), or url.

We use this, and it works well.

poudriere still insists on building `pkg` though, which I haven’t figured out yet.

Looks like I’ll need to try `-vv`.

Also, regarding documentation: you need to install poudriere-devel and look at the installed man pages. The info on the wiki is not up-to-date.

Pat