Package: collectd Version: 4.8.2-1 Severity: important Tags: patch User: debian-...@superh.org Usertags: sh4 X-Debbugs-CC: debian-sup...@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 collectd FTBFS on SH4. Because collectd does not support SH4. http://buildd.debian-ports.org/fetch.php?pkg=collectd&arch=sh4&ver=4.8.2-1&stamp=1262847378&file=log&as=raw ----- checking for ip6tc_handle_t... no checking for iptc_init in -liptc... yes configure: Building with JAVA_CPPFLAGS set to: -I/usr/lib/jvm/java-6-openjdk/include configure: Building with JAVA_LDFLAGS set to: -L/usr/lib/jvm/java-6-openjdk/jre/lib//server -Wl,-rpath -Wl,/usr/lib/jvm/java-6-openjdk/jre/lib//server 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, Nobuhiro
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