Eclipse-devel

George Neville-Neil gnn at freebsd.org
Wed Aug 7 00:52:39 UTC 2013


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

> On 2013/08/05 15:49, George Neville-Neil wrote:
>> 
>> On Aug 5, 2013, at 5:56 , "Thomas Sparrevohn"
>> <Thomas.Sparrevohn at btinternet.com> wrote:
>> 
>>> 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
>>> 
>> 
>> First thing to do would be to check to make sure all of your
>> dependencies are up to date.
>> 
>> Is this on HEAD or 9 or something else?
> 
> 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.
> 
> 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.
> 
> Now I'm comparing the old=good package and the broken=new
> one:
> 
> diff 1/+CONTENTS 2/+CONTENTS:
> 
> 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
> 
> This was expected, more or less. The meat is here:
> 
> 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
> 
> 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…

One other thing to try would be to build openjdk with gcc instead of clang.

Add this to /etc/make.conf

USE_GCC=any

Best,
George



More information about the freebsd-java mailing list