Hi folks,

I'm having real difficulties installing JDK1.6 from the latest ports
tree - please could anyone advise what's going wrong and the best way I
can go about fixing it?

Many thanks,

Philip.

FreeBSD 7.0-RELEASE FreeBSD 7.0-RELEASE #0: Sat Mar 29 13:53:08 UTC 2008

===> Applying FreeBSD patches for jdk-1.6.0.3p4_1
===> jdk-1.6.0.3p4_1 depends on executable: zip - found
===> jdk-1.6.0.3p4_1 depends on executable: unzip - found
===> jdk-1.6.0.3p4_1 depends on file: /usr/local/lib/libXm.so - found
===> jdk-1.6.0.3p4_1 depends on file: /usr/local/include/cups/cups.h -
found
===> jdk-1.6.0.3p4_1 depends on file:
/usr/local/diablo-jdk1.5.0/bin/javac - found
===> jdk-1.6.0.3p4_1 depends on executable: gmake - found
===> jdk-1.6.0.3p4_1 depends on file:
/usr/local/libdata/pkgconfig/x11.pc - found
===> jdk-1.6.0.3p4_1 depends on file:
/usr/local/libdata/pkgconfig/xext.pc - found
===> jdk-1.6.0.3p4_1 depends on file:
/usr/local/libdata/pkgconfig/xi.pc - found
===> jdk-1.6.0.3p4_1 depends on file:
/usr/local/libdata/pkgconfig/xtst.pc - found
===> jdk-1.6.0.3p4_1 depends on executable: pkg-config - found
===> jdk-1.6.0.3p4_1 depends on executable: update-desktop-database -
found
===> jdk-1.6.0.3p4_1 depends on shared library: iconv.3 - found
===> jdk-1.6.0.3p4_1 depends on shared library: glib-2.0.0 - found
===> Configuring for jdk-1.6.0.3p4_1
===> Building for jdk-1.6.0.3p4_1
# Start of jdk build
bsd i586 1.6.0_03-p4 build started: 08-05-14 17:33
[: /libexec/ld-elf: bad number
[: /libexec/ld-elf: bad number
gmake[1]: Entering directory `/usr/ports/java/jdk16/work/deploy/make'
gmake[1]: Leaving directory `/usr/ports/java/jdk16/work/deploy/make'
[: /libexec/ld-elf: bad number
[: /libexec/ld-elf: bad number
gmake[1]: Entering directory `/usr/ports/java/jdk16/work/j2se/make'
[: so: bad number
echo "WARNING: Importing CUPS from a system location \n" \
"" >>
/usr/ports/java/jdk16/work/control/build/bsd-i586/sanityCheckWarnings.txt
gmake[1]: Leaving directory `/usr/ports/java/jdk16/work/j2se/make'
gmake[1]: Entering directory `/usr/ports/java/jdk16/work/install/make'
gmake[1]: Leaving directory `/usr/ports/java/jdk16/work/install/make'

Build Machine Information:
build machine =

Build Directory Structure:
CWD = /usr/ports/java/jdk16/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_J2SE = true
BUILD_DEPLOY = true
BUILD_INSTALL = true

Hotspot Settings: \n HOTSPOT_BUILD_JOBS = \n
HOTSPOT_OUTPUTDIR =
/usr/ports/java/jdk16/work/control/build/bsd-i586/hotspot/outputdir \n
HOTSPOT_EXPORT_PATH =
/usr/ports/java/jdk16/work/control/build/bsd-i586/hotspot/import \n \n

\nBootstrap Settings:\n BOOTDIR = /usr/local/diablo-jdk1.5.0\n
ALT_BOOTDIR = /usr/local/diablo-jdk1.5.0\n BOOT_VER =
/libexec/ld-elf.so.1: /usr/local/lib/compat/libpthread.so.2: Undefined
symbol __malloc_lock [requires at least 1.5]\n OUTPUTDIR =
/usr/ports/java/jdk16/work/control/build/bsd-i586\n ALT_OUTPUTDIR =
/usr/ports/java/jdk16/work/control/build/bsd-i586\n ABS_OUTPUTDIR =
/usr/ports/java/jdk16/work/control/build/bsd-i586\n \nBuild Tool
Settings:\n SLASH_JAVA = /java\n ALT_SLASH_JAVA = \n VARIANT =
OPT\n JDK_DEVTOOLS_DIR = /java/devtools\n ALT_JDK_DEVTOOLS_DIR = \n
UNIXCOMMAND_PATH = /bin/\n ALT_UNIXCOMMAND_PATH = \n COMPILER_PATH =
/usr/bin/\n ALT_COMPILER_PATH = \n DEVTOOLS_PATH = /usr/local/\n
ALT_DEVTOOLS_PATH = /usr/local\n MOTIF_DIR = /usr/local\n
ALT_MOTIF_DIR = /usr/local\n COMPILER_NAME = GCC\n COMPILER_VERSION =
\n CC_VER = 4.2 [requires at least 3.3]\n ZIP_VER = 2.32 [requires at
least 2.2]\n UNZIP_VER = 5.52 [requires at least 5.12]\n PATH =
/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin:/root/bin\n
TEMPDIR = /usr/ports/java/jdk16/work/control/build/bsd-i586/tmp\n
\nBuild Directives:\n USE_ONLY_BOOTDIR_TOOLS = \n
USE_HOTSPOT_INTERPRETER_MODE = \n PEDANTIC = \n DEV_ONLY = \n
J2RE_ONLY = \n NO_DOCS = \n NO_IMAGES = \n TOOLS_ONLY = \n INSANE =
\n PARALLEL_COMPILES = true\n PARALLEL_COMPILE_JOBS = 2\n
ALT_PARALLEL_COMPILE_JOBS = \n FASTDEBUG = \n COMPILER_WARNINGS_FATAL
= false\n COMPILER_WARNING_LEVEL = \n INCREMENTAL_BUILD = false\n
CC_HIGHEST_OPT = \n CC_HIGHER_OPT = \n CC_LOWER_OPT = \n CXXFLAGS
= -fPIC -DCC_NOEX -W -Wall -Wno-unused -Wno-parentheses \n CFLAGS
= -fno-strict-aliasing -fPIC -W -Wall -Wno-unused -Wno-parentheses
\n JAVA_BOOT = /usr/local/diablo-jdk1.5.0/bin/java -client -Xmx512m
-Xms256m\n JAVAC_BOOT = /usr/local/diablo-jdk1.5.0/bin/javac
-J-XX:ThreadStackSize=768 -J-client -J-Xmx512m -J-Xms256m
-J-Xbootclasspath/p:./../make/sun/javac/javac/gjc.jar -target 5\n
JAR_BOOT = /usr/local/diablo-jdk1.5.0/bin/jar\n JAVAH_BOOT =
/usr/local/diablo-jdk1.5.0/bin/javah -J-XX:ThreadStackSize=768 -J-client
-J-Xmx512m -J-Xms256m
-J-Xbootclasspath/p:./../make/sun/javac/javac/gjc.jar\n JAVA =
/usr/ports/java/jdk16/work/control/build/bsd-i586/bin/java -client
-Xmx512m -Xms256m\n JAVAC =
/usr/ports/java/jdk16/work/control/build/bsd-i586/bin/javac
-J-XX:ThreadStackSize=768 -J-client -J-Xmx512m -J-Xms256m\n JAR =
/usr/ports/java/jdk16/work/control/build/bsd-i586/bin/jar\n JAVAH = \n
\nBuild Platform Settings:\n USER = philip\n PLATFORM = bsd\n ARCH =
i586\n LIBARCH = i386\n ARCH_FAMILY = i586\n ARCH_DATA_MODEL = 32\n
ARCHPROP = i386\n OS_VERSION = 7.0-RELEASE [requires at least 6.0]\n
OS_NAME = freebsd\n TEMP_FREE_SPACE = 1015260\n FREE_SPACE =
216996716\n MB_OF_MEMORY = 1011\n \nGNU Make Settings:\n MAKE =
gmake\n MAKE_VER = 3.81 [requires at least 3.78]\n MAKECMDGOALS =
sanity\n MAKEFLAGS = w -- ARCH_DATA_MODEL=32 BUILD_MOTIF=false
BUILD_HOTSPOT=true
ALT_HOTSPOT_IMPORT_PATH=/usr/ports/java/jdk16/work/control/build/bsd-i586/hotspot/import
ALT_OUTPUTDIR=/usr/ports/java/jdk16/work/control/build/bsd-i586
FULL_VERSION=1.6.0_03-p4-philip_14_may_2008_17_33-b00
JDK_BUILD_NUMBER=b00 BUILD_NUMBER=b00 MILESTONE=p4
EXTERNALSANITYCONTROL=true HOTSPOT_IMPORT_CHECK=false\n SHELL =
/bin/sh\n \nTarget Build Versions:\n JDK_VERSION = 1.6.0_03\n
MILESTONE = p4\n RELEASE = 1.6.0_03-p4\n FULL_VERSION =
1.6.0_03-p4-philip_14_may_2008_17_33-b00\n BUILD_NUMBER = b00\n
\nExternal File/Binary Locations:\n USRJDKINSTANCES_PATH = /usr/local\n
JDK_IMPORT_PATH =
/java/re/j2se/1.6.0_03/promoted/latest/binaries/bsd-i586\n
ALT_JDK_IMPORT_PATH = \n HOTSPOT_DOCS_IMPORT_PATH = /NO_DOCS_DIR\n
ALT_HOTSPOT_DOCS_IMPORT_PATH = \n HOTSPOT_IMPORT_PATH =
/usr/ports/java/jdk16/work/control/build/bsd-i586/hotspot/import\n
ALT_HOTSPOT_IMPORT_PATH =
/usr/ports/java/jdk16/work/control/build/bsd-i586/hotspot/import\n
HOTSPOT_CLIENT_PATH =
/usr/ports/java/jdk16/work/control/build/bsd-i586/hotspot/import/jre/lib/i386/client\n
ALT_HOTSPOT_CLIENT_PATH = \n HOTSPOT_SERVER_PATH =
/usr/ports/java/jdk16/work/control/build/bsd-i586/hotspot/import/jre/lib/i386/server\n
ALT_HOTSPOT_SERVER_PATH = \n CACERTS_FILE =
../../src/share/lib/security/cacerts\n ALT_CACERTS_FILE = \n
MOZILLA_HEADERS_PATH = /src/plugin/share/plugin\n
ALT_MOZILLA_HEADERS_PATH = \n CUPS_HEADERS_PATH = /usr/local/include\n
ALT_CUPS_HEADERS_PATH = \n \nPrevious JDK Settings:\n
PREVIOUS_RELEASE_PATH =
/java/re/j2se/1.5.0/archive/fcs/bundles/bsd-i586\n
ALT_PREVIOUS_RELEASE_PATH = \n PREVIOUS_JDK_VERSION = 1.5.0\n
ALT_PREVIOUS_JDK_VERSION = \n PREVIOUS_JDK_FILE =
jdk-1_5_0-bsd-i586.tar.gz\n ALT_PREVIOUS_JDK_FILE = \n
PREVIOUS_JRE_FILE = jdk-1_5_0-bsd-i586.tar.gz\n ALT_PREVIOUS_JRE_FILE
= \n

No setting required for Unix Systems
WARNING: The official bsd builds use OS version 6.0. \n You
appear to be using OS version 7.0-RELEASE. \n
WARNING: The bsd compiler must be version 3.3 \n Specifically the
GCC compiler. \n You appear to be using compiler version: 4.2 \n
The compiler was obtained from the following location: \n
/usr/bin/ \n Please change your compiler. \n
WARNING: The official bsd builds use OS version 6.0. \n You
appear to be using OS version 7.0-RELEASE. \n
WARNING: The directory HOTSPOT_DOCS_IMPORT_PATH=/NO_DOCS_DIR \n
does not exist, check your value of ALT_HOTSPOT_DOCS_IMPORT_PATH. \n
WARNING: The bsd compiler must be version 3.3 \n Specifically the
GCC compiler. \n You appear to be using compiler version: 4.2 \n
The compiler was obtained from the following location: \n
/usr/bin/ \n Please change your compiler. \n
WARNING: Importing CUPS from a system location \n
Sanity check passed.
mkdir -p
/usr/ports/java/jdk16/work/control/build/bsd-i586/hotspot/outputdir
mkdir -p
/usr/ports/java/jdk16/work/control/build/bsd-i586/hotspot/import
cd ../../hotspot/make ; \
gmake ALT_SLASH_JAVA=/java ARCH_DATA_MODEL=32
ALT_OUTPUTDIR=/usr/ports/java/jdk16/work/control/build/bsd-i586/hotspot/outputdir
ALT_EXPORT_PATH=/usr/ports/java/jdk16/work/control/build/bsd-i586/hotspot/import
PREVIOUS_JDK_VERSION=1.5.0 ALT_BOOTDIR=/usr/local/diablo-jdk1.5.0
FULL_VERSION="1.6.0_03-p4-philip_14_may_2008_17_33-b00"
JDK_VERSION=1.6.0_03 COOKED_JDK_UPDATE_VERSION=30 COOKED_BUILD_NUMBER=0
JDK_MKTG_VERSION=6u3 JDK_MAJOR_VERSION=1 JDK_MINOR_VERSION=6
JDK_MICRO_VERSION=0 all_product
gmake[1]: Entering directory `/usr/ports/java/jdk16/work/hotspot/make'
gmake VM_TARGET=product generic_build2
gmake[2]: Entering directory `/usr/ports/java/jdk16/work/hotspot/make'
mkdir -p
/usr/ports/java/jdk16/work/control/build/bsd-i586/hotspot/outputdir
cd /usr/ports/java/jdk16/work/control/build/bsd-i586/hotspot/outputdir;
\
gmake -f
/usr/ports/java/jdk16/work/hotspot/build/bsd/Makefile \

HOTSPOT_BUILD_VERSION=1.6.0_03-p4-philip_14_may_2008_17_33-b00
JAVA_HOME=/usr/local/diablo-jdk1.5.0
GAMMADIR=/usr/ports/java/jdk16/work/hotspot MAKE_VERBOSE=y product
gmake[3]: Entering directory
`/usr/ports/java/jdk16/work/control/build/bsd-i586/hotspot/outputdir'
gmake -f /usr/ports/java/jdk16/work/hotspot/build/bsd/Makefile checks
gmake[4]: Entering directory
`/usr/ports/java/jdk16/work/control/build/bsd-i586/hotspot/outputdir'
/usr/local/diablo-jdk1.5.0/bin/javap
javax.xml.transform.TransformerFactory > /dev/null 2>&1; \
if [ $? -ne 0 ]; then \
/usr/local/diablo-jdk1.5.0/bin/java -version; \
echo "*** An XSLT processor (J2SE 1.4.x or newer) is required"
\
"to bootstrap this build" 1>&2; \
exit 1; \
fi
/libexec/ld-elf.so.1: /usr/local/lib/compat/libpthread.so.2: Undefined
symbol "__malloc_lock"
*** An XSLT processor (J2SE 1.4.x or newer) is required to bootstrap
this build
gmake[4]: *** [check_j2se_version] Error 1
gmake[4]: Leaving directory
`/usr/ports/java/jdk16/work/control/build/bsd-i586/hotspot/outputdir'
gmake[3]: *** [bsd_i486_compiler2/debug] Error 2
gmake[3]: Leaving directory
`/usr/ports/java/jdk16/work/control/build/bsd-i586/hotspot/outputdir'
gmake[2]: *** [generic_build2] Error 2
gmake[2]: Leaving directory `/usr/ports/java/jdk16/work/hotspot/make'
gmake[1]: *** [product] Error 2
gmake[1]: Leaving directory `/usr/ports/java/jdk16/work/hotspot/make'
gmake: *** [hotspot-build] Error 2
*** Error code 2

Stop in /usr/ports/java/jdk16.
*** Error code 1

Stop in /usr/ports/java/jdk16.

_______________________________________________
freebsd-java@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-java
To unsubscribe, send any mail to "freebsd-java-unsubscribe@freebsd.org"