Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 25 Jan 2017 09:56:26 +0800
From:      Julian Elischer <julian@freebsd.org>
To:        java@freebsd.org, "ports@FreeBSD.org" <ports@freebsd.org>
Subject:   unable to build java in poudriere
Message-ID:  <3f06805e-b236-5027-f743-8a45aac1ad52@freebsd.org>

next in thread | raw e-mail | index | archive | help
from he log file:  (see below)

This dies almost immediately.
Do we need to prime the build with an older java? (e.g. the bootstrap 
pkg)?
If so why does  poudriere not do this?
I actually want jdk8 but iti insists on building 7 first, which fails.
Since I don't care about 7 I can prime the pump by downloading a 7 pkg 
but should all this be automatic somehow?

Log:

########################################################################
########################################################################
##### Entering langtools for target(s) all                         #####
########################################################################

(cd  ./langtools/make && \
   gmake JDK_TOPDIR=/wrkdirs/usr/ports/java/openjdk7/work/openjdk/jdk 
JDK_MAKE_SHARED_DIR=/wrkdirs/usr/ports/java/openjdk7/work/openjdk/jdk/make/common/shared 
EXTERNALSANITYCONTROL=true SOURCE_LANGUAGE_VERSION=7 
TARGET_CLASS_VERSION=7 MILESTONE=fcs BUILD_NUMBER=b01 
JDK_BUILD_NUMBER=b01 FULL_VERSION=1.7.0_111-b01 
PREVIOUS_JDK_VERSION=1.6. JDK_VERSION=1.7.0_111 JDK_MKTG_VERSION=7 
JDK_MAJOR_VERSION=1 JDK_MINOR_VERSION=7 JDK_MICRO_VERSION=0_111 
PREVIOUS_MAJOR_VERSION=1 PREVIOUS_MINOR_VERSION=6 
PREVIOUS_MICRO_VERSION= PAX_COMMAND=/usr/sbin/paxmark.sh 
PAX_COMMAND_ARGS="-vm" ARCH_DATA_MODEL=64 COOKED_BUILD_NUMBER=1 
ANT_HOME="/wrkdirs/usr/ports/java/openjdk7/work/apache-ant-1.9.7" 
ALT_OUTPUTDIR=/wrkdirs/usr/ports/java/openjdk7/work/openjdk/build/bsd-amd64/langtools 
ALT_BOOTDIR=/usr/local/bootstrap-openjdk all)
gmake[3]: Entering directory 
'/wrkdirs/usr/ports/java/openjdk7/work/openjdk/langtools/make'
JAVA_HOME=/usr/local/bootstrap-openjdk 
ANT_OPTS=-Djava.io.tmpdir='/wrkdirs/usr/ports/java/openjdk7/work/openjdk/build/bsd-amd64/langtools/build/ant-tmp' 
/wrkdirs/usr/ports/java/openjdk7/work/apache-ant-1.9.7/bin/ant 
-diagnostics > 
/wrkdirs/usr/ports/java/openjdk7/work/openjdk/build/bsd-amd64/langtools/build/ant-diagnostics.log 
; \
   JAVA_HOME=/usr/local/bootstrap-openjdk 
ANT_OPTS=-Djava.io.tmpdir='/wrkdirs/usr/ports/java/openjdk7/work/openjdk/build/bsd-amd64/langtools/build/ant-tmp' 
/wrkdirs/usr/ports/java/openjdk7/work/apache-ant-1.9.7/bin/ant 
-version >> 
/wrkdirs/usr/ports/java/openjdk7/work/openjdk/build/bsd-amd64/langtools/build/ant-diagnostics.log
Could not create the Java virtual machine.
Could not create the Java virtual machine.
gmake[3]: *** [Makefile:196: 
/wrkdirs/usr/ports/java/openjdk7/work/openjdk/build/bsd-amd64/langtools/build/ant-diagnostics.log] 
Error 1
gmake[3]: Leaving directory 
'/wrkdirs/usr/ports/java/openjdk7/work/openjdk/langtools/make'
gmake[2]: *** [make/langtools-rules.gmk:39: langtools-build] Error 2
gmake[2]: Leaving directory 
'/wrkdirs/usr/ports/java/openjdk7/work/openjdk'
gmake[1]: *** [Makefile:251: build_product_image] Error 2
gmake[1]: Leaving directory 
'/wrkdirs/usr/ports/java/openjdk7/work/openjdk'
*** Error code 1





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3f06805e-b236-5027-f743-8a45aac1ad52>