[desktop-discuss] SFEazureus failed to build
Darren Kenny
Darren.Kenny at Sun.COM
Mon Jan 7 04:38:33 PST 2008
Some of these errors appear to be using Java 1.6 semantics when it looks like
the code is written for Java 1.5 semantics.
It might be worth trying again using the java 1.5 SDK, alternatively you can
modify the ant build.xml to include the 'source="1.5" target="1.5"' attributes
to the javac tags. I think there is a "global" way to set this too, as a
property at the top of the build.xml, but that would seem to depend on Ant 1.7
according to:
http://ant.apache.org/manual/javacprops.html
HTH,
Darren.
Robert Buick wrote:
> Unfortunately the /tmp/SFEeclipse.log file is 328MB but here is the tail:
>
> pkgbuild: [javac] ArrayList is a raw type. References to generic type ArrayList<E> should be parameterized
> pkgbuild: [javac] ----------
> pkgbuild: [javac] 40. WARNING in /export/home/rbuick/packages/BUILD/SFEeclipse-3.4M2/i386/eclipse-3.4M2/plugins/org.eclipse.pde.ui.templates/src/org/eclipse/pde/internal/ui/templates/rcp/IntroTemplate.java (at line 253)
> pkgbuild: [javac] result.add(new PluginReference("org.eclipse.ui.intro", null, 0)); //$NON-NLS-1$
> pkgbuild: [javac] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> pkgbuild: [javac] Type safety: The method add(Object) belongs to the raw type ArrayList. References to generic type ArrayList<E> should be parameterized
> pkgbuild: [javac] ----------
> pkgbuild: [javac] 41. WARNING in /export/home/rbuick/packages/BUILD/SFEeclipse-3.4M2/i386/eclipse-3.4M2/plugins/org.eclipse.pde.ui.templates/src/org/eclipse/pde/internal/ui/templates/rcp/IntroTemplate.java (at line 254)
> pkgbuild: [javac] result.add(new PluginReference("org.eclipse.core.runtime", null, 0)); //$NON-NLS-1$
> pkgbuild: [javac] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> pkgbuild: [javac] Type safety: The method add(Object) belongs to the raw type ArrayList. References to generic type ArrayList<E> should be parameterized
> pkgbuild: [javac] ----------
> pkgbuild: [javac] 42. WARNING in /export/home/rbuick/packages/BUILD/SFEeclipse-3.4M2/i386/eclipse-3.4M2/plugins/org.eclipse.pde.ui.templates/src/org/eclipse/pde/internal/ui/templates/rcp/IntroTemplate.java (at line 255)
> pkgbuild: [javac] result.add(new PluginReference("org.eclipse.ui", null, 0)); //$NON-NLS-1$
> pkgbuild: [javac] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> pkgbuild: [javac] Type safety: The method add(Object) belongs to the raw type ArrayList. References to generic type ArrayList<E> should be parameterized
> pkgbuild: [javac] ----------
> pkgbuild: [javac] 43. WARNING in /export/home/rbuick/packages/BUILD/SFEeclipse-3.4M2/i386/eclipse-3.4M2/plugins/org.eclipse.pde.ui.templates/src/org/eclipse/pde/internal/ui/templates/rcp/IntroTemplate.java (at line 258)
> pkgbuild: [javac] result.add(new PluginReference("org.eclipse.ui.forms", null, 0)); //$NON-NLS-1$
> pkgbuild: [javac] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> pkgbuild: [javac] Type safety: The method add(Object) belongs to the raw type ArrayList. References to generic type ArrayList<E> should be parameterized
> pkgbuild: [javac] ----------
> pkgbuild: [javac] 44. WARNING in /export/home/rbuick/packages/BUILD/SFEeclipse-3.4M2/i386/eclipse-3.4M2/plugins/org.eclipse.pde.ui.templates/src/org/eclipse/pde/internal/ui/templates/rcp/IntroTemplate.java (at line 259)
> pkgbuild: [javac] result.add(new PluginReference("org.eclipse.swt", null, 0)); //$NON-NLS-1$
> pkgbuild: [javac] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> pkgbuild: [javac] Type safety: The method add(Object) belongs to the raw type ArrayList. References to generic type ArrayList<E> should be parameterized
> pkgbuild: [javac] ----------
> pkgbuild: [javac] 45. WARNING in /export/home/rbuick/packages/BUILD/SFEeclipse-3.4M2/i386/eclipse-3.4M2/plugins/org.eclipse.pde.ui.templates/src/org/eclipse/pde/internal/ui/templates/rcp/IntroTemplate.java (at line 262)
> pkgbuild: [javac] return (IPluginReference[]) result.toArray(new IPluginReference[result
> pkgbuild: [javac] .size()]);
> pkgbuild: [javac] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> pkgbuild: [javac] Type safety: The method toArray(Object[]) belongs to the raw type ArrayList. References to generic type ArrayList<E> should be parameterized
> pkgbuild: [javac] ----------
> pkgbuild: [javac] 45 problems (45 warnings)
> pkgbuild: [exec] sh: xO4: not found
> pkgbuild: [exec] sh: xO4: not found
> pkgbuild: [exec] sh: xO4: not found
> pkgbuild: [exec] sh: xO4: not found
> pkgbuild: [exec] sh: o: not found
> pkgbuild: [exec] "../eclipseCommon.c", line 334: warning: assignment type mismatch:
> pkgbuild: [exec] pointer to char "=" pointer to const char
> pkgbuild: [exec] "../eclipseJNI.c", line 220: warning: argument #5 is incompatible with prototype:
> pkgbuild: [exec] prototype: pointer to const signed char : "unknown", line 0
> pkgbuild: [exec] argument : pointer to char
> pkgbuild: [exec] "../localfile.c", line 188: warning: argument #5 is incompatible with prototype:
> pkgbuild: [exec] prototype: pointer to const signed char : "unknown", line 0
> pkgbuild: [exec] argument : pointer to char
> pkgbuild: [echo] Building libupdate.so
> pkgbuild: [echo] cc -o libupdate.so -Wl,-G -I/export/home/rbuick/packages/BUILD/SFEeclipse-3.4M2/i386/eclipse-3.4M2/plugins/org.eclipse.update.core.solaris/src/../../org.eclipse.update.core.solaris/src/ -I/usr/jdk/instances/jdk1.6.0/jre/../include/solaris -KPIC libupdate.so
> pkgbuild:
> pkgbuild: BUILD SUCCESSFUL
> pkgbuild: Total time: 10 minutes 46 seconds
> pkgbuild: + make -C plugins/org.eclipse.core.filesystem/natives/unix/solaris
> pkgbuild: Usage : make [ -f makefile ][ -K statefile ]... [ -d ][ -dd ][ -D ][ -DD ]
> pkgbuild: [ -e ][ -i ][ -k ][ -n ][ -p ][ -P ][ -q ][ -r ][ -s ][ -S ][ -t ]
> pkgbuild: [ -u ][ -w ][ -V ][ target... ][ macro=value... ][ "macro +=value"... ]
> pkgbuild: make: Fatal error: Unknown option `-C'
> pkgbuild: Bad exit status from /var/tmp/pkgbuild-rbuick/pkgbuild-tmp-2.7780 (%build)
> --- command output ends --- finished at Thursday, 3 January 2008 22:55:30 GMT
>
> INFO: pkgbuild -ba finished at Thursday, 3 January 2008 22:55:30 GMT
>
> ERROR: SFEeclipse FAILED
> INFO: Check the build log in /tmp/SFEeclipse.log for details
>
>
> This message posted from opensolaris.org
> _______________________________________________
> desktop-discuss mailing list
> desktop-discuss at opensolaris.org
More information about the desktop-discuss
mailing list