Misuse of PORTREVISION (Re: svn commit: r434379 - head/multimedia/x265)

Bryan Drewery bdrewery at FreeBSD.org
Wed Mar 15 22:30:41 UTC 2017


On 3/7/2017 2:05 PM, Bryan Drewery wrote:
> On 2/22/17 12:03 PM, Bryan Drewery wrote:
>> On 2/21/2017 10:19 AM, Tijl Coosemans wrote:
>>> Poudriere does not rebuild everything that needs to be rebuilt by the way.
>>> It just always rebuilds everything, full stop.
>> I have a lot of replies to this thread and picked this one at random.
>>
>> 1.
>> First of all, this is not true.  Poudriere *does not* rebuild everything
>> every time.  It only does that with the -c flag.  Poudriere *by default*
>> will do an incremental build.  It only rebuilds things if they have,
>> comparing to the previous package, a missing package, a new PORTVERSION,
>> a new PORTREVISION, new LIB or RUN dependencies, changed OPTIONS, a
>> changed PKGNAME, or lastly if a dependency rebuilds due to any of the
>> previous.
> 
> I forgot that also if the jail has been updated then it rebuilds all
> packages, because it has no idea what in the base ABI/build tools will
> impact package output.  So if you were using 'head' as a build jail,
> then yes it will always rebuild if you are always updating the jail first.
> 

Also bulk -S disables this aggressiveness (it's quite an old flag), but
expect problems:

>     -S          -- Don't recursively rebuild packages affected by other
>                    packages requiring incremental rebuild. This can result
>                    in broken packages if the ones updated do not retain
>                    a stable ABI.


-- 
Regards,
Bryan Drewery

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 473 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freebsd.org/pipermail/svn-ports-all/attachments/20170315/e8c936bf/attachment.sig>


More information about the svn-ports-all mailing list