jdk16 does not build on 32bit platforms when WITHOUT_WEB=true

Jung-uk Kim jkim at FreeBSD.org
Thu Aug 30 12:49:15 PDT 2007


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
-------------- next part --------------
--- ../../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


More information about the freebsd-java mailing list