Bug#404704: commons-daemon: FTBFS (ppc64): Please update src/native/unix/support/config.{sub, guess}

Andreas Jochens aj at andaco.de
Wed Dec 27 17:49:33 UTC 2006


Package: commons-daemon
Version: 1.0.2~svn20061127-4
Severity: wishlist
Tags: patch

When building 'commons-daemon' on ppc64/unstable, I get the following error:

dh_clean
 debian/rules build
cd src/native/unix; autoconf
dh_testdir
cd src/native/unix; ./configure --build powerpc64-linux-gnu --with-java=/usr/lib/jvm/java-gcj
*** Current host ***
checking build system type... Invalid configuration `powerpc64-linux-gnu': machine `powerpc64' not recognized
configure: error: /bin/sh ./support/config.sub powerpc64-linux-gnu failed
make: *** [config-stamp] Error 1

With the attached patch 'commons-daemon' can be compiled on ppc64.

The patch adds an automatic update of the files

src/native/unix/support/config.{sub,guess}

to debian/rules.

Regards
Andreas Jochens

diff -urN ../tmp-orig/commons-daemon-1.0.2~svn20061127/debian/rules ./debian/rules
--- ../tmp-orig/commons-daemon-1.0.2~svn20061127/debian/rules	2006-12-27 16:30:59.000000000 +0000
+++ ./debian/rules	2006-12-27 15:57:35.000000000 +0000
@@ -69,6 +69,8 @@
 	-rm -f src/native/unix/{Makefile,Makedefs,native/Makefile}
 	cp -f /usr/share/misc/config.sub $(NATIVE_SRC)/config.sub
 	cp -f /usr/share/misc/config.guess $(NATIVE_SRC)/config.guess
+	cp -f /usr/share/misc/config.sub $(NATIVE_SRC)/support/config.sub
+	cp -f /usr/share/misc/config.guess $(NATIVE_SRC)/support/config.guess
 	dh_clean
 
 install: install-arch install-indep




More information about the pkg-java-maintainers mailing list