Relevant snippet of build log: Making all in saslauthd make[2]: Entering directory '/var/tmp/portage/dev-libs/cyrus-sasl-2.1.26-r10/work/cyrus-sasl-2.1.26-.default/saslauthd' CDPATH="${ZSH_VERSION+.}:" && cd /var/tmp/portage/dev-libs/cyrus-sasl-2.1.26-r10/work/cyrus-sasl-2.1.26/saslauthd && /bin/sh /var/tmp/portage/dev-libs/cyrus-sasl-2.1.26-r10/work/cyrus-sasl-2.1.26/saslauthd/config/missing --run aclocal-1.11 -I /var/tmp/portage/dev-libs/cyrus-sasl-2.1.26-r10/work/cyrus-sasl-2.1.26/saslauthd/cmulocal /var/tmp/portage/dev-libs/cyrus-sasl-2.1.26-r10/work/cyrus-sasl-2.1.26/saslauthd/config/missing: line 46: aclocal-1.11: command not found WARNING: `aclocal-1.11' is missing on your system. You should only need it if you modified `acinclude.m4' or `configure.in'. You might want to install the `Automake' and `Perl' packages. Grab them from any GNU archive site. CDPATH="${ZSH_VERSION+.}:" && cd /var/tmp/portage/dev-libs/cyrus-sasl-2.1.26-r10/work/cyrus-sasl-2.1.26/saslauthd && /bin/sh /var/tmp/portage/dev-libs/cyrus-sasl-2.1.26-r10/work/cyrus-sasl-2.1.26/saslauthd/config/missing --run autoconf cd /var/tmp/portage/dev-libs/cyrus-sasl-2.1.26-r10/work/cyrus-sasl-2.1.26/saslauthd && /bin/sh /var/tmp/portage/dev-libs/cyrus-sasl-2.1.26-r10/work/cyrus-sasl-2.1.26/saslauthd/config/missing --run automake-1.11 --gnu /var/tmp/portage/dev-libs/cyrus-sasl-2.1.26-r10/work/cyrus-sasl-2.1.26/saslauthd/config/missing: line 46: automake-1.11: command not found WARNING: `automake-1.11' is missing on your system. You should only need it if you modified `Makefile.am', `acinclude.m4' or `configure.in'. You might want to install the `Automake' and `Perl' packages. Grab them from any GNU archive site. aclocal.m4:16: warning: this file was generated for autoconf 2.63. You have another version of autoconf. It may work, but is not guaranteed to. If you have problems, you may need to regenerate the build system entirely. To do so, use the procedure documented by the package, typically `autoreconf'. configure.in:45: warning: AC_CACHE_VAL(cyrus_krbinclude, ...): suspicious cache-id, must contain _cv_ to be cached ../../lib/autoconf/general.m4:2031: AC_CACHE_VAL is expanded from... ../../lib/autoconf/general.m4:2052: AC_CACHE_CHECK is expanded from... config/kerberos_v4.m4:76: SASL_KERBEROS_V4_CHK is expanded from... configure.in:45: the top level configure.in:4: error: possibly undefined macro: AC_CONFIG_MACRO_DIRS If this token and others are legitimate, please use m4_pattern_allow. See the Autoconf documentation. configure.in:29: error: possibly undefined macro: AC_PROG_LIBTOOL Makefile:280: recipe for target '/var/tmp/portage/dev-libs/cyrus-sasl-2.1.26-r10/work/cyrus-sasl-2.1.26/saslauthd/configure' failed make[2]: *** [/var/tmp/portage/dev-libs/cyrus-sasl-2.1.26-r10/work/cyrus-sasl-2.1.26/saslauthd/configure] Error 1 make[2]: Leaving directory '/var/tmp/portage/dev-libs/cyrus-sasl-2.1.26-r10/work/cyrus-sasl-2.1.26-.default/saslauthd' Makefile:589: recipe for target 'all-recursive' failed make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory '/var/tmp/portage/dev-libs/cyrus-sasl-2.1.26-r10/work/cyrus-sasl-2.1.26-.default' Makefile:498: recipe for target 'all' failed make: *** [all] Error 2 * ERROR: dev-libs/cyrus-sasl-2.1.26-r10::gentoo failed (compile phase): * emake failed WANT_AUTOMAKE="1.11" isn't sufficient, because then the initial eautoreconf fails. Maybe need to run eautoreconf in the saslauthd directory, since the configure.in file in that directory is also changed. I tried adding a DEPEND line for automake:1.11, which ended in another disaster: Making all in saslauthd make[2]: Entering directory '/var/tmp/portage/dev-libs/cyrus-sasl-2.1.26-r9/work/cyrus-sasl-2.1.26-.default/saslauthd' CDPATH="${ZSH_VERSION+.}:" && cd /var/tmp/portage/dev-libs/cyrus-sasl-2.1.26-r9/work/cyrus-sasl-2.1.26/saslauthd && /bin/sh /var/tmp/portage/dev-libs/cyrus-sasl-2.1.26-r9/work/cyrus-sasl-2.1.26/saslauthd/config/missing --run aclocal-1.11 -I /var/tmp/portage/dev-libs/cyrus-sasl-2.1.26-r9/work/cyrus-sasl-2.1.26/saslauthd/cmulocal aclocal-1.11: couldn't open directory '/var/tmp/portage/dev-libs/cyrus-sasl-2.1.26-r9/work/cyrus-sasl-2.1.26/saslauthd/cmulocal': No such file or directory Makefile:282: recipe for target '/var/tmp/portage/dev-libs/cyrus-sasl-2.1.26-r9/work/cyrus-sasl-2.1.26/saslauthd/aclocal.m4' failed make[2]: *** [/var/tmp/portage/dev-libs/cyrus-sasl-2.1.26-r9/work/cyrus-sasl-2.1.26/saslauthd/aclocal.m4] Error 1 make[2]: Leaving directory '/var/tmp/portage/dev-libs/cyrus-sasl-2.1.26-r9/work/cyrus-sasl-2.1.26-.default/saslauthd' Makefile:589: recipe for target 'all-recursive' failed make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory '/var/tmp/portage/dev-libs/cyrus-sasl-2.1.26-r9/work/cyrus-sasl-2.1.26-.default' Makefile:498: recipe for target 'all' failed make: *** [all] Error 2 * ERROR: dev-libs/cyrus-sasl-2.1.26-r9::gentoo failed (compile phase): * emake failed That is almost similar to bug 468556 but my autotools-fu is not quite good enough to decipher what is going on here.
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a065bacc267e31d5dd4a64d416de800cb6bc6fdd commit a065bacc267e31d5dd4a64d416de800cb6bc6fdd Author: Sam James <sam@gentoo.org> AuthorDate: 2022-02-23 00:52:37 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2022-02-23 00:53:47 +0000 dev-libs/cyrus-sasl: add 2.1.28 Java bindings dropped upstream. Fair amount of autotools changed upstream too so hopefully those issues are fixed. Bug: https://bugs.gentoo.org/539632 Bug: https://bugs.gentoo.org/591358 Bug: https://bugs.gentoo.org/409897 Closes: https://bugs.gentoo.org/476392 Closes: https://bugs.gentoo.org/818145 Signed-off-by: Sam James <sam@gentoo.org> dev-libs/cyrus-sasl/Manifest | 1 + dev-libs/cyrus-sasl/cyrus-sasl-2.1.28.ebuild | 220 +++++++++++++++++++++ ...yrus-sasl-2.1.28-fix-configure-time-check.patch | 50 +++++ 3 files changed, 271 insertions(+)