Opened 12 years ago
Last modified 12 years ago
#37742 closed defect
Fail to compile libast — at Initial Version
Reported by: | rosskhan@… | Owned by: | macports-tickets@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.1.2 |
Keywords: | Cc: | ||
Port: | libast |
Description
The Library of Assorted Spiffy Things (libast) fails to complie with an AM_CONFIG_HEADER(S) issue in autoconf:
---
:info:configure autoreconf: Entering directory `.' :info:configure autoreconf: configure.in: not using Gettext :info:configure autoreconf: running: aclocal -I /opt/local/share/aclocal -I . --force :info:configure aclocal: warning: autoconf input should be named 'configure.ac', not 'configure.in' :info:configure configure.in:24: error: 'AM_CONFIG_HEADER': this macro is obsolete. :info:configure You should use the 'AC_CONFIG_HEADERS' macro instead. :info:configure /opt/local/share/aclocal-1.13/obsolete-err.m4:12: AM_CONFIG_HEADER is expanded from... :info:configure configure.in:24: the top level :info:configure autom4te: /opt/local/bin/gm4 failed with exit status: 1 :info:configure aclocal: error: echo failed with exit status: 1 :info:configure autoreconf: aclocal failed with exit status: 1 :info:configure Command failed: cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_libast/libast/work/libast-0.7" && autoreconf --install -fv :info:configure Exit code: 1 :error:configure org.macports.configure for port libast returned: autoreconf failure: command execution failed :debug:configure Error code: NONE :debug:configure Backtrace: autoreconf failure: command execution failed
while executing
"$procedure $targetname" :info:configure Warning: targets not executed for libast: org.macports.activate org.macports.configure org.macports.build org.macports.destroot org.macports.install :notice:configure Please see the log file for port libast for details:
/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_libast/libast/main.log
---
copying configure.in to configure.ac and modifying AM_CONFIG_HEADER -> AM_CONFIG_HEADERS results in:
:info:configure autoreconf: 'configure.ac' and 'configure.in' both present.
:info:configure autoreconf: proceeding with 'configure.ac'
:info:configure autoreconf: Entering directory `.'
:info:configure autoreconf: configure.ac: not using Gettext
:info:configure autoreconf: running: aclocal -I /opt/local/share/aclocal -I . --force
:info:configure aclocal: warning: autoconf input should be named 'configure.ac', not 'configure.in'
:info:configure aclocal: warning: 'configure.ac' and 'configure.in' both present.
:info:configure aclocal: proceeding with 'configure.ac'
:info:configure configure.ac:24: warning: macro 'AM_CONFIG_HEADERS' not found in library
:info:configure configure.ac:50: warning: AC_ARG_PROGRAM was called before AC_CANONICAL_TARGET
:info:configure ../../lib/autoconf/general.m4:1833: AC_CANONICAL_TARGET is expanded from...
:info:configure configure.ac:50: the top level
:info:configure autoreconf: configure.ac: tracing
:info:configure autoconf: warning: both configure.ac' and
configure.in' are present.
:info:configure autoconf: warning: proceeding with `configure.ac'.
:info:configure configure.ac:50: warning: AC_ARG_PROGRAM was called before AC_CANONICAL_TARGET
:info:configure ../../lib/autoconf/general.m4:1833: AC_CANONICAL_TARGET is expanded from...
:info:configure configure.ac:50: the top level
:info:configure autoreconf: running: glibtoolize --copy --force
: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 aclocal: warning: autoconf input should be named 'configure.ac', not 'configure.in'
:info:configure aclocal: warning: 'configure.ac' and 'configure.in' both present.
:info:configure aclocal: proceeding with 'configure.ac'
:info:configure configure.ac:24: warning: macro 'AM_CONFIG_HEADERS' not found in library
:info:configure configure.ac:50: warning: AC_ARG_PROGRAM was called before AC_CANONICAL_TARGET
:info:configure ../../lib/autoconf/general.m4:1833: AC_CANONICAL_TARGET is expanded from...
:info:configure configure.ac:50: the top level
:info:configure autoreconf: running: /opt/local/bin/autoconf --force
:info:configure autoconf: warning: both configure.ac' and
configure.in' are present.
:info:configure autoconf: warning: proceeding with `configure.ac'.
:info:configure configure.ac:50: warning: AC_ARG_PROGRAM was called before AC_CANONICAL_TARGET
:info:configure ../../lib/autoconf/general.m4:1833: AC_CANONICAL_TARGET is expanded from...
:info:configure configure.ac:50: the top level
:info:configure configure.ac:24: error: possibly undefined macro: AM_CONFIG_HEADERS
: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
:info:configure Command failed: cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_libast/libast/work/libast-0.7" && autoreconf --install -fv
:info:configure Exit code: 1
:error:configure org.macports.configure for port libast returned: autoreconf failure: command execution failed
:debug:configure Error code: NONE
:debug:configure Backtrace: autoreconf failure: command execution failed
while executing
"$procedure $targetname" :info:configure Warning: targets not executed for libast: org.macports.activate org.macports.configure org.macports.build org.macports.destroot org.macports.install :notice:configure Please see the log file for port libast for details:
/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_libast/libast/main.log