Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 90340 - azureus-bin-2.2.0.2 doesn't work with openmotif-2.2.3-r3
Summary: azureus-bin-2.2.0.2 doesn't work with openmotif-2.2.3-r3
Status: RESOLVED CANTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal
Assignee: Petteri Räty (RETIRED)
URL:
Whiteboard:
Keywords:
: 97018 (view as bug list)
Depends on: 113389
Blocks:
  Show dependency tree
 
Reported: 2005-04-25 01:51 UTC by Alexandru Toma
Modified: 2005-12-21 06: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 Alexandru Toma 2005-04-25 01:51:50 UTC
after upgrading to openmotif-2.2.3-r3 azureus-bin-2.2.0.2 stopped working. It's because it's linked against libXm.so.2 which the new openmotif doesn't provide.

Also, azureus doesn't depend on openmotif if the gtk USE flag is unset and always depends on gtk even if the flag is unset.

Reproducible: Always
Steps to Reproduce:
1. ACCEPT_KEYWORDS=~x86 USE=-gtk emerge azureus-bin
2. azureus
3.

Actual Results:  
Attempting to start Azureus...
DEBUG::Mon Apr 25 11:44:48 EEST 2005
  java.lang.ClassNotFoundException: com.sun.net.ssl.internal.ssl.Provider
        at java.net.URLClassLoader.findClass(URLClassLoader.java:375)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:562)
        at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:442)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:494)
        at java.lang.Class.forName1(Native Method)
        at java.lang.Class.forName(Class.java:180)
        at
org.gudy.azureus2.core3.security.impl.SESecurityManagerImpl.initialise(SESecurityManagerImpl.java:88)
        at
org.gudy.azureus2.core3.security.SESecurityManager.initialise(SESecurityManager.java:50)
        at
org.gudy.azureus2.core3.config.impl.ConfigurationChecker.setSystemProperties(ConfigurationChecker.java:179)
        at
org.gudy.azureus2.core3.config.impl.ConfigurationManager.initialise(ConfigurationManager.java:90)
        at
org.gudy.azureus2.core3.config.impl.ConfigurationManager.getInstance(ConfigurationManager.java:46)
        at
org.gudy.azureus2.core3.config.COConfigurationManager.initialise(COConfigurationManager.java:41)
        at
com.aelitis.azureus.core.impl.AzureusCoreImpl.<init>(AzureusCoreImpl.java:102)
        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.swt.Main.<init>(Main.java:35)
        at org.gudy.azureus2.ui.swt.Main.main(Main.java:100)

Exception in thread "main" java.lang.UnsatisfiedLinkError:
/usr/lib/azureus/libswt-motif-3106.so: libXm.so.2: cannot open shared object
file: No such file or directory
        at java.lang.ClassLoader$NativeLibrary.load(Native Method)
        at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:2120)
        at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1998)
        at java.lang.Runtime.loadLibrary0(Runtime.java:824)
        at java.lang.System.loadLibrary(System.java:908)
        at org.eclipse.swt.internal.Library.loadLibrary(Library.java:100)
        at org.eclipse.swt.internal.motif.OS.<clinit>(OS.java:20)
        at org.eclipse.swt.graphics.Device.<clinit>(Device.java:89)
        at org.gudy.azureus2.ui.swt.mainwindow.SWTThread.<init>(SWTThread.java:71)
        at
org.gudy.azureus2.ui.swt.mainwindow.SWTThread.createInstance(SWTThread.java:55)
        at
org.gudy.azureus2.ui.swt.mainwindow.Initializer.<init>(Initializer.java:106)
        at org.gudy.azureus2.ui.swt.Main.<init>(Main.java:73)
        at org.gudy.azureus2.ui.swt.Main.main(Main.java:100)


Portage 2.0.51.19 (default-linux/x86/2005.0, gcc-3.3.5-20050130,
glibc-2.3.4.20040808-r1, 2.6.11-gentoo-r5 i686)
=================================================================
System uname: 2.6.11-gentoo-r5 i686 AMD Athlon(tm) XP 1800+
Gentoo Base System version 1.4.16
Python:              dev-lang/python-2.3.4-r1 [2.3.4 (#1, Apr 23 2005, 15:08:42)]
dev-lang/python:     2.3.4-r1
sys-devel/autoconf:  2.59-r6, 2.13
sys-devel/automake:  1.7.9-r1, 1.8.5-r3, 1.5, 1.4_p6, 1.6.3, 1.9.4
sys-devel/binutils:  2.15.92.0.2-r7
sys-devel/libtool:   1.5.14
virtual/os-headers:  2.6.8.1-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-march=athlon-xp -O2 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=athlon-xp -O2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms strict"
GENTOO_MIRRORS="ftp://ftp.roedu.net/pub/mirrors/gentoo.org
http://gentoo.oregonstate.edu"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync1.ro.gentoo.org/gentoo-portage"
USE="x86 3dnow 3dnowex X aalib alsa apm avi bitmap-fonts cdr crypt cups curl
emboss encode faac faad fam flac foomaticdb fortran gd geoip gif gphoto2 gpm
gtk2 guile imagemagick imlib imlib2 jikes jpeg lcms libcaca libwww lzo mad
matroska mikmod mmx mmx2 mng motif mp3 mpeg mysql ncurses network nls no_wxgtk1
ogg oggvorbis opengl pam png postgres python quicktime readline rtc ruby sdl
slang spell sse ssl tcpd tga theora tiff truetype truetype-fonts type1-fonts
vorbis xchatdccserver xml2 xmms xprint xv xvid zlib"
Unset:  ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS
Comment 1 Heinrich Wendel (RETIRED) gentoo-dev 2005-04-25 04:29:30 UTC
please depend on openmotif-2.1 or lesstif-0.94*
Comment 2 Heinrich Wendel (RETIRED) gentoo-dev 2005-05-16 07:54:59 UTC
openmotif isn't even in depend, net-p2p team?
Comment 3 Martin Holzer (RETIRED) gentoo-dev 2005-07-06 01:55:58 UTC
*** Bug 97018 has been marked as a duplicate of this bug. ***
Comment 4 Marcin Kryczek (RETIRED) gentoo-dev 2005-10-08 02:46:01 UTC
reasigning to azureus maintainer
Comment 5 Ruben Jenster 2005-11-20 13:41:53 UTC
Same problem here with net-p2p/azureus-bin-2.3.0.4. 
 
 
Attempting to start Azureus... 
Exception in thread "main" 
java.lang.UnsatisfiedLinkError: /usr/lib/azureus/libswt-motif-3106.so: 
libXm.so.2: cannot open shared object file: No such file or directory 
        at java.lang.ClassLoader$NativeLibrary.load(Native Method) 
        at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1586) 
        at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1511) 
        at java.lang.Runtime.loadLibrary0(Runtime.java:788) 
        at java.lang.System.loadLibrary(System.java:834) 
        at org.eclipse.swt.internal.Library.loadLibrary(Library.java:100) 
        at org.eclipse.swt.internal.motif.OS.<clinit>(OS.java:20) 
        at org.eclipse.swt.graphics.Device.<clinit>(Device.java:89) 
        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:107) 
        at org.gudy.azureus2.ui.swt.Main.<init>(Main.java:71) 
        at org.gudy.azureus2.ui.swt.Main.main(Main.java:98) 
 
Comment 6 Petteri Räty (RETIRED) gentoo-dev 2005-11-20 13:53:16 UTC
Is openmotif something you people absolute want to use? I was thinking about
deprecating gtk+ unless some is willing to submit patches against the current
ebuilds to make motif work.
Comment 7 Petteri Räty (RETIRED) gentoo-dev 2005-11-20 13:54:02 UTC
(In reply to comment #6)
> Is openmotif something you people absolute want to use? I was thinking about
> deprecating gtk+ unless some is willing to submit patches against the current
> ebuilds to make motif work.

Sorry about the noise. Deprecating motif of course.
Comment 8 Alexandru Toma 2005-11-21 01:23:13 UTC
> Is openmotif something you people absolute want to use? I was thinking about
> deprecating motif unless some is willing to submit patches against the current
> ebuilds to make motif work.

You can just depend on lesstif or <=openmotif-2.1 for now and that should fix
the problem. Sure, it's not exactly a fix, but I think removing motif support
from the ebuild is a little bit drastic.
Comment 9 Petteri Räty (RETIRED) gentoo-dev 2005-11-26 09:43:27 UTC
This will be solved with the from sources version because it depends on swt and
as such does not include any native code.
Comment 10 Heinrich Wendel (RETIRED) gentoo-dev 2005-12-21 06:58:47 UTC
the dep is correct, so this can't be fixed