From owner-freebsd-java@FreeBSD.ORG Thu Aug 30 19:49:15 2007 Return-Path: Delivered-To: freebsd-java@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7889C16A421 for ; Thu, 30 Aug 2007 19:49:15 +0000 (UTC) (envelope-from jkim@FreeBSD.org) Received: from anuket.mj.niksun.com (gwnew.niksun.com [65.115.46.162]) by mx1.freebsd.org (Postfix) with ESMTP id B700113C45B for ; Thu, 30 Aug 2007 19:49:14 +0000 (UTC) (envelope-from jkim@FreeBSD.org) Received: from niksun.com (anuket [10.70.0.5]) by anuket.mj.niksun.com (8.13.6/8.13.6) with ESMTP id l7UJmeEO080023; Thu, 30 Aug 2007 15:48:40 -0400 (EDT) (envelope-from jkim@FreeBSD.org) From: Jung-uk Kim To: freebsd-java@FreeBSD.org Date: Thu, 30 Aug 2007 15:48:36 -0400 User-Agent: KMail/1.6.2 References: <200708301503.52459.jkim@FreeBSD.org> <200708301512.57784.jkim@FreeBSD.org> In-Reply-To: <200708301512.57784.jkim@FreeBSD.org> MIME-Version: 1.0 Content-Disposition: inline Content-Type: Multipart/Mixed; boundary="Boundary-00=_W8x1GZQseKez0Wi" Message-Id: <200708301548.38354.jkim@FreeBSD.org> X-Virus-Scanned: ClamAV 0.90.2/4109/Thu Aug 30 13:18:52 2007 on anuket.mj.niksun.com X-Virus-Status: Clean Cc: Michiel Boland Subject: Re: jdk16 does not build on 32bit platforms when WITHOUT_WEB=true X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 30 Aug 2007 19:49:15 -0000 --Boundary-00=_W8x1GZQseKez0Wi Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline On Thursday 30 August 2007 03:12 pm, Jung-uk Kim wrote: > On Thursday 30 August 2007 03:03 pm, Jung-uk Kim wrote: > > On Thursday 30 August 2007 02:29 pm, Michiel Boland wrote: > > > Hi. See subject. The build of java/jdk16 bombs on i386 when > > > WITHOUT_WEB=true. It fails with > > > > > > [...] > > > gmake > > > PACK_OUTPUTDIR=/usr/ports/java/jdk16/work/control/build/bsd-i58 > > >6/ pa ck/pack-jre-jars \ > > > VAR_IMAGE_DIR=/usr/ports/java/jdk16/work/control/build/bsd-i586 > > >/j 2r e-image \ JARS_TO_PACK="lib/ext/localedata.jar > > > lib/plugin.jar lib/javaws.jar lib/deploy.jar" \ > > > EXTRA_PACKOPTS="--strip-debug" \ pack-jars > > > gmake[3]: Entering directory > > > `/usr/ports/java/jdk16/work/install/make/pack' [...] > > > ls: > > > /usr/ports/java/jdk16/work/control/build/bsd-i586/j2re-image/li > > >b/ pl ugin.jar: No such file or directory Exception in thread > > > "main" java.util.zip.ZipException: error in opening zip file at > > > java.util.zip.ZipFile.open(Native Method) > > > at java.util.zip.ZipFile.(ZipFile.java:114) > > > at java.util.jar.JarFile.(JarFile.java:133) > > > at java.util.jar.JarFile.(JarFile.java:97) > > > at com.sun.java.util.jar.pack.Driver.main(Driver.java:235) > > > gmake[3]: *** [pack-jars] Error 1 > > > gmake[3]: Leaving directory > > > `/usr/ports/java/jdk16/work/install/make/pack' > > > > > > obviously, if you say WITHOUT_WEB, there is no plugin.jar... > > > > Try the attached patch. > > Oops, typo... Sorry, try this patch instead. Sigh... I found a real culprit. Please drop the attachment in the files directory and retry. Sorry for the inconvenience. Today's not my day. :-( Jung-uk Kim --Boundary-00=_W8x1GZQseKez0Wi Content-Type: text/plain; charset="iso-8859-1"; name="patch-install-make-common-Pack.gmk" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="patch-install-make-common-Pack.gmk" --- ../../install/make/common/Pack.gmk 27 Jun 2007 18:48:09 -0000 1.2 +++ ../../install/make/common/Pack.gmk 30 Aug 2007 19:38:31 -0000 1.3 @@ -45,7 +45,7 @@ # These are loaded from the ClassPath CP_JRE_PACKED_JARS = lib/ext/localedata.jar -ifeq ($(ARCH_DATA_MODEL),32) +ifeq ($(BUILD_DEPLOY), true) CP_JRE_PACKED_JARS += lib/plugin.jar CP_JRE_PACKED_JARS += lib/javaws.jar CP_JRE_PACKED_JARS += lib/deploy.jar --Boundary-00=_W8x1GZQseKez0Wi--