Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 7 Nov 2006 15:40:36 +1100
From:      Norberto Meijome <freebsd@meijome.net>
To:        Norberto Meijome <freebsd@meijome.net>
Cc:        freebsd-java@freebsd.org
Subject:   SOLVED : Re: eclipse-3.2.1 port : failure building
Message-ID:  <20061107154036.17c4d762@localhost>
In-Reply-To: <20061104232154.7319c35b@localhost>
References:  <20061104232154.7319c35b@localhost>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, 4 Nov 2006 23:21:54 +1100
Norberto Meijome <freebsd@meijome.net> wrote:

> Hi everyone,
> first of all, thank you David Sledge for the port, and thanks to everyone who
> replied to my lost post querying about eclipse 3.2.
> 
> When I try to compile eclipse 3.2 from /usr/ports/java/eclipse, it builds ok
> all the way through to ejc.jar:
> [....]
> BUILD SUCCESSFUL
> Total time: 15 seconds
>      [echo] TARGET: compiler2
>      [echo] compilerArg -encoding ISO-8859-1
>      [echo] build compiler org.eclipse.jdt.core.JDTCompilerAdapter
>      [echo] UPDATE ecj.jar
> 
> but then :
> BUILD SUCCESSFUL
> Total time: 14 seconds
>      [echo] Deleting jars to recompile...
>      [echo] Compiling...
>     [javac] ----------
>     [javac] 1. WARNING
> in /usr/ports/java/eclipse/work/plugins/org.eclipse.swt/Eclipse
> SWT/common/org/eclipse/swt/graphics/ImageLoader.java [javac]  (at line 271)
> [javac]     imageLoaderListeners.addElement(listener); [javac]
> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [javac] Type safety: The method
> addElement(Object) belongs to the raw type Vector. References to generic type
> Vector<E> should be parameterized [javac] ---------- [javac] ----------
>     [javac] 2. WARNING
> in /usr/ports/java/eclipse/work/plugins/org.eclipse.swt/Eclipse
> SWT/motif/org/eclipse/swt/widgets/FontDialog.java [javac]  (at line 162)
> [javac]     characterSets.put (charSetName, charSet); [javac]
> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [javac] Type safety: The method
> put(Object, Object) belongs to the raw type Hashtable. References to generic
> type Hashtable<K,V> should be parameterized [javac] ---------- [javac] 3.
> WARNING in /usr/ports/java/eclipse/work/plugins/org.eclipse.swt/Eclipse
> SWT/motif/org/eclipse/swt/widgets/FontDialog.java [javac]  (at line 169)
> [javac]     charSet.put (faceName, faceSet);
> 
> and on that vein till the end... I have a complete log of it at
> 
> http://www.meijome.net/files/freebsd/eclipse/eclipse_build_20061104.log.bz2
> 
> ( 407K compressed, 11 MB uncompressed).
> 
> The same happens whether I use portupgrade or build by hand
> 
> Any and all help greatly appreciated :)
> 
> System details:
> 
> FreeBSD ayiin.xxxx 6.2-PRERELEASE FreeBSD 6.2-PRERELEASE #17:
> Tue Oct 31 11:23:02 EST 2006
> root@ayiin.xxxx:/usr/obj/usr/src/sys/AYIIN  i386
> 
> I've got an up to date ports tree as at right now ( Sat Nov  4 23:05:35 EST
> 2006 , EST == GMT +11). I use portsnap.
> 
> My java related ports are :
> # pkg_info | grep jdk
> diablo-jdk-1.5.0.07.01 Java Development Kit 1.5.0_07.01
> linux-blackdown-jdk-1.4.2_3 Blackdown Java Development Kit 1.4 for Linux
> 
> # cat /usr/local/etc/javavms 
> /usr/local/diablo-jdk1.5.0/bin/java # DiabloCaffe1.5.0
> /usr/local/linux-blackdown-jdk1.4.2/bin/java # Linux-Blackdown-JDK1.4.2
> 
> 
> $ cat /usr/local/etc/javavm_opts.conf
> [... comments ...]
> JAVAVM_OPTS_diablo_jdk1_5_0_java=-XX:+UseMembar
> 
> 
> All my other ports are up to date. I have firefox 2.0 native installed (as
> prerequisite for eclipse + other ports), and linux-firefox-2, which I use for
> actual browsing (it doesn't include the gecko component used by other ports).
> 

ok, solved for now. I left everything the same (other than some more port
updates, but i'm pretty certain they aren't related to this).

cd /usr/ports/java/eclipse
export WITHOUT_MOZILLA=yes
make
sudo make deinstall
sudo make package

and it seems to be working quite ok so far.

thanks!
_________________________
{Beto|Norberto|Numard} Meijome

Never attribute to malice what can adequately be explained by incompetence.

I speak for myself, not my employer. Contents may be hot. Slippery when wet.
Reading disclaimers makes you go blind. Writing them is worse. You have been
Warned.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20061107154036.17c4d762>