| Summary: | Compile of JDK-1.4 under FBSD-5.2.1 fails | ||
|---|---|---|---|
| Product: | Ports & Packages | Reporter: | User1001 <User1001> |
| Component: | Individual Port(s) | Assignee: | Alexey Zelkin <phantom> |
| Status: | Closed FIXED | ||
| Severity: | Affects Only Me | ||
| Priority: | Normal | ||
| Version: | Latest | ||
| Hardware: | Any | ||
| OS: | Any | ||
Responsible Changed From-To: freebsd-ports-bugs->znerd Over to maintainer. Doing a "make clean", "kldload linprocfs", "mount -t linprocfs linprocfs /compat/linux/proc", (as told to by linprocfs warning LATE in the compile process) and another "make" has resulted in a clean compile of java/jdk1.4. Doing multiple "make"s without a "make clean" and the linprocfs commands resulted in a failed compile, but were done as a part of the process in finding out about each prerequisite and correcting that portion of the compile process. The notice about linprocfs did not appear until late in the "make" process, and the message text may need to include a "make clean" step [in other words: 1) make clean, 2) commands to load/mount linprocfs, 3) make]. Perhaps the linprocfs requirement should be forced at the beginning of the overall "make" process so as prereqs are downloaded and compiled as a part of the "make" command, then when linprocfs is needed, it will already be there. State Changed From-To: open->analyzed Analyzed by submitter. Solution: Add better warnings to port? Responsible Changed From-To: znerd->phantom Over to correct maintainer. This is a known issue though and appears to be a problem in the Linux emulation layer rather than anything in the JDK. State Changed From-To: analyzed->closed Build error was the result of not having linprocfs mounted. JDK ports now check for linprocfs before build, and also print a warning message. This PR has been resolved. |
Compilation ends with "2 errors" ===> Building for jdk-1.4.2p6_4 # Start of jdk build bsd i586 1.4.2-p6 build started: 04-04-22 22:21 if [ -r ./../../deploy/make/Makefile ]; then \ ( cd ./../../deploy/make; gmake sanity EXTERNALSANITYCONTROL=true CONTROL_TOPDIR=/usr/ports/java/jdk14/work/control CONTROL_TOPDIR_NAME=control ALT_OUTPUTDIR=/usr/ports/java/jdk14/work/control/build/bsd-i586 ARCH_DATA_MODEL=32 MILESTONE=p6 BUILD_NUMBER=user1001_22_apr_2004_22_21 ; ); \ fi gmake[1]: Entering directory `/usr/ports/java/jdk14/work/deploy/make' gmake[1]: Leaving directory `/usr/ports/java/jdk14/work/deploy/make' gmake[1]: Entering directory `/usr/ports/java/jdk14/work/j2se/make' gmake[1]: Leaving directory `/usr/ports/java/jdk14/work/j2se/make' 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 Hotspot Settings: HOTSPOT_BUILD_JOBS = Bootstrap Settings: JAVAWS_BOOTDIR = /usr/local/linux-sun-jdk1.4.2 BOOTSTRAP J2SDK VERSION: 1.4.2_04 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/ GCC32_COMPILER_PATH = /java/devtools/bsd/gcc3.2/ MOZILLA_PATH = MOZILLA_HEADERS_PATH = MOZILLA_LIBS_PATH = CC_VER = 3.3.3 PATH = /bin:/sbin:/usr/sbin:/usr/bin:/usr/local/bin:/usr/local/sbin:/usr/X11R6/bin:. Build Directives: PEDANTIC = INSANE = Build Platform Settings: PLATFORM = bsd ARCH = i586 LIBARCH = i386 ARCH_FAMILY = i586 ARCH_DATA_MODEL = 32 OS_VERSION = 5.2.1-RELEASE TRUE_PLATFORM = FreeBSD (5.x CURRENT way) FREE_SPACE = 10141396 GNU Make Settings: MAKE = gmake MAKE VERSION = MAKECMDGOALS = sanity MAKEFLAGS = w -- BUILD_NUMBER=user1001_22_apr_2004_22_21 MILESTONE=p6 ARCH_DATA_MODEL=32 ALT_OUTPUTDIR=/usr/ports/java/jdk14/work/control/build/bsd-i586 CONTROL_TOPDIR_NAME=control CONTROL_TOPDIR=/usr/ports/java/jdk14/work/control EXTERNALSANITYCONTROL=true SHELL = /bin/sh Target Build Versions: JAVAWS_VERSION = 1.4.2 MILESTONE = p6 BUILD_NUMBER = user1001_22_apr_2004_22_21 Bootstrap Settings: BOOTDIR = /usr/local/linux-sun-jdk1.4.2 BOOTSTRAP J2SDK VERSION: 1.4.2_04 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 = 3.3.3 ZIP_VER = 2.3 PATH = /bin:/sbin:/usr/sbin:/usr/bin:/usr/local/bin:/usr/local/sbin:/usr/X11R6/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.2.1-RELEASE TRUE_PLATFORM = FreeBSD (5.x CURRENT way) FREE_SPACE = 10141396 GNU Make Settings: MAKE = gmake MAKE VERSION = MAKECMDGOALS = sanity MAKEFLAGS = SHELL = /bin/sh Target Build Versions: JDK_VERSION = 1.4.2 MILESTONE = p6 BUILD_NUMBER = user1001_22_apr_2004_22_21 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 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. 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.2-p6-user1001_22_apr_2004_22_21 GAMMADIR=/usr/ports/java/jdk14/work/hotspot ; ) gmake[1]: Entering directory `/usr/ports/java/jdk14/work/control/build/bsd-i586/hotspot-i586/tmp' (cd bsd_i486_compiler2/product; gmake) gmake[2]: Entering directory `/usr/ports/java/jdk14/work/control/build/bsd-i586/hotspot-i586/tmp/bsd_i486_compiler2/product' gmake[3]: Entering directory `/usr/ports/java/jdk14/work/control/build/bsd-i586/hotspot-i586/tmp/bsd_i486_compiler2/product' Rescanned ../generated/adfiles/bsd_i486.ad but encountered no changes. gmake[3]: Leaving directory `/usr/ports/java/jdk14/work/control/build/bsd-i586/hotspot-i586/tmp/bsd_i486_compiler2/product' gmake[3]: Entering directory `/usr/ports/java/jdk14/work/control/build/bsd-i586/hotspot-i586/tmp/bsd_i486_compiler2/product' gmake[3]: Nothing to be done for `default'. gmake[3]: Leaving directory `/usr/ports/java/jdk14/work/control/build/bsd-i586/hotspot-i586/tmp/bsd_i486_compiler2/product' All done. gmake[2]: Leaving directory `/usr/ports/java/jdk14/work/control/build/bsd-i586/hotspot-i586/tmp/bsd_i486_compiler2/product' gmake[1]: Leaving directory `/usr/ports/java/jdk14/work/control/build/bsd-i586/hotspot-i586/tmp' (cd ./../build/bsd-i586/hotspot-i586/tmp; \ gmake -f /usr/ports/java/jdk14/work/hotspot/build/bsd/Makefile jvmg \ HOTSPOT_BUILD_VERSION=1.4.2-p6-user1001_22_apr_2004_22_21 GAMMADIR=/usr/ports/java/jdk14/work/hotspot ; ) gmake[1]: Entering directory `/usr/ports/java/jdk14/work/control/build/bsd-i586/hotspot-i586/tmp' (cd bsd_i486_compiler2/jvmg; gmake) gmake[2]: Entering directory `/usr/ports/java/jdk14/work/control/build/bsd-i586/hotspot-i586/tmp/bsd_i486_compiler2/jvmg' gmake[3]: Entering directory `/usr/ports/java/jdk14/work/control/build/bsd-i586/hotspot-i586/tmp/bsd_i486_compiler2/jvmg' Rescanned ../generated/adfiles/bsd_i486.ad but encountered no changes. gmake[3]: Leaving directory `/usr/ports/java/jdk14/work/control/build/bsd-i586/hotspot-i586/tmp/bsd_i486_compiler2/jvmg' gmake[3]: Entering directory `/usr/ports/java/jdk14/work/control/build/bsd-i586/hotspot-i586/tmp/bsd_i486_compiler2/jvmg' gmake[3]: Nothing to be done for `default'. gmake[3]: Leaving directory `/usr/ports/java/jdk14/work/control/build/bsd-i586/hotspot-i586/tmp/bsd_i486_compiler2/jvmg' All done. gmake[2]: Leaving directory `/usr/ports/java/jdk14/work/control/build/bsd-i586/hotspot-i586/tmp/bsd_i486_compiler2/jvmg' gmake[1]: Leaving directory `/usr/ports/java/jdk14/work/control/build/bsd-i586/hotspot-i586/tmp' rm -f -f /usr/ports/java/jdk14/work/control/build/bsd-i586/hotspot-i586/server/Xusage.txt /usr/bin/sed 's/\(separated by \)[;:]/\1:/g' < \ ./../../hotspot/src/share/vm/Xusage.txt > /usr/ports/java/jdk14/work/control/build/bsd-i586/hotspot-i586/server/Xusage.txt (cd ./../build/bsd-i586/hotspot-i586/tmp; \ gmake -f /usr/ports/java/jdk14/work/hotspot/build/bsd/Makefile product1 \ HOTSPOT_BUILD_VERSION=1.4.2-p6-user1001_22_apr_2004_22_21 GAMMADIR=/usr/ports/java/jdk14/work/hotspot ; ) gmake[1]: Entering directory `/usr/ports/java/jdk14/work/control/build/bsd-i586/hotspot-i586/tmp' (cd bsd_i486_compiler1/product; gmake) gmake[2]: Entering directory `/usr/ports/java/jdk14/work/control/build/bsd-i586/hotspot-i586/tmp/bsd_i486_compiler1/product' gmake[3]: Entering directory `/usr/ports/java/jdk14/work/control/build/bsd-i586/hotspot-i586/tmp/bsd_i486_compiler1/product' gmake[3]: Nothing to be done for `default'. gmake[3]: Leaving directory `/usr/ports/java/jdk14/work/control/build/bsd-i586/hotspot-i586/tmp/bsd_i486_compiler1/product' All done. gmake[2]: Leaving directory `/usr/ports/java/jdk14/work/control/build/bsd-i586/hotspot-i586/tmp/bsd_i486_compiler1/product' gmake[1]: Leaving directory `/usr/ports/java/jdk14/work/control/build/bsd-i586/hotspot-i586/tmp' /bin/cp ./../build/bsd-i586/hotspot-i586/tmp/bsd_i486_compiler1/product/libjvm.so /usr/ports/java/jdk14/work/control/build/bsd-i586/hotspot-i586/client/libjvm.so (cd ./../build/bsd-i586/hotspot-i586/tmp; \ gmake -f /usr/ports/java/jdk14/work/hotspot/build/bsd/Makefile jvmg1 \ HOTSPOT_BUILD_VERSION=1.4.2-p6-user1001_22_apr_2004_22_21 GAMMADIR=/usr/ports/java/jdk14/work/hotspot ; ) gmake[1]: Entering directory `/usr/ports/java/jdk14/work/control/build/bsd-i586/hotspot-i586/tmp' (cd bsd_i486_compiler1/jvmg; gmake) gmake[2]: Entering directory `/usr/ports/java/jdk14/work/control/build/bsd-i586/hotspot-i586/tmp/bsd_i486_compiler1/jvmg' gmake[3]: Entering directory `/usr/ports/java/jdk14/work/control/build/bsd-i586/hotspot-i586/tmp/bsd_i486_compiler1/jvmg' gmake[3]: Nothing to be done for `default'. gmake[3]: Leaving directory `/usr/ports/java/jdk14/work/control/build/bsd-i586/hotspot-i586/tmp/bsd_i486_compiler1/jvmg' All done. gmake[2]: Leaving directory `/usr/ports/java/jdk14/work/control/build/bsd-i586/hotspot-i586/tmp/bsd_i486_compiler1/jvmg' gmake[1]: Leaving directory `/usr/ports/java/jdk14/work/control/build/bsd-i586/hotspot-i586/tmp' /bin/cp ./../build/bsd-i586/hotspot-i586/tmp/bsd_i486_compiler1/jvmg/libjvm_g.so /usr/ports/java/jdk14/work/control/build/bsd-i586/hotspot-i586/client/libjvm_g.so /bin/cp ./../build/bsd-i586/hotspot-i586/tmp/bsd_i486_compiler1/product/libjsig.so /usr/ports/java/jdk14/work/control/build/bsd-i586/hotspot-i586/client/libjsig.so /bin/cp ./../build/bsd-i586/hotspot-i586/tmp/bsd_i486_compiler1/jvmg/libjsig_g.so /usr/ports/java/jdk14/work/control/build/bsd-i586/hotspot-i586/client/libjsig_g.so if [ -r ./../../generics/make/Makefile ]; then \ ( cd ./../../generics/make; gmake all ALT_J2SE_TOPDIR=./../../j2se ALT_OUTPUTDIR=/usr/ports/java/jdk14/work/control/build/bsd-i586/generics ); \ fi if [ -r ./../../generics/make/Makefile ]; then \ ( cd ./../../generics/make; gmake verify ALT_J2SE_TOPDIR=./../../j2se ALT_OUTPUTDIR=/usr/ports/java/jdk14/work/control/build/bsd-i586/generics ; ); \ fi ( cd ./../../j2se/make; gmake sanity all images MAKEFLAGS= EXTERNALSANITYCONTROL=true MILESTONE=p6 BUILD_NUMBER=user1001_22_apr_2004_22_21 ALT_OUTPUTDIR=/usr/ports/java/jdk14/work/control/build/bsd-i586 ALT_HOTSPOT_SERVER_PATH=/usr/ports/java/jdk14/work/control/build/bsd-i586/hotspot-i586/server ALT_HOTSPOT_CLIENT_PATH=/usr/ports/java/jdk14/work/control/build/bsd-i586/hotspot-i586/client ARCH_DATA_MODEL=32 ; ) gmake[1]: Entering directory `/usr/ports/java/jdk14/work/j2se/make' bsd i586 1.4.2-p6 build started: 04-04-22 22:22