Port management with error recovery

Matthew Seaman matthew at FreeBSD.org
Thu Aug 3 09:23:09 UTC 2017

On 03/08/2017 06:49, Jookia wrote:
> By default you can't build multiple ports at a time. This makes it difficult for
> updating the tree or doing bulk installs. Portsmaster and Poudriere seem to fix
> this. However neither of them support keeping work directories and resuming
> builds to reduce compile times on failures and updates.

Poudriere works at the granularity of an individual port: this is fine
for most ports where a reasonably specc'd machine will take maybe 2
minutes to build most ports. So you can kill a poudriere run, and then
restart it and it will benefit from all the ports it built previously,
but anything that was building at the point you killed it will have to
be restarted from scratch.

There are a number of ports that take much, much longer to build --
llvm40, openjdk8 for example, which could take several hours to build.
In that case, yes, poudriere cannot suspend and resume the build of
those package so your best recourse is hands off and let take as long as
it needs until it has finished.



-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 931 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20170803/11b2af6c/attachment-0001.sig>

More information about the freebsd-questions mailing list