Bug#564165: collectd: Please support Renesas SH4
Hi. 2010/1/19 Sebastian Harl tok...@debian.org: tags 564165 - pending thanks Hi Nobuhiro, On Tue, Jan 19, 2010 at 10:40:44AM +0900, Nobuhiro Iwamatsu wrote: 2010/1/11 Sebastian Harl tok...@debian.org: Please note that the architecture mapping used in the collectd package has been copied from openjdk-6's debian/rules. A similar change might be necessary in the OpenJDK package as well. Yes, I see. Thanks too. BTW, I intend to change JAVA_HOME of openjdk in sh from sh4. openjdk has already worked, but is testing the change in sh. I am sorry, could you wait for the application of this patch? Sure, no problem. Thanks for pointing that out! If a test of openjdk is completed, I contact you again. Great -- I'll wait until then. Btw., I've changed the arch mapping in the collectd package a bit: If no map entry has been specified explicitly, an arch=arch mapping is assumed. The collectd configure script will then try to locate libjvm in $(JAVA_HOME)/jre/lib/$(DEB_BUILD_ARCH)/server and fail if libjvm does not exist in that directory. So, no patch is required as long as this implicit mapping is correct but a new patch will be required once OpenJDK switches to sh. Debian sh4 of JAVA_HOME changed sh. I created new patch. Could you apply this patch? Best regards, Nobuhiro -- Nobuhiro Iwamatsu iwamatsu at {nigauri.org / debian.org} GPG ID: 40AD1FA6 diff --git a/debian/rules b/debian/rules index 94a8045..9f939cb 100755 --- a/debian/rules +++ b/debian/rules @@ -33,7 +33,7 @@ else endif # The archdir map has been copied from openjdk-6's debian/rules. -JAVA_ARCHDIR_MAP = armel=arm hppa=parisc lpia=i386 powerpc=ppc +JAVA_ARCHDIR_MAP = armel=arm hppa=parisc lpia=i386 powerpc=ppc sh4=sh JAVA_ARCHDIR = $(strip $(patsubst $(DEB_BUILD_ARCH)=%, %, \ $(filter $(DEB_BUILD_ARCH)=%, $(JAVA_ARCHDIR_MAP ifeq (,$(JAVA_ARCHDIR))
Bug#564165: collectd: Please support Renesas SH4
tags 564165 - pending thanks Hi Nobuhiro, On Tue, Jan 19, 2010 at 10:40:44AM +0900, Nobuhiro Iwamatsu wrote: 2010/1/11 Sebastian Harl tok...@debian.org: Please note that the architecture mapping used in the collectd package has been copied from openjdk-6's debian/rules. A similar change might be necessary in the OpenJDK package as well. Yes, I see. Thanks too. BTW, I intend to change JAVA_HOME of openjdk in sh from sh4. openjdk has already worked, but is testing the change in sh. I am sorry, could you wait for the application of this patch? Sure, no problem. Thanks for pointing that out! If a test of openjdk is completed, I contact you again. Great -- I'll wait until then. Btw., I've changed the arch mapping in the collectd package a bit: If no map entry has been specified explicitly, an arch=arch mapping is assumed. The collectd configure script will then try to locate libjvm in $(JAVA_HOME)/jre/lib/$(DEB_BUILD_ARCH)/server and fail if libjvm does not exist in that directory. So, no patch is required as long as this implicit mapping is correct but a new patch will be required once OpenJDK switches to sh. Cheers, Sebastian -- Sebastian tokkee Harl +++ GnuPG-ID: 0x8501C7FC +++ http://tokkee.org/ Those who would give up Essential Liberty to purchase a little Temporary Safety, deserve neither Liberty nor Safety. -- Benjamin Franklin signature.asc Description: Digital signature
Bug#564165: collectd: Please support Renesas SH4
Hi, Sebastian. 2010/1/11 Sebastian Harl tok...@debian.org: # Fixed in Git commit 420504c2163e642f90c2a27a587a1bc8330e3b57. See # http://git.tokkee.org/?p=pkg-collectd.git;a=commitdiff;h=420504c. tags 564165 + pending thanks Hi, On Fri, Jan 08, 2010 at 01:26:19PM +0900, Nobuhiro Iwamatsu wrote: I am now trying to run Debian on Renesas SH(sh4) CPU. http://buildd.debian-ports.org/status/architecture.php?suite=unstablea=sh4 collectd FTBFS on SH4. Because collectd does not support SH4. http://buildd.debian-ports.org/fetch.php?pkg=collectdarch=sh4ver=4.8.2-1stamp=1262847378file=logas=raw I made patch to support SH4. Build fine with this patch. Thanks for reporting this and providing a patch! I've included the fix in the Git repository -- it will be included in the next upload. Thanks! Please note that the architecture mapping used in the collectd package has been copied from openjdk-6's debian/rules. A similar change might be necessary in the OpenJDK package as well. Yes, I see. Thanks too. BTW, I intend to change JAVA_HOME of openjdk in sh from sh4. openjdk has already worked, but is testing the change in sh. I am sorry, could you wait for the application of this patch? If a test of openjdk is completed, I contact you again. Best regards, Nobuhiro -- Nobuhiro Iwamatsu iwamatsu at {nigauri.org / debian.org} GPG ID: 40AD1FA6 -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#564165: collectd: Please support Renesas SH4
# Fixed in Git commit 420504c2163e642f90c2a27a587a1bc8330e3b57. See # http://git.tokkee.org/?p=pkg-collectd.git;a=commitdiff;h=420504c. tags 564165 + pending thanks Hi, On Fri, Jan 08, 2010 at 01:26:19PM +0900, Nobuhiro Iwamatsu wrote: I am now trying to run Debian on Renesas SH(sh4) CPU. http://buildd.debian-ports.org/status/architecture.php?suite=unstablea=sh4 collectd FTBFS on SH4. Because collectd does not support SH4. http://buildd.debian-ports.org/fetch.php?pkg=collectdarch=sh4ver=4.8.2-1stamp=1262847378file=logas=raw I made patch to support SH4. Build fine with this patch. Thanks for reporting this and providing a patch! I've included the fix in the Git repository -- it will be included in the next upload. Please note that the architecture mapping used in the collectd package has been copied from openjdk-6's debian/rules. A similar change might be necessary in the OpenJDK package as well. Cheers, Sebastian -- Sebastian tokkee Harl +++ GnuPG-ID: 0x8501C7FC +++ http://tokkee.org/ Those who would give up Essential Liberty to purchase a little Temporary Safety, deserve neither Liberty nor Safety. -- Benjamin Franklin signature.asc Description: Digital signature
Bug#564165: collectd: Please support Renesas SH4
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=unstablea=sh4 collectd FTBFS on SH4. Because collectd does not support SH4. http://buildd.debian-ports.org/fetch.php?pkg=collectdarch=sh4ver=4.8.2-1stamp=1262847378file=logas=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