From owner-freebsd-eclipse@FreeBSD.ORG Wed Apr 22 14:41:14 2009 Return-Path: Delivered-To: freebsd-eclipse@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BE71C1065A50 for ; Wed, 22 Apr 2009 14:41:14 +0000 (UTC) (envelope-from sepotvin@FreeBSD.org) Received: from zerofail.com (gatekeeper1.zerofail.com [208.71.11.38]) by mx1.freebsd.org (Postfix) with ESMTP id 5F64C8FC26 for ; Wed, 22 Apr 2009 14:41:13 +0000 (UTC) (envelope-from sepotvin@FreeBSD.org) Received: from telcobridges.com by freebsd.org (zerofail.com) (SecurityGateway 1.1.4) with SMTP id SG002776082.MSG for ; Wed, 22 Apr 2009 10:41:08 -0400 Received: from leia.telcobridges.lan ([208.94.105.59]) by telcobridges.com with Microsoft SMTPSVC(6.0.3790.3959); Wed, 22 Apr 2009 10:41:11 -0400 Message-ID: <49EF2C87.10504@FreeBSD.org> Date: Wed, 22 Apr 2009 10:41:11 -0400 From: "Stephane E. Potvin" Organization: FreeBSD Project User-Agent: Thunderbird 2.0.0.21 (X11/20090409) MIME-Version: 1.0 To: freebsd-eclipse@freebsd.org, Dzhurinsky References: <49EA1485.7000001@videotron.ca> <20090419170309.GA21399@jdevelop.priv> <20090420.075451.29593248145856573.ken@tydfam.jp> <20090420062739.GA92354@jdevelop.priv> <49EC76DD.1030809@FreeBSD.org> <20090420172528.GA18846@jdevelop.priv> <20090421072150.GA22463@office.redwerk.com> In-Reply-To: <20090421072150.GA22463@office.redwerk.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-OriginalArrivalTime: 22 Apr 2009 14:41:11.0444 (UTC) FILETIME=[61579D40:01C9C358] X-SGHeloLookup-Result: hardfail smtp.helo=telcobridges.com (does not match 208.71.8.41) X-SGOP-RefID: str=0001.0A090206.49EF2C88.0026,ss=1,fgs=0 (_st=1 _vt=0 _iwf=0) Cc: Subject: Re: Eclipse 3.4.2 update X-BeenThere: freebsd-eclipse@freebsd.org X-Mailman-Version: 2.1.5 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: Wed, 22 Apr 2009 14:41:17 -0000 Eugeny N Dzhurinsky wrote: > On Mon, Apr 20, 2009 at 08:25:28PM +0300, Eugeny N Dzhurinsky wrote: >> On Mon, Apr 20, 2009 at 09:21:33AM -0400, Stephane E. Potvin wrote: >>> Eugeny N Dzhurinsky wrote: >>>> On Mon, Apr 20, 2009 at 07:54:51AM +0900, ken wrote: >>>>> Strange,,,, >>>>> I could gpatch the most recent port/java/eclipse with given diff without any problem. And I am using new eclipse to see if it is OK or not. >>>>> >>>>> It may worth to update ports/java/eclipse and apply the patch. >>>> I did that but with no luck :( >>>> >>> Hi Eugeny, >>> >>> Could you try to revert your eclipse directory to a clean state (using csup or cvs depending on how you get your ports) and then >>> re-apply the patch with the following: >>> >>> (cd /usr/ports/java/eclipse; gpatch -p0 < /path/to/patchfile) >>> >>> If your eclipse ports tree is clean this should work without generating any error. >> And in fact that works fine. Very strange, I assumed the -d switch does its >> work... Anyway, sorry for disturbing you, hopefully the new port will build >> and install w/o problems :) >> >> Thank you for the help and patience! > > I was able to build and install the Eclipse port on FreeBSD 7.1, however when > I tried to do the same on FreeBSD 6.4 - I've got such error: > > Total time: 16 seconds > [echo] Deleting jars to recompile... > [echo] Compiling... > [echo] UPDATE jarprocessor.jar > [echo] UPDATE jarprocessorsrc.zip > [exec] javadoc: warning - Multiple sources of package comments found for package "org.eclipse.core.runtime" > [exec] javadoc: warning - Multiple sources of package comments found for package "org.eclipse.jface.text" > [exec] javadoc: warning - Multiple sources of package comments found for package "org.eclipse.jface.text.link" > [exec] javadoc: warning - Multiple sources of package comments found for package "org.eclipse.jface.text.source" > [exec] javadoc: warning - Multiple sources of package comments found for package "org.eclipse.jface.text.templates" > [exec] javadoc: warning - Multiple sources of package comments found for package "org.eclipse.ui.texteditor" > [exec] /usr/ports/java/eclipse/work/plugins/org.eclipse.platform.doc.isv/../org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/IME.java:351: warning - @return tag cannot be used in method with void return type. > [echo] Extract .class file and properties for the batch compiler > [echo] Extract .class file and properties for the ant adapter > [echo] UPDATE ecj-global.jar > [echo] UPDATE ecjsrc-global.zip > [echo] UPDATE ecj-global.jar > [echo] UPDATE ecjsrc-global.zip > [echo] UPDATE ecj-global.jar > [echo] UPDATE ecjsrc-global.zip > [exec] ../eclipseMozilla.c: In function `fixEnvForMozilla': > [exec] ../eclipseMozilla.c:166: warning: passing arg 3 of `scandir' from incompatible pointer type > [exec] /usr/bin/ld: cannot find -lrt > [exec] gmake: *** [libproxygnome.so] Ошибка 1 > > Can you please advice, what is the cause of this error and how to fix that? > > Thank you in advance! > Try the following patch --- files/patch-plugins-org.eclipse.core.net-natives-unix-GetProxyGnome-objects.mk.orig 2009-04-22 10:36:11.678623293 -0400 +++ files/patch-plugins-org.eclipse.core.net-natives-unix-GetProxyGnome-objects.mk 2009-04-22 10:36:21.358364928 -0400 @@ -5,4 +5,4 @@ USER_OBJS := -LIBS := -lgconf-2 -lORBit-2 -lgthread-2.0 -lrt -lgobject-2.0 -lglib-2.0 -+LIBS := -L${LOCALBASE}/lib -lgconf-2 -lORBit-2 -lgthread-2.0 -lrt -lgobject-2.0 -lglib-2.0 ++LIBS := -L${LOCALBASE}/lib -lgconf-2 -lORBit-2 -lgthread-2.0 -lgobject-2.0 -lglib-2.0 librt is not present in 6.x but doesn't seems necessary anyway on FreeBSD. Steph