[javac] ^ [javac] /var/tmp/portage/ganttproject-1.10.1/work/ganttproject-1.10.1/src/net/sourceforge/ganttproject/gui/projectwizard/I18N.java:19: warning: non-varargs call of varargs method with inexact argument type for last parameter; [javac] cast to java.lang.Object for a varargs call [javac] cast to java.lang.Object[] for a non-varargs call and to suppress this warning [javac] return MessageFormat.format("<html><body><h3>{0}</h3><ul>", new String[] {roleSetName}); [javac] ^ [javac] /var/tmp/portage/ganttproject-1.10.1/work/ganttproject-1.10.1/src/net/sourceforge/ganttproject/gui/projectwizard/I18N.java:27: warning: non-varargs call of varargs method with inexact argument type for last parameter; [javac] cast to java.lang.Object for a varargs call [javac] cast to java.lang.Object[] for a non-varargs call and to suppress this warning [javac] return MessageFormat.format("<li>{0}</li>", new String[] {role.getName()}); [javac] ^ [javac] Note: * uses or overrides a deprecated API. [javac] Note: Recompile with -Xlint:deprecation for details. [javac] Note: Some input files use unchecked or unsafe operations. [javac] Note: Recompile with -Xlint:unchecked for details. [javac] 1 error [javac] 11 warnings BUILD FAILED /var/tmp/portage/ganttproject-1.10.1/work/ganttproject-1.10.1/build.xml:165: Compile failed; see the compiler error output for details. Total time: 32 seconds !!! ERROR: app-office/ganttproject-1.10.1 failed. !!! Function src_compile, Line 22, Exitcode 1 !!! Failed building classes !!! If you need support, post the topmost build error, NOT this status message. Reproducible: Always Steps to Reproduce: 1. Set Java 1.5 as the system jvm 2. emerge ganttproject 3. boom! Actual Results: Build failed because the package uses a depreciated api Expected Results: Ganntproject compiled and installed The quick and dirty fix would be to have the javac option -source 1.4.
closing this one because all 'not working with jdk 1.5' are now tracked in #79206: http://bugs.gentoo.org/show_bug.cgi?id=79206