Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 06 Sep 2005 13:54:13 +0200
From:      "O. Hartmann" <ohartman@mail.uni-mainz.de>
To:        freebsd-amd64@freebsd.org
Subject:   JDK15: Build error on i386 (FBSD 6.0_BETA3)
Message-ID:  <431D8365.6030805@mail.uni-mainz.de>

next in thread | raw e-mail | index | archive | help
Prior to this message I asked for the availability of JAVA for the AMD64 
plattform of FreeBSD 6.0. I will ask again due to some problems while 
installation and compiling on an i386 plattform under FBSD 6.0-BETA3.

I downloaded each needed archive by hand as I was instructed by the 
installation procedure from the ports collection. I was wondering 
whether I need a working Linux environment. On our lab's i386 machines 
we have Linuxulator enabled by default, on the amd64 platforms it isn't. 
The amd64 boxes are pure 64Bit platforms and the do not have a 64Bit 
Linuxulator under FBSD 6.0, I remember. On those boxes, the installation 
stops immediately due to the lack of the Linux environment.

On i386 boxes I receive the attached error while installation. This is 
really a kind of 'funny', because I got this error very often on all 
FreeBSD boxes (5.X - 6.0). I have no clue why.

It is frustrating to need a 32Bit environment while installation on 
amd64 platforms with no 32Bit support enabled.

Is there something wrong with my environment, my view of things running 
or is there really a problem with JAVA on pure 64Bit machines with FBSD 6.0?

Oliver

===>   Returning to build of jdk-1.5.0p1_3
===>   jdk-1.5.0p1_3 depends on executable: gmake - found
===>  Configuring for jdk-1.5.0p1_3
===>  Building for jdk-1.5.0p1_3
# Start of jdk build
bsd i586 1.5.0-p1 build started: 05-09-06 11:42
gmake[1]: Entering directory `/usr/ports/java/jdk15/work/j2se/make'
gmake[1]: Leaving directory `/usr/ports/java/jdk15/work/j2se/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:
    BOOTDIR = /usr/local/linux-sun-jdk1.4.2
    BOOTSTRAP J2SDK VERSION: Segmentation fault
    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.4
    ZIP_VER = 2.3
    PATH = 
/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin:/usr/X11R6/bin:/usr/local/samba/bin:/usr/local/mysql/bin:/root/bin:/usr/local/scripts/admin:/usr/local/scripts/public:usr/local/gmt/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 = 6.0-BETA3
    FREE_SPACE = 11341540

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

Target Build Versions:
    JDK_VERSION = 1.5.0
    MILESTONE = p1
    BUILD_NUMBER = root_06_sep_2005_11_42
External File/Binary Locations:
    HOTSPOT_SERVER_PATH = 
/usr/ports/java/jdk15/work/control/build/bsd-i586/hotspot-i586/server
    HOTSPOT_CLIENT_PATH = 
/usr/ports/java/jdk15/work/control/build/bsd-i586/hotspot-i586/client
    HOTSPOT_IMPORT_PATH = 
/usr/ports/java/jdk15/work/control/build/bsd-i586/hotspot-i586/import
    MOTIF_DIR = /usr/X11R6
    CACERTS_FILE = ./../src/share/lib/security/cacerts

ERROR: Your BOOTDIR environment variable does not point
        to a valid Java 2 SDK for bootstrapping this build.
        A Java 2 SDK 1.5.0 build must be bootstrapped using
        J2SDK 1.4.2 fcs (or later).
        Apparently, your bootstrap JDK is version Segmentation fault
        Please update your ALT_BOOTDIR setting and start your build again.

Exiting because of the above error(s).

gmake: *** [post-sanity] Error 1
*** Error code 2

Stop in /usr/ports/java/jdk15.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?431D8365.6030805>