Opened 12 years ago

Closed 12 years ago

Last modified 12 years ago

#37437 closed defect (fixed)

py27-pygtk: configure fails with automake 1.13: macro 'AM_CONFIG_HEADER' not found in library

Reported by: mkae (Marko Käning) Owned by: michaelld (Michael Dickens)
Priority: Normal Milestone:
Component: ports Version: 2.1.2
Keywords: Cc:
Port: py27-pygtk

Description

--->  Fetching distfiles for py27-pygtk
--->  Attempting to fetch pygtk-2.24.0.tar.bz2 from http://mse.uk.distfiles.macports.org/sites/distfiles.macports.org/py-pygtk
--->  Verifying checksum(s) for py27-pygtk
--->  Extracting py27-pygtk
--->  Applying patches to py27-pygtk
--->  Configuring py27-pygtk
Error: org.macports.configure for port py27-pygtk returned: autoreconf failure: command execution failed
Please see the log file for port py27-pygtk for details:
    /opt/macports-test/var/macports/logs/_opt_macports-test_var_macports_sources_rsync.macports.org_release_ports_python_py-pygtk/py27-pygtk/main.log
Error: Unable to upgrade port: 1
To report a bug, follow the instructions in the guide:
    http://guide.macports.org/#project.tickets

This is what one finds in the log file:

:info:extract --->  Extracting pygtk-2.24.0.tar.bz2
:debug:extract setting option extract.args to '/opt/macports-test/var/macports/distfiles/py-pygtk/pygtk-2.24.0.tar.bz2'
:debug:extract Environment: CPATH='/opt/macports-test/include' CC_PRINT_OPTIONS_FILE='/opt/macports-test/var/macports/build/_opt_macports-test_var_macports_sources_rsync.macports.org_release_ports_python_py-pygtk/py27-pygtk/work/.CC_PRINT_OPTIONS' LIBRARY_PATH='/opt/macports-test/lib' CC_PRINT_OPTIONS='YES' MACOSX_DEPLOYMENT_TARGET='10.6'
:debug:extract Assembled command: 'cd "/opt/macports-test/var/macports/build/_opt_macports-test_var_macports_sources_rsync.macports.org_release_ports_python_py-pygtk/py27-pygtk/work" && /usr/bin/bzip2 -dc '/opt/macports-test/var/macports/distfiles/py-pygtk/pygtk-2.24.0.tar.bz2' | /usr/bin/gnutar --no-same-owner -xf -'
:debug:extract Executing command line:  cd "/opt/macports-test/var/macports/build/_opt_macports-test_var_macports_sources_rsync.macports.org_release_ports_python_py-pygtk/py27-pygtk/work" && /usr/bin/bzip2 -dc '/opt/macports-test/var/macports/distfiles/py-pygtk/pygtk-2.24.0.tar.bz2' | /usr/bin/gnutar --no-same-owner -xf -
:debug:extract euid/egid changed to: 0/0
:debug:extract chowned /opt/macports-test/var/macports/build/_opt_macports-test_var_macports_sources_rsync.macports.org_release_ports_python_py-pygtk/py27-pygtk/work to macports
:debug:extract euid/egid changed to: 511/505
:debug:extract Privilege de-escalation not attempted as not running as root.
:debug:patch patch phase started at Sat Dec 29 23:05:27 CET 2012
:debug:patch Executing org.macports.patch (py27-pygtk)
:notice:patch --->  Applying patches to py27-pygtk
:info:patch --->  Applying patch-gtk-quartz.diff
:debug:patch Environment: CPATH='/opt/macports-test/include' CC_PRINT_OPTIONS_FILE='/opt/macports-test/var/macports/build/_opt_macports-test_var_macports_sources_rsync.macports.org_release_ports_python_py-pygtk/py27-pygtk/work/.CC_PRINT_OPTIONS' LIBRARY_PATH='/opt/macports-test/lib' CC_PRINT_OPTIONS='YES' MACOSX_DEPLOYMENT_TARGET='10.6'
:debug:patch Assembled command: 'cd "/opt/macports-test/var/macports/build/_opt_macports-test_var_macports_sources_rsync.macports.org_release_ports_python_py-pygtk/py27-pygtk/work/pygtk-2.24.0" && /usr/bin/patch -p0'
:debug:patch Executing command line:  cd "/opt/macports-test/var/macports/build/_opt_macports-test_var_macports_sources_rsync.macports.org_release_ports_python_py-pygtk/py27-pygtk/work/pygtk-2.24.0" && /usr/bin/patch -p0 < '/opt/macports-test/var/macports/sources/rsync.macports.org/release/ports/python/py-pygtk/files/patch-gtk-quartz.diff'
:info:patch patching file configure.ac
:info:patch patching file gtk/Makefile.am
:debug:patch Privilege de-escalation not attempted as not running as root.
:debug:configure configure phase started at Sat Dec 29 23:05:27 CET 2012
:notice:configure --->  Configuring py27-pygtk
:debug:configure Using compiler 'Mac OS X gcc 4.2'
:debug:configure Executing proc-pre-org.macports.configure-configure-0
:debug:configure Executing org.macports.configure (py27-pygtk)
:debug:configure Environment: CPATH='/opt/macports-test/include' CC_PRINT_OPTIONS_FILE='/opt/macports-test/var/macports/build/_opt_macports-test_var_macports_sources_rsync.macports.org_release_ports_python_py-pygtk/py27-pygtk/work/.CC_PRINT_OPTIONS' LIBRARY_PATH='/opt/macports-test/lib' CC_PRINT_OPTIONS='YES' MACOSX_DEPLOYMENT_TARGET='10.6'
:debug:configure Assembled command: 'cd "/opt/macports-test/var/macports/build/_opt_macports-test_var_macports_sources_rsync.macports.org_release_ports_python_py-pygtk/py27-pygtk/work/pygtk-2.24.0" && autoreconf --install -I m4'
:debug:configure Executing command line:  cd "/opt/macports-test/var/macports/build/_opt_macports-test_var_macports_sources_rsync.macports.org_release_ports_python_py-pygtk/py27-pygtk/work/pygtk-2.24.0" && autoreconf --install -I m4
:info:configure configure.ac:32: 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.ac 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 configure.ac:32: warning: macro 'AM_CONFIG_HEADER' not found in library
:info:configure configure.ac:32: 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/macports-test/bin/autoconf failed with exit status: 1
:info:configure Command failed:  cd "/opt/macports-test/var/macports/build/_opt_macports-test_var_macports_sources_rsync.macports.org_release_ports_python_py-pygtk/py27-pygtk/work/pygtk-2.24.0" && autoreconf --install -I m4
:info:configure Exit code: 1
:error:configure org.macports.configure for port py27-pygtk returned: autoreconf failure: command execution failed
:debug:configure Error code: NONE
:debug:configure Backtrace: autoreconf failure: command execution failed

Change History (5)

comment:1 Changed 12 years ago by mf2k (Frank Schima)

This is another problem due to the update of automake to 1.13.

comment:2 Changed 12 years ago by dave@…

happens to me too.

comment:3 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)

Owner: changed from macports-tickets@… to michaelld@…
Summary: py27-pygtk doesn't upgradepy27-pygtk: configure fails with automake 1.13: macro 'AM_CONFIG_HEADER' not found in library

Yes, it will happen to everybody, since everybody now has automake 1.13.

py-pyqt4 needs to be fixed. The automake 1.13 release notes confirm that AM_CONFIG_HEADER, which has been superseded by AC_CONFIG_HEADERS for ten years, has finally been removed.

comment:4 Changed 12 years ago by mkae (Marko Käning)

Resolution: fixed
Status: newclosed

Fixed in r100853

comment:5 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)

Has duplicate #37454.

Note: See TracTickets for help on using tickets.