Problems building the java/jdk14 port

Tom Alsberg alsbergt at cs.huji.ac.il
Mon Apr 7 02:27:33 PDT 2003


Hi there.
I am unable to build the java/jdk14 port.  I downloaded the patches
and source distribution, and get some weird HotSpot error.
I am not sure what the problem could be.  Following is the relevant
output of make on the port.

  Any ideas?
  -- Tom

# Start of jdk build
bsd i586 1.4.1-p3 build started: 03-04-07 12:16
Syntax error: "(" unexpected
gmake[1]: Entering directory `/v0/pobj/r+d/ports/java/jdk14/work/j2se/make'
[: -ne: unexpected operator
gmake[1]: Leaving directory `/v0/pobj/r+d/ports/java/jdk14/work/j2se/make'
if [ -r ./../../patch/make/Makefile ]; then \
  ( cd  ./../../patch/make; gmake sanity MAKEFLAGS= EXTERNALSANITYCONTROL=true CONTROL_TOPDIR=/v0/pobj/r+d/ports/java/jdk14/work/control CONTROL_TOPDIR_NAME=control ALT_J2SE_TOPDIR=./../../j2se ALT_OUTPUTDIR=/v0/pobj/r+d/ports/java/jdk14/work/control/build/bsd-i586 ALT_RTPATCH_DIR= ALT_BASE_IMAGE_ZIP= ALT_BASE_IMAGE_DIR= ALT_NEW_IMAGE_DIR= ; ); \
fi

Build Machine Information:
   build machine = 

Build Directory Structure:
   CWD = /v0/pobj/r+d/ports/java/jdk14/work/control/make
   TOPDIR = ./../..
   CONTROL_TOPDIR = ./../../control
   GENERICS_TOPDIR = ./../../generics
   HOTSPOT_TOPDIR = ./../../hotspot
   J2SE_TOPDIR = ./../../j2se
   MOTIF_TOPDIR = ./../../motif
   COBUNDLE_TOPDIR = ./../../cobundle

Hotspot Settings:
   HOTSPOT_BUILD_JOBS = 

Bootstrap Settings:
   BOOTDIR = /usr/local/linux-sun-jdk1.4.1 
   BOOTSTRAP J2SDK VERSION:          Abort trap (core dumped)
   OUTPUTDIR = /v0/pobj/r+d/ports/java/jdk14/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/local/X11R6 
   CC_VER = 2.95.4 
   PATH = /usr/local/pgsql/bin:/cs/system/alsbergt/bin/freebsd:/cs/system/alsbergt/exec-prefix/i386/freebsd/generic/bin:/cs/system/alsbergt/exec-prefix/i386/freebsd/generic/sbin:/cs/system/alsbergt/prefix/bin:/cs/system/alsbergt/prefix/sbin:/cs/system/alsbergt/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/local/etc:/usr/X11R6/bin:/usr/local/X11R6/bin:/usr/local/pgsql/bin:/usr/local/mosml/bin:/usr/games:/usr/local/mathematica/bin:/SBIN:/cs/system/guest/qmh/bin:/cs/system/register/bin 

Build Directives:
   USE_ONLY_BOOTDIR_TOOLS =  
   USE_HOTSPOT_INTERPRETER_MODE =  
   PEDANTIC =  
   DEV_ONLY =  
   J2RE_ONLY =  
   NO_DOCS = YES 
   NO_IMAGES =  
   TOOLS_ONLY = true 
   INSANE =  

Build Platform Settings:
   PLATFORM = bsd 
   ARCH = i586 
   LIBARCH = i386 
   ARCH_FAMILY = i586 
   ARCH_DATA_MODEL = 32 
   OS_VERSION = 4.8-RC 
   TRUE_PLATFORM = FreeBSD (4.x STABLE way)
   FREE_SPACE = 3894824 

GNU Make Settings:
   MAKE = gmake 
   MAKE VERSION =  
   MAKECMDGOALS = sanity 
   MAKEFLAGS =  
   SHELL = /bin/sh 

Target Build Versions:
   JDK_VERSION = 1.4.1 
   MILESTONE = p3 
   BUILD_NUMBER = alsbergt_07_apr_2003_12_16 
   BUNDLE_DATE = 07_apr_2003 

External File/Binary Locations:
   HOTSPOT_SERVER_PATH = /v0/pobj/r+d/ports/java/jdk14/work/control/build/bsd-i586/hotspot-i586/server 
   HOTSPOT_CLIENT_PATH = /v0/pobj/r+d/ports/java/jdk14/work/control/build/bsd-i586/hotspot-i586/client 
   OPT_JAVAWS = /java/re/javaws/1.2/promoted/pit_tested/bundles/javaws-1_2-bsd-i586-i.zip 
   MOZILLA_PATH = /java/devtools 
   MOZILLA_HEADERS_PATH = /java/devtools/share/plugin 
   MOZILLA_LIBS_PATH = /java/devtools/bsd/plugin 
   MOTIF_DIR = /usr/local/X11R6 
   CACERTS_FILE = ./../src/share/lib/security/cacerts 

WARNING: Your build environment has the variable NO_DOCS
         defined. This will result in a development-only
         build of the J2SE workspace, lacking the documentation
         build.
 
WARNING: You do not have access to the Java Web Start binary. 
         These binaries may be optional for this build. Please 
         check your access to 
             /java/re/javaws/1.2/promoted/pit_tested/bundles/javaws-1_2-bsd-i586-i.zip 
         and/or check your value of ALT_JAVAWS_PATH. 
         This will make your images target build incomplete. 
 
Sanity check passed.
/bin/mkdir -p ../build/bsd-i586/hotspot-i586/tmp
(cd  ./../build/bsd-i586/hotspot-i586/tmp; \
  gmake -f /v0/pobj/r+d/ports/java/jdk14/work/hotspot/build/bsd/Makefile product \
        HOTSPOT_BUILD_VERSION=1.4.1-p3-alsbergt_07_apr_2003_12_16  GAMMADIR=/v0/pobj/r+d/ports/java/jdk14/work/hotspot ; )
gmake[1]: Entering directory `/v0/pobj/r+d/ports/java/jdk14/work/control/build/bsd-i586/hotspot-i586/tmp'
sh /v0/pobj/r+d/ports/java/jdk14/work/hotspot/build/bsd/makefiles/buildATree.sh compiler2 /v0/pobj/r+d/ports/java/jdk14/work/hotspot bsd i486
(cd bsd_i486_compiler2/product; gmake)
gmake[2]: Entering directory `/v0/pobj/r+d/ports/java/jdk14/work/control/build/bsd-i586/hotspot-i586/tmp/bsd_i486_compiler2/product'
#
# HotSpot Virtual Machine Error, Internal Error
# Please report this error at
# http://java.sun.com/cgi-bin/bugreport.cgi
#
# Java VM: Java HotSpot(TM) Client VM (1.4.1_02-b06 mixed mode)
#
# Error ID: 4F533F4C494E55580E43505002D7
#
gmake[2]: *** [../generated/MakeDeps.class] Abort trap (core dumped)
gmake[2]: Leaving directory `/v0/pobj/r+d/ports/java/jdk14/work/control/build/bsd-i586/hotspot-i586/tmp/bsd_i486_compiler2/product'
gmake[1]: *** [product] Error 2
gmake[1]: Leaving directory `/v0/pobj/r+d/ports/java/jdk14/work/control/build/bsd-i586/hotspot-i586/tmp'
gmake: *** [product] Error 2
*** Error code 2

-- 
  Tom Alsberg - hacker (being the best description fitting this space)
  Web page:	http://www.cs.huji.ac.il/~alsbergt/
DISCLAIMER:  The above message does not even necessarily represent what
my fingers have typed on the keyboard, save anything further.


More information about the freebsd-standards mailing list