|
FreeBSD Ports and Packages Installation and upgrading of ports and packages on FreeBSD. |
|
Thread Tools | Display Modes |
|
|
|||
Problem instaling java (jdk16)
Hi everyone,
I started to install java 6 on my freebsd 7 machine and after a couple of times of compiling, the jdk16 crashed. I tried to 'make install clean' again and here's what display gives me: make install clean ===> Building for jdk-1.6.0.3p4_2 # Start of jdk build bsd i586 1.6.0_03-p4 build started: 08-06-20 10:54 gmake[1]: Entering directory `/usr/ports/java/jdk16/work/deploy/make' gmake[1]: Leaving directory `/usr/ports/java/jdk16/work/deploy/make' gmake[1]: Entering directory `/usr/ports/java/jdk16/work/j2se/make' 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 = 1.5 [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 -Xmx256m -Xms128m\n JAVAC_BOOT = /usr/local/diablo-jdk1.5.0/bin/javac -J-XX:ThreadStackSize=768 -J-client -J-Xmx256m -J-Xms128m -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-Xmx256m -J-Xms128m -J-Xbootclasspath/p:./../make/sun/javac/javac/gjc.jar\n JAVA = /usr/ports/java/jdk16/work/control/build/bsd-i586/bin/java -client -Xmx256m -Xms128m\n JAVAC = /usr/ports/java/jdk16/work/control/build/bsd-i586/bin/javac -J-XX:ThreadStackSize=768 -J-client -J-Xmx256m -J-Xms128m\n JAR = /usr/ports/java/jdk16/work/control/build/bsd-i586/bin/jar\n JAVAH = \n \nBuild Platform Settings:\n USER = chris\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 = 72468732\n MB_OF_MEMORY = 211\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-chris_20_jun_2008_10_54-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-chris_20_jun_2008_10_54-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-chris_20_jun_2008_10_54-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-chris_20_jun_2008_10_54-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' cd bsd_i486_compiler2/product && gmake -w gmake[4]: Entering directory `/usr/ports/java/jdk16/work/control/build/bsd-i586/hotspot/outputdir/bsd_i486_compiler2/product' gmake[5]: Entering directory `/usr/ports/java/jdk16/work/control/build/bsd-i586/hotspot/outputdir/bsd_i486_compiler2/product' [ -f adlc_updater ] || ( cp /usr/ports/java/jdk16/work/hotspot/build/bsd/adlc_updater . ; chmod +x adlc_updater ) ../generated/adfiles/adlc -q -T ../generated/adfiles/bsd_i486.ad \ -c../generated/adfiles/mktmp21753/ad_i486.cpp -h../generated/adfiles/mktmp21753/ad_i486.hpp -a../generated/adfiles/mktmp21753/dfa_i486.cpp -v../generated/adfiles/mktmp21753/adGlobals_i486.hpp \ || { rm -rf ../generated/adfiles/mktmp21753; exit 1; } ./adlc_updater ad_i486.cpp ../generated/adfiles/mktmp21753 ../generated/adfiles ./adlc_updater ad_i486.hpp ../generated/adfiles/mktmp21753 ../generated/adfiles ./adlc_updater ad_i486_clone.cpp ../generated/adfiles/mktmp21753 ../generated/adfiles ./adlc_updater ad_i486_expand.cpp ../generated/adfiles/mktmp21753 ../generated/adfiles ./adlc_updater ad_i486_format.cpp ../generated/adfiles/mktmp21753 ../generated/adfiles ./adlc_updater ad_i486_gen.cpp ../generated/adfiles/mktmp21753 ../generated/adfiles ./adlc_updater ad_i486_misc.cpp ../generated/adfiles/mktmp21753 ../generated/adfiles ./adlc_updater ad_i486_peephole.cpp ../generated/adfiles/mktmp21753 ../generated/adfiles ./adlc_updater ad_i486_pipeline.cpp ../generated/adfiles/mktmp21753 ../generated/adfiles ./adlc_updater adGlobals_i486.hpp ../generated/adfiles/mktmp21753 ../generated/adfiles ./adlc_updater dfa_i486.cpp ../generated/adfiles/mktmp21753 ../generated/adfiles [ -f ../generated/adfiles/mktmp21753/made-change ] \ || echo "Rescanned ../generated/adfiles/bsd_i486.ad but encountered no changes." Rescanned ../generated/adfiles/bsd_i486.ad but encountered no changes. rm -rf ../generated/adfiles/mktmp21753 gmake[5]: Leaving directory `/usr/ports/java/jdk16/work/control/build/bsd-i586/hotspot/outputdir/bsd_i486_compiler2/product' gmake[5]: Entering directory `/usr/ports/java/jdk16/work/control/build/bsd-i586/hotspot/outputdir/bsd_i486_compiler2/product' gmake[5]: Nothing to be done for `all'. gmake[5]: Leaving directory `/usr/ports/java/jdk16/work/control/build/bsd-i586/hotspot/outputdir/bsd_i486_compiler2/product' gmake[5]: Entering directory `/usr/ports/java/jdk16/work/control/build/bsd-i586/hotspot/outputdir/bsd_i486_compiler2/product' if [ -d /usr/ports/java/jdk16/work/hotspot/agent -a "i486" != "ia64" ] ; then \ gmake -f sa.make ../generated/sa-jdi.jar; \ fi gmake[6]: Entering directory `/usr/ports/java/jdk16/work/control/build/bsd-i586/hotspot/outputdir/bsd_i486_compiler2/product' gmake[6]: `../generated/sa-jdi.jar' is up to date. gmake[6]: Leaving directory `/usr/ports/java/jdk16/work/control/build/bsd-i586/hotspot/outputdir/bsd_i486_compiler2/product' gmake[5]: Leaving directory `/usr/ports/java/jdk16/work/control/build/bsd-i586/hotspot/outputdir/bsd_i486_compiler2/product' gmake[5]: Entering directory `/usr/ports/java/jdk16/work/control/build/bsd-i586/hotspot/outputdir/bsd_i486_compiler2/product' gmake[5]: `incls/_precompiled.incl.gch' is up to date. gmake[5]: Leaving directory `/usr/ports/java/jdk16/work/control/build/bsd-i586/hotspot/outputdir/bsd_i486_compiler2/product' gmake[5]: Entering directory `/usr/ports/java/jdk16/work/control/build/bsd-i586/hotspot/outputdir/bsd_i486_compiler2/product' { \ echo Linking launcher...; \ \ gcc -m32 -march=i586 -Xlinker -O1 -m32 -march=i586 -export-dynamic -L`pwd` -o gamma launcher.o -ljvm -lm -pthread; \ \ } Linking launcher... /usr/ports/java/jdk16/work/control/build/bsd-i586/hotspot/outputdir/bsd_i486_compiler2/product/libjvm.so: file not recognized: File truncated gmake[5]: *** [gamma] Error 1 gmake[5]: Leaving directory `/usr/ports/java/jdk16/work/control/build/bsd-i586/hotspot/outputdir/bsd_i486_compiler2/product' gmake[4]: *** [the_vm] Error 2 gmake[4]: Leaving directory `/usr/ports/java/jdk16/work/control/build/bsd-i586/hotspot/outputdir/bsd_i486_compiler2/product' gmake[3]: *** [product] 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. Does someone could help me to solve my problem? Thanks, mr. Bungle |
|
|||
Quote:
|
|
|||
Hi Carpetsmoker and erno,
Quote:
So, if you have other suggestions, they are welcome. Thanks Last edited by mrbungle; 26th June 2008 at 05:48 PM. |
Thread Tools | |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
difference between jdk16 and diablo 1.6 | cuongvt | FreeBSD Ports and Packages | 8 | 16th October 2008 12:17 AM |
JDK16 installation on FreeBSD 7 | fronty | FreeBSD Ports and Packages | 6 | 8th July 2008 03:49 AM |
jdk16 | disappearedng | FreeBSD General | 7 | 5th July 2008 04:16 AM |
diablo15 - JDK16 | lumiwa | FreeBSD Ports and Packages | 4 | 2nd July 2008 11:26 AM |
Instaling Gnome in OpenBSD 4.3 | Ragnar | FreeBSD Ports and Packages | 1 | 21st May 2008 02:21 AM |