Bug#564166: commons-daemon: Please support Renesas SH4
Nobuhiro Iwamatsu
iwamatsu at nigauri.org
Fri Jan 8 04:57:05 UTC 2010
Package: commons-daemon
Version: 1.0.2~svn20061127-10
Severity: important
Tags: patch
User: debian-sh4 at superh.org
Usertags: sh4
X-Debbugs-CC: debian-superh at lists.debian.org
Hi,
I am now trying to run Debian on Renesas SH(sh4) CPU.
http://buildd.debian-ports.org/status/architecture.php?suite=unstable&a=sh4
commons-daemon FTBFS on SH4.
Because commons-daemon does not support SH4.
http://buildd.debian-ports.org/fetch.php?pkg=commons-daemon&arch=sh4&ver=1.0.2~svn20061127-10&stamp=1260965096&file=log&as=raw
-----
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for ranlib... ranlib
*** Host support ***
checking C flags dependant on host system type... failed
configure: error: Unsupported CPU architecture "sh4"
make: *** [config-stamp] Error 1
-----
I made patch to support SH4. Build fine with this patch.
Could you apply this patch?
Best regards,
Nobuhiro
-------------- next part --------------
diff --git a/src/native/unix/support/apsupport.m4 b/src/native/unix/support/apsupport.m4
index 46413b8..f52c388 100644
--- a/src/native/unix/support/apsupport.m4
+++ b/src/native/unix/support/apsupport.m4
@@ -99,7 +99,7 @@ AC_DEFUN(AP_SUPPORTED_HOST,[
CFLAGS="$CFLAGS -DCPU=\\\"PA_RISC2.0\\\""
supported_os="hp-ux"
HOST_CPU=PA_RISC2.0;;
- arm|hppa|ia64|m68k|mips|mipsel|powerpc*|s390|sparc*)
+ arm|hppa|ia64|m68k|mips|mipsel|powerpc*|s390|sparc*|sh*)
CFLAGS="$CFLAGS -DCPU=\\\"$host_cpu\\\""
HOST_CPU=$host_cpu;;
*)
More information about the pkg-java-maintainers
mailing list