Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 147059 - Azureus 2.5.0.0-r1 fails to start
Summary: Azureus 2.5.0.0-r1 fails to start
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: Highest normal (vote)
Assignee: Petteri Räty (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-09-10 05:59 UTC by Vladimir Lushnikov
Modified: 2006-09-10 09:03 UTC (History)
2 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 Vladimir Lushnikov 2006-09-10 05:59:54 UTC
With a clean configuration and swt backend set, azureus doesn't want to start:

---------------------

vladimir@localhost ~ $ azureus
Creating /home/vladimir/.azureus
Creating /home/vladimir/.azureus/gentoo.config
Exception in thread "main" java.lang.Error: Could not find class: org.gudy.azureus2.ui..UI
        at org.gudy.azureus2.ui.common.UserInterfaceFactory.getUI(UserInterfaceFactory.java:38)
        at org.gudy.azureus2.ui.common.Main.processArgs(Main.java:254)
        at org.gudy.azureus2.ui.common.Main.main(Main.java:161)

---------------------

Then it just hangs there at the cli.


Azureus was compiled with sun-jdk-1.6 and sun-jdk-1.5 (using gcj-overlay on the 1.6) but that doesn't seem to be the issue. The azureus starter somehow wants an extra dot ("org.gudy.azureus2.ui..UI") in the full namespace name.

---------------------

emerge --info

Portage 2.1.1 (default-linux/x86/2006.1, gcc-4.1.1/vanilla, glibc-2.4-r3, 2.6.17-gentoo-r4 i686)
=================================================================
System uname: 2.6.17-gentoo-r4 i686 Intel(R) Pentium(R) M processor 2.00GHz
Gentoo Base System version 1.12.4
Last Sync: Sun, 10 Sep 2006 09:00:01 +0000
ccache version 2.4 [enabled]
app-admin/eselect-compiler: [Not Present]
dev-lang/python:     2.4.3-r3
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.16.1, 2.17
sys-devel/gcc-config: 1.3.13-r3
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium-m -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /opt/openjms/config /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/splash /etc/terminfo /etc/texmf/web2c"
CXXFLAGS="-O2 -march=pentium-m -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="ftp://ftp.snt.utwente.nl/pub/os/linux/gentoo http://194.117.143.69 http://ftp.gentoo.or.kr/ ftp://ftp.nyx.hu/gentoo ftp://gentoo.cites.uiuc.edu/pub/gentoo/"
LANG="en_GB.UTF-8"
LINGUAS="en_GB ru ja de"
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 /usr/portage/local/layman/portage-xgl /usr/portage/local/layman/science /usr/portage/local/layman/java-experimental /usr/portage/local/layman/java-migration-packages /usr/portage/local/layman/java-gcj-overlay"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X a52 aac aalib acl acpi alsa apache2 apm asf bash-completion berkdb bidi bitmap-fonts bzip2 cairo canna cdb cdparanoia cdr cjk clamav cli crypt cups dbus dlloader doc dri dts dv dvd dvdr dvdread dxr3 elibc_glibc encode esd exif fbcon ffmpeg fftw firefox flac foomaticdb fortran ftp gcj gconf gd gdbm geoip gif glitz glut gmp gnome gphoto2 gpm gstreamer gtk hal icc ieee1394 imagemagick imlib immqt-bc innodb input_devices_evdev input_devices_keyboard input_devices_mouse input_devices_synaptics input_devices_vmmouse ipv6 isdnlog java jikes jpeg jpeg2k kde kdeenablefinal kdehiddenvisibility kernel_linux libg++ linguas_de linguas_en_GB linguas_ja linguas_ru mad memlimit mhash mikmod mime mmx mono mp3 mpeg mysql mysqli ncurses network nls nptl nptlonly nsplugin odbc ogg openal opengl oss pam pcre pdf perl php plotutils png posix postgres ppds pppd python qt3 qt4 quicktime readline reflection ruby samba sdl session sharedmem simplexml smartcard sockets socks5 spell spl sqlite sqlite3 sse sse2 ssl svg tcpd tetex theora threads tidy tiff truetype truetype-fonts type1-fonts udev unicode usb userland_GNU vcd video_cards_nvidia video_cards_vesa video_cards_vmware vorbis wifi win32codecs xcomposite xine xinerama xml xml2 xmms xorg xosd xpm xprint xscreensaver xv xvid xvmc zlib"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS

---------------------

I am guessing the fix should be trivial, just remove the dot and the class should be found.
Comment 1 Petteri Räty (RETIRED) gentoo-dev 2006-09-10 07:25:52 UTC
Actually that is not the case. This means that you don't have the UI option set in the configuration.  
Comment 2 Petteri Räty (RETIRED) gentoo-dev 2006-09-10 07:35:40 UTC
Should be fixed in -r2. (In reply to comment #1)
> Actually that is not the case. This means that you don't have the UI option set
> in the configuration.  
> 

I modified the startup script so that it is no longer possible to have UI not set. I don't understand how this happened to you any way as 
Creating /home/vladimir/.azureus/gentoo.config should set UI="swt" for you.
Comment 3 Vladimir Lushnikov 2006-09-10 07:37:16 UTC
(In reply to comment #1)
> Actually that is not the case. This means that you don't have the UI option set
> in the configuration.  
> 

That's strange. The contents of /home/vladimir/.azureus/gentoo.config are:

---
# User Interface options:
# console   - console based
# swt       - swt (GUI) based
UI="swt"

# Options you want to pass to the java binary
JAVA_OPTIONS=""
---
Comment 4 Vladimir Lushnikov 2006-09-10 07:57:17 UTC
Still exhibiting the problem with r2 - the error is identical and the files created in .azureus look ok. Strange.
Comment 5 Petteri Räty (RETIRED) gentoo-dev 2006-09-10 08:26:31 UTC
(In reply to comment #4)
> Still exhibiting the problem with r2 - the error is identical and the files
> created in .azureus look ok. Strange.
> 

Hard for me to do anything about it when I can't reproduce it.

betelgeuse@pena ~/.azureus $ cat gentoo.config
# User Interface options:
# console   - console based
# swt       - swt (GUI) based
UI="swt"

# Options you want to pass to the java binary
JAVA_OPTIONS=""
betelgeuse@pena ~/.azureus $ azureus
using /home/betelgeuse/.azureus/gentoo.config
changeLocale: *Default Language* != English (United States). Searching without country..
changeLocale: Searching for language English in *any* country..
changeLocale: no message properties for Locale 'English (United States)' (en_US), using 'English (default)'
betelgeuse@pena ~/.azureus $
Comment 6 Petteri Räty (RETIRED) gentoo-dev 2006-09-10 08:27:44 UTC
Please post the output of which azureus and attach your /usr/bin/azureus and ~/.azureus/gentoo.config files. Also you should try disabling using 1.6 to compile just to be sure.
Comment 7 Petteri Räty (RETIRED) gentoo-dev 2006-09-10 08:31:19 UTC
This is caused by you using the gcj-overlay. It includes a modified versions of our eclasses and I needed to update the eclasses in the main tree to make Azureus work. Those changes were not synced to the gcj-overlay yet.
Comment 8 Vladimir Lushnikov 2006-09-10 09:03:25 UTC
Ok thank you - this is fixed.