Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 30 Aug 2007 15:48:36 -0400
From:      Jung-uk Kim <jkim@FreeBSD.org>
To:        freebsd-java@FreeBSD.org
Cc:        Michiel Boland <michiel@boland.org>
Subject:   Re: jdk16 does not build on 32bit platforms when WITHOUT_WEB=true
Message-ID:  <200708301548.38354.jkim@FreeBSD.org>
In-Reply-To: <200708301512.57784.jkim@FreeBSD.org>
References:  <Pine.GSO.4.64.0708302025590.15957@neerbosch.nijmegen.internl.net> <200708301503.52459.jkim@FreeBSD.org> <200708301512.57784.jkim@FreeBSD.org>

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

--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.<init>(ZipFile.java:114)
> > >  	at java.util.jar.JarFile.<init>(JarFile.java:133)
> > >  	at java.util.jar.JarFile.<init>(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--



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