poudriere: reduce the number of rebuilt packages?

Stefan Ehmann shoesoft at gmx.net
Fri Jan 2 11:04:05 UTC 2015

I've recently switched from portmaster to poudriere/'pkg upgrade' to 
manage my port updates. Basically it works fine, but incremental builds 
don't quite work as I expected.

poudriere rebuilds all packages if any dependency has changed. If there 
are only some ports with new versions, possibly hundreds of packages are 
rebuilt. So far it looks like I'll end up rebuilding packages like 
libreoffice/KDE/chromium several times a week. The rebuilt packages 
won't even be installed by 'pkg upgrade' because their version number 
has not changed.

That's a huge waste of resources. With portmaster only ports with 
increased version numbers are rebuilt.

Can I use poudriere to rebuild only packages where the version number 

The option -S (Don't recrusively rebuild packages affected by other 
packages requiring incremental rebuild) looked promising. But automatic 
packages are not always rebuilt and I've also encountered build 
problems. CHECK_CHANGED_DEPS=no doesn't seem to reduce the number of 
packages rebuilt.

Is there a way to do what I want with poudriere? Or should I switch back 
to portmaster?

More information about the freebsd-ports mailing list