misc/127353: eclipse-devel-3.4 port doesn't install libswt files

Dennis M. Keefe keefedm at myrealbox.com
Sat Sep 13 13:40:02 UTC 2008


>Number:         127353
>Category:       misc
>Synopsis:       eclipse-devel-3.4 port doesn't install libswt files
>Confidential:   no
>Severity:       critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sat Sep 13 13:40:01 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator:     Dennis M. Keefe
>Release:        7.0
>Organization:
NA
>Environment:
FreeBSD golem.my.domain 7.0-RELEASE FreeBSD 7.0-RELEASE #0: Sun Feb 24 19:59:52 UTC 2008     root at logan.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  i386
>Description:
eclipse-devel-3.4 builds and install, but when run, following error occurs (written to log):

java.lang.UnsatisfiedLinkError: no swt-gtk-3448 or swt-gtk in swt.library.path, java.library.path or the jar file

This was traced to the absence of the libswt*.so files in org.eclipse.swt.gtk.freebsd.x86_3.4.0.v3448f.jar .

FYI: 

Built with WITH_GECKO=xulrunner

java version "1.6.0_07"
Diablo Java(TM) SE Runtime Environment (build 1.6.0_07-b02)
Diablo Java HotSpot(TM) Client VM (build 10.0-b23, mixed mode, sharing)

>How-To-Repeat:
Build/install from port and run. Receive dialog saying error was written to log file. Log file detailed above error.

(I have full build log, if anyone wants it.)
>Fix:
SWT libs are built, but aren't included when JAR is generated.

Unpacked org.eclipse.swt.gtk.freebsd.x86_3.4.0.v3448f.jar, included libs (from /usr/ports/java/eclipse-devel/work/plugins/org.eclipse.swt.gtk.freebsd.x86/gtk/library), repackaged JAR, and deployed.

>Release-Note:
>Audit-Trail:
>Unformatted:


More information about the freebsd-bugs mailing list