After executing "port -d -y rev-upgradeā it showed the problem is the
mysql8 variant which produced following error
Could not open /opt/local/lib/mysql8/mysql/libmysqlclient.24.dylib:
Error opening or reading file (referenced from
/opt/local/lib/dovecot/libdovecot-sql.0.dylib)
DEBUG: Marking /opt/local/lib/dovecot/libdovecot-sql.0.dylib as broken
DEBUG: Marking /opt/local/libexec/dovecot/auth as broken
DEBUG: Marking /opt/local/libexec/dovecot/dict as broken
---> Found 3 broken files, matching files to ports
---> Found 1 broken port, determining rebuild order
DEBUG: Broken: dovecot
DEBUG: Processing port dovecot @20060722:2.3.21_0+mysql8
The build worked after removing the mysql8 variant.
------ Original Message ------
From "Horst Simon via macports-users"
<macports-users@lists.macports.org>
To "macports-users@lists.macports.org"
<macports-users@lists.macports.org>
Date 17/5/2024, 19:46:52
Subject Dovecot install Error
Hi,
Tried to install dovecot but it gives following errors and gets into a
loop trying to install the port.
Error: Port dovecot is still broken after rebuilding it more than 3
times.
Error: Please run port -d -y rev-upgrade and use the output to report a
bug.
Error: rev-upgrade failed: Port dovecot still broken after rebuilding 3
times
Error: Follow https://guide.macports.org/#project.tickets if you
believe there is a bug.
Have attached the screen output.
Thanks and Regards,
Horst Simon