failed to build java/jdk15 on recent current - gcc4 issue ?

Vladimir Grebenschikov vova at
Mon Jun 4 17:31:28 UTC 2007


Todays 7-CURRENT with fresh ports tree:

../../../../../src/share/classes/java/nio/ duplicate class: Bits
class Bits {                            // package-private
../../../../../src/solaris/classes/sun/net/www/protocol/file/ duplicate class: Handler
public class Handler extends URLStreamHandler {
../../../../../src/share/classes/java/lang/ cannot access java.lang.reflect.Array
bad class file: ../../../../../src/share/classes/java/lang/reflect/
file does not contain class java.lang.reflect.Array
Please remove or make sure it appears in the correct subdirectory of the classpath.
import java.lang.reflect.Array;
3 errors
gmake[7]: *** [.compile.classlist] Error 1
gmake[7]: Leaving directory `/usr/ports/java/jdk15/work/j2se/make/sun/javac/recompile/library'
gmake[6]: *** [optimized] Error 2
gmake[6]: Leaving directory `/usr/ports/java/jdk15/work/j2se/make/sun/javac/recompile/library'
gmake[5]: *** [all] Error 1
gmake[5]: Leaving directory `/usr/ports/java/jdk15/work/j2se/make/sun/javac/recompile'
gmake[4]: *** [all] Error 1
gmake[4]: Leaving directory `/usr/ports/java/jdk15/work/j2se/make/sun/javac'
gmake[3]: *** [all] Error 2
gmake[3]: Leaving directory `/usr/ports/java/jdk15/work/j2se/make/java/javac'
gmake[2]: *** [all] Error 1
gmake[2]: Leaving directory `/usr/ports/java/jdk15/work/j2se/make/java'
gmake[1]: *** [all] Error 1
gmake[1]: Leaving directory `/usr/ports/java/jdk15/work/j2se/make'
gmake: *** [j2se-build] Error 2
*** Error code 2

Stop in /usr/ports/java/jdk15.
*** Error code 1

Stop in /usr/ports/java/jdk15.

/usr/ports/java/jdk15# cvs status Makefile 
File: Makefile          Status: Up-to-date

   Working revision:    1.126   Mon Jun  4 09:09:25 2007
   Repository revision: 1.126   /usr/ncvs/ports/java/jdk15/Makefile,v
   Sticky Tag:          (none)
   Sticky Date:         (none)
   Sticky Options:      (none)

Deps ports are also built recently.

java/jdk14 also fails to build.

Any hints ?

Vladimir B. Grebenschikov
SWsoft Inc. vova at

More information about the freebsd-current mailing list