I was able to circumvent this autoconf failure by installing gettext before 
installing dovecot, I don't know if that is the best solution, but ot works (as 
in, it now installs).

Gerben Wierda (LinkedIn <https://www.linkedin.com/in/gerbenwierda>, Mastodon 
<https://newsie.social/@gctwnl>)
R&A IT Strategy <https://ea.rna.nl/> (main site)
Book: Chess and the Art of Enterprise Architecture <https://ea.rna.nl/the-book/>
Book: Mastering ArchiMate <https://ea.rna.nl/the-book-edition-iii/>
YouTube Channel <http://www.youtube.com/@GerbenWierda>

> On 22 May 2024, at 22:43, Gerben Wierda <gerben.wie...@rna.nl> wrote:
> 
> I did my normal upgrade round, that is, update macOS, then a clean update of 
> MacPorts and a reinstall of my port collection. This is generally routine for 
> me.
> 
> But this now fails at dovecot (which is nasty,. I really need that mail 
> server, now running on the Linux backup server)
> 
> port -N install dovecot +apns +solr
> --->  Configuring dovecot
> Error: Failed to configure dovecot: autoreconf failure: command execution 
> failed
> Error: See 
> /opt/local/var/macports/logs/_Users_sysbh_MacPortsDev_macports-ports_mail_dovecot/dovecot/main.log
>  for details.
> Error: Follow https://guide.macports.org/#project.tickets if you believe 
> there is a bug.
> Error: Processing of port dovecot failed
> 
> and the log ends with
> 
> :info:configure ./lib/autoconf/oldnames.m4:34: AC_ERROR is expanded from...
> :info:configure lib/m4sugar/m4sh.m4:690: _AS_IF_ELSE is expanded from...
> :info:configure lib/m4sugar/m4sh.m4:697: AS_IF is expanded from...
> :info:configure ./lib/autoconf/libs.m4:100: AC_CHECK_LIB is expanded from...
> :info:configure m4/want_stemmer.m4:1: DOVECOT_WANT_STEMMER is expanded from...
> :info:configure configure.ac:762: the top level
> :info:configure configure.ac:763: warning: The macro 'AC_ERROR' is obsolete.
> :info:configure configure.ac:763: You should run autoupdate.
> :info:configure ./lib/autoconf/oldnames.m4:34: AC_ERROR is expanded from...
> :info:configure m4/want_textcat.m4:1: DOVECOT_WANT_TEXTCAT is expanded from...
> :info:configure configure.ac:763: the top level
> :info:configure configure.ac:765: warning: The macro 'AC_ERROR' is obsolete.
> :info:configure configure.ac:765: You should run autoupdate.
> :info:configure ./lib/autoconf/oldnames.m4:34: AC_ERROR is expanded from...
> :info:configure m4/want_icu.m4:1: DOVECOT_WANT_ICU is expanded from...
> :info:configure configure.ac:765: the top level
> :info:configure configure.ac:285: error: possibly undefined macro: AM_ICONV
> :info:configure       If this token and others are legitimate, please use 
> m4_pattern_allow.
> :info:configure       See the Autoconf documentation.
> :info:configure autoreconf: error: /opt/local/bin/autoconf failed with exit 
> status: 1
> :info:configure Command failed:  cd 
> "/opt/local/var/macports/build/_Users_sysbh_MacPortsDev_macports-ports_mail_dovecot/dovecot/work/dovecot-2.3.21"
>  && autoreconf -fvi 
> :info:configure Exit code: 1
> :error:configure Failed to configure dovecot: autoreconf failure: command 
> execution failed
> :debug:configure Error code: NONE
> :debug:configure Backtrace: autoreconf failure: command execution failed
> :debug:configure     while executing
> :debug:configure "$procedure $targetname"
> :error:configure See 
> /opt/local/var/macports/logs/_Users_sysbh_MacPortsDev_macports-ports_mail_dovecot/dovecot/main.log
>  for details.
> 
> 
> 
> Gerben Wierda (LinkedIn <https://www.linkedin.com/in/gerbenwierda>, Mastodon 
> <https://newsie.social/@gctwnl>)
> R&A IT Strategy <https://ea.rna.nl/> (main site)
> Book: Chess and the Art of Enterprise Architecture 
> <https://ea.rna.nl/the-book/>
> Book: Mastering ArchiMate <https://ea.rna.nl/the-book-edition-iii/>
> YouTube Channel <http://www.youtube.com/@GerbenWierda>

Reply via email to