On Sun, 18 Jan 2026, Clemens Lang wrote:
On 18. Jan 2026, at 18:40, Fred Wright <[email protected]> wrote:

And since the revbump doesn't involve new distfiles, the revbummped ports will often be updated without updating the openssl3 port, probably creating inconsistencies.

This only happens if you run `port upgrade` with `-p`. The manpage explicitly tells you not to do that for exactly this reason:

WARNING: This option is harmful to upgrade and should be avoided at all cost. Often, MacPorts ports are only upgraded to rebuild them against updated dependencies. Specifying this flag will cause a spurious rebuild if a dependency of a port fails to build and leave your system in a broken state once the dependent port is fixed.

Using `port upgrade outdated` without `-p` is essentially useless on older platforms due to all the broken ports. Not using `-p` is also problematic because it even avoids upgrading ports that *don't* depend on the failed ones, stopping on *any* failure.

Another issue with `-p` is that the final exit status is based on whether the *last* operation failed, rather than whether *any* operation failed.

Fred Wright

Reply via email to