Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 469872

Summary: =net-libs/courier-authlib-0.65.0-r3 with =sys-devel/automake-1.13 - configure.in:12: error: 'AM_CONFIG_HEADER': this macro is obsolete.
Product: Gentoo Linux Reporter: Cyrius <cyrius>
Component: [OLD] LibraryAssignee: Net-Mail Packages <net-mail+disabled>
Status: RESOLVED NEEDINFO    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 451744    
Attachments: emerge --info
environment file
courier-authlib-0.65.0-r3.ebuild.patch
courier-authlib-0.65.0-r3.ebuild.patch

Description Cyrius 2013-05-14 20:15:36 UTC
Created attachment 348346 [details]
emerge --info

Unable to compile courier-authlib :


>>> Emerging (1 of 1) net-libs/courier-authlib-0.65.0-r3
 * courier-authlib-0.65.0.tar.bz2 SHA256 SHA512 WHIRLPOOL size ;-) ...                                                                                                                              [ ok ]
 * The dev-tcltk/expect package is not installed.
 * Without it, you will not be able to change system login passwords.
 * However non-system authentication modules (LDAP, MySQL, PostgreSQL,
 * and others) will work just fine.
>>> Unpacking source...
>>> Unpacking courier-authlib-0.65.0.tar.bz2 to /var/tmp/portage/net-libs/courier-authlib-0.65.0-r3/work
>>> Source unpacked in /var/tmp/portage/net-libs/courier-authlib-0.65.0-r3/work
>>> Preparing source in /var/tmp/portage/net-libs/courier-authlib-0.65.0-r3/work/courier-authlib-0.65.0 ...
 * Applying courier-authlib-0.65.0-sqlite.patch ...                                                                                                                                                 [ ok ]
 * Running eautoreconf in '/var/tmp/portage/net-libs/courier-authlib-0.65.0-r3/work/courier-authlib-0.65.0/bdbobj' ...
 * Running libtoolize --install --copy --force --automake ...                                                                                                                                       [ ok ]
 * Running aclocal ...                                                                                                                                                                              [ !! ]

 * Failed Running aclocal !
 * 
 * Include in your bugreport the contents of:
 * 
 *   /var/tmp/portage/net-libs/courier-authlib-0.65.0-r3/temp/aclocal.out

 * ERROR: net-libs/courier-authlib-0.65.0-r3 failed (prepare phase):
 *   Failed Running aclocal !
 * 
 * Call stack:
 *     ebuild.sh, line   93:  Called src_prepare
 *   environment, line 3269:  Called eautoreconf
 *   environment, line  897:  Called multijob_child_init 'eautoreconf'
 *   environment, line 2717:  Called eautoreconf
 *   environment, line  917:  Called eaclocal
 *   environment, line  820:  Called autotools_run_tool '--at-m4flags' 'aclocal'
 *   environment, line  690:  Called die
 * The specific snippet of code:
 *           die "Failed Running $1 !";

cat /var/tmp/portage/net-libs/courier-authlib-0.65.0-r3/temp/aclocal.out :

***** aclocal *****
***** PWD: /var/tmp/portage/net-libs/courier-authlib-0.65.0-r3/work/courier-authlib-0.65.0/bdbobj
***** aclocal

aclocal-1.13: warning: autoconf input should be named 'configure.ac', not 'configure.in'
configure.in:12: error: 'AM_CONFIG_HEADER': this macro is obsolete.
    You should use the 'AC_CONFIG_HEADERS' macro instead.
/usr/share/aclocal-1.13/obsolete-err.m4:12: AM_CONFIG_HEADER is expanded from...
configure.in:12: the top level
autom4te-2.69: /usr/bin/m4 failed with exit status: 1
aclocal-1.13: error: echo failed with exit status: 1
Comment 1 Cyrius 2013-05-14 20:17:57 UTC
revdep-rebuild done, emerge autoconf automake cmake autogen libtool done.
The problem still occurs.
Comment 2 Cyrius 2013-05-14 20:25:12 UTC
Created attachment 348348 [details]
environment file

/var/tmp/portage/net-libs/courier-authlib-0.65.0-r3/temp/environment
Comment 3 David Heidelberg (okias) 2014-02-15 01:22:22 UTC
Created attachment 370450 [details, diff]
courier-authlib-0.65.0-r3.ebuild.patch

Well, this patch could help you. Can you retest?
Comment 4 David Heidelberg (okias) 2014-02-15 01:38:47 UTC
Created attachment 370452 [details, diff]
courier-authlib-0.65.0-r3.ebuild.patch

this one should work (hope)
Comment 5 David Heidelberg (okias) 2014-02-15 02:04:38 UTC
bump net-libs/courier-authlib-0.66.1 in ixit overlay including fix.
Comment 6 David Heidelberg (okias) 2014-02-15 12:12:28 UTC
Official upstream patch [1] for all courier parts.

[1] http://courier-mail-server.10983.n7.nabble.com/PATCH-fix-automake-gt-1-13-tt21251.html
Comment 7 Eray Aslan gentoo-dev 2014-04-26 12:44:53 UTC
Should be fixed in later versions of automake-1.13.  Please let me know if you are still having problems.