From nobody@FreeBSD.org  Sat Dec  8 18:26:16 2007
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 18F6616A417
	for <freebsd-gnats-submit@FreeBSD.org>; Sat,  8 Dec 2007 18:26:16 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21])
	by mx1.freebsd.org (Postfix) with ESMTP id F348413C442
	for <freebsd-gnats-submit@FreeBSD.org>; Sat,  8 Dec 2007 18:26:15 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.14.2/8.14.2) with ESMTP id lB8IQ6V7085629
	for <freebsd-gnats-submit@FreeBSD.org>; Sat, 8 Dec 2007 18:26:06 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.14.2/8.14.1/Submit) id lB8IQ6gc085628;
	Sat, 8 Dec 2007 18:26:06 GMT
	(envelope-from nobody)
Message-Id: <200712081826.lB8IQ6gc085628@www.freebsd.org>
Date: Sat, 8 Dec 2007 18:26:06 GMT
From: Jim Capozzoli <saltmiser@gmail.com>
To: freebsd-gnats-submit@FreeBSD.org
Subject: Eclipse packages do not work with 6.3-RC1/amd64
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         118496
>Category:       java
>Synopsis:       Eclipse packages do not work with 6.3-RC1/amd64
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-java
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sat Dec 08 18:30:02 UTC 2007
>Closed-Date:    Wed May 11 05:11:49 UTC 2011
>Last-Modified:  Wed May 11 05:11:49 UTC 2011
>Originator:     Jim Capozzoli
>Release:        6.3-RC1
>Organization:
>Environment:
FreeBSD frylock.moonrazor.servebbs.net 6.3-RC1 FreeBSD 6.3-RC1 #0: Mon Nov 26 21:52:21 UTC 2007     root@palmer.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  amd64


>Description:
If you install eclipse from packages, the resulting `eclipse-devel` binary
doesn't work.  You receive two error messages in two different places.

The first one comes up in a gui prompt:

JVM terminated. Exit code=1
/usr/local/bin/java
-Xms40m
-Xmx256m
-jar /usr/local/eclipse-devel/plugins/org.eclipse.equinox.launcher_1.0.1.R33x_v20070828.jar
-os freebsd
-ws gtk
-arch amd64
-showsplash
-launcher /usr/local/eclipse-devel/eclipse
-name Eclipse
--launcher.library /usr/local/eclipse-devel/plugins/org.eclipse.equinox.launcher.gtk.freebsd.amd64_1.0.1.R33x_v20070828/eclipse_1020.so
-startup /usr/local/eclipse-devel/plugins/org.eclipse.equinox.launcher_1.0.1.R33x_v20070828.jar
-exitdata 50017
-vm /usr/local/bin/java
-vmargs
-Xms40m
-Xmx256m
-jar /usr/local/eclipse-devel/plugins/org.eclipse.equinox.launcher_1.0.1.R33x_v20070828.jar 

The second is found when you attempt to launch eclipse-devel from a terminal:

[saltmiser@frylock /usr/lib]$ eclipse-devel
/libexec/ld-elf.so.1: /usr/local/eclipse-devel/configuration/org.eclipse.osgi/bundles/109/1/.cp/libswt-mozilla-gtk-3346.so: Undefined symbol "NS_StringContainerInit2"
[saltmiser@frylock /usr/lib]$ 

Output of `java -version`
java version "1.5.0"
Java(TM) 2 Runtime Environment, Standard Edition (build diablo-1.5.0-b01)
Java HotSpot(TM) 64-Bit Server VM (build diablo-1.5.0_07-b01, mixed mode)

This problem, I believe, is also similar to the following PR, but that
PR deals with 7.0-CURRENT.

http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/118115
>How-To-Repeat:
Install eclipse on 6.3-RC1/amd64 from packages, then try to run the
resulting `eclipse-devel` binary.
>Fix:
Some googling picks up the following links that might help; I think the
problem lies in how eclipse is built to use mozilla/gecko libraries.
http://archive.netbsd.se/?ml=freebsd-eclipse&a=2006-04&m=2707667
http://www.eclipse.org/swt/faq.php#browserlinux

>Release-Note:
>Audit-Trail:

From: "Jim Capozzoli" <saltmiser@gmail.com>
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: java/118496: Eclipse packages do not work with 6.3-RC1/amd64
Date: Sat, 8 Dec 2007 22:41:58 -0500

 If you build eclipse out of ports with the following flags; it builds
 successfully and starts successfully.
 
 /etc/make.conf:
 WITHOUT_MOZILLA=YES
 
 However, I suppose you loose any kind of mozilla support; but I don't
 think everybody uses that...but I could be wrong.  Hope this helps
 somebody.
 
 -- 
 Jim Capozzoli
 D6499626857801B6065013E3645A6B75
State-Changed-From-To: open->closed 
State-Changed-By: glewis 
State-Changed-When: Wed May 11 05:10:22 UTC 2011 
State-Changed-Why:  
Sorry for letting this sit for so long. 

However, since FreeBSD 6.x is no longer supported and Eclipse has gone 
through several major versions I'm going to close this PR.  Please reopen 
if Eclipse packages are not working on a supported FreeBSD version. 


http://www.freebsd.org/cgi/query-pr.cgi?pr=118496 
>Unformatted:
