FS#22432 - [vuze] 4.6 fails to start on x86_64

Attached to Project: Community Packages
Opened by Kevin (kevku) - Friday, 14 January 2011, 21:29 GMT
Last edited by Thomas Dziedzic (tomd123) - Monday, 17 January 2011, 18:16 GMT
Task Type Bug Report
Category Upstream Bugs
Status Closed
Assigned To Thomas Dziedzic (tomd123)
Architecture x86_64
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 4
Private No

Details

Description:
[vuze] 4.6 fails to start on x86_64

Additional info:
Starting Azureus...
Suitable java version found [java = 1.6.0_23]
Configuring environment...
Java exec found in PATH. Verifying...
Browser check failed with: Cannot load 32-bit SWT libraries on 64-bit JVM
Auto-scanning for GRE/XULRunner. You can skip this by appending the GRE path to LD_LIBRARY_PATH and setting MOZILLA_FIVE_HOME.
checking /usr/lib/mozilla for GRE
Can not use GRE from /usr/lib/mozilla because it's missing libxpcom.so.
checking /usr/lib/xulrunner-1.9.2 for GRE
GRE found at /usr/lib/xulrunner-1.9.2.
Browser check failed with: Could not initialize class org.eclipse.swt.widgets.Display
Can't create browser. Will try to set LD_LIBRARY_PATH and hope Vuze has better luck.
setting LD_LIBRARY_PATH to: /usr/lib/xulrunner-1.9.2
setting MOZILLA_FIVE_HOME to: /usr/lib/xulrunner-1.9.2
Loading Azureus:
java -Xmx128m -cp "./Azureus2.jar:./commons-cli.jar:./log4j.jar:./swt.jar" -Djava.library.path="/usr/share/vuze" -Dazureus.install.path="/usr/share/vuze" -Dazureus.script="/usr/bin/vuze" -Dazureus.script.version=2 org.gudy.azureus2.ui.swt.Main
file:/usr/share/vuze/Azureus2.jar ; file:/usr/share/vuze/commons-cli.jar ; file:/usr/share/vuze/log4j.jar ; file:/usr/share/vuze/swt.jar ; file:/usr/share/vuze/
changeLocale: *Default Language* != Estonian (Estonia). Searching without country..
changeLocale: Searching for language Estonian in *any* country..
changeLocale: no message properties for Locale 'Estonian (Estonia)' (et_EE), using 'English (default)'
java.lang.reflect.InvocationTargetException
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
at org.gudy.azureus2.ui.swt.Main.<init>(Main.java:114)
at org.gudy.azureus2.ui.swt.Main.main(Main.java:292)
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:597)
at com.aelitis.azureus.launcher.MainExecutor$1.run(MainExecutor.java:37)
at java.lang.Thread.run(Thread.java:662)
Caused by: java.lang.UnsatisfiedLinkError: Cannot load 32-bit SWT libraries on 64-bit JVM
at org.eclipse.swt.internal.Library.loadLibrary(Library.java:197)
at org.eclipse.swt.internal.Library.loadLibrary(Library.java:174)
at org.eclipse.swt.internal.C.<clinit>(C.java:21)
at org.eclipse.swt.internal.Converter.wcsToMbcs(Converter.java:63)
at org.eclipse.swt.internal.Converter.wcsToMbcs(Converter.java:54)
at org.eclipse.swt.widgets.Display.<clinit>(Display.java:132)
at org.gudy.azureus2.ui.swt.mainwindow.SWTThread.<init>(SWTThread.java:84)
at org.gudy.azureus2.ui.swt.mainwindow.SWTThread.createInstance(SWTThread.java:63)
at com.aelitis.azureus.ui.swt.Initializer.<init>(Initializer.java:163)
... 12 more
Exit from Azureus complete
No shutdown tasks to do
Azureus TERMINATED.


Steps to reproduce:
install vuze on x86_64
run it.
This task depends upon

Closed by  Thomas Dziedzic (tomd123)
Monday, 17 January 2011, 18:16 GMT
Reason for closing:  Fixed
Additional comments about closing:  pkgrel 2
Comment by Thomas Dziedzic (tomd123) - Saturday, 15 January 2011, 16:06 GMT Comment by WhoTouchaMySpageth! (tuxfusion) - Saturday, 15 January 2011, 16:38 GMT
I can confirm
Reason : vuze ships with swt 32 bit. Why ? I have no clue
Solution for me : I overwrote /usr/share/vuze/swt.jar 32-bit with 64-bit swt.jar from my android sdk. Done.
Comment by Thomas Dziedzic (tomd123) - Saturday, 15 January 2011, 16:50 GMT
That's definitely a workaround, but we need upstream to fix this or provide a 64bit version of the library.
Comment by WhoTouchaMySpageth! (tuxfusion) - Saturday, 15 January 2011, 17:32 GMT
I say the package in Arch is broken.
The correct 64 bit source is : http://garr.dl.sourceforge.net/project/azureus/vuze/Vuze_4510/Vuze_4510_linux-x86_64.tar.bz2 -> 64 bit swt.jar, works instantly.
The packager uses http://cf1.vuze.com/files/Vuze_Installer.tar.bz2 , which holds 32 bit swt.jar. At least when i unpack swt.jar and ldd the .so files in it, they point to 32 bit libs, but I'm no expert on that matter just what i see from the tests i conducted.
Comment by Giovanni Scafora (giovanni) - Saturday, 15 January 2011, 17:39 GMT Comment by Thomas Dziedzic (tomd123) - Saturday, 15 January 2011, 18:10 GMT
Yup, I noticed this, but upstream doesn't provide a 64bit version of the library with 4.6 so that's why I marked it as an upstream problem. If you have any official links to a 64bit version of vuze 4.6 please let me know.
Comment by Giovanni Scafora (giovanni) - Saturday, 15 January 2011, 18:13 GMT
Thomas could you downgrade it to 4.5.1.0 in community repo for both arch?
Comment by Thomas Dziedzic (tomd123) - Saturday, 15 January 2011, 20:26 GMT
"http://sourceforge.net/projects/azureus/files/vuze/Vuze_4510/Vuze_4510_linux-x86_64.tar.bz2/download
it'll auto-update to 4.6
no 4600 on sf yet, since they conveniently migrated their servers on release day"

So the response I got seems to show that upstream knows about it and will soon fix it. I'm willing to wait this out for a day or 2.
In the mean time please use the link to the older version giovanni posted to install vuze on 64bit.
If you think this requires immediate attention, let me know.

Loading...