[Bug 491880] [NEW] eclipse source package provides libswt* binary packages that would conflict with swt-gtk

أحمد المحمودي (Ahmed El-Mahmoudy) aelmahmoudy at users.sourceforge.net
Thu Dec 3 14:03:26 UTC 2009


Public bug reported:

Binary package hint: eclipse

Hello,

  We are working on a package 'zekr' that needs SWT 3.5 java libraries. 
  First we built it against the library in libswt-gtk* packages that 
  were built from eclipse source package, but we got an error when 
  running the resulting binary:

org.eclipse.swt.SWTError: No more handles (java.lang.UnsatisfiedLinkError:
no swt-xulrunner-gtk-3555 or swt-xulrunner-gtk in swt.library.path,
java.library.path or the jar file)
    org.eclipse.swt.SWT.error(SWT.java:3910)
    org.eclipse.swt.SWT.error(SWT.java:3799)
    org.eclipse.swt.browser.Mozilla.create(Mozilla.java:451)
    org.eclipse.swt.browser.Browser.<init>(Browser.java:119)
    net.sf.zekr.ui.QuranForm.makeFrame(QuranForm.java:455)
    net.sf.zekr.ui.QuranForm.init(QuranForm.java:280)
    net.sf.zekr.ui.QuranForm.<init>(QuranForm.java:258)
    net.sf.zekr.ZekrMain.startZekr(ZekrMain.java:51)
    net.sf.zekr.ZekrMain.main(ZekrMain.java:88)

Although the package libswt-gtk-3.5-jni was installed (which includes 
libswt-xulrunner-gtk-3555.so).

So I prepared swt-gtk 3.5.1-1 package based on Debian swt-gtk 3.4.2-3 
package.

When zekr was run against the packages built from swt-gtk, it ran 
successfully.

Now the problem is that both eclipse & swt-gtk provide the same package 
names: libswt-gtk-3.5-jni & libswt-gtk-3.5-java

Which causes this issue (reported by Mohammad Derakhshani):

> eclipse-platform package depends on libswt-gtk-3.5-java (= 
> 3.5.1+repack~1-0ubuntu1). If someone installs libswt-gtk-3.5-java from 
> the zekr's repository, he or she cannot install eclipse.

Previous packages of eclipse (and the Debian eclipse packages), it used 
to provide those package names instead: libswt<version>-gtk-jni and 
libswt<version>-gtk-java

I don't know why Ubuntu changed the way eclipse names its swt library 
packages. I hope it would be returned to the way it used to be, that 
would also lessen the differences between Debian & Ubuntu regarding 
eclipse & swt-gtk.

ProblemType: Bug
Architecture: i386
Date: Thu Dec  3 15:58:24 2009
DistroRelease: Ubuntu 9.10
NonfreeKernelModules: wl
Package: eclipse (not installed)
ProcEnviron:
 LANGUAGE=en_US:en_GB:en
 PATH=(custom, user)
 LANG=en_US.UTF-8
 SHELL=/bin/bash
ProcVersionSignature: Ubuntu 2.6.31-15.50-generic
SourcePackage: eclipse
Uname: Linux 2.6.31-15-generic i686

** Affects: eclipse (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: apport-bug i386

-- 
eclipse source package provides libswt* binary packages that would conflict with swt-gtk
https://bugs.launchpad.net/bugs/491880
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs at lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs




More information about the universe-bugs mailing list