Comment 4 for bug 566131

Revision history for this message
Niels Thykier (niels-thykier) wrote : Re: [Bug 566131] Re: org.osgi.framework.BundleException exception when starts

nanouck wrote:
> Hello Tiago,
>
> i've got the same issue with osgi, i've got the following traces
>
> !ENTRY org.eclipse.osgi 2 0 2010-04-22 12:29:34.096
> !MESSAGE One or more bundles are not resolved because the following root constraints are not resolved:
> !SUBENTRY 1 org.eclipse.osgi 2 0 2010-04-22 12:29:34.097
> !MESSAGE Bundle reference:file:plugins/org.eclipse.equinox.p2.director_1.0.101.R35x_v20100112.jar was not resolved.
> !SUBENTRY 2 org.eclipse.equinox.p2.director 2 0 2010-04-22 12:29:34.098
> !MESSAGE Missing required bundle org.sat4j.core_2.1.0.
> !SUBENTRY 2 org.eclipse.equinox.p2.director 2 0 2010-04-22 12:29:34.099
> !MESSAGE Missing required bundle org.sat4j.pb_2.1.0.
>
> regarding eclipse-platform (3.5.2-2ubuntu3) symlinks, sat4j are broken, I do not know which one are right
> $ ls -l -F /usr/lib/eclipse/plugins/org.sat4j.*
> lrwxrwxrwx 1 root root 39 2010-04-21 15:31 /usr/lib/eclipse/plugins/org.sat4j.core_2.1.1.v20100202.jar -> ../../../share/sat4j/org.sat4j.core.jar
> lrwxrwxrwx 1 root root 37 2010-04-21 15:31 /usr/lib/eclipse/plugins/org.sat4j.pb_2.1.1.v20100202.jar -> ../../../share/sat4j/org.sat4j.pb.jar
>
> but org.sat4j.pb.jar and org.sat4j.core.jar are not in /usr/share/sat4j
> but in /usr/share/java/ see
> http://packages.ubuntu.com/lucid/all/sat4j/filelist (2.1.1-3)
>
> workaround:
> sudo ln -f -s ../../../share/java/org.sat4j.core.jar /usr/lib/eclipse/plugins/org.sat4j.core_2.1.1.v20100202.jar
> sudo ln -f -s ../../../share/java/org.sat4j.pb.jar /usr/lib/eclipse/plugins/org.sat4j.pb_2.1.1.v20100202.jar
> eclipse -clean -initialize
>
> IMHO, the official correction should be to update symlinks in eclipse-platform package or use another in sat4j
> please can someone correct one of these universe package.
>
> Regards
>
> Nicolas
>

Hi

Yes, the sat4j jar files moved to /usr/share/java recently - I got a
heads up about it a week ago in Debian, but I honestly did not expect
sat4j would be imported into Ubuntu just now.

@bdrung: Can you get a binNMU scheduled for eclipse in Ubuntu against
the new sat4j (It has version 2.1.1-3 in Debian/unstable)

~Niels