From owner-freebsd-java@FreeBSD.ORG Wed Aug 7 00:52:39 2013 Return-Path: Delivered-To: freebsd-java@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 5BD51E3D for ; Wed, 7 Aug 2013 00:52:39 +0000 (UTC) (envelope-from gnn@freebsd.org) Received: from vps.hungerhost.com (vps.hungerhost.com [216.38.53.176]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 308B82D41 for ; Wed, 7 Aug 2013 00:52:39 +0000 (UTC) Received: from [206.217.92.186] (port=11872 helo=[192.168.252.7]) by vps.hungerhost.com with esmtpsa (TLSv1:AES128-SHA:128) (Exim 4.80.1) (envelope-from ) id 1V6rzR-0008PS-Uf; Tue, 06 Aug 2013 20:52:38 -0400 Content-Type: text/plain; charset=windows-1252 Mime-Version: 1.0 (Mac OS X Mail 6.5 \(1508\)) Subject: Re: Eclipse-devel From: George Neville-Neil In-Reply-To: <51FFEA27.4040402@gmail.com> Date: Tue, 6 Aug 2013 20:52:41 -0400 Content-Transfer-Encoding: quoted-printable Message-Id: <9E5DBC62-86F2-4008-A240-18D8128E98EE@freebsd.org> References: <03be01ce91c2$18b437f0$4a1ca7d0$@btinternet.com> <6C900CDB-D9AC-4A20-8ABD-2868CBF879C5@freebsd.org> <51FFEA27.4040402@gmail.com> To: kron X-Mailer: Apple Mail (2.1508) X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - vps.hungerhost.com X-AntiAbuse: Original Domain - freebsd.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - freebsd.org X-Get-Message-Sender-Via: vps.hungerhost.com: authenticated_id: gnn@neville-neil.com Cc: Thomas Sparrevohn , freebsd-java@FreeBSD.org X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 07 Aug 2013 00:52:39 -0000 On Aug 5, 2013, at 14:08 , kron wrote: > On 2013/08/05 15:49, George Neville-Neil wrote: >>=20 >> On Aug 5, 2013, at 5:56 , "Thomas Sparrevohn" >> wrote: >>=20 >>> I tried to install Eclipse-devel yesterday but get the swt not >>> available bug. Looking at the archives it seems like this was fixed >>> a while ago but I got back >>>=20 >>=20 >> First thing to do would be to check to make sure all of your >> dependencies are up to date. >>=20 >> Is this on HEAD or 9 or something else? >=20 > Hi, same problem here. 9-STABLE adm64 r253910M. On Friday > I did a complete clean build of all ports (in a jail) due > to the last glib20 update. Later that day I installed them. >=20 > When I today started eclipse-devel it failed with something > like "Cannot load SWT". I installed swt-devel but other > errors continued. After some struggling I gave up and > simply reinstalled all packages from a backup taken before > the glib20 update. >=20 > Now I'm comparing the old=3Dgood package and the broken=3Dnew > one: >=20 > diff 1/+CONTENTS 2/+CONTENTS: >=20 > 9c9 > < @pkgdep openjdk6-b27_3 > --- >> @pkgdep openjdk6-b27_6 > 21c21 > < @pkgdep glib-2.34.3 > --- >> @pkgdep glib-2.36.3 > 23,24d22 > < @pkgdep gio-fam-backend-2.34.3 > < @comment DEPORIGIN:devel/gio-fam-backend > 29c27 > < @pkgdep pango-1.30.1 > --- >> @pkgdep pango-1.34.1 > 39c37 > < @pkgdep atk-2.6.0 > --- >> @pkgdep atk-2.8.0 > 41c39 > < @pkgdep gtk-2.24.19 > --- >> @pkgdep gtk-2.24.19_1 > 43c41 > < @pkgdep webkit-gtk2-1.8.3_1 > --- >> @pkgdep webkit-gtk2-1.8.3_2 >=20 > This was expected, more or less. The meat is here: >=20 > 141,157c139 > < @comment MD5:c4b9260c5fe4ba9e1734abb30bdd0033 > < > = lib/eclipse-devel/configuration/org.eclipse.osgi/bundles/158/2/.cp/libswt-= atk-gtk-4233.so > < @comment MD5:78b53bfb55a465f20cb5618f6cc3505f > < > = lib/eclipse-devel/configuration/org.eclipse.osgi/bundles/158/2/.cp/libswt-= awt-gtk-4233.so > < @comment MD5:3f0ff23b96af51104d6e3d821dcb63d5 > < > = lib/eclipse-devel/configuration/org.eclipse.osgi/bundles/158/2/.cp/libswt-= cairo-gtk-4233.so > < @comment MD5:082ee60262af41d8719c189b52f6909a > < > = lib/eclipse-devel/configuration/org.eclipse.osgi/bundles/158/2/.cp/libswt-= glx-gtk-4233.so > < @comment MD5:3f62eaa6d711ef0aed08540015c29f7f > < > = lib/eclipse-devel/configuration/org.eclipse.osgi/bundles/158/2/.cp/libswt-= gnome-gtk-4233.so > < @comment MD5:3cb4a581b20ec8e623e91ec9f94a12f8 > < > = lib/eclipse-devel/configuration/org.eclipse.osgi/bundles/158/2/.cp/libswt-= gtk-4233.so > < @comment MD5:928a2cecf882dd507e20d4c926eb9aac > < > = lib/eclipse-devel/configuration/org.eclipse.osgi/bundles/158/2/.cp/libswt-= pi-gtk-4233.so > < @comment MD5:76272258a3663394cc74a047e4b02af5 > < > = lib/eclipse-devel/configuration/org.eclipse.osgi/bundles/158/2/.cp/libswt-= webkit-gtk-4233.so >=20 > Apparently, the old package bundled its own SWT libraries; > the difference is somewhat strange, because the port hasn't > changed for months. I guess the port's patches aren't compatible > with some latest changes in other ports (glib-related?). I'm > skimming the patches in eclipse-devel but they are too big and > dense=85 One other thing to try would be to build openjdk with gcc instead of = clang. Add this to /etc/make.conf USE_GCC=3Dany Best, George