Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 02 Jan 2015 12:03:54 +0100
From:      Stefan Ehmann <shoesoft@gmx.net>
To:        freebsd-ports@freebsd.org
Subject:   poudriere: reduce the number of rebuilt packages?
Message-ID:  <54A67B1A.5060007@gmx.net>

next in thread | raw e-mail | index | archive | help
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 
changed?


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?



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?54A67B1A.5060007>