antlr-2.7.7 fails on me with the following error: >>> Preparing source in /var/tmp/portage/dev-java/antlr-2.7.7-r5/work/antlr-2.7.7 ... * Applying 2.7.7-gcc-4.3.patch ... [ ok ] * Applying 2.7.7-gcc-4.4.patch ... [ ok ] * Applying 2.7.7-makefixes.patch ... [ ok ] * Applying 2.7.7-static-libs-fix.patch ... [ ok ] * Running eautoreconf in '/var/tmp/portage/dev-java/antlr-2.7.7-r5/work/antlr-2.7.7' ... * This package has a configure.in file which has long been deprecated. Please * update it to use configure.ac instead as newer versions of autotools will die * when it finds this file. See https://bugs.gentoo.org/426262 for details. * ERROR: dev-java/antlr-2.7.7-r5::gentoo failed (prepare phase): * Cannot find the latest automake! Tried 1.15:1.15 Reproducible: Always
After manually emerging automake like so: # emerge -v =sys-devel/automake-1.15 things went back to normal. We should add a dep on >=sys-devel/automake-1.15 to avoid this error from occuring.
--- antlr-2.7.7-r5.ebuild 2015-07-19 09:21:06.322000000 +0000 +++ antlr-2.7.7-r6.ebuild 2015-07-19 09:22:08.982000000 +0000 @@ -18,16 +18,17 @@ LICENSE="public-domain" SLOT="0" -KEYWORDS="amd64 ~arm ppc ppc64 x86 ~amd64-fbsd ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86 ~amd64-fbsd ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" IUSE="doc debug examples mono +cxx +java python script source static-libs" REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" # TODO do we actually need jdk at runtime? RDEPEND="python? ( ${PYTHON_DEPS} ) - >=virtual/jdk-1.3 + >=virtual/jdk-1.6 mono? ( dev-lang/mono )" DEPEND="${RDEPEND} + >=sys-devel/automake-1.15 script? ( !dev-util/pccts ) source? ( app-arch/zip )" +*antlr-2.7.7-r6 (19 Jul 2015) + + 19 Jul 2015; Patrice Clement <monsieurp@gentoo.org> +antlr-2.7.7-r6.ebuild: + Add automake >= 1.15 to the list of RDEPENDs. Fix bug 555300. +