From owner-freebsd-java@FreeBSD.ORG Thu Aug 30 19:04:40 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 4C3EF16A419 for ; Thu, 30 Aug 2007 19:04:40 +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 0FB1113C46A for ; Thu, 30 Aug 2007 19:04:27 +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 l7UJ3s8H076769; Thu, 30 Aug 2007 15:03:54 -0400 (EDT) (envelope-from jkim@FreeBSD.org) From: Jung-uk Kim To: freebsd-java@FreeBSD.org Date: Thu, 30 Aug 2007 15:03:50 -0400 User-Agent: KMail/1.6.2 References: In-Reply-To: MIME-Version: 1.0 Content-Disposition: inline Content-Type: Multipart/Mixed; boundary="Boundary-00=_YSx1GmbtpxnQ8ZV" Message-Id: <200708301503.52459.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:04:40 -0000 --Boundary-00=_YSx1GmbtpxnQ8ZV Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline 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-i586/pa >ck/pack-jre-jars \ > VAR_IMAGE_DIR=/usr/ports/java/jdk16/work/control/build/bsd-i586/j2r >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/lib/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. Jung-uk Kim --Boundary-00=_YSx1GmbtpxnQ8ZV Content-Type: text/plain; charset="iso-8859-1"; name="jdk16.diff" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="jdk16.diff" --- Makefile.orig Tue Aug 28 11:24:32 2007 +++ Makefile Thu Aug 30 15:02:14 2007 @@ -116,7 +116,9 @@ BUILD_DEPENDS+= ${BOOTSTRAPJDKDIR}/bin/javac:${PORTSDIR}/java/diablo-jdk15 -.if !defined(WITHOUT_WEB) +.if defined(WITHOUT_WEB) +MAKE_ENV+= DONT_BUILD_DEPLOY="YES" +.else USE_GNOME= desktopfileutils .endif --Boundary-00=_YSx1GmbtpxnQ8ZV--