eclipse-platform: /etc/eclipse.ini references non-existent xulrunner path

Bug #559229 reported by Dominic Evans
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
eclipse (Ubuntu)
Fix Released
Undecided
Unassigned
xulrunner-1.9.2 (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

Binary package hint: eclipse

eclipse.ini is referencing xulrunner-1.9.2 but the latest package only installs to /usr/lib/xulrunner-1.9.2.2 with symlinks in /usr/lib/xulrunner

The /usr/lib/xulrunner-1.9.2 symlink does not exist. This should either be fixed in eclipse or xulrunner.

$ grep xulrunner /etc/eclipse.ini
-Dorg.eclipse.swt.browser.XULRunnerPath=/usr/lib/xulrunner-1.9.2
$ ls -l /usr/lib/xulrunner-1.9.2
ls: cannot access /usr/lib/xulrunner-1.9.2: No such file or directory
$ apt-cache policy xulrunner-1.9.2
xulrunner-1.9.2:
  Installed: 1.9.2.2+nobinonly-0ubuntu1
  Candidate: 1.9.2.2+nobinonly-0ubuntu1
  Version table:
 *** 1.9.2.2+nobinonly-0ubuntu1 0
        500 ..... lucid/main Packages
        100 /var/lib/dpkg/status
$ ls -d /usr/lib/xulrunner-1*
/usr/lib/xulrunner-1.9.2.2/

ProblemType: Bug
DistroRelease: Ubuntu 10.04
Package: eclipse 3.5.2-2ubuntu1
ProcVersionSignature: Ubuntu 2.6.32-19.28-generic 2.6.32.10+drm33.1
Uname: Linux 2.6.32-19-generic x86_64
Architecture: amd64
Date: Fri Apr 9 14:43:18 2010
PackageArchitecture: all
ProcEnviron:
 LANGUAGE=en_GB:en
 PATH=(custom, user)
 LANG=en_GB.UTF-8
 SHELL=/bin/bash
SourcePackage: eclipse

Revision history for this message
Dominic Evans (oldmanuk) wrote :
Revision history for this message
Micah Gersten (micahg) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. This particular bug has already been reported and is a duplicate of bug 553779, so it is being marked as such. Please look at the other bug report to see if there is any missing information that you can provide, or to see if there is a workaround for the bug. Additionally, any further discussion regarding the bug should occur in the other report. Please continue to report any other bugs you may find.

Revision history for this message
Micah Gersten (micahg) wrote :

Sorry, I think I was too hasty in marking this a duplicate.

Revision history for this message
Micah Gersten (micahg) wrote :

I can confirm this in my ini file.

Changed in eclipse (Ubuntu):
status: New → Confirmed
Revision history for this message
Micah Gersten (micahg) wrote :

xulrunner path isn't static, the proper way to use it is:
/usr/lib/xulrunner-`xulrunner-1.9.2 --gre-version`

Changed in xulrunner-1.9.2 (Ubuntu):
status: New → Invalid
Revision history for this message
Dominic Evans (oldmanuk) wrote :

eclipse.ini cannot reference it statically

I guess the fix would be to remove it from eclipse.ini and append it to the eclipse commandline by putting it in the /usr/bin/eclipse wrapper script

Revision history for this message
Dominic Evans (oldmanuk) wrote :

s/statically/dynamically

:-)

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package eclipse - 3.5.2-2ubuntu2

---------------
eclipse (3.5.2-2ubuntu2) lucid; urgency=low

  [ Niels Thykier ]
  * Added missing copyright statement about ownership over the Debian packaging.

  [ Benjamin Drung ]
  * Set MOZILLA_FIVE_HOME instead of LD_LIBRARY_PATH and
    org.eclipse.swt.browser.XULRunnerPath (LP: #559229, #553779).
 -- Benjamin Drung <email address hidden> Tue, 13 Apr 2010 02:12:21 +0200

Changed in eclipse (Ubuntu):
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.