What in MacPorts decides that files are 'broken'?
Daniel J. Luke
dluke at geeklair.net
Tue May 4 01:39:52 UTC 2021
> On May 3, 2021, at 6:33 PM, Nils Breunese <nils at breun.nl> wrote:
> I maintain the openjdk* ports. These ports install prebuilt x86_64 binaries from AdoptOpenJDK. A MacPorts user with an M1 created https://trac.macports.org/ticket/62802 to report that installing the openjdk11 port on his machine makes rev-upgrade reports a couple of files in this port as ‘broken’. I’ve asked the reporter to manually download the prebuilt x86_64 tarball, and that seems to work fine on his M1 machine.
>
> I am not sure what MacPorts runs that decides these files are broken. Can anyone tell me more about this?
That's rev-upgrade, from the manpage (man 1 port-rev-upgrade):
port rev-upgrade will check all binaries (i.e., executables and
libraries) installed by MacPorts for consistency. If any linking
problems such as missing or incompatible libraries are found,
rev-upgrade will rebuild broken ports in an attempt to fix the
problems.
By default, rev-upgrade is run automatically after each installation or
upgrade, unless you pass the --no-rev-upgrade option or disable this
beahvior in macports.conf(5) using the revupgrade_autorun switch.
--
Daniel J. Luke
More information about the macports-dev
mailing list