From owner-freebsd-eclipse@FreeBSD.ORG Tue Nov 12 15:00:15 2013 Return-Path: Delivered-To: freebsd-eclipse@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 7FB7CE33 for ; Tue, 12 Nov 2013 15:00:15 +0000 (UTC) Received: from mail-ie0-x232.google.com (mail-ie0-x232.google.com [IPv6:2607:f8b0:4001:c03::232]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 527A522DD for ; Tue, 12 Nov 2013 15:00:15 +0000 (UTC) Received: by mail-ie0-f178.google.com with SMTP id aq17so4635679iec.37 for ; Tue, 12 Nov 2013 07:00:14 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=date:from:to:cc:subject:message-id:references:mime-version :content-type:content-disposition:in-reply-to:user-agent; bh=FuPyKiLyUH3eH4t0obLwxGtL9jOW3sgX04UifswCTB4=; b=qKtAQFG41gytgx4i261q+F5Jg53BAwkT73Vsrd7zIbIwlKr+tJ/uhRf0TzawzHG2KV FUHUvNOLGYN8Ghgb766Wp4UV3gwvYPmB+GUYKSOfhH+BdKvbKAC5Y2MFB1yKLWX0quiH pVgKRsVef5FAmUdDN0wQSJIY/qUvwpmdW2gkOgoGwubzQStxVrKAaQF9l237AMTNJFqn BIuMUMgc/FtscCNxBsN+GeKEFpHqPcEsUOYqOIeQ1s4cKQk48VtqNN3nTCBm2pHgC2QG OxmD8UYxR1Jh4Vaj5ZqajEVdFsClfjfwhdAMn/5TnlDlt9EP2knccW1CkSlH8oscngqE /38w== X-Received: by 10.50.153.16 with SMTP id vc16mr15597928igb.8.1384268413826; Tue, 12 Nov 2013 07:00:13 -0800 (PST) Received: from jmobile.jimmy.local (71-81-196-43.dhcp.stls.mo.charter.com. [71.81.196.43]) by mx.google.com with ESMTPSA id m1sm24719501igj.10.2013.11.12.07.00.11 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 12 Nov 2013 07:00:13 -0800 (PST) Received: by jmobile.jimmy.local (sSMTP sendmail emulation); Tue, 12 Nov 2013 09:00:05 -0600 Date: Tue, 12 Nov 2013 09:00:05 -0600 From: Jimmy Kelley To: freebsd-eclipse@freebsd.org Subject: Re: eclipse-devel doesn't build on FreeBSD 10 Message-ID: <20131112150005.GA88058@jmobile.jimmy.localnet> References: <528223B5.3070807@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <528223B5.3070807@gmail.com> User-Agent: Mutt/1.5.22 (2013-10-16) Cc: kron24@gmail.com X-BeenThere: freebsd-eclipse@freebsd.org X-Mailman-Version: 2.1.16 Precedence: list List-Id: "FreeBSD users of eclipse EDI, tools, rich client apps & ports." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 12 Nov 2013 15:00:15 -0000 On Tue, Nov 12, 2013 at 01:48:53PM +0100, kron wrote: > Hi, > > java/eclipse-devel fails to build on FreeBSD 10: > > ... > [exec] cc -shared -fPIC -s -o libswt-webkit-gtk-4233.so swt.o > webkit.o webkit_structs.o webkit_stats.o `pkg-config --libs webkit-1.0` > [exec] cp *.so > /usr/ports/java/eclipse-devel/work/eclipse-build-7b07d10488eb9d6e2880eac320b09c16d1ae78e3/build/eclipse-4.2.0-I20120608-1400-src/plugins/org.eclipse.swt.gtk.freebsd.x86_64 > [exec] gmake[2]: Leaving directory > `/usr/ports/java/eclipse-devel/work/eclipse-build-7b07d10488eb9d6e2880eac320b09c16d1ae78e3/build/eclipse-4.2.0-I20120608-1400-src/plugins/org.eclipse.swt.gtk.freebsd.x86_64/library' > [exec] gcc: not found > [exec] Building FreeBSD launcher. Defaults: -os freebsd -arch > x86_64 -ws gtk > [exec] gmake[2]: Entering directory > `/usr/ports/java/eclipse-devel/work/eclipse-build-7b07d10488eb9d6e2880eac320b09c16d1ae78e3/build/eclipse-4.2.0-I20120608-1400-src/features/org.eclipse.equinox.executable/library/gtk' > [exec] rm -f eclipse eclipse_1503.so eclipseMain.o eclipseConfig.o > eclipseCommon.o eclipseGtkCommon.o eclipseGtkInit.o eclipse.o > eclipseGtk.o eclipseUtil.o eclipseJNI.o eclipseMozilla.o eclipseShm.o > eclipseNix.o > [exec] gmake[2]: Leaving directory > `/usr/ports/java/eclipse-devel/work/eclipse-build-7b07d10488eb9d6e2880eac320b09c16d1ae78e3/build/eclipse-4.2.0-I20120608-1400-src/features/org.eclipse.equinox.executable/library/gtk' > [exec] gmake[2]: Entering directory > `/usr/ports/java/eclipse-devel/work/eclipse-build-7b07d10488eb9d6e2880eac320b09c16d1ae78e3/build/eclipse-4.2.0-I20120608-1400-src/features/org.eclipse.equinox.executable/library/gtk' > [exec] gcc -g -s -Wall -fpic -DFREEBSD -DMOZILLA_FIX > -DDEFAULT_OS="\"freebsd\"" -DDEFAULT_OS_ARCH="\"x86_64\"" > -DDEFAULT_WS="\"gtk\"" -DDEFAULT_JAVA_EXEC > -DGTK_LIB="\"libgtk-x11-2.0.so.0\"" -DGDK_LIB="\"libgdk-x11-2.0.so.0\"" > -DPIXBUF_LIB="\"libgdk_pixbuf-2.0.so.0\"" > -DGOBJ_LIB="\"libgobject-2.0.so.0\"" -DX11_LIB="\"libX11.so.6\"" -I. > -I.. -I/usr/local/openjdk6/include -I/usr/local/openjdk6/include/freebsd > `pkg-config --cflags gtk+-2.0` -c ../eclipseMain.c -o eclipseMain.o > [exec] gmake[2]: Leaving directory > `/usr/ports/java/eclipse-devel/work/eclipse-build-7b07d10488eb9d6e2880eac320b09c16d1ae78e3/build/eclipse-4.2.0-I20120608-1400-src/features/org.eclipse.equinox.executable/library/gtk' > [exec] gmake[2]: *** [eclipseMain.o] Error 127 > > > Trying grep, it seems that gcc is hardcoded in many files > in the port. > > With a cheap&dirty workaround: > ln -s /usr/local/bin/gcc49 /usr/local/bin/gcc > the port builds fine but I would like to have a better > solution. Any suggestions or tips? > > BR, > Oli PR and patch has been submitted: http://www.freebsd.org/cgi/query-pr.cgi?pr=182743 Jimmy