From owner-freebsd-current@FreeBSD.ORG Mon Jun 4 18:53:05 2007 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 329BE16A421 for ; Mon, 4 Jun 2007 18:53:05 +0000 (UTC) (envelope-from glewis@eyesbeyond.com) Received: from misty.eyesbeyond.com (gerbercreations.com [71.39.140.16]) by mx1.freebsd.org (Postfix) with ESMTP id D497313C455 for ; Mon, 4 Jun 2007 18:53:04 +0000 (UTC) (envelope-from glewis@eyesbeyond.com) Received: from misty.eyesbeyond.com (localhost.eyesbeyond.com [127.0.0.1]) by misty.eyesbeyond.com (8.13.1/8.13.3) with ESMTP id l54IMYl0027061; Mon, 4 Jun 2007 11:22:34 -0700 (PDT) (envelope-from glewis@eyesbeyond.com) Received: (from glewis@localhost) by misty.eyesbeyond.com (8.13.1/8.13.3/Submit) id l54IMUT3027058; Mon, 4 Jun 2007 11:22:30 -0700 (PDT) (envelope-from glewis@eyesbeyond.com) X-Authentication-Warning: misty.eyesbeyond.com: glewis set sender to glewis@eyesbeyond.com using -f Date: Mon, 4 Jun 2007 11:22:30 -0700 From: Greg Lewis To: Vladimir Grebenschikov Message-ID: <20070604182230.GA26966@misty.eyesbeyond.com> References: <1180976737.24934.4.camel@localhost> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1180976737.24934.4.camel@localhost> User-Agent: Mutt/1.4.2.2i Cc: java@freesbd.org, current Subject: Re: failed to build java/jdk15 on recent current - gcc4 issue ? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 04 Jun 2007 18:53:05 -0000 G'day Vladimir, On Mon, Jun 04, 2007 at 09:05:37PM +0400, Vladimir Grebenschikov wrote: > 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. jdk14 has some different problems (possibly as well as this problem) related to GCC4. Those are on my TODO list and should be fairly similar to the changes done for jdk15. > Any hints ? There are multiple reports of similar failures on 7-CURRENT/i386. The cause is unclear and I'm not sure if anyone is working on it. If you really need a working JDK you should use -STABLE or try one of the Linux JDK ports (although they also have some problems on -CURRENT, at least under amd64 it seems). -- Greg Lewis Email : glewis@eyesbeyond.com Eyes Beyond Web : http://www.eyesbeyond.com Information Technology FreeBSD : glewis@FreeBSD.org