Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 04 Jun 2007 21:05:37 +0400
From:      Vladimir Grebenschikov <vova@sw.ru>
To:        java@freesbd.org
Cc:        glewis@FreeBSD.org, current <current@freebsd.org>
Subject:   failed to build java/jdk15 on recent current - gcc4 issue ?
Message-ID:  <1180976737.24934.4.camel@localhost>

next in thread | raw e-mail | index | archive | help
Hi

Todays 7-CURRENT with fresh ports tree:


../../../../../src/share/classes/java/nio/Bits.java:19: duplicate class: Bits
class Bits {                            // package-private
^
../../../../../src/solaris/classes/sun/net/www/protocol/file/Handler.java:26: duplicate class: Handler
public class Handler extends URLStreamHandler {
       ^
../../../../../src/share/classes/java/lang/Class.java:10: cannot access java.lang.reflect.Array
bad class file: ../../../../../src/share/classes/java/lang/reflect/Array.java
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)
/usr/ports/java/jdk15#

Deps ports are also built recently.

java/jdk14 also fails to build.

Any hints ?

-- 
Vladimir B. Grebenschikov
SWsoft Inc. vova@swsoft.com



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