Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 591358 - dev-libs/cyrus-sasl-2.1.26-r{9,10}: build is broken due to automake/autoconf conflict
Summary: dev-libs/cyrus-sasl-2.1.26-r{9,10}: build is broken due to automake/autoconf ...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-08-16 05:23 UTC by A. Wilcox (awilfox)
Modified: 2022-07-29 02:11 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description A. Wilcox (awilfox) 2016-08-16 05:23:00 UTC
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.
Comment 1 Larry the Git Cow gentoo-dev 2022-02-23 00:54:18 UTC
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(+)