Date: Sat, 8 Feb 2003 11:44:30 +0300 From: Lev Serebryakov <lev@serebryakov.spb.ru> To: freebsd-java@FreeBSD.ORG Subject: j2se 1.4.1: FAILURE Message-ID: <4641307796.20030208114430@serebryakov.spb.ru>
next in thread | raw e-mail | index | archive | help
Hello, freebsd-java! How are you? Could not compile 1.4.1 on 5.0-RELEASE (from 5.0 CD). I'm trying to compile with Linux SUN JDK (not IBM or blackdown ones). I've try to build exactly as decrived in BUIL file. Patch was applied without any problem. Lines 61 and 62 of /usr/include/sys/resource.h is struct's fields of type `timeval' Here is log of `gmake', run SECOND time (so, here is only diagnostic information & error): >============================================ Script started on Sat Feb 8 11:01:05 2003 freebsd# gmake bsd i386 1.4.1-p2 build started: 03-02-08 11:01 gmake[1]: Entering directory `/usr/local/jbuild/j2se/make' gmake[1]: Leaving directory `/usr/local/jbuild/j2se/make' if [ -r ./../../patch/make/Makefile ]; then \ ( cd ./../../patch/make; gmake sanity MAKEFLAGS= EXTERNALSANITYCONTROL=true CONTROL_TOPDIR=/usr/local/jbuild/control CONTROL_TOPDIR_NAME=control ALT_J2SE_TOPDIR=./../../j2se ALT_OUTPUTDIR=/usr/local/jbuild/control/build/bsd-i386 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/local/jbuild/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: 1.4.1_01 OUTPUTDIR = /usr/local/jbuild/control/build/bsd-i386 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.2.1 [FreeBSD] 20021119 (release) Copyright (C) 2002 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 = /sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin:/usr/X11R6/bin:/root/bin Build Directives: USE_ONLY_BOOTDIR_TOOLS = USE_HOTSPOT_INTERPRETER_MODE = PEDANTIC = DEV_ONLY = YES J2RE_ONLY = NO_DOCS = 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.0-RELEASE TRUE_PLATFORM = FreeBSD (5.x CURRENT way) FREE_SPACE = 5345876 GNU Make Settings: MAKE = gmake MAKE VERSION = MAKECMDGOALS = sanity MAKEFLAGS = SHELL = /bin/sh Target Build Versions: JDK_VERSION = 1.4.1 MILESTONE = p2 BUILD_NUMBER = root_08_feb_2003_11_01 BUNDLE_DATE = 08_feb_2003 External File/Binary Locations: HOTSPOT_SERVER_PATH = /usr/local/jbuild/control/build/bsd-i386/hotspot-i386/server HOTSPOT_CLIENT_PATH = /usr/local/jbuild/control/build/bsd-i386/hotspot-i386/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 DEV_ONLY defined. This will result in a development-only build of the J2SE workspace, lacking the documentation build and installation bundles. 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-i386/hotspot-i386/tmp; \ gmake -f /usr/local/jbuild/hotspot/build/bsd/Makefile product \ HOTSPOT_BUILD_VERSION=1.4.1-p2-root_08_feb_2003_11_01 GAMMADIR=/usr/local/jbuild/hotspot ; ) gmake[1]: Entering directory `/usr/local/jbuild/control/build/bsd-i386/hotspot-i386/tmp' (cd bsd_i486_compiler2/product; gmake) gmake[2]: Entering directory `/usr/local/jbuild/control/build/bsd-i386/hotspot-i386/tmp/bsd_i486_compiler2/product' gmake[3]: Entering directory `/usr/local/jbuild/control/build/bsd-i386/hotspot-i386/tmp/bsd_i486_compiler2/product' ../generated/adfiles/adlc -q -T ../generated/adfiles/bsd_i486.ad -c../generated/adfiles/mktmp66206/ad_i486.cpp -h../generated/adfiles/mktmp66206/ad_i486.hpp -a../generated/adfiles/mktmp66206/dfa_i486.cpp -v../generated/adfiles/mktmp66206/adGlobals_i486.hpp Rescanned ../generated/adfiles/bsd_i486.ad but encountered no changes. gmake[3]: Leaving directory `/usr/local/jbuild/control/build/bsd-i386/hotspot-i386/tmp/bsd_i486_compiler2/product' gmake[3]: Entering directory `/usr/local/jbuild/control/build/bsd-i386/hotspot-i386/tmp/bsd_i486_compiler2/product' gmake[3]: Nothing to be done for `default'. gmake[3]: Leaving directory `/usr/local/jbuild/control/build/bsd-i386/hotspot-i386/tmp/bsd_i486_compiler2/product' All done. gmake[2]: Leaving directory `/usr/local/jbuild/control/build/bsd-i386/hotspot-i386/tmp/bsd_i486_compiler2/product' gmake[1]: Leaving directory `/usr/local/jbuild/control/build/bsd-i386/hotspot-i386/tmp' /bin/cp ./../build/bsd-i386/hotspot-i386/tmp/bsd_i486_compiler2/product/libjvm.so /usr/local/jbuild/control/build/bsd-i386/hotspot-i386/server/libjvm.so (cd ./../build/bsd-i386/hotspot-i386/tmp; \ gmake -f /usr/local/jbuild/hotspot/build/bsd/Makefile jvmg \ HOTSPOT_BUILD_VERSION=1.4.1-p2-root_08_feb_2003_11_01 GAMMADIR=/usr/local/jbuild/hotspot ; ) gmake[1]: Entering directory `/usr/local/jbuild/control/build/bsd-i386/hotspot-i386/tmp' (cd bsd_i486_compiler2/jvmg; gmake) gmake[2]: Entering directory `/usr/local/jbuild/control/build/bsd-i386/hotspot-i386/tmp/bsd_i486_compiler2/jvmg' gmake[3]: Entering directory `/usr/local/jbuild/control/build/bsd-i386/hotspot-i386/tmp/bsd_i486_compiler2/jvmg' ../generated/adfiles/adlc -q -T ../generated/adfiles/bsd_i486.ad -c../generated/adfiles/mktmp66266/ad_i486.cpp -h../generated/adfiles/mktmp66266/ad_i486.hpp -a../generated/adfiles/mktmp66266/dfa_i486.cpp -v../generated/adfiles/mktmp66266/adGlobals_i486.hpp Rescanned ../generated/adfiles/bsd_i486.ad but encountered no changes. gmake[3]: Leaving directory `/usr/local/jbuild/control/build/bsd-i386/hotspot-i386/tmp/bsd_i486_compiler2/jvmg' gmake[3]: Entering directory `/usr/local/jbuild/control/build/bsd-i386/hotspot-i386/tmp/bsd_i486_compiler2/jvmg' gmake[3]: Nothing to be done for `default'. gmake[3]: Leaving directory `/usr/local/jbuild/control/build/bsd-i386/hotspot-i386/tmp/bsd_i486_compiler2/jvmg' All done. gmake[2]: Leaving directory `/usr/local/jbuild/control/build/bsd-i386/hotspot-i386/tmp/bsd_i486_compiler2/jvmg' gmake[1]: Leaving directory `/usr/local/jbuild/control/build/bsd-i386/hotspot-i386/tmp' /bin/cp ./../build/bsd-i386/hotspot-i386/tmp/bsd_i486_compiler2/jvmg/libjvm_g.so /usr/local/jbuild/control/build/bsd-i386/hotspot-i386/server/libjvm_g.so rm -f -f /usr/local/jbuild/control/build/bsd-i386/hotspot-i386/server/Xusage.txt /usr/bin/sed 's/\(separated by \)[;:]/\1:/g' < \ ./../../hotspot/src/share/vm/Xusage.txt > /usr/local/jbuild/control/build/bsd-i386/hotspot-i386/server/Xusage.txt (cd ./../build/bsd-i386/hotspot-i386/tmp; \ gmake -f /usr/local/jbuild/hotspot/build/bsd/Makefile product1 \ HOTSPOT_BUILD_VERSION=1.4.1-p2-root_08_feb_2003_11_01 GAMMADIR=/usr/local/jbuild/hotspot ; ) gmake[1]: Entering directory `/usr/local/jbuild/control/build/bsd-i386/hotspot-i386/tmp' (cd bsd_i486_compiler1/product; gmake) gmake[2]: Entering directory `/usr/local/jbuild/control/build/bsd-i386/hotspot-i386/tmp/bsd_i486_compiler1/product' gmake[3]: Entering directory `/usr/local/jbuild/control/build/bsd-i386/hotspot-i386/tmp/bsd_i486_compiler1/product' gmake[3]: Nothing to be done for `default'. gmake[3]: Leaving directory `/usr/local/jbuild/control/build/bsd-i386/hotspot-i386/tmp/bsd_i486_compiler1/product' All done. gmake[2]: Leaving directory `/usr/local/jbuild/control/build/bsd-i386/hotspot-i386/tmp/bsd_i486_compiler1/product' gmake[1]: Leaving directory `/usr/local/jbuild/control/build/bsd-i386/hotspot-i386/tmp' /bin/cp ./../build/bsd-i386/hotspot-i386/tmp/bsd_i486_compiler1/product/libjvm.so /usr/local/jbuild/control/build/bsd-i386/hotspot-i386/client/libjvm.so (cd ./../build/bsd-i386/hotspot-i386/tmp; \ gmake -f /usr/local/jbuild/hotspot/build/bsd/Makefile jvmg1 \ HOTSPOT_BUILD_VERSION=1.4.1-p2-root_08_feb_2003_11_01 GAMMADIR=/usr/local/jbuild/hotspot ; ) gmake[1]: Entering directory `/usr/local/jbuild/control/build/bsd-i386/hotspot-i386/tmp' (cd bsd_i486_compiler1/jvmg; gmake) gmake[2]: Entering directory `/usr/local/jbuild/control/build/bsd-i386/hotspot-i386/tmp/bsd_i486_compiler1/jvmg' gmake[3]: Entering directory `/usr/local/jbuild/control/build/bsd-i386/hotspot-i386/tmp/bsd_i486_compiler1/jvmg' gmake[3]: Nothing to be done for `default'. gmake[3]: Leaving directory `/usr/local/jbuild/control/build/bsd-i386/hotspot-i386/tmp/bsd_i486_compiler1/jvmg' All done. gmake[2]: Leaving directory `/usr/local/jbuild/control/build/bsd-i386/hotspot-i386/tmp/bsd_i486_compiler1/jvmg' gmake[1]: Leaving directory `/usr/local/jbuild/control/build/bsd-i386/hotspot-i386/tmp' /bin/cp ./../build/bsd-i386/hotspot-i386/tmp/bsd_i486_compiler1/jvmg/libjvm_g.so /usr/local/jbuild/control/build/bsd-i386/hotspot-i386/client/libjvm_g.so if [ -r ./../../generics/make/Makefile ]; then \ ( cd ./../../generics/make; gmake all ALT_J2SE_TOPDIR=./../../j2se ALT_OUTPUTDIR=/usr/local/jbuild/control/build/bsd-i386/generics ); \ fi if [ -r ./../../generics/make/Makefile ]; then \ ( cd ./../../generics/make; gmake verify ALT_J2SE_TOPDIR=./../../j2se ALT_OUTPUTDIR=/usr/local/jbuild/control/build/bsd-i386/generics ; ); \ fi ( cd ./../../j2se/make; gmake sanity all plugin images MAKEFLAGS= EXTERNALSANITYCONTROL=true MILESTONE=p2 BUILD_NUMBER=root_08_feb_2003_11_01 ALT_OUTPUTDIR=/usr/local/jbuild/control/build/bsd-i386 ALT_HOTSPOT_SERVER_PATH=/usr/local/jbuild/control/build/bsd-i386/hotspot-i386/server ALT_HOTSPOT_CLIENT_PATH=/usr/local/jbuild/control/build/bsd-i386/hotspot-i386/client ALT_BUNDLE_DATE=08_feb_2003 ARCH_DATA_MODEL=32 JAVAWS_OPTIONAL=true ; ) gmake[1]: Entering directory `/usr/local/jbuild/j2se/make' bsd i586 1.4.1-p2 build started: 03-02-08 11:02 >>>Recursively making java all @ Sat Feb 8 11:02:50 MSK 2003 ... gmake[2]: Entering directory `/usr/local/jbuild/j2se/make/java' >>>Recursively making hpi all @ Sat Feb 8 11:02:51 MSK 2003 ... gmake[3]: Entering directory `/usr/local/jbuild/j2se/make/java/hpi' >>>Recursively making native all @ Sat Feb 8 11:02:51 MSK 2003 ... gmake[4]: Entering directory `/usr/local/jbuild/j2se/make/java/hpi/native' gmake /usr/local/jbuild/control/build/bsd-i386/lib/i386/native_threads/libhpi.so VARIANT=OPT gmake[5]: Entering directory `/usr/local/jbuild/j2se/make/java/hpi/native' /usr/bin/gcc -fno-strict-aliasing -fPIC -W -Wall -Wno-unused -Wno-parentheses -Di586 -DARCH='"i586"' -DRELEASE='"1.4.1-p2"' -DFULL_VERSION='"1.4.1-p2-root_08_feb_2003_11_01"' -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_LITTLE_ENDIAN -I. -I/usr/local/jbuild/control/build/bsd-i386/tmp/java/hpi/native_threads/CClassHeaders -I../../../../src/solaris/javavm/export -I../../../../src/share/javavm/export -I../../../../src/share/javavm/include -I../../../../src/solaris/javavm/include -I../../../../src/solaris/hpi/native_threads/include -I../../../../src/solaris/hpi/include -I../../../../src/solaris/hpi/export -I../../../../src/share/hpi/include -I../../../../src/share/hpi/export -D_REENTRANT -DNATIVE -DUSE_PTHREADS -DMOOT_PRIORITIES -DHAVE_FILIOH -c -o /usr/local/jbuild/control/build/bsd-i386/tmp/java/hpi/native_threads/obj/threads_md.o ../../../../src/solaris/hpi/native_threads/src/threads_md.c In file included from ../../../../src/solaris/hpi/native_threads/src/threads_md.c:24: /usr/include/sys/resource.h:61: field `ru_utime' has incomplete type /usr/include/sys/resource.h:62: field `ru_stime' has incomplete type gmake[5]: *** [/usr/local/jbuild/control/build/bsd-i386/tmp/java/hpi/native_threads/obj/threads_md.o] Error 1 gmake[5]: Leaving directory `/usr/local/jbuild/j2se/make/java/hpi/native' gmake[4]: *** [optimized] Error 2 gmake[4]: Leaving directory `/usr/local/jbuild/j2se/make/java/hpi/native' gmake[3]: *** [all] Error 1 gmake[3]: Leaving directory `/usr/local/jbuild/j2se/make/java/hpi' gmake[2]: *** [all] Error 1 gmake[2]: Leaving directory `/usr/local/jbuild/j2se/make/java' gmake[1]: *** [all] Error 1 gmake[1]: Leaving directory `/usr/local/jbuild/j2se/make' gmake: *** [j2se-build] Error 2 freebsd# >============================================ Lev Serebryakov /-----------------------------------------------\ | FIDONet: 2:5030/661.0 | | E-Mail: lev@serebryakov.spb.ru | | Page: http://lev.serebryakov.spb.ru/ | | ICQ UIN: 3670018 | | Phone: You know, if you have world nodelist | \===============================================/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4641307796.20030208114430>