Bug#352203: antlr: FTBFS (ppc64): Please update scripts/config.{guess, sub}

Andreas Jochens aj at andaco.de
Fri Feb 10 11:50:57 UTC 2006


Package: antlr
Version: 2.7.6-2
Severity: wishlist
Tags: patch

When building 'antlr' on ppc64/unstable, I get the following error:

UNAME_MACHINE = ppc64
UNAME_RELEASE = 2.6.14-2-ppc64
UNAME_SYSTEM  = Linux
UNAME_VERSION = #1 SMP Sun Nov 27 06:36:32 UTC 2005
configure: error: cannot guess build type; you must specify one
make: *** [configure-stamp] Error 1

This is caused by outdated config.{guess,sub} files in the scripts
directory.

With the attached patch 'antlr' can be compiled on ppc64.

Regards
Andreas Jochens

diff -urN ../tmp-orig/antlr-2.7.6/debian/rules ./debian/rules
--- ../tmp-orig/antlr-2.7.6/debian/rules	2006-02-10 11:20:41.000000000 +0100
+++ ./debian/rules	2006-02-10 11:19:53.000000000 +0100
@@ -9,6 +9,7 @@
 configure: configure-stamp
 configure-stamp: autotools
 	dh_testdir
+	cp /usr/share/misc/config.{guess,sub} scripts
 	BOOTCLASSPATH=/usr/share/classpath/glibj.zip JAVAC=jikes-classpath CLASSPATH=`pwd` JAVA=kaffe \
 	./configure \
 		--prefix=/usr \




More information about the pkg-java-maintainers mailing list