Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 522848

Summary: dev-java/swt-3.8.2 Manifest contains invalid OSGI metadata
Product: Gentoo Linux Reporter: Tiziano Müller (RETIRED) <dev-zero>
Component: [OLD] JavaAssignee: Java team <java>
Status: RESOLVED FIXED    
Severity: normal CC: ercpe
Priority: Normal Keywords: PullRequest
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://github.com/gentoo/gentoo/pull/30212
Whiteboard:
Package list:
Runtime testing required: ---

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.
Comment 1 Larry the Git Cow gentoo-dev 2023-03-19 06:13:27 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c7a97c1fec01e0f833a2c40975971853fb32651f

commit c7a97c1fec01e0f833a2c40975971853fb32651f
Author:     Volkmar W. Pogatzki <gentoo@pogatzki.net>
AuthorDate: 2023-03-18 17:12:37 +0000
Commit:     Miroslav Šulc <fordfrog@gentoo.org>
CommitDate: 2023-03-19 06:13:23 +0000

    dev-java/swt: drop 3.8.2-r4
    
    Closes: https://bugs.gentoo.org/522848
    Signed-off-by: Volkmar W. Pogatzki <gentoo@pogatzki.net>
    Closes: https://github.com/gentoo/gentoo/pull/30212
    Signed-off-by: Miroslav Šulc <fordfrog@gentoo.org>

 dev-java/swt/Manifest                              |   3 -
 .../files/swt-3.8-as-needed-and-flag-fixes.patch   | 243 ---------------------
 dev-java/swt/files/swt-3.8-manifest                |  17 --
 dev-java/swt/files/swt-3.8.2-gthread.patch         |  44 ----
 dev-java/swt/swt-3.8.2-r4.ebuild                   | 152 -------------
 5 files changed, 459 deletions(-)