eclipse-3.2.1 port : failure building

Norberto Meijome freebsd at meijome.net
Sat Nov 4 12:22:00 UTC 2006


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 at 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).

Thanks!!!
B
_________________________
{Beto|Norberto|Numard} Meijome

Software QA is like cleaning my cat's litter box: Sift out the big chunks. Stir
in the rest. Hope it doesn't stink.

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.


More information about the freebsd-java mailing list