#37428 closed defect (fixed)
gnome-keyring @2.30.3 autoreconf fails with automake 1.13: possibly undefined macro: AM_CONFIG_HEADER
Reported by: | gthb (Gunnlaugur Thor Briem) | Owned by: | dbevans (David B. Evans) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.1.2 |
Keywords: | Cc: | ryandesign (Ryan Carsten Schmidt), stephan.bergmann.secondary@… | |
Port: | gnome-keyring |
Description
Installing gnome-keyring @2.30.3 fails on autoreconf. Salient bits from the log:
:info:configure aclocal: warning: autoconf input should be named 'configure.ac', not 'configure.in' :info:configure configure.in:4: warning: macro 'AM_CONFIG_HEADER' not found in library :info:configure glibtoolize: putting auxiliary files in `.'. :info:configure glibtoolize: copying file `./ltmain.sh' :info:configure glibtoolize: Consider adding `AC_CONFIG_MACRO_DIR([m4])' to configure.in and :info:configure glibtoolize: rerunning glibtoolize, to keep the correct libtool macros in-tree. :info:configure glibtoolize: Consider adding `-I m4' to ACLOCAL_AMFLAGS in Makefile.am. :info:configure aclocal: warning: autoconf input should be named 'configure.ac', not 'configure.in' :info:configure configure.in:4: warning: macro 'AM_CONFIG_HEADER' not found in library :info:configure configure.in:4: error: possibly undefined macro: AM_CONFIG_HEADER :info:configure If this token and others are legitimate, please use m4_pattern_allow. :info:configure See the Autoconf documentation. :info:configure autoreconf: /opt/local/bin/autoconf failed with exit status: 1
Full log attached.
Attachments (2)
Change History (11)
Changed 12 years ago by gthb (Gunnlaugur Thor Briem)
Attachment: | gnome-keyring-main.log added |
---|
comment:1 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)
Cc: | devans@… removed |
---|---|
Owner: | changed from macports-tickets@… to devans@… |
comment:2 follow-up: 7 Changed 12 years ago by stephan.bergmann.secondary@…
comment:3 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)
Cc: | ryandesign@… added |
---|---|
Summary: | gnome-keyring @2.30.3 autoreconf fails: possibly undefined macro: AM_CONFIG_HEADER → gnome-keyring @2.30.3 autoreconf fails with automake 1.13: possibly undefined macro: AM_CONFIG_HEADER |
Yes, that's the fix. The automake 1.13 release notes confirm this.
Ideally we would like individual tickets for each affected port.
Changed 12 years ago by gthb (Gunnlaugur Thor Briem)
Attachment: | patch-configure.in.diff added |
---|
New patch-configure.in.diff
comment:4 Changed 12 years ago by gthb (Gunnlaugur Thor Briem)
Attached new version of existing configure.in patch file (rather than a patch for the patch file!), adding the AM_CONFIG_HEADER to AC_CONFIG_HEADERS change. Works for me.
comment:5 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)
Resolution: | → fixed |
---|---|
Status: | new → closed |
Thanks; committed in r100867. I also made an inconsequential whitespace change to the Portfile, so that MacPorts will auto-clean the work directory for any users who tried and failed to build it recently.
comment:7 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)
Replying to stephan.bergmann.secondary@…:
Same problem happens with more ports, e.g., cppunit, faac, and flac.
I also fixed faac in r100869 and flac in r100870, and since cppunit is not openmaintainer I filed #37446 for that. For any additional ports you find that need patching for this or any other problem please file new tickets. Thanks.
comment:8 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)
Cc: | stephan.bergmann.secondary@… added |
---|
Same problem happens with more ports, e.g., cppunit, faac, and flac. Changing their configure.in files from mentioning AM_CONFIG_HEADER to AC_CONFIG_HEADERS appears to help work around the problem.