[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#564165: collectd: Please support Renesas SH4

Package: collectd
Version: 4.8.2-1
Severity: important
Tags: patch
User: debian-sh4@superh.org
Usertags: sh4
X-Debbugs-CC: debian-superh@lists.debian.org


I am now trying to run Debian on Renesas SH(sh4) CPU.

collectd FTBFS on SH4.
Because  collectd does not support SH4.

checking for ip6tc_handle_t... no
checking for iptc_init in -liptc... yes
configure: Building with JAVA_CPPFLAGS set to:
configure: Building with JAVA_LDFLAGS set to:
-L/usr/lib/jvm/java-6-openjdk/jre/lib//server -Wl,-rpath
checking jni.h usability... yes
checking jni.h presence... yes
checking for jni.h... yes
checking for JNI_CreateJavaVM in -ljvm... no
checking libmemcached/memcached.h usability... yes
checking libmemcached/memcached.h presence... yes
checking for libmemcached/memcached.h... yes
checking for memcached_create in -lmemcached... yes

I made patch to support SH4. Build fine with this patch.
Could you apply this patch?

Best regards,
diff --git a/debian/rules b/debian/rules
index 01adc9e..446b0ed 100755
--- a/debian/rules
+++ b/debian/rules
@@ -35,7 +35,7 @@ endif
 # The archdir map has been copied from openjdk-6's debian/rules.
 JAVA_ARCHDIR_MAP = alpha=alpha arm=arm armel=arm amd64=amd64 hppa=parisc \
 			i386=i386 lpia=i386 m68k=m68k mips=mips mipsel=mipsel \
-			powerpc=ppc sparc=sparc s390=s390 ia64=ia64
+			powerpc=ppc sparc=sparc s390=s390 ia64=ia64 sh4=sh4
 JAVA_ARCHDIR = $(strip $(patsubst $(DEB_BUILD_ARCH)=%, %, \
 			$(filter $(DEB_BUILD_ARCH)=%, $(JAVA_ARCHDIR_MAP))))
 JAVA_HOME = /usr/lib/jvm/java-6-openjdk

Reply to: