jdk1.5 compile problem(on freebsd5.3)
mike
awei_xw at 163.com
Wed Aug 2 07:18:06 UTC 2006
Hello !
Trying to compile jdk1.5 on my FreeBSD 5.3 system I get this error message :
# Start of jdk build
bsd i586 1.5.0-p3 build started: 06-08-02 09:31
if [ -r ./../../deploy/make/Makefile ]; then \
( cd ./../../deploy/make; gmake sanity EXTERNALSANITYCONTROL=true CON
TROL_TOPDIR=/usr/ports/java/jdk15/work/control CONTROL_TOPDIR_NAME=control ALT_O
UTPUTDIR=/usr/ports/java/jdk15/work/control/build/bsd-i586 ARCH_DATA_MODEL=32 M
ILESTONE=p3 BUILD_NUMBER=root_02_aug_2006_09_31 ; ); \
fi
gmake[1]: Entering directory `/usr/ports/java/jdk15/work/deploy/make'
gmake[1]: Leaving directory `/usr/ports/java/jdk15/work/deploy/make'
Syntax error: "(" unexpected
gmake[1]: Entering directory `/usr/ports/java/jdk15/work/j2se/make'
[: -ne: unexpected operator
gmake[1]: Leaving directory `/usr/ports/java/jdk15/work/j2se/make'
if [ -r ./../../install/make/Makefile ]; then \
( cd ./../../install/make; gmake sanity MAKEFLAGS= EXTERNALSANITYCONT
ROL=true ALT_CONTROL_TOPDIR=/usr/ports/java/jdk15/work/control ALT_J2SE_TOPDIR=/
usr/ports/java/jdk15/work/j2se ALT_OUTPUTDIR=/usr/ports/java/jdk15/work/control/
build/bsd-i586 ALT_RTPATCH_DIR= ALT_BASE_IMAGE_ZIP= ALT_BASE_IMAGE_DIR= ALT_NEW_
IMAGE_DIR= ALT_BUNDLE_DATE=02_aug_2006 ; ); \
fi
gmake[1]: Entering directory `/usr/ports/java/jdk15/work/install/make'
gmake[1]: Leaving directory `/usr/ports/java/jdk15/work/install/make'
Build Machine Information:
build machine =
Build Directory Structure:
CWD = /usr/ports/java/jdk15/work/control/make
TOPDIR = ./../..
CONTROL_TOPDIR = ./../../control
HOTSPOT_TOPDIR = ./../../hotspot
J2SE_TOPDIR = ./../../j2se
DEPLOY_TOPDIR = ./../../deploy
INSTALL_TOPDIR = ./../../install
Build Directives:
BUILD_HOTSPOT = true
BUILD_MOTIF = false
BUILD_INSTALL = true
Hotspot Settings:
HOTSPOT_BUILD_JOBS =
Bootstrap Settings:
JAVAWS_BOOTDIR = /usr/ports/java/jdk15/work/control/build/bsd-i586
BOOTSTRAP J2SDK VERSION:
OUTPUTDIR = /usr/ports/java/jdk15/work/control/build/bsd-i586
Build Tool Settings:
UNIXCOMMAND_PATH = /bin/
COMPILER_PATH = /usr/bin/
DEVTOOLS_PATH = /usr/local/bin/
USRBIN_PATH = /usr/bin/
MOZILLA_PATH = /usr/X11R6
MOZILLA_HEADERS_PATH = /usr/X11R6/include
CC_VER = 3.4.2
PATH = /sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bi
n:/usr/X11R6/bin:/root/bin
Build Directives:
PEDANTIC =
INSANE =
Build Platform Settings:
PLATFORM = bsd
ARCH = i586
LIBARCH = i386
ARCH_FAMILY = i586
ARCH_DATA_MODEL = 32
OS_VERSION = 5.3-RELEASE
FREE_SPACE = 5437312
GNU Make Settings:
MAKE = gmake
MAKE VERSION =
MAKECMDGOALS = sanity
MAKEFLAGS = w -- BUILD_NUMBER=root_02_aug_2006_09_31 MILESTONE=p3 ARCH_DATA_M
ODEL=32 ALT_OUTPUTDIR=/usr/ports/java/jdk15/work/control/build/bsd-i586 CONTROL_
TOPDIR_NAME=control CONTROL_TOPDIR=/usr/ports/java/jdk15/work/control EXTERNALSA
NITYCONTROL=true
SHELL = /bin/sh
Target Build Versions:
JAVAWS_VERSION = 1.5.0
MILESTONE = p3
BUILD_NUMBER = root_02_aug_2006_09_31
Bootstrap Settings:
BOOTDIR = /usr/local/linux-sun-jdk1.4.2
BOOTSTRAP J2SDK VERSION: Bad system call (core dumped)
OUTPUTDIR = /usr/ports/java/jdk15/work/control/build/bsd-i586
Build Tool Settings:
UNIXCOMMAND_PATH = /bin/
COMPILER_PATH = /usr/bin/
DEVTOOLS_PATH = /usr/local/bin/
USRBIN_PATH = /usr/bin/
MOTIF_DIR = /usr/X11R6
CC_VER = 3.4.2
ZIP_VER = 2.32
PATH = /sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bi
n:/usr/X11R6/bin:/root/bin
TMPDIR = /usr/ports/java/jdk15/work/control/build/bsd-i586/tmp
Build Directives:
USE_ONLY_BOOTDIR_TOOLS =
USE_HOTSPOT_INTERPRETER_MODE =
PEDANTIC =
DEV_ONLY =
J2RE_ONLY =
NO_DOCS =
NO_IMAGES =
TOOLS_ONLY =
INSANE =
PARALLEL_COMPILES = false
PARALLEL_COMPILE_JOBS = 2
FASTDEBUG = false
INCREMENTAL_BUILD = false
Build Platform Settings:
PLATFORM = bsd
ARCH = i586
LIBARCH = i386
ARCH_FAMILY = i586
ARCH_DATA_MODEL = 32
TRUE_PLATFORM = FreeBSD
OS_VERSION = 5.3-RELEASE
FREE_SPACE = 10874612
GNU Make Settings:
MAKE = gmake
MAKE VERSION =
MAKECMDGOALS = sanity
MAKEFLAGS =
SHELL = /bin/sh
Target Build Versions:
JDK_VERSION = 1.5.0
MILESTONE = p3
BUILD_NUMBER = root_02_aug_2006_09_31
External File/Binary Locations:
HOTSPOT_SERVER_PATH = /usr/ports/java/jdk15/work/control/build/bsd-i586/hotsp
ot-i586/server
HOTSPOT_CLIENT_PATH = /usr/ports/java/jdk15/work/control/build/bsd-i586/hotsp
ot-i586/client
HOTSPOT_IMPORT_PATH = /usr/ports/java/jdk15/work/control/build/bsd-i586/hotsp
ot-i586/import
MOTIF_DIR = /usr/X11R6
CACERTS_FILE = ./../src/share/lib/security/cacerts
No setting required for Unix Systems
WARNING: The version of make being used does not match
the expected version for this platform.
The version of make found was ->3.81<-
The version expected matches the pattern ->3.7[89].1,<-.
Sanity check passed.
/bin/mkdir -p ../build/bsd-i586/hotspot-i586/tmp
(cd ./../build/bsd-i586/hotspot-i586/tmp; \
gmake -f /usr/ports/java/jdk15/work/hotspot/build/bsd/Makefile product
\
HOTSPOT_BUILD_VERSION=1.5.0-p3-root_02_aug_2006_09_31 GAMMADIR=
/usr/ports/java/jdk15/work/hotspot ; )
gmake[1]: Entering directory `/usr/ports/java/jdk15/work/control/build/bsd-i586/
hotspot-i586/tmp'
if [ `/usr/local/linux-sun-jdk1.4.2/bin/java -fullversion 2>&1 | grep -c '1\.[45]'` -eq 0 ] ; then \
/usr/local/linux-sun-jdk1.4.2/bin/java -version; \
echo "*** An XSLT processor (J2SE 1.4.x or newer) is required to bootstrap this build"; \
exit 1; \
fi
sh /usr/ports/java/jdk15/work/hotspot/build/bsd/makefiles/buildATree.sh compiler2 /usr/ports/java/jdk15/work/hotspot bsd i486
(cd bsd_i486_compiler2/product; gmake)
gmake[2]: Entering directory `/usr/ports/java/jdk15/work/control/build/bsd-i586/hotspot-i586/tmp/bsd_i486_compiler2/product'
gmake[2]: *** [../generated/MakeDeps.class] Bad system call (core dumped)
gmake[2]: Leaving directory `/usr/ports/java/jdk15/work/control/build/bsd-i586/hotspot-i586/tmp/bsd_i486_compiler2/product'
gmake[1]: *** [product] Error 2
gmake[1]: Leaving directory `/usr/ports/java/jdk15/work/control/build/bsd-i586/hotspot-i586/tmp'
gmake: *** [product] Error 2
*** Error code 2
Stop in /usr/ports/java/jdk15.
Any ideas?
More information about the freebsd-java
mailing list