Bus error (core dumped) trying to build jdk14

Glenn Johnson glennpj at charter.net
Mon Sep 15 13:58:31 PDT 2003


I am trying to build jdk14p4-pre1 on FreeBSD -current. I adjusted the
port Makefile to look for the experimental patch and disabled the
patches in the files directory of the port. I searched the archives and
apparently some people have had success with building this but I must be
missing something. I have the experimental patch (grabbed it yesterday)
and get the following error while building (including just the beginning
and end):

===>  Building for jdk-1.4.1p4
# Start of jdk build
bsd i586 1.4.1-p4-pre1 build started: 03-09-15 15:49
gmake[1]: Entering directory `/usr/ports/java/jdk14/work/j2se/make'
gmake[1]: Leaving directory `/usr/ports/java/jdk14/work/j2se/make'
if [ -r ./../../patch/make/Makefile ]; then \
  ( cd  ./../../patch/make; gmake sanity MAKEFLAGS= EXTERNALSANITYCONTROL=true CONTROL_TOPDIR=/usr/ports/java/jdk14/work/control CONTROL_TOPDIR_NAME=control ALT_J2SE_TOPDIR=./../../j2se ALT_OUTPUTDIR=/usr/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 = /usr/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.2_01 
   BOOTSTRAP J2SDK VERSION: 1.4.2_01
   OUTPUTDIR = /usr/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/X11R6 
   CC_VER = gcc (GCC) 3.3.1 [FreeBSD] Copyright (C) 2003 Free Software Foundation, Inc. This is free software; see the source for copying conditions.  There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 
   PATH = /usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/X11R6/bin:/home/glenn/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 = 5.1-CURRENT 
   TRUE_PLATFORM = FreeBSD (5.x CURRENT way)
   FREE_SPACE = 122720604 

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

Target Build Versions:
   JDK_VERSION = 1.4.1 
   MILESTONE = p4-pre1 
   BUILD_NUMBER = root_15_sep_2003_15_49 
   BUNDLE_DATE = 15_sep_2003 

External File/Binary Locations:
   HOTSPOT_SERVER_PATH = /usr/ports/java/jdk14/work/control/build/bsd-i586/hotspot-i586/server 
   HOTSPOT_CLIENT_PATH = /usr/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/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.
(cd  ./../build/bsd-i586/hotspot-i586/tmp; \
  gmake -f /usr/ports/java/jdk14/work/hotspot/build/bsd/Makefile product \
	HOTSPOT_BUILD_VERSION=1.4.1-p4-pre1-root_15_sep_2003_15_49  GAMMADIR=/usr/ports/java/jdk14/work/hotspot ; )
.
.
.
------------------[snip]---------------------------------
.
.
.
gmake[4]: Entering directory 
`/usr/ports/java/jdk14/work/j2se/make/sun/javac'
>>>Recursively making sources all @ Mon Sep 15 15:50:41 CDT 2003 ...
gmake[5]: Entering directory `/usr/ports/java/jdk14/work/j2se/make/sun/javac/sources'
/usr/ports/java/jdk14/work/control/build/bsd-i586/bin/java -classpath ../../../tools/strip StripProperties < ../../../../src/share/javac/com/sun/tools/javac/v8/resources/javac.properties > /usr/ports/java/jdk14/work/control/build/bsd-i586/gensrc/com/sun/tools/javac/v8/resources/javac.properties
Bus error (core dumped)
gmake[5]: *** [/usr/ports/java/jdk14/work/control/build/bsd-i586/gensrc/com/sun/tools/javac/v8/resources/javac.properties] Error 138
gmake[5]: Leaving directory `/usr/ports/java/jdk14/work/j2se/make/sun/javac/sources'
gmake[4]: *** [all] Error 1
gmake[4]: Leaving directory `/usr/ports/java/jdk14/work/j2se/make/sun/javac'
gmake[3]: *** [all] Error 2
gmake[3]: Leaving directory `/usr/ports/java/jdk14/work/j2se/make/java/javac'
gmake[2]: *** [all] Error 1
gmake[2]: Leaving directory `/usr/ports/java/jdk14/work/j2se/make/java'
gmake[1]: *** [all] Error 1
gmake[1]: Leaving directory `/usr/ports/java/jdk14/work/j2se/make'
gmake: *** [j2se-build] Error 2
*** Error code 2

Stop in /usr/ports/java/jdk14.

Please include me in the cc field as I am not subscribed to the java 
list.

Thanks.

-- 
Glenn Johnson
glennpj at charter.net


More information about the freebsd-java mailing list