Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 135835 - net-p2p/azureus doesn't work for amd64
Summary: net-p2p/azureus doesn't work for amd64
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Petteri Räty (RETIRED)
URL:
Whiteboard:
Keywords:
: 135838 (view as bug list)
Depends on:
Blocks:
 
Reported: 2006-06-06 17:33 UTC by David Carlos Manuelda
Modified: 2006-08-20 01:58 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description David Carlos Manuelda 2006-06-06 17:33:50 UTC
I compiled two months ago azureus and run without issues, but now, (with upgrading of new portage too), I can compile it for my amd64, but when I try to invoke azureus, I get those errors:

java.lang.reflect.InvocationTargetException
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
        at java.lang.reflect.Method.invoke(Unknown Source)
        at org.gudy.azureus2.ui.common.Main.directLaunch(Main.java:221)
        at org.gudy.azureus2.ui.common.Main.main(Main.java:128)
Caused by: java.lang.UnsatisfiedLinkError: memmove
        at org.eclipse.swt.internal.gtk.OS.memmove(Native Method)
        at org.eclipse.swt.internal.Converter.wcsToMbcs(Unknown Source)
        at org.eclipse.swt.internal.Converter.wcsToMbcs(Unknown Source)
        at org.eclipse.swt.widgets.Display.<clinit>(Unknown Source)
        at org.gudy.azureus2.ui.swt.mainwindow.SWTThread.<init>(SWTThread.java:75)
        at org.gudy.azureus2.ui.swt.mainwindow.SWTThread.createInstance(SWTThread.java:58)
        at org.gudy.azureus2.ui.swt.mainwindow.Initializer.<init>(Initializer.java:108)
        at org.gudy.azureus2.ui.swt.Main.<init>(Main.java:123)
        at org.gudy.azureus2.ui.swt.Main.main(Main.java:142)
        ... 6 more
Start fails:
com.aelitis.azureus.core.AzureusCoreException: Azureus core already instantiated
        at com.aelitis.azureus.core.impl.AzureusCoreImpl.create(AzureusCoreImpl.java:67)
        at com.aelitis.azureus.core.AzureusCoreFactory.create(AzureusCoreFactory.java:46)
        at org.gudy.azureus2.ui.common.Main.main(Main.java:133)

Is the error from my system? Thanks!
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-06-07 00:39:30 UTC
*** Bug 135838 has been marked as a duplicate of this bug. ***
Comment 2 Christos Gitsis 2006-06-24 16:54:53 UTC
(In reply to comment #0)

I have the exact same error messages when I try to start Azureus 2.3.0.6-r1. I am also using amd64. The problem started after an emerge --update --newuse --deep world. I am using blackdown-jdk 1.4.2-03, but I also tried with sun-jre 1.5.0.6, and the result was the same. I reemerged azureus, with no luck.


christos@glorfindel ~ $ sudo emerge --info
Portage 2.1 (default-linux/amd64/2005.1, gcc-3.4.6, glibc-2.3.6-r3, 2.6.16-gentoo-r9 x86_64)
=================================================================
System uname: 2.6.16-gentoo-r9 x86_64 AMD Athlon(tm) 64 Processor 3400+
Gentoo Base System version 1.6.14
ccache version 2.3 [enabled]
dev-lang/python:     2.3.5, 2.4.2
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.3
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1-r2
sys-devel/gcc-config: 1.3.13-r2
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=k8 -pipe -O2"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf"
CXXFLAGS="-march=k8 -pipe -O2"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="amd64 X alsa avi berkdb bitmap-fonts cli crypt cups dri eds emboss encode foomaticdb fortran gif gnome gpm gstreamer gtk gtk2 hal howl imlib ipv6 isdnlog jpeg lzw lzw-tiff mp3 mpeg ncurses nls nvidia opengl pam pcre pdflib perl png pppd python quicktime readline reflection sdl session spell spl ssl tcpd tetex tiff truetype-fonts type1-fonts usb xorg xpm xv zlib elibc_glibc kernel_linux userland_GNU"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 3 David Carlos Manuelda 2006-06-28 17:56:05 UTC
azureus-bin works for me(In adition to to comment #0)
> I compiled two months ago azureus and run without issues, but now, (with
> upgrading of new portage too), I can compile it for my amd64, but when I try to
> invoke azureus, I get those errors:
> 
> java.lang.reflect.InvocationTargetException
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
>         at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
>         at java.lang.reflect.Method.invoke(Unknown Source)
>         at org.gudy.azureus2.ui.common.Main.directLaunch(Main.java:221)
>         at org.gudy.azureus2.ui.common.Main.main(Main.java:128)
> Caused by: java.lang.UnsatisfiedLinkError: memmove
>         at org.eclipse.swt.internal.gtk.OS.memmove(Native Method)
>         at org.eclipse.swt.internal.Converter.wcsToMbcs(Unknown Source)
>         at org.eclipse.swt.internal.Converter.wcsToMbcs(Unknown Source)
>         at org.eclipse.swt.widgets.Display.<clinit>(Unknown Source)
>         at
> org.gudy.azureus2.ui.swt.mainwindow.SWTThread.<init>(SWTThread.java:75)
>         at
> org.gudy.azureus2.ui.swt.mainwindow.SWTThread.createInstance(SWTThread.java:58)
>         at
> org.gudy.azureus2.ui.swt.mainwindow.Initializer.<init>(Initializer.java:108)
>         at org.gudy.azureus2.ui.swt.Main.<init>(Main.java:123)
>         at org.gudy.azureus2.ui.swt.Main.main(Main.java:142)
>         ... 6 more
> Start fails:
> com.aelitis.azureus.core.AzureusCoreException: Azureus core already
> instantiated
>         at
> com.aelitis.azureus.core.impl.AzureusCoreImpl.create(AzureusCoreImpl.java:67)
>         at
> com.aelitis.azureus.core.AzureusCoreFactory.create(AzureusCoreFactory.java:46)
>         at org.gudy.azureus2.ui.common.Main.main(Main.java:133)
> 
> Is the error from my system? Thanks!
> 

azureus-bin works. If you execute it from console you can see a few warnings
Comment 4 Kevin J Meagher 2006-07-02 10:47:58 UTC
i get the exact same result as the first post 
Comment 5 Andreas Eriksson 2006-07-04 14:42:00 UTC
I have the same problem, also on amd64

andreas@desktop ~ $ azureus
Creating /home/andreas/.Azureus
java.lang.reflect.InvocationTargetException
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:585)
        at org.gudy.azureus2.ui.common.Main.directLaunch(Main.java:221)
        at org.gudy.azureus2.ui.common.Main.main(Main.java:128)
Caused by: java.lang.UnsatisfiedLinkError: memmove
        at org.eclipse.swt.internal.gtk.OS.memmove(Native Method)
        at org.eclipse.swt.internal.Converter.wcsToMbcs(Unknown Source)
        at org.eclipse.swt.internal.Converter.wcsToMbcs(Unknown Source)
        at org.eclipse.swt.widgets.Display.<clinit>(Unknown Source)
        at org.gudy.azureus2.ui.swt.mainwindow.SWTThread.<init>(SWTThread.java:75)
        at org.gudy.azureus2.ui.swt.mainwindow.SWTThread.createInstance(SWTThread.java:58)
        at org.gudy.azureus2.ui.swt.mainwindow.Initializer.<init>(Initializer.java:108)
        at org.gudy.azureus2.ui.swt.Main.<init>(Main.java:123)
        at org.gudy.azureus2.ui.swt.Main.main(Main.java:142)
        ... 6 more
Start fails:
com.aelitis.azureus.core.AzureusCoreException: Azureus core already instantiated
        at com.aelitis.azureus.core.impl.AzureusCoreImpl.create(AzureusCoreImpl.java:67)
        at com.aelitis.azureus.core.AzureusCoreFactory.create(AzureusCoreFactory.java:46)
        at org.gudy.azureus2.ui.common.Main.main(Main.java:133)

andreas@desktop ~ $ emerge --info
Portage 2.1.1_pre2-r2 (default-linux/amd64/2006.0, gcc-4.1.1/amd64-vanilla, glibc-2.4-r3, 2.6.17-gentoo-tpc1 x86_64)
=================================================================
System uname: 2.6.17-gentoo-tpc1 x86_64 AMD Athlon(tm) 64 X2 Dual Core Processor 4400+
Gentoo Base System version 1.12.1
ccache version 2.4 [enabled]
dev-lang/python:     2.4.3-r1
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.4-r2
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.18.1
sys-devel/autoconf:  2.13, 2.60
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.17
sys-devel/gcc-config: 2.0.0_rc1
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.16
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=athlon64 -msse3 -O3 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/eselect/compiler /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-march=athlon64 -msse3 -O3 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache confcache distlocks fixpackages metadata-transfer parallel-fetch sandbox sfperms strict"
GENTOO_MIRRORS="http://ds.thn.htu.se/linux/gentoo http://ftp.du.se/pub/os/gentoo http://distfiles.gentoo.org http://www.ibiblio.org/pub/Linux/distributions/gentoo"
LANG="sv_SE.ISO-8859-1"
LC_ALL="sv_SE.ISO-8859-1"
LINGUAS="sv"
MAKEOPTS="-j4"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="amd64 X a52 aac aalib acpi alsa amr ao arts asf avi bash-completion berkdb browserplugin bzip2 cairo cddb cdparanoia crypt cups curl custom-cflags dbus dga dlloader dmi dri dv dvd dvdread encode fam ffmpeg flac foomaticdb fortran gdbm gif gimp glitz gnutls gphoto2 gs gtk gtk2 hal idn imagemagick immqt inkjar iontruetype ithreads java jce jpeg kde kdeenablefinal kdehiddenvisibility latin1 lcms libcaca libg++ live logitech-mouse lua mad mikmod mmap mng modplug mp3 mp4 mpeg musepack musicbrainz ncurses nls noflagstrip nptl nptlonly nsplugin nvidia ogg opengl pam pcre pda pdf pdflib perl pg-intdatetime png postgres pwdb python qt qt3 quicktime rdesktop readline rtc ruby sasl scanner sdl slang smp speex spell ssl svg symlink theora threads tiff timidity truetype truetype-fonts type1-fonts usb vcd vim-pager vim-with-x vorbis wxwindows x264 xanim xcomposite xml xml2 xorg xpm xv xvid xvmc zlib elibc_glibc input_devices_keyboard input_devices_mouse kernel_linux linguas_sv userland_GNU video_cards_nv video_cards_nvidia"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 6 Petteri Räty (RETIRED) gentoo-dev 2006-08-05 09:43:55 UTC
Please test dev-java/azureus-2.4.0.2-r1 to see if that works for you.
Comment 7 Kevin J Meagher 2006-08-05 15:08:26 UTC
i don't see dev-java/azureus-2.4.0.2-r1 but net-p2p/azureus-2.4.0.2-r1 gives a new error: 

 % azureus
using /home/quasar/.azureus/gentoo.config
Exception in thread "main" java.lang.UnsatisfiedLinkError: memmove
        at org.eclipse.swt.internal.gtk.OS.memmove(Native Method)
        at org.eclipse.swt.internal.Converter.wcsToMbcs(Unknown Source)
        at org.eclipse.swt.internal.Converter.wcsToMbcs(Unknown Source)
        at org.eclipse.swt.widgets.Display.<clinit>(Unknown Source)
        at org.gudy.azureus2.ui.swt.mainwindow.SWTThread.<init>(SWTThread.java:75)
        at org.gudy.azureus2.ui.swt.mainwindow.SWTThread.createInstance(SWTThread.java:58)
        at org.gudy.azureus2.ui.swt.mainwindow.Initializer.<init>(Initializer.java:108)
        at org.gudy.azureus2.ui.swt.Main.<init>(Main.java:147)
        at org.gudy.azureus2.ui.swt.Main.main(Main.java:162)




% emerge --info    

Portage 2.1.1_pre4-r2 (default-linux/amd64/2006.0, gcc-3.4.4/amd64-vanilla, glibc-2.4-r3, 2.6.17-gentoo-r4 x86_64)
=================================================================
System uname: 2.6.17-gentoo-r4 x86_64 AMD Athlon(tm) 64 Processor 3200+
Gentoo Base System version 1.12.4
app-admin/eselect-compiler: 2.0.0_rc2-r1
dev-lang/python:     2.4.3-r1
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     [Not Present]

dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.18.1
sys-devel/autoconf:  2.13, 2.60
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.17
sys-devel/gcc-config: 2.0.0_rc1
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.16
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/eselect/compiler /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS=""
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer parallel-fetch sandbox sfpermsstrict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="amd64 X a52 aac aalib alsa asf avi berkdb bitmap-fonts bzip2 cairo cli crypt cups dlloader dts dvd dvdr dvdread eds emboss encode ffmpeg firefox flac foomaticdb gcj gd gif glitz glut gnome gnustep gpm gstreamer gtk gtk2 imlib isdnlog ithreads java jpeg kde lirc lzw lzw-tiff mad mp3 mpeg ncurses nls nptl nptlonly nsplugin nvidia objc ogg opengl pam pcre pdflib perl png pppd python qt qt3 qt4 quicktime readline reflection rtc samba sdl session spell spl ssl svg tcpd theora threads tiff truetype truetype-fonts type1-fonts unicode usb vorbis xmms xorg xpm xprint xv xvid xvmc zlib elibc_glibc input_devices_joystick input_devices_keyboard input_devices_mouse kernel_linux lirc_devices_serial userland_GNU video_cards_nv video_cards_nvidia"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
 
Comment 8 David Pyke 2006-08-12 08:20:18 UTC
I had the "Exception in thread "main" java.lang.UnsatisfiedLinkError: memmove" issue as well but found out it was due to the fact that root was using 1.5 and the user was set for blackdown-1.4.  If they're both 1.5, it went away for me.
Comment 9 Andrew Dorney 2006-08-12 09:22:35 UTC
(In reply to comment #8)
> I had the "Exception in thread "main" java.lang.UnsatisfiedLinkError: memmove"
> issue as well but found out it was due to the fact that root was using 1.5 and
> the user was set for blackdown-1.4.  If they're both 1.5, it went away for me.
> 

StubbornAesthetics ~ # java-config-2 -L
1) Blackdown JDK 1.4.2.03 [blackdown-jdk-1.4.2] (/usr/share/java-config-2/vm/blackdown-jdk-1.4.2)
2) Blackdown JRE 1.4.2.03 [blackdown-jre-1.4.2] (/usr/share/java-config-2/vm/blackdown-jre-1.4.2)
*) Sun JDK 1.5.0.07 [sun-jdk-1.5] (/usr/share/java-config-2/vm/sun-jdk-1.5)

andrew@StubbornAesthetics ~ $ java-config-2 -L
1) Blackdown JDK 1.4.2.03 [blackdown-jdk-1.4.2] (/usr/share/java-config-2/vm/blackdown-jdk-1.4.2)
2) Blackdown JRE 1.4.2.03 [blackdown-jre-1.4.2] (/usr/share/java-config-2/vm/blackdown-jre-1.4.2)
*) Sun JDK 1.5.0.07 [sun-jdk-1.5] (/usr/share/java-config-2/vm/sun-jdk-1.5)


I already have those set to 1.5 for G2, but I still get the exception you mention.
Comment 10 Kevin J Meagher 2006-08-13 18:35:28 UTC
an emerge -e azureus seems to have solved the "Exception in thread "main" java.lang.UnsatisfiedLinkError: memmove" problem
Comment 11 Christoph Mende (RETIRED) gentoo-dev 2006-08-19 20:24:04 UTC
(In reply to comment #7)
> i don't see dev-java/azureus-2.4.0.2-r1 but net-p2p/azureus-2.4.0.2-r1 gives a
> new error: 
> 
>  % azureus
> using /home/quasar/.azureus/gentoo.config
> Exception in thread "main" java.lang.UnsatisfiedLinkError: memmove
>         at org.eclipse.swt.internal.gtk.OS.memmove(Native Method)
>         at org.eclipse.swt.internal.Converter.wcsToMbcs(Unknown Source)
>         at org.eclipse.swt.internal.Converter.wcsToMbcs(Unknown Source)
>         at org.eclipse.swt.widgets.Display.<clinit>(Unknown Source)
>         at
> org.gudy.azureus2.ui.swt.mainwindow.SWTThread.<init>(SWTThread.java:75)
>         at
> org.gudy.azureus2.ui.swt.mainwindow.SWTThread.createInstance(SWTThread.java:58)
>         at
> org.gudy.azureus2.ui.swt.mainwindow.Initializer.<init>(Initializer.java:108)
>         at org.gudy.azureus2.ui.swt.Main.<init>(Main.java:147)
>         at org.gudy.azureus2.ui.swt.Main.main(Main.java:162)

That bug is caused by dev-java/swt-3.2_rc2, dev-java/swt-3.2 fixes it, maybe that version should be marked as dependency.
Comment 12 Andrew Dorney 2006-08-19 20:26:49 UTC
(In reply to comment #11)
> 
> That bug is caused by dev-java/swt-3.2_rc2, dev-java/swt-3.2 fixes it, maybe
> that version should be marked as dependency.
> 

I can confirm that swt-3.2 fixes the issue for me.

~~ Andrew D.
Comment 13 Petteri Räty (RETIRED) gentoo-dev 2006-08-20 01:58:23 UTC
(In reply to comment #12)
> (In reply to comment #11)
> > 
> > That bug is caused by dev-java/swt-3.2_rc2, dev-java/swt-3.2 fixes it, maybe
> > that version should be marked as dependency.
> > 
> 
> I can confirm that swt-3.2 fixes the issue for me.
> 
> ~~ Andrew D.
> 

Dependencies changed. Please reopen if you still have issues.