Bug#361831: commons-daemon: FTBFS (ppc64): Unsupported CPU
architecture "powerpc64"
Andreas Jochens
aj at andaco.de
Mon Apr 10 15:23:11 UTC 2006
Package: commons-daemon
Version: 1.0.1-1
Severity: wishlist
Tags: patch
When building 'commons-daemon' on ppc64/unstable, I get the following error:
checking for powerpc64-linux-gnu-gcc option to accept ANSI C... none needed
checking for powerpc64-linux-gnu-ranlib... no
checking for ranlib... ranlib
*** Host support ***
checking C flags dependant on host system type... failed
configure: error: Unsupported CPU architecture "powerpc64"
make: *** [common-configure-arch] Error 1
With the attached patch 'commons-daemon' can be compiled on ppc64.
Regards
Andreas Jochens
diff -urN ../tmp-orig/commons-daemon-1.0.1/src/native/unix/configure ./src/native/unix/configure
--- ../tmp-orig/commons-daemon-1.0.1/src/native/unix/configure 2005-05-17 11:00:45.000000000 +0000
+++ ./src/native/unix/configure 2006-04-10 10:05:06.000000000 +0000
@@ -2422,7 +2422,7 @@
;;
esac
case $host_cpu in
- powerpc)
+ powerpc*)
CFLAGS="$CFLAGS -DCPU=\\\"$host_cpu\\\"" ;;
sparc*)
CFLAGS="$CFLAGS -DCPU=\\\"$host_cpu\\\"" ;;
More information about the pkg-java-maintainers
mailing list