Eclipse 3.4.2 update

Stephane E. Potvin sepotvin at FreeBSD.org
Wed Apr 22 14:41:17 UTC 2009


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



More information about the freebsd-eclipse mailing list