Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 6 Aug 2013 20:52:41 -0400
From:      George Neville-Neil <gnn@freebsd.org>
To:        kron <kron24@gmail.com>
Cc:        Thomas Sparrevohn <Thomas.Sparrevohn@btinternet.com>, freebsd-java@FreeBSD.org
Subject:   Re: Eclipse-devel
Message-ID:  <9E5DBC62-86F2-4008-A240-18D8128E98EE@freebsd.org>
In-Reply-To: <51FFEA27.4040402@gmail.com>
References:  <03be01ce91c2$18b437f0$4a1ca7d0$@btinternet.com> <6C900CDB-D9AC-4A20-8ABD-2868CBF879C5@freebsd.org> <51FFEA27.4040402@gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help

On Aug 5, 2013, at 14:08 , kron <kron24@gmail.com> wrote:

> On 2013/08/05 15:49, George Neville-Neil wrote:
>>=20
>> On Aug 5, 2013, at 5:56 , "Thomas Sparrevohn"
>> <Thomas.Sparrevohn@btinternet.com> 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?9E5DBC62-86F2-4008-A240-18D8128E98EE>