Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 522848 - dev-java/swt-3.8.2 Manifest contains invalid OSGI metadata
Summary: dev-java/swt-3.8.2 Manifest contains invalid OSGI metadata
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Java (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Java team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-09-15 09:59 UTC by Tiziano Müller (RETIRED)
Modified: 2014-09-16 04:02 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tiziano Müller (RETIRED) gentoo-dev 2014-09-15 09:59:01 UTC
An application I use which tries to load libraries via OSGi failed to load the Gentoo-provided swt package because the metadata were invalid:

Export-Package: org.eclipse.swt.internal.accessibility.gtk; x-internal
 :=true,org.eclipse.swt.internal.cairo; x-internal:=true,org.eclipse.s
 wt.internal.cde; x-internal:=true,org.eclipse.swt.internal.gtk; x-int
 ernal:=true,org.eclipse.swt.internal.opengl.glx; x-internal:=trueorg.
 eclipse.swt.internal.webkit; x-internal:=true

Notice the missing space in the second last line. It should be:

Export-Package: org.eclipse.swt.internal.accessibility.gtk; x-internal
 :=true,org.eclipse.swt.internal.cairo; x-internal:=true,org.eclipse.s
 wt.internal.cde; x-internal:=true,org.eclipse.swt.internal.gtk; x-int
 ernal:=true,org.eclipse.swt.internal.opengl.glx; x-internal:=true,org
 .eclipse.swt.internal.webkit; x-internal:=true

After correcting it and manually updating the archive it worked.