Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 22 Mar 2011 19:47:17 +0100
From:      Dominic Fandrey <kamikaze@bsdforen.de>
To:        glewis@freebsd.org, java@FreeBSD.org
Subject:   java/openjdk6 and java/openjdk7 build fails in Tinderbox
Message-ID:  <4D88EEB5.1040406@bsdforen.de>

next in thread | raw e-mail | index | archive | help
In my Tinderbox I cannot build openjdk6 or openjdk7 in my Tinderbox.

They both fail in the same manner, missing libjava.so:
...
##### Entering  langtools for target  all                          #####
########################################################################
(cd  ./langtools/make && \
	  gmake JDK_TOPDIR=/work/a/ports/java/openjdk7/work/openjdk/jdk JDK_MAKE_SHARED_DIR=/work/a/ports/java/openjdk7/work/openjdk/jdk/make/common/shared EXTERNALSANITYCONTROL=true SOURCE_LANGUAGE_VERSION=7 TARGET_CLASS_VERSION=7 MILESTONE=fcs BUILD_NUMBER=b00 JDK_BUILD_NUMBER=b00 FULL_VERSION=1.7.0-root_2011_03_22_08_58-b00 PREVIOUS_JDK_VERSION=1.6.0 JDK_VERSION=1.7.0 JDK_MKTG_VERSION=7 JDK_MAJOR_VERSION=1 JDK_MINOR_VERSION=7 JDK_MICRO_VERSION=0 PREVIOUS_MAJOR_VERSION=1 PREVIOUS_MINOR_VERSION=6 PREVIOUS_MICRO_VERSION=0 ARCH_DATA_MODEL=64 COOKED_BUILD_NUMBER=0 ANT_HOME="/work/a/ports/java/openjdk7/work/apache-ant-1.8.1" ALT_OUTPUTDIR=/work/a/ports/java/openjdk7/work/openjdk/build/bsd-amd64/langtools ALT_BOOTDIR=/usr/local/diablo-jdk1.6.0 all)
gmake[2]: Entering directory `/work/a/ports/java/openjdk7/work/openjdk/langtools/make'
JAVA_HOME=/usr/local/diablo-jdk1.6.0 ANT_OPTS=-Djava.io.tmpdir='/work/a/ports/java/openjdk7/work/openjdk/build/bsd-amd64/langtools/build/ant-tmp' /work/a/ports/java/openjdk7/work/apache-ant-1.8.1/bin/ant -diagnostics > /work/a/ports/java/openjdk7/work/openjdk/build/bsd-amd64/langtools/build/ant-diagnostics.log ; \
	  JAVA_HOME=/usr/local/diablo-jdk1.6.0 ANT_OPTS=-Djava.io.tmpdir='/work/a/ports/java/openjdk7/work/openjdk/build/bsd-amd64/langtools/build/ant-tmp' /work/a/ports/java/openjdk7/work/apache-ant-1.8.1/bin/ant -version >> /work/a/ports/java/openjdk7/work/openjdk/build/bsd-amd64/langtools/build/ant-diagnostics.log
Error: could not find libjava.so
Error: could not find Java 2 Runtime Environment.
Error: could not find libjava.so
Error: could not find Java 2 Runtime Environment.
gmake[2]: *** [/work/a/ports/java/openjdk7/work/openjdk/build/bsd-amd64/langtools/build/ant-diagnostics.log] Error 2
gmake[2]: Leaving directory `/work/a/ports/java/openjdk7/work/openjdk/langtools/make'
gmake[1]: *** [langtools-build] Error 2
gmake[1]: Leaving directory `/work/a/ports/java/openjdk7/work/openjdk'
gmake: *** [build_product_image] Error 2
*** Error code 1

The present JDK is diablo-jdk-1.6.0.07.02_13.tbz.

The build starts with errors right away:
===>  Building for openjdk-7.0.122_1
Control bsd amd64 1.7.0 all build started: 11-03-22 08:58
( cd  ./jdk/make && \
	  gmake sanity HOTSPOT_IMPORT_CHECK=false JDK_TOPDIR=/work/a/ports/java/openjdk7/work/openjdk/jdk JDK_MAKE_SHARED_DIR=/work/a/ports/java/openjdk7/work/openjdk/jdk/make/common/shared EXTERNALSANITYCONTROL=true SOURCE_LANGUAGE_VERSION=7 TARGET_CLASS_VERSION=7 MILESTONE=fcs BUILD_NUMBER=b00 JDK_BUILD_NUMBER=b00 FULL_VERSION=1.7.0-root_2011_03_22_08_58-b00 PREVIOUS_JDK_VERSION=1.6.0 JDK_VERSION=1.7.0 JDK_MKTG_VERSION=7 JDK_MAJOR_VERSION=1 JDK_MINOR_VERSION=7 JDK_MICRO_VERSION=0 PREVIOUS_MAJOR_VERSION=1 PREVIOUS_MINOR_VERSION=6 PREVIOUS_MICRO_VERSION=0 ARCH_DATA_MODEL=64 COOKED_BUILD_NUMBER=0 ANT_HOME="/work/a/ports/java/openjdk7/work/apache-ant-1.8.1" ALT_OUTPUTDIR=/work/a/ports/java/openjdk7/work/openjdk/build/bsd-amd64 ALT_LANGTOOLS_DIST=/work/a/ports/java/openjdk7/work/openjdk/build/bsd-amd64/langtools/dist ALT_CORBA_DIST=/work/a/ports/java/openjdk7/work/openjdk/build/bsd-amd64/corba/dist ALT_JAXP_DIST=/work/a/ports/java/openjdk7/work/openjdk/build/bsd-amd64/jaxp/dist ALT_JAX
WS_DIST=/work/a/ports/java/openjdk7/work/openjdk/build/bsd-amd64/jaxws/dist ALT_HOTSPOT_IMPORT_PATH=/work/a/ports/java/openjdk7/work/openjdk/build/bsd-amd64/hotspot/import BUILD_HOTSPOT=true ; )
[: Error:: bad number
[: Error:: bad number
[: could: bad number
[: could: bad number
[: not: bad number
[: not: bad number
[: Error:: bad number
[: Error:: bad number
[: could: bad number
[: could: bad number
[: not: bad number
[: not: bad number
gmake[1]: Entering directory `/work/a/ports/java/openjdk7/work/openjdk/jdk/make'
gmake[1]: Leaving directory `/work/a/ports/java/openjdk7/work/openjdk/jdk/make'

It starts similarly for openjdk6:
===>  Building for openjdk6-b22_3
Control bsd amd64 1.6.0 all build started: 11-03-22 18:26
[: Error:: bad number
[: Error:: bad number
[: Error:: bad number
[: Error:: bad number
gmake[1]: Entering directory `/work/a/ports/java/openjdk6/work/jdk/make'
gmake[2]: Entering directory `/work/a/ports/java/openjdk6/work/jdk/make/tools/freetypecheck'
gmake[2]: Leaving directory `/work/a/ports/java/openjdk6/work/jdk/make/tools/freetypecheck'
gmake[1]: Leaving directory `/work/a/ports/java/openjdk6/work/jdk/make'

I can provide complete logs upon request.

Regards,
Kami

-- 
A: Because it fouls the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing on usenet and in e-mail? 



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