Bug#309072: Where/how to get help/file a bug? azureus won't start with jdk-1_5_0_03-linux-amd64.bin packaged by java-package 0.24 was: Bug#309072

gerhard ggrubbish@web.de
Fri May 20 06:54:08 2005


Am Freitag 20 Mai 2005 01:24 schrieb Shaun Jackman:
> On 5/19/05, gerhard <ggrubbish@web.de> wrote:
> > Hello Shaun,
> >
> > keep in mind, that I'm more a designer than a programmer.
> >
> > $ swingwtdemo
> > libgcj failure: Duplicate class registration:
> > java.awt.peer.ComponentPeer
> > Abgebrochen
> > But interesting too, is (Unfortunately , like in most cases, I post
> > the whole bunch, because I dont' know the important part):
>
> Grumble. I know I've seen this error message before. For me the
> problem was the swingwtdemo binary depended on both libgcj.so.4 and
> libgcj.so.5, which won't work. It should only depend on libgcj.so.4
> Try...
> $ ldd /usr/bin/swingwtdemo
> $ ldd /usr/lib/libswt.so.3
> $ ldd /usr/lib/libswt.so.4
> # apt-get remove libgcj5
> $ swingwtdemo
$  ldd /usr/bin/swingwtdemo
        libswingwt.so.0 => /usr/lib/libswingwt.so.0 (0x00002aaaaabc2000)
        libswt.so.3 => /usr/lib/libswt.so.3 (0x00002aaaab074000)
        libswt-pi.so.3 => /usr/lib/libswt-pi.so.3 (0x00002aaaab502000)
        libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x00002aaaab6b4000)
        libgcj.so.5 => /usr/lib/libgcj.so.5 (0x00002aaaab7c1000)
        libm.so.6 => /lib/libm.so.6 (0x00002aaaac868000)
        libpthread.so.0 => /lib/libpthread.so.0 (0x00002aaaac9ed000)
        libz.so.1 => /usr/lib/libz.so.1 (0x00002aaaacb02000)
        libdl.so.2 => /lib/libdl.so.2 (0x00002aaaacc17000)
        libc.so.6 => /lib/libc.so.6 (0x00002aaaacd1a000)
        libgcj.so.4 => /usr/lib/libgcj.so.4 (0x00002aaaacf52000)
        /lib64/ld-linux-x86-64.so.2 (0x00002aaaaaaab000)
$ ldd /usr/lib/libswt.so.3
        libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x00002aaaaaf55000)
        libgcj.so.4 => /usr/lib/libgcj.so.4 (0x00002aaaab063000)
        libm.so.6 => /lib/libm.so.6 (0x00002aaaabcc8000)
        libpthread.so.0 => /lib/libpthread.so.0 (0x00002aaaabe4d000)
        libz.so.1 => /usr/lib/libz.so.1 (0x00002aaaabf63000)
        libdl.so.2 => /lib/libdl.so.2 (0x00002aaaac077000)
        libc.so.6 => /lib/libc.so.6 (0x00002aaaac17a000)
        /lib/ld-linux-x86-64.so.2 (0x0000555555555000)
$ ldd /usr/lib/libswt.so.4
ldd: /usr/lib/libswt.so.4: Datei oder Verzeichnis nicht gefunden
(file not found)
apt-get remove libgcj5
$ LANG=en sudo apt-get remove libgcj5
Reading package lists... Done
Building dependency tree... Done
The following packages will be REMOVED:
  libgcj5 libgcj5-common libswingwt0 swingwt-demo
0 upgraded, 0 newly installed, 4 to remove and 0 not upgraded.
Need to get 0B of archives.
After unpacking 27.3MB disk space will be freed.
Do you want to continue [Y/n]? n
Abort.

Should I do that?
and with the new Install of swing-demo of sid the libs would be 
reinstalled?

> Try installing swingwtdemo from sid instead of hoary. Version
> 0.86.1-1 uses SWT 3.1, the same version as Azureus. swingwt-demo
> 0.85.1-1 uses SWT 3.0.
I will try that this afternoon.

> > There *is* something wrong in the dependencies of the azureus
> > package, at least I think so!!!!
> > Because I *never* *forced* an apt-get!!!!!!!!!!!!!
> > Sorry about the rediculous exclamation marks, but this is ....
> > I'm confused...
>
> Sorry, I'm not sure what's changed and why it suddenly started
> working for you. If you think it's related to those packages you just
> installed, you could try removing them one by one and see if any of
> them cause azureus to stop working.
>
> > $ cat /usr/bin/azureus
> > #!/bin/sh
> > . /usr/share/java-config/libswt-3.1-java
> > if [ ! -d ~/.Azureus ]; then mkdir ~/.Azureus; fi
> > cd ~/.Azureus
> > exec java -Djava.library.path=/usr/local/jdk1.5.0_03/lib:/usr/lib \
> >         -classpath $JARS:/usr/share/java/Azureus2.jar \
> >         org.gudy.azureus2.ui.swt.Main "$@"
>
> Regarding /usr/local/jdk1.5.0_03/lib, are you using the Debian
> java-package Java package or one that's been installed by hand?

yes, I will remove/replace it for further tests!

> Shaun

Hello shaun sorry for the confusion!
read this:
gerhard wrote:
|> There is something wrong in the dependencies of the azureus package,
|> at least I think so!!!!
|> Because I never forced an apt-get!!!!!!!!!!!!!
|> Sorry about the rediculous exclamation marks, but this is ....
|> I'm confused...


I am confused. But anyway: the last error I reported isn't one. I wait 
for an hour to respond on it directly,but but it didn't came up in my
newsreader. 
Unfortunately I got the same error with the new packages I installed and 
the "debian" azureus. It was already loaded, that's why it showed up by 
typing azureus in a shell, sorry for the confusion. So keep the 
swingdemo error:
$ swingwtdemo
libgcj failure: Duplicate class registration: 
java.awt.peer.ComponentPeer
Abgebrochen

regards

Gerhard