Summary: | app-misc/sphinx-2.0.4 fails on automake AM_PROG_AR | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Stefan de Konink <stefan> |
Component: | Current packages | Assignee: | Hans de Graaff <graaff> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | grobian, jwbraun, steffen.weber |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | 459952 | ||
Bug Blocks: | 421465 | ||
Attachments: | Add AM_PROG_AR for automake 1.12 |
Description
Stefan de Konink
2012-07-08 21:48:08 UTC
Created attachment 317652 [details, diff] Add AM_PROG_AR for automake 1.12 Also removes -Werror from automake to reduce future unnecessary failures This bug should block bug 421465 This patch causes an autoconf failure for me: ***** autoconf ***** ***** PWD: /var/tmp/portage/app-misc/sphinx-2.0.4-r1/work/sphinx-2.0.4-release ***** autoconf configure.ac:59: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body ../../lib/autoconf/lang.m4:194: AC_LANG_CONFTEST is expanded from... ../../lib/autoconf/general.m4:2591: _AC_COMPILE_IFELSE is expanded from... ../../lib/autoconf/general.m4:2607: AC_COMPILE_IFELSE is expanded from... configure.ac:59: the top level configure.ac:201: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body ../../lib/autoconf/lang.m4:194: AC_LANG_CONFTEST is expanded from... ../../lib/autoconf/general.m4:2591: _AC_COMPILE_IFELSE is expanded from... ../../lib/autoconf/general.m4:2607: AC_COMPILE_IFELSE is expanded from... configure.ac:171: PTHREADS_TRY_RUNCOMPILE is expanded from... ../../lib/m4sugar/m4sh.m4:606: AS_IF is expanded from... ../../lib/autoconf/general.m4:2032: AC_CACHE_VAL is expanded from... ../../lib/autoconf/general.m4:2053: AC_CACHE_CHECK is expanded from... configure.ac:201: the top level configure.ac:223: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body ../../lib/autoconf/lang.m4:194: AC_LANG_CONFTEST is expanded from... ../../lib/autoconf/general.m4:2662: _AC_LINK_IFELSE is expanded from... ../../lib/autoconf/general.m4:2679: AC_LINK_IFELSE is expanded from... configure.ac:186: PTHREADS_TRY_RUNLINK is expanded from... ../../lib/m4sugar/m4sh.m4:606: AS_IF is expanded from... ../../lib/autoconf/general.m4:2032: AC_CACHE_VAL is expanded from... ../../lib/autoconf/general.m4:2053: AC_CACHE_CHECK is expanded from... configure.ac:223: the top level configure.ac:57: error: possibly undefined macro: AM_PROG_AR If this token and others are legitimate, please use m4_pattern_allow. See the Autoconf documentation. same problem here @graaff: it seems the eautoreconf is necessary for the api at the very least. I tried avoiding it from the prefix point of view, and this compiles for me: src_prepare() { epatch "${FILESDIR}"/${PN}-2.0.1_beta-darwin8.patch \ "${FILESDIR}"/${P}_gcc-4.7.patch # drop nasty hardcoded search path breaking Prefix sed -i -e '/\/usr\/local\//d' configure.ac || die sed -i -e 's/\/usr\/local\//\/someplace\/nonexisting\//g' configure || die # Regenerate autoconf files in the api directory first to avoid # running elibtoolize twice, which results in a warning. pushd api/libsphinxclient || die eautoreconf popd || die # eautoreconf } (that is, I added a sed for configure, and skipped reconfing the top-level configure) (In reply to comment #3) > same problem here same as what? :-) original poster or my comment? (In reply to comment #4) > (In reply to comment #3) > > same problem here > > same as what? :-) original poster or my comment? OP If we can't make this happen soon, this package needs to get treecleaned. (In reply to comment #6) > If we can't make this happen soon, this package needs to get treecleaned. Or you could be polite and ask about the status first. 08 Aug 2012; Hans de Graaff <graaff@gentoo.org> sphinx-2.0.4-r1.ebuild: Avoid eautoreconf and thus the problem reported in bug 425380, thanks to grobian. So this really should have been closed already and we need a new stable version. |