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

Mathieu Arnold mat at FreeBSD.org
Tue Feb 21 16:16:07 UTC 2017


Le 21/02/2017 à 17:03, Mikhail T. a écrit :
> On 21.02.2017 10:52, Mathieu Arnold wrote: >>> Just did. But I believe, our usage of PORTREVISION is >>>
wrong-headed. >> I completely agree. The problem is that
portupgrade/portmaster do >> not handle shlib bumps and do not force
rebuilding depending ports. >> If you want to fix those tools to behave
in a better way, please do >> so. > I'm neither the author nor a
maintainer of these tools. But I'm glad > we agree on the underlying
problem. >> In the mean time, when some shlib version is bumped, all
consumers >> must have their PORTREVISION bumped. > > The tools have
been broken in this manner /for years/ -- why would > they ever change,
if PORTREVISION is bumped every time? And, when it > is not,
PortMgr-officials go hunting the offender -- instead of the > actual
authors/maintainers of the broken tools? >

When using poudriere, you do not need to bump PORTREVISION, it will
rebuild everything that needs rebuilding, and then, when you run pkg
upgrade, pkg will force the reinstallation of packages because a
dependencing shlib version was changed.

Like I said, the problem is only with portmaster and portupgrade, not
all our tools. I have used poudriere + pkg upgrade exclusively for 3+
years, and never had a problem shlib version changes.


-- 
Mathieu Arnold


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


More information about the svn-ports-all mailing list