From owner-freebsd-java@FreeBSD.ORG Sat Dec 8 18:30:02 2007 Return-Path: Delivered-To: freebsd-java@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D955F16A41B for ; Sat, 8 Dec 2007 18:30:02 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id B988113C458 for ; Sat, 8 Dec 2007 18:30:02 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.2/8.14.2) with ESMTP id lB8IU2FN092563 for ; Sat, 8 Dec 2007 18:30:02 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.2/8.14.1/Submit) id lB8IU2Gl092560; Sat, 8 Dec 2007 18:30:02 GMT (envelope-from gnats) Resent-Date: Sat, 8 Dec 2007 18:30:02 GMT Resent-Message-Id: <200712081830.lB8IU2Gl092560@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-java@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Jim Capozzoli Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 18F6616A417 for ; 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 ; 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 ; 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 To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: java/118496: Eclipse packages do not work with 6.3-RC1/amd64 X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 08 Dec 2007 18:30:02 -0000 >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: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sat Dec 08 18:30:02 UTC 2007 >Closed-Date: >Last-Modified: >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: >Unformatted: