Your message dated Thu, 11 Feb 2010 21:38:43 +0000
with message-id <[email protected]>
and subject line Bug#568965: fixed in libjdic-java 0.9.5-7
has caused the Debian Bug report #568965,
regarding libjdic-java: Please support Renesas SH(sh4)
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
568965: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=568965
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: libjdic-java
Version: 0.9.5-6
Severity: important
Tags: patch
User: [email protected]
Usertags: sh4
X-Debbugs-CC: [email protected]


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

libjdic-java FTBFS on SH4.
Because   libjdic-java does not support Renesas SH.

http://buildd.debian-ports.org/fetch.php?pkg=libjdic-java&arch=sh4&ver=0.9.5-6&stamp=1262959196&file=log&as=raw
-----
[...]
[exec] g++ -c -fPIC -I/usr/lib/jvm/java-6-openjdk/include
-I/usr/lib/jvm/java-6-openjdk/include/linux `pkg-config --cflags
glib-2.0` `pkg-config --cflags libgnome-2.0` `pkg-config --cflags
gnome-vfs-2.0` `pkg-config --cflags gnome-vfs-module-2.0` `pkg-config
--cflags bonobo-activation-2.0` `pkg-config --cflags libbonobo-2.0`
`pkg-config --cflags ORBit-2.0` `pkg-config --cflags gconf-2.0` -o
WebBrowser.o WebBrowser.cpp
     [exec] g++ -c -fPIC -I/usr/lib/jvm/java-6-openjdk/include
-I/usr/lib/jvm/java-6-openjdk/include/linux `pkg-config --cflags
glib-2.0` `pkg-config --cflags libgnome-2.0` `pkg-config --cflags
gnome-vfs-2.0` `pkg-config --cflags gnome-vfs-module-2.0` `pkg-config
--cflags bonobo-activation-2.0` `pkg-config --cflags libbonobo-2.0`
`pkg-config --cflags ORBit-2.0` `pkg-config --cflags gconf-2.0` -o
WebBrowserUtil.o WebBrowserUtil.cpp
     [exec] WebBrowserUtil.cpp: In function '_jstring*
Java_org_jdesktop_jdic_browser_internal_WebBrowserUtil_nativeGetBrowserPath(JNIEnv*,
_jclass*)':
     [exec] WebBrowserUtil.cpp:67: warning: deprecated conversion from
string constant to 'char*'
     [exec] WebBrowserUtil.cpp:67: warning: deprecated conversion from
string constant to 'char*'
     [exec] g++ -c -fPIC -I/usr/lib/jvm/java-6-openjdk/include
-I/usr/lib/jvm/java-6-openjdk/include/linux `pkg-config --cflags
glib-2.0` `pkg-config --cflags libgnome-2.0` `pkg-config --cflags
gnome-vfs-2.0` `pkg-config --cflags gnome-vfs-module-2.0` `pkg-config
--cflags bonobo-activation-2.0` `pkg-config --cflags libbonobo-2.0`
`pkg-config --cflags ORBit-2.0` `pkg-config --cflags gconf-2.0` -o
../../../share/native/utils/InitUtility.o
../../../share/native/utils/InitUtility.cpp
     [exec] g++ -shared -fPIC -ldl -lrt -lpthread -L/usr/lib -lz -lm
-lgnome-2  -L/usr/lib/jvm/java-6-openjdk/jre/lib/sparc
-L/usr/lib/jvm/java-6-openjdk/jre/lib/sparcv9
-L/usr/lib/jvm/java-6-openjdk/jre/lib/i386
-L/usr/lib/jvm/java-6-openjdk/jre/lib/amd64
-L/usr/lib/jvm/java-6-openjdk/jre/lib/ia64 GnomeBrowserService.o
GnomeLaunchService.o GnomeUtility.o GnomeVfsWrapper.o WebBrowser.o
WebBrowserUtil.o ../../../share/native/utils/InitUtility.o -o
libjdic.so
     [exec] gcc -I/usr/lib/jvm/java-6-openjdk/include
-I/usr/lib/jvm/java-6-openjdk/include/linux -shared -fPIC -ldl -lrt
-lpthread -ldl -L/usr/X11R6/lib -lXt -lX11 Tray.c -o libtray.so
     [exec] Tray.c:98:6: error: #error "Unknown arch, please edit "__FILE__
     [exec] Tray.c: In function
'Java_org_jdesktop_jdic_tray_internal_impl_GnomeTrayAppletService_getWidget':
     [exec] Tray.c:711: warning: cast from pointer to integer of different size
     [exec] Tray.c: In function
'Java_org_jdesktop_jdic_tray_internal_impl_GnomeSystemTrayService_initNative':
     [exec] Tray.c:737: error: 'LIBARCH' undeclared (first use in this function)
     [exec] Tray.c:737: error: (Each undeclared identifier is reported only once
     [exec] Tray.c:737: error: for each function it appears in.)
     [exec] make[1]: Leaving directory
`/build/buildd-libjdic-java_0.9.5-6-sh4-fr7OcZ/libjdic-java-0.9.5/jdic/src/unix/native/jni'
     [exec] make[1]: *** [libtray.so] Error 1

[...]
-----

I updated patch of debian/patches/Tray.diff . Could you apply this patch?

Best regards,
 Nobuhiro

-- 
Nobuhiro Iwamatsu
   iwamatsu at {nigauri.org / debian.org}
   GPG ID: 40AD1FA6
--- a/jdic/src/unix/native/jni/Tray.c   2010-01-09 10:31:24.000000000 +0000
+++ b/jdic/src/unix/native/jni/Tray.c   2010-01-09 10:34:50.000000000 +0000
@@ -74,7 +74,31 @@
 static void *awtHandle = NULL;
 
 #ifdef __linux__
-#define LIBARCH  "i386"
+#  if defined(__x86_64__)
+#    define LIBARCH "amd64"
+#  elif defined(__i386__)
+#    define LIBARCH "i386"
+#  elif defined(__alpha__)
+#    define LIBARCH "alpha"
+#  elif defined(__ia64__)
+#    define LIBARCH "ia64"
+#  elif defined(__arm__)
+#    define LIBARCH "arm"
+#  elif defined(__mips__)
+#    define LIBARCH "mips"
+#  elif defined(__MIPSEL__)
+#    define LIBARCH "mipsel"
+#  elif defined(__powerpc__)
+#    define LIBARCH "ppc"
+#  elif defined(__sparc__)
+#    define LIBARCH "sparc"
+#  elif defined(__s390__)
+#    define LIBARCH "s390"
+#  elif defined(__sh__)
+#    define LIBARCH "sh"
+#  else
+#    error "Unknown arch, please edit "__FILE__
+#  endif
 #else
 #ifdef __i386
 #define LIBARCH "i386"
@@ -717,7 +741,7 @@
     awtHandle = dlopen(awtPath, RTLD_LAZY);
     if (awtHandle == NULL) {
         /* must be JDK try JDK location */
-        sprintf(awtPath,"%s/jre/lib/%s/libawt.so",java_home, LIBARCH);
+        sprintf(awtPath,"%s/lib/%s/libawt.so",java_home, LIBARCH);
         dprintf("JDK - %s\n",awtPath);
         awtHandle = dlopen(awtPath, RTLD_LAZY);
 

--- End Message ---
--- Begin Message ---
Source: libjdic-java
Source-Version: 0.9.5-7

We believe that the bug you reported is fixed in the latest version of
libjdic-java, which is due to be installed in the Debian FTP archive:

libjdic-bin_0.9.5-7_amd64.deb
  to main/libj/libjdic-java/libjdic-bin_0.9.5-7_amd64.deb
libjdic-java_0.9.5-7.debian.tar.gz
  to main/libj/libjdic-java/libjdic-java_0.9.5-7.debian.tar.gz
libjdic-java_0.9.5-7.dsc
  to main/libj/libjdic-java/libjdic-java_0.9.5-7.dsc
libjdic-java_0.9.5-7_all.deb
  to main/libj/libjdic-java/libjdic-java_0.9.5-7_all.deb



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Varun Hiremath <[email protected]> (supplier of updated libjdic-java package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.8
Date: Thu, 11 Feb 2010 15:49:53 -0500
Source: libjdic-java
Binary: libjdic-java libjdic-bin
Architecture: source all amd64
Version: 0.9.5-7
Distribution: unstable
Urgency: low
Maintainer: Debian Java Maintainers 
<[email protected]>
Changed-By: Varun Hiremath <[email protected]>
Description: 
 libjdic-bin - JDesktop Integration Components (shared libraries)
 libjdic-java - JDesktop Integration Components
Closes: 568965
Changes: 
 libjdic-java (0.9.5-7) unstable; urgency=low
 .
   * Update patches/Tray.diff, add support for Renesas SH(sh4), thanks
     to Nobuhiro Iwamatsu <[email protected]> (Closes: #568965)
   * Switch to source format 3.0
Checksums-Sha1: 
 663c0751093fe02bae5546c82c61aa0020840e47 1441 libjdic-java_0.9.5-7.dsc
 d8c04f69e4129888ce89c1d80aac0df862832a4c 20288 
libjdic-java_0.9.5-7.debian.tar.gz
 176d9ac2ee50fd5f18dac67d8fc41c1c52e01927 247112 libjdic-java_0.9.5-7_all.deb
 fbe6a786a854fa4867b16c1d9352983fbb3b5221 64780 libjdic-bin_0.9.5-7_amd64.deb
Checksums-Sha256: 
 b73d6738de8aea8866aa4b4a23de38f4a6e4bfa9c5a8bb832e859033066bfb93 1441 
libjdic-java_0.9.5-7.dsc
 2dc7dcf68f075e4deb969decdd72215168169fc5632dd2f17baa8b12d148836e 20288 
libjdic-java_0.9.5-7.debian.tar.gz
 be47fa993408ff0500f2ae01d77dab1428e195744d29c77c69ebc8e3fbd59ef9 247112 
libjdic-java_0.9.5-7_all.deb
 6b3733e47afb7d85bf8a7de0f71bcb9fb2cbf5ca91597bfbfd36b018a3bed7b5 64780 
libjdic-bin_0.9.5-7_amd64.deb
Files: 
 d84112b7c868c04d755e27a33072b9df 1441 java optional libjdic-java_0.9.5-7.dsc
 491aa06d848e85b38a24c81387341d5a 20288 java optional 
libjdic-java_0.9.5-7.debian.tar.gz
 61ba687318d73991d789be2dc8201816 247112 java optional 
libjdic-java_0.9.5-7_all.deb
 613e13faf978cbe7a63aa685e28f19ee 64780 java optional 
libjdic-bin_0.9.5-7_amd64.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFLdG60PEFSUMxFMZcRAp2zAKCo8pF6Sdaq8Bk+Fh+gWYQqIN5DMgCfdran
YmZV1vFLZimx7VzpGGQ1hqE=
=GRVH
-----END PGP SIGNATURE-----



--- End Message ---
_______________________________________________
pkg-java-maintainers mailing list
[email protected]
http://lists.alioth.debian.org/mailman/listinfo/pkg-java-maintainers

Reply via email to