From owner-freebsd-java@FreeBSD.ORG Fri Oct 31 07:18:09 2003 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7ECC216A4CE for ; Fri, 31 Oct 2003 07:18:09 -0800 (PST) Received: from xsb.com (mail.portjeff.net [207.198.250.4]) by mx1.FreeBSD.org (Postfix) with ESMTP id 81A1F43F3F for ; Fri, 31 Oct 2003 07:18:08 -0800 (PST) (envelope-from c.rued@xsb.com) Received: from xsb.com [129.49.16.170] by xsb.com with ESMTP (SMTPD32-7.15) id AC97B5F00DA; Fri, 31 Oct 2003 10:15:35 -0500 Message-ID: <3FA27D2E.6050609@xsb.com> Date: Fri, 31 Oct 2003 10:18:06 -0500 From: Christopher Rued User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.5) Gecko/20030925 X-Accept-Language: en-us, en, fr MIME-Version: 1.0 To: Greg Lewis References: <3FA13C93.8010105@xsb.com> <1067532264.27956.27.camel@dyn231.iacc-tm4.ndsu.nodak.edu> <3FA1456B.8080404@xsb.com> <20031030172034.GB40447@misty.eyesbeyond.com> <3FA14A17.3000908@xsb.com> <3FA14F85.8060205@xsb.com> <20031030203556.GA41868@misty.eyesbeyond.com> <3FA19100.2080001@xsb.com> <20031030230514.GA42573@misty.eyesbeyond.com> In-Reply-To: <20031030230514.GA42573@misty.eyesbeyond.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit cc: freebsd-java@freebsd.org Subject: Re: Assertion failure while compiling jdk14 X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 31 Oct 2003 15:18:09 -0000 Greg Lewis wrote: >On Thu, Oct 30, 2003 at 05:30:24PM -0500, Christopher Rued wrote: > > >>I did what you said (here's a patch showing what I changed): >> >>--- j2se/make/common/Defs.gmk~ Wed Oct 29 16:42:00 2003 >>+++ j2se/make/common/Defs.gmk Thu Oct 30 16:41:03 2003 >>@@ -464,6 +464,7 @@ >> # --phantom >> ifeq ($(PLATFORM), bsd) >> JAVAH_CMD = $(BINDIR)/javah >>+ JAVAC_CMD = $(BINDIR)/javac >> endif >> RMIC = $(BINDIR)/rmic$(SUFFIX) >>endif >> >> >Thats not quite right. You need to redefine JAVAC, not JAVAC_CMD. > > Ah, you're right. I guess I wasn't careful enough. It's kinda strange that they chose to append _CMD in once case, and not the the others. Anyway, I redefined JAVAC to $(BINDIR)/javac and the build went farther, but failed in a similar way when jar_g was called. I then redefined JAR to $(BINDIR)/jar and restarted the build. After failing the build due to insufficient disk space, I created a patch in the files directory, ran `make clean install`. Everything then went smoothly, and I now have a working jdk14. My patch, which I put in files/patch-common::Defs.gmk: --- ../../j2se/make/common/Defs.gmk.orig Thu Oct 30 21:53:38 2003 +++ ../../j2se/make/common/Defs.gmk Thu Oct 30 20:13:05 2003 @@ -464,6 +464,8 @@ # --phantom ifeq ($(PLATFORM), bsd) JAVAH_CMD = $(BINDIR)/javah + JAVAC = $(BINDIR)/javac + JAR = $(BINDIR)/jar endif RMIC = $(BINDIR)/rmic$(SUFFIX) endif Thanks for the help. --Chris