Port management with error recovery
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...
Size: 931 bytes
Desc: OpenPGP digital signature
More information about the freebsd-questions