Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 215423 - net-p2p/frostwire-4.13.5 fails to start
Summary: net-p2p/frostwire-4.13.5 fails to start
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: William L. Thomson Jr. (RETIRED)
URL:
Whiteboard:
Keywords: InVCS
Depends on: 180755
Blocks:
  Show dependency tree
 
Reported: 2008-03-30 10:39 UTC by John Armitage
Modified: 2008-05-25 06:47 UTC (History)
13 users (show)

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


Attachments
frostwire-4.13.5_emerge.log (frostwire-4.13.5_emerge.log,14.64 KB, text/plain)
2008-04-03 19:02 UTC, William L. Thomson Jr. (RETIRED)
Details
Misc ls info, MessageBundles.jar diffs (misc_info_jar_diff_etc.txt,7.83 KB, text/plain)
2008-04-03 19:03 UTC, William L. Thomson Jr. (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description John Armitage 2008-03-30 10:39:56 UTC
Frostwire fails to start and gives
Mar 30, 2008 10:36:10 AM com.limegroup.gnutella.io.NIODispatcher process
WARNING: IOX processing
java.net.ConnectException: Connection refused
        at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method)
        at sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:574)
        at com.limegroup.gnutella.io.NIODispatcher.processConnect(NIODispatcher.java:440)
        at com.limegroup.gnutella.io.NIODispatcher.process(NIODispatcher.java:730)
        at com.limegroup.gnutella.io.NIODispatcher.process(NIODispatcher.java:666)
        at com.limegroup.gnutella.io.NIODispatcher.run(NIODispatcher.java:824)
        at java.lang.Thread.run(Thread.java:619)
        at com.limegroup.gnutella.util.ManagedThread.managedRun(ManagedThread.java:64)
        at com.limegroup.gnutella.util.ManagedThread.run(ManagedThread.java:53)
java.lang.ExceptionInInitializerError
        at com.limegroup.gnutella.gui.shell.LimeAssociations.getSupportedAssociationsImpl(LimeAssociations.java:46)
        at com.limegroup.gnutella.gui.shell.LimeAssociations.getSupportedAssociations(LimeAssociations.java:37)
        at com.limegroup.gnutella.gui.GUIMediator.<clinit>(GUIMediator.java:212)
        at com.limegroup.gnutella.gui.init.SetupManager$LanguageAwareAction.<init>(SetupManager.java:456)
        at com.limegroup.gnutella.gui.init.SetupManager$PreviousAction.<init>(SetupManager.java:490)
        at com.limegroup.gnutella.gui.init.SetupManager.<init>(SetupManager.java:71)
        at com.limegroup.gnutella.gui.Initializer.initialize(Initializer.java:188)
        at com.limegroup.gnutella.gui.GUILoader.load(GUILoader.java:52)
        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.limegroup.gnutella.gui.Main.main(Main.java:44)
Caused by: java.util.MissingResourceException: Can't find bundle for base name MessagesBundle, locale en_US
        at java.util.ResourceBundle.throwMissingResourceException(ResourceBundle.java:1521)
        at java.util.ResourceBundle.getBundleImpl(ResourceBundle.java:1260)
        at java.util.ResourceBundle.getBundle(ResourceBundle.java:787)
        at com.limegroup.gnutella.gui.ResourceManager.setLocaleOptions(ResourceManager.java:157)
        at com.limegroup.gnutella.gui.ResourceManager.resetLocaleOptions(ResourceManager.java:146)
        at com.limegroup.gnutella.gui.ResourceManager.<clinit>(ResourceManager.java:141)
        ... 13 more
java.lang.ExceptionInInitializerError
        at com.limegroup.gnutella.gui.shell.LimeAssociations.getSupportedAssociationsImpl(LimeAssociations.java:46)
        at com.limegroup.gnutella.gui.shell.LimeAssociations.getSupportedAssociations(LimeAssociations.java:37)
        at com.limegroup.gnutella.gui.GUIMediator.<clinit>(GUIMediator.java:212)
        at com.limegroup.gnutella.gui.init.SetupManager$LanguageAwareAction.<init>(SetupManager.java:456)
        at com.limegroup.gnutella.gui.init.SetupManager$PreviousAction.<init>(SetupManager.java:490)
        at com.limegroup.gnutella.gui.init.SetupManager.<init>(SetupManager.java:71)
        at com.limegroup.gnutella.gui.Initializer.initialize(Initializer.java:188)
        at com.limegroup.gnutella.gui.GUILoader.load(GUILoader.java:52)
        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.limegroup.gnutella.gui.Main.main(Main.java:44)
Caused by: java.util.MissingResourceException: Can't find bundle for base name MessagesBundle, locale en_US
        at java.util.ResourceBundle.throwMissingResourceException(ResourceBundle.java:1521)
        at java.util.ResourceBundle.getBundleImpl(ResourceBundle.java:1260)
        at java.util.ResourceBundle.getBundle(ResourceBundle.java:787)
        at com.limegroup.gnutella.gui.ResourceManager.setLocaleOptions(ResourceManager.java:157)
        at com.limegroup.gnutella.gui.ResourceManager.resetLocaleOptions(ResourceManager.java:146)
        at com.limegroup.gnutella.gui.ResourceManager.<clinit>(ResourceManager.java:141)
        ... 13 more
Error: FrostWire version @version@
Java version 1.6.0_05 from Sun Microsystems Inc.
Linux v. 2.6.24-gentoo-r3 on i386
Free/total memory: 61985376/66650112

java.lang.ExceptionInInitializerError
        at com.limegroup.gnutella.gui.shell.LimeAssociations.getSupportedAssociationsImpl(LimeAssociations.java:46)
        at com.limegroup.gnutella.gui.shell.LimeAssociations.getSupportedAssociations(LimeAssociations.java:37)
        at com.limegroup.gnutella.gui.GUIMediator.<clinit>(GUIMediator.java:212)
        at com.limegroup.gnutella.gui.init.SetupManager$LanguageAwareAction.<init>(SetupManager.java:456)
        at com.limegroup.gnutella.gui.init.SetupManager$PreviousAction.<init>(SetupManager.java:490)
        at com.limegroup.gnutella.gui.init.SetupManager.<init>(SetupManager.java:71)
        at com.limegroup.gnutella.gui.Initializer.initialize(Initializer.java:188)
        at com.limegroup.gnutella.gui.GUILoader.load(GUILoader.java:52)
        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.limegroup.gnutella.gui.Main.main(Main.java:44)
Caused by: java.util.MissingResourceException: Can't find bundle for base name MessagesBundle, locale en_US
        at java.util.ResourceBundle.throwMissingResourceException(ResourceBundle.java:1521)
        at java.util.ResourceBundle.getBundleImpl(ResourceBundle.java:1260)
        at java.util.ResourceBundle.getBundle(ResourceBundle.java:787)
        at com.limegroup.gnutella.gui.ResourceManager.setLocaleOptions(ResourceManager.java:157)
        at com.limegroup.gnutella.gui.ResourceManager.resetLocaleOptions(ResourceManager.java:146)
        at com.limegroup.gnutella.gui.ResourceManager.<clinit>(ResourceManager.java:141)
        ... 13 more

STARTUP ERROR!




FILES IN CURRENT DIRECTORY:
/usr/share/frostwire/lib
LAST MODIFIED: 1206726304000
SIZE: 4096

/usr/share/frostwire/package.env
LAST MODIFIED: 1206726301000
SIZE: 1074

/usr/share/frostwire/MessagesBundles.jar
LAST MODIFIED: 1206726288000
SIZE: 64940

/usr/share/frostwire/hashes
LAST MODIFIED: 1206726301000
SIZE: 0

/usr/share/frostwire/xml.war
LAST MODIFIED: 1206726289000
SIZE: 7343

/usr/share/frostwire/id3v2.jar
LAST MODIFIED: 1206726287000
SIZE: 45837

/usr/share/frostwire/themes.jar
LAST MODIFIED: 1206726287000
SIZE: 223754

/usr/share/frostwire/update.ver
LAST MODIFIED: 1206726289000
SIZE: 3810


Reproducible: Always

Steps to Reproduce:
1.Attempt to start frostwire
2.
3.

Actual Results:  
Frostwire does not start

Expected Results:  
It should start

Portage 2.1.4.4 (default-linux/x86/2007.0/desktop, gcc-4.2.3, glibc-2.6.1-r0, 2.6.24-gentoo-r3 i686)
=================================================================
System uname: 2.6.24-gentoo-r3 i686 Intel(R) Pentium(R) D CPU 3.20GHz
Timestamp of tree: Fri, 28 Mar 2008 16:00:04 +0000
ccache version 2.4 [enabled]
app-shells/bash:     3.2_p17-r1
dev-java/java-config: 1.3.7, 2.1.4
dev-lang/python:     2.4.4-r9
dev-python/pycrypto: 2.0.1-r6
dev-util/ccache:     2.4-r7
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r1
sys-devel/automake:  1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.18-r1
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.23-r3
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-march=native -O2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache distlocks metadata-transfer parallel-fetch sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LINGUAS="en_GB"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage/layman/mozilla /usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="/ X a52 aac acl acpi alsa berkdb bluetooth cairo cdr cli cracklib crypt cups dbus dri dvd dvdr dvdread eds emboss encode esd evo fam firefox fortran gdbm gif gpm hal iconv ipod ipv6 isdnlog jpeg kde kdehiddenvisibility kerberos ldap mad midi mikmod mmx mp3 mp4 mpeg mplayer msn mudflap musicbrainz ncurses nls nptl nptlonly nsplugin offensive ogg opengl openmp oss pam pcre pdf perl png pppd python qt3 qt3support qt4 quicktime readline real reflection sdl session spell spl sse sse2 ssl svg symlink tcpd tiff truetype unicode usb vorbis win32codecs x86 xcomposite xml xorg xv xvid zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en_GB" USERLAND="GNU" VIDEO_CARDS="nv nvidia"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Jim Beckner 2008-03-30 14:22:03 UTC
From IvanMajhen on gentoo forums...

Copy MessagesBundles.jar and i18n.jar from binary package to /usr/share/frostwire/lib.

I downloaded the binary from the website.  The binary worked fine while the ebuild didn't.  When I moved these two files over, it started to work.  
Comment 2 William L. Thomson Jr. (RETIRED) gentoo-dev 2008-03-30 16:16:23 UTC
(In reply to comment #1)
>
> I downloaded the binary from the website.  The binary worked fine while the
> ebuild didn't.  When I moved these two files over, it started to work.  

Need to diff the jars and see where they differ. Pretty sure the i18n.jar is not built, but a binary provided in sources. The MessageBundles.jar is definitely built, so something might be a bit off there.

But pretty odd, starts out of the box for me? Will test again just to re-confirm.
 

Comment 3 Chris Henhawke (RETIRED) gentoo-dev 2008-03-31 12:35:37 UTC
i have the same problem as the OP.
Comment 4 Chris Henhawke (RETIRED) gentoo-dev 2008-03-31 12:37:51 UTC
I just noticed this error was present during emerge:

Traceback (most recent call last):
  File "create_iso88591_bundles.py", line 22, in ?
    join('..','messagebundles','MessagesBundle_en.properties'))
  File "/usr/lib/python2.4/shutil.py", line 47, in copyfile
    fsrc = open(src, 'rb')
IOError: [Errno 2] No such file or directory: '../messagebundles/MessagesBundle.properties'
*.properties : no such file or directory

as well as:

install: cannot stat `/var/tmp/portage/net-p2p/frostwire-4.13.5/work/frostwire-4.13.5.src/lib/messagebundles/MessagesBundle.properties': No such file or directory
Comment 5 Michael Rohling 2008-04-01 18:41:53 UTC
(In reply to comment #1)
> From IvanMajhen on gentoo forums...
> 
> Copy MessagesBundles.jar and i18n.jar from binary package to
> /usr/share/frostwire/lib.
> 
> I downloaded the binary from the website.  The binary worked fine while the
> ebuild didn't.  When I moved these two files over, it started to work.  
> 
This fixed the problem for me too.
Comment 6 Jim Beckner 2008-04-01 18:43:27 UTC
(In reply to comment #1)
> From IvanMajhen on gentoo forums...
> 
> Copy MessagesBundles.jar and i18n.jar from binary package to
> /usr/share/frostwire/lib.
> 
> I downloaded the binary from the website.  The binary worked fine while the
> ebuild didn't.  When I moved these two files over, it started to work.  
> 
I can confirm this on a second computer of mine.
Comment 7 William L. Thomson Jr. (RETIRED) gentoo-dev 2008-04-03 18:59:23 UTC
(In reply to comment #4)
> I just noticed this error was present during emerge:
> 
> Traceback (most recent call last):
>   File "create_iso88591_bundles.py", line 22, in ?
>     join('..','messagebundles','MessagesBundle_en.properties'))
>   File "/usr/lib/python2.4/shutil.py", line 47, in copyfile
>     fsrc = open(src, 'rb')
> IOError: [Errno 2] No such file or directory:
> '../messagebundles/MessagesBundle.properties'
> *.properties : no such file or directory
> 
> as well as:
> 
> install: cannot stat
> `/var/tmp/portage/net-p2p/frostwire-4.13.5/work/frostwire-4.13.5.src/lib/messagebundles/MessagesBundle.properties':
> No such file or directory

Now that I can't explain at all. Those files should be present and not missing. They are present for me when I emerge the package.

Also wrt to MessagesBundles.jar 
ws wlt # ls -l /usr/share/frostwire/lib/MessagesBundles.jar 
-rw-r--r-- 1 root root 530874 Apr  3 14:48 /usr/share/frostwire/lib/MessagesBundles.jar
ws wlt # ls -l /home/wlt/Desktop/MessagesBundles.jar 
-rw-r--r-- 1 wlt users 530089 Feb 28 09:52 /home/wlt/Desktop/MessagesBundles.jar

I will attach a diff of the jars, along with a copy of the full emerge locally. Where the above errors don't exist. The end result is it starts for me. I can't explain why others are experiencing the problems they are.

Only thing I can say is that if you are running a stable system, and mixing unstable and stable packages. Then odd things like the above problems could potentially occur. It's really not recommended, and this is such a new/unstable package. I do not recommend anyone not running a full ~arch, either ~x86 or ~amd64 emerge this package.

So please re-test on a pure ~arch system and let me know if you have the same issues. Because again I can't replicate them, and I need to be able to track down any problems and resolve.




Comment 8 William L. Thomson Jr. (RETIRED) gentoo-dev 2008-04-03 19:02:35 UTC
Created attachment 148483 [details]
frostwire-4.13.5_emerge.log
Comment 9 William L. Thomson Jr. (RETIRED) gentoo-dev 2008-04-03 19:03:28 UTC
Created attachment 148484 [details]
Misc ls info, MessageBundles.jar diffs
Comment 10 Matt Whitlock 2008-04-14 07:36:13 UTC
I am running an up-to-date (within the past week) ~amd64 system, and I have the same problems mentioned above, although I only get the last exception, which is this:

java.lang.ExceptionInInitializerError
	at com.limegroup.gnutella.gui.shell.LimeAssociations.getSupportedAssociationsImpl(LimeAssociations.java:46)
	at com.limegroup.gnutella.gui.shell.LimeAssociations.getSupportedAssociations(LimeAssociations.java:37)
	at com.limegroup.gnutella.gui.GUIMediator.<clinit>(GUIMediator.java:212)
	at com.limegroup.gnutella.gui.init.SetupManager$LanguageAwareAction.<init>(SetupManager.java:456)
	at com.limegroup.gnutella.gui.init.SetupManager$PreviousAction.<init>(SetupManager.java:490)
	at com.limegroup.gnutella.gui.init.SetupManager.<init>(SetupManager.java:71)
	at com.limegroup.gnutella.gui.Initializer.initialize(Initializer.java:188)
	at com.limegroup.gnutella.gui.GUILoader.load(GUILoader.java:52)
	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.limegroup.gnutella.gui.Main.main(Main.java:44)
Caused by: java.util.MissingResourceException: Can't find bundle for base name MessagesBundle, locale en_US
	at java.util.ResourceBundle.throwMissingResourceException(ResourceBundle.java:1521)
	at java.util.ResourceBundle.getBundleImpl(ResourceBundle.java:1260)
	at java.util.ResourceBundle.getBundle(ResourceBundle.java:787)
	at com.limegroup.gnutella.gui.ResourceManager.setLocaleOptions(ResourceManager.java:157)
	at com.limegroup.gnutella.gui.ResourceManager.resetLocaleOptions(ResourceManager.java:146)
	at com.limegroup.gnutella.gui.ResourceManager.<clinit>(ResourceManager.java:141)
	... 13 more


I see the following in the emerge output:

sh: native2ascii: command not found
sh: native2ascii: command not found
sh: native2ascii: command not found
sh: native2ascii: command not found
sh: native2ascii: command not found
sh: native2ascii: command not found
sh: native2ascii: command not found
Traceback (most recent call last):
  File "create_iso88591_bundles.py", line 22, in <module>
    join('..','messagebundles','MessagesBundle_en.properties'))
  File "/usr/lib64/python2.5/shutil.py", line 46, in copyfile
    fsrc = open(src, 'rb')
IOError: [Errno 2] No such file or directory: '../messagebundles/MessagesBundle.properties'
*.properties : no such file or directory


Maybe there's another dependency you need to specify in the ebuild?
Comment 11 Matt Whitlock 2008-04-14 07:53:05 UTC
Looking into this more, native2ascii is a tool that comes with the JDK.  So really all you should need to do is to add "$(java-config -O)/bin" to the PATH environment variable in the src_compile function of the ebuild.

In fact, I just tested this and it does get rid of the errors during the build, and the MessageBundles do get installed.  I added the following as the first line of the src_compile() function in the FrostWire ebuild:
export PATH="${PATH}:$(java-config -O)/bin"

I'm still running into this error, though, after FrostWire starts up:

"This is LimeWire. The official website is www.limewire.com."

LimeWire version 4.13.5
Java version 1.6.0_05 from Sun Microsystems Inc.
Linux v. 2.6.24-gentoo-r3 on amd64
Free/total memory: 57851448/81199104

FATAL ERROR!

java.lang.ExceptionInInitializerError
	at com.limegroup.gnutella.util.I18NConvert.<init>(I18NConvert.java:26)
	at com.limegroup.gnutella.util.I18NConvert.<clinit>(I18NConvert.java:11)
	at com.limegroup.gnutella.gui.Initializer.initialize(Initializer.java:303)
	at com.limegroup.gnutella.gui.GUILoader.load(GUILoader.java:52)
	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.limegroup.gnutella.gui.Main.main(Main.java:44)
Caused by: java.io.EOFException
	at java.io.ObjectInputStream$BlockDataInputStream.peekByte(ObjectInputStream.java:2554)
	at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1297)
	at java.io.ObjectInputStream.readObject(ObjectInputStream.java:351)
	at com.limegroup.gnutella.util.I18NConvertICU.<init>(I18NConvertICU.java:44)
	at com.limegroup.gnutella.util.I18NConvert.<init>(I18NConvert.java:23)
	... 8 more
Comment 12 Andrew Gaffney (RETIRED) gentoo-dev 2008-04-25 16:46:08 UTC
Those emerge errors appear to be related to bug 180755. Creating a symlink from /usr/bin/native2ascii -> /sun-jdk-1.6.0.06/bin/native2ascii and emerging frostwire "fixed" this problem. However, after that, I run into the error noted in comment 11.
Comment 13 Kevin Bowling 2008-05-05 04:07:27 UTC
I see nothing out of the ordinary in the build process but I get the same error as comment #11 on my amd64 machine.
Comment 14 Kyle Elbert 2008-05-07 12:07:10 UTC
same as comment #12
Comment 15 Kyle Elbert 2008-05-07 12:13:30 UTC
after "fixing" the missing native2ascii problem, just copying the i18n.jar now fixes that last error
Comment 16 Vanessa Dannenberg 2008-05-13 05:17:36 UTC
Confirmed on my system as well.  Just to summarize the steps needed to make this work until the ebuild is fixed.

1) Download and extract the tar.gz file from the frostwire website.

2) Create a symlink:
# ln -sf /etc/java-config-2/current-system-vm/bin/native2ascii  /usr/bin

3) Re-install Frostwire:
# emerge -av frostwire

4) Copy two files:
# cp -av frostwire-4.13.5.noarch/i18n.jar  frostwire-4.13.5.noarch/MessagesBundles.jar  /usr/share/frostwire/lib

5) Delete your ~/.frostwire if you have one, to make sure it starts out clean.

6) Optional: Uninstall limewire because it's a closed-source headache ;)

It is using Sun JDK 1.6.05 but still has some glitches ("internal error" messages while using config dialog), but it works now.
Comment 17 William L. Thomson Jr. (RETIRED) gentoo-dev 2008-05-13 14:15:46 UTC
Vanessa, thanks for the break down/instructions for others to follow.

> 2) Create a symlink:
> # ln -sf /etc/java-config-2/current-system-vm/bin/native2ascii  /usr/bin

Isn't the point of this step

> 4) Copy two files:
> # cp -av frostwire-4.13.5.noarch/i18n.jar 
> frostwire-4.13.5.noarch/MessagesBundles.jar  /usr/share/frostwire/lib

So that you can build the MessageBundles.jar instead of copying it?

I don't have to replace that jar in my case. Nor did I have to make link in #2. I provided a diff on the resulting MessageBundles.jar to the one it ships with. So somehow I end up with a whole and working MessageBundles.jar


I will see about looking into the i18n issues ASAP. Likely both are related, and I further suspect issue with any locale/linguas other than EN_US. Note that initial reporters local was EN_GB. Which one would think would be close enough to EN_US, guess not :) So please when commenting on bug, also mention your linguas/locale. Likely related, thanks
Comment 18 Vanessa Dannenberg 2008-05-13 19:49:51 UTC
That is what I assumed, but for some reason, I still had to copy both .jar files to get it working.  I added the symlink and re-install steps because it seemed like a good idea, and because it worked for me :-)
Comment 19 William L. Thomson Jr. (RETIRED) gentoo-dev 2008-05-13 19:58:35 UTC
Check the size of your MessageBundles, the one emerge produces versus the one that ships with Limewire. Or the sizes of mine posted here.

Also might want do a unzip -l of the jar to see if it's missing stuff if it's smaller or etc. If it's the same size or larger. That's really odd, and not good :(
Comment 20 William L. Thomson Jr. (RETIRED) gentoo-dev 2008-05-14 03:54:47 UTC
Alrighty then, looks like I was grabbing and installing the wrong bundled i18n.jar. Not sure why there is two in the sources. Nor why I chose to grab the one over the other. I checked the file size of the one that ships with Frostwire. It was the same size as the one I wasn't using/installing :) So that one is being installed now, the other is not.

I also added a temp hack/fix to check if native2ascii is on path. If not add it to the path. So that the command will be found, and MessageBundles.jar built.

That should resolve all startup issues relating to those two jar files. I am going to go ahead and close this bug as fixed. Please allow some time, and sync your tree so you can emerge the new -r1 version. Previous version removed.

If problems persist we can re-open bug. But pretty sure it should be resolved. I f not, really not sure what else I can do :)
Comment 21 Vanessa Dannenberg 2008-05-14 06:30:16 UTC
After uninstalling, syncing, and cleaning up after the above workarounds, the new ebuild works fine now.   Thanks!