Created attachment 161894 [details] Update patch. Update the java/eclipse to the 4.5 release
Poudriere testport logs: https://googledrive.com/host/0B2kYpXHnC5LpSk01bU1ud0N5bXc/testport-logs/4.5/amd102-defaultlog.txt https://googledrive.com/host/0B2kYpXHnC5LpSk01bU1ud0N5bXc/testport-logs/4.5/amd093-defaultlog.txt https://googledrive.com/host/0B2kYpXHnC5LpSk01bU1ud0N5bXc/testport-logs/4.5/x86102-defaultlog.txt https://googledrive.com/host/0B2kYpXHnC5LpSk01bU1ud0N5bXc/testport-logs/4.5/x86093-defaultlog.txt
This builds fine for me, but when I run it, I get: (<unknown>:68568): Gtk-ERROR **: GTK+ 2.x symbols detected. Using GTK+ 2.x and GTK+ 3 in the same process is not supported
Also, this does fail to build for me on 9.x i386: http://poudriere.mouf.net/poudriere/data/93i386-default/2015-10-14_07h45m54s/logs/errors/eclipse-4.5.log
(In reply to Steve Wills from comment #2) I had never seen this problem. I can reproduce it by building Eclipse without GTK3 support and then running it on a machine that has GTK3 installed. A simple fix is to use the SWT_GTK3 environment variable: SWT_GTK3=0 tells Eclipse to not use any gtk3 libraries at runtime. However, I need to poke around and see where the presence of GTK3 is being checked and try to turn off that check if the GTK3 option is not selected when building the port.
(In reply to Steve Wills from comment #3) Interesting that I don't have this problem (see my testport logs), but you and the ports build farm always does. I have a machine that only has 2Gb of RAM, and being as the Eclipse port build is a memory intensive thing, my Poudriere setup does NOT use TMPFS; everything goes to disk. Even so, on the i386 builds I have found that I can't be running anything else while the Eclipse port is being built, otherwise I get errors indicating to me that the Java VM ran out of memory.
(In reply to Jimmy Kelley from comment #4) Can you hack the start-up script, files/eclipse.in, to set the environment variable just befor invoking the eclipse binary? eg: ... export SWT_GTK3=0 # don't use GTK3 at runtime JAVA_VERSION="%%JAVA_VERSION%%" JAVA_OS="%%JAVA_OS%%" PATH=${JAVA_HOME}/bin:${PA TH} exec "${ECLIPSE_HOME}/eclipse" $@
Have the change for the Gtk3 issue ready. Per PR 188110, I'm going to go ahead and get my dist files updated and switch this to using maven 3.3.
Created attachment 163717 [details] New update patch Bump to Eclipse 4.5.1, switch to using Maven 3.3, and add fix for running Eclipse build for Gtk2 only on a system where Gtk3 might also be installed.
Updated patch which bumps this to Eclipse 4.5.1. Poudriere testport logs: https://googledrive.com/host/0B2kYpXHnC5LpSk01bU1ud0N5bXc/testport-logs/4.5.1/amd102-defaultlog.txt https://googledrive.com/host/0B2kYpXHnC5LpSk01bU1ud0N5bXc/testport-logs/4.5.1/amd093-defaultlog.txt https://googledrive.com/host/0B2kYpXHnC5LpSk01bU1ud0N5bXc/testport-logs/4.5.1/x86102-defaultlog.txt https://googledrive.com/host/0B2kYpXHnC5LpSk01bU1ud0N5bXc/testport-logs/4.5.1/x86093-defaultlog.txt
test-builds@work
@Jimmy, could you set maintainer-approval to + on attachment 163717 [details] (and in future, any attachments that you author/approve yourself). This will ensure your maintainer approved changes are easily discoverable without manual triage
test-builds are fine on 11a, 10.2a+i, 9.3a.
A commit references this bug: Author: pi Date: Wed Dec 2 19:57:30 UTC 2015 New revision: 402850 URL: https://svnweb.freebsd.org/changeset/ports/402850 Log: java/eclipse: 4.4.2 -> 4.5.1 - Bump to Eclipse 4.5.1 - Switch to using Maven 3.3 - add fix for running Eclipse build for Gtk2 only on a system where Gtk3 might also be installed. - Details: https://projects.eclipse.org/releases/mars/details - Bugs fixed: https://bugs.eclipse.org/bugs/buglist.cgi?classification=Eclipse&classification=RT&product=Equinox&product=JDT&product=PDE&product=Platform&query_format=advanced&resolution=FIXED&target_milestone=4.5.1 PR: 203689 Submitted by: Jimmy Kelley <ljboiler@gmail.com> (maintainer) Changes: head/java/eclipse/Makefile head/java/eclipse/distinfo head/java/eclipse/files/eclipse.in head/java/eclipse/files/patch-aggregator head/java/eclipse/files/patch-freebsd_natives head/java/eclipse/files/patch-submodules head/java/eclipse/scripts/pre-patch
Committed, thanks!