Skip to main content

Build problems, please help!

10 replies [Last post]
cowwoc
Offline
Joined: 2003-08-24

Here is my build log... Any ideas how to make this work?

ENVIRONMENT VARIABLES
---------------------

!::='::\'
!C:='C:\jdk6\control\make'
ALLUSERSPROFILE='C:\Documents and Settings\All Users'
ALT_BOOTDIR=C:/Progra~1/Java/jdk1.5.0_06
ALT_CACERTS_FILE=c:/jdk6/cacerts
ALT_COMPILER_PATH=C:/Progra~1/MICROS~1.NET/VC7/bin
ALT_DEVTOOLS_PATH=c:/jdk6/zips
ALT_DXSDK_DRIVE=c:/
ALT_DXSDK_INCLUDE_PATH=c:/jdk6/DXSDK/include
ALT_DXSDK_LIBS_PATH=c:/jdk6/DXSDK/libs
ALT_DXSDK_PATH=c:/jdk6/DXSDK
ALT_MOZILLA_HEADERS_PATH='"c:/jdk6/mozilla"'
ALT_MSVCR71_DLL_PATH=C:/WINDOWS/system32
ALT_UNICOWS_DLL_PATH=c:/jdk6/MSLU
ALT_UNICOWS_LIB_PATH=c:/jdk6/MSLU
ANT_HOME='C:\Program Files\ant'
APPDATA='C:\Documents and Settings\Gili\Application Data'
APR_ICONV_PATH='C:\Program Files\Subversion\iconv'
BASH=/usr/bin/bash
BASH_ARGC=()
BASH_ARGV=()
BASH_LINENO=()
BASH_SOURCE=()
BASH_VERSINFO=([0]="3" [1]="00" [2]="16" [3]="14" [4]="release" [5]="i686-pc-cygwin")
BASH_VERSION='3.00.16(14)-release'
BOOST_HOME='C:\Program Files\boost'
COMMONPROGRAMFILES='C:\Program Files\Common Files'
COMPUTERNAME=STALKER
COMSPEC='C:\WINDOWS\system32\cmd.exe'
CYGWIN='ntsec tty'
DEVENVDIR='C:\Program Files\Microsoft Visual Studio .NET 2003\Common7\IDE'
DIRSTACK=()
DOM4J_HOME='C:\Program Files\dom4j'
DXSDK_DIR='C:\jdk6\DXSDK\'
EUID=1003
FP_NO_HOST_CHECK=NO
FRAMEWORKDIR='C:\WINDOWS\Microsoft.NET\Framework'
FRAMEWORKSDKDIR='C:\Program Files\Microsoft Visual Studio .NET 2003\SDK\v1.1'
FRAMEWORKVERSION=v1.1.4322
GROUPS=()
HIBERNATE_HOME='c:\program files\hibernate'
HISTFILE=/home/Gili/.bash_history
HISTFILESIZE=500
HISTSIZE=500
HOME=/home/Gili
HOMEDRIVE=C:
HOMEPATH='\Documents and Settings\Gili'
HOSTNAME=stalker
HOSTTYPE=i686
IFS=$' \t\n'
INCLUDE='C:\Program Files\Microsoft Visual Studio .NET 2003\VC7\ATLMFC\INCLUDE;C:\Program Files\Microsoft Visual Studio .NET 2003\VC7\INCLUDE;C:\Program Files\Microsoft Visual Studio .NET 2003\VC7\PlatformSDK\include\prerelease;C:\Program Files\Microsoft Visual Studio .NET 2003\VC7\PlatformSDK\include;C:\Program Files\Microsoft Visual Studio .NET 2003\SDK\v1.1\include;'
INSTALL_HOME=c:/jdk6
JACE_HOME='C:\Documents and Settings\Gili\My Documents\jace\release'
JAVA15_HOME='C:\Program Files\Java\jdk1.5.0_06'
JAVA_HOME='C:\Program Files\Java\jdk1.5.0_06'
JAXEN_HOME='C:\Program Files\jaxen'
LIB='C:\Program Files\Microsoft Visual Studio .NET 2003\VC7\ATLMFC\LIB;C:\Program Files\Microsoft Visual Studio .NET 2003\VC7\LIB;C:\Program Files\Microsoft Visual Studio .NET 2003\VC7\PlatformSDK\lib\prerelease;C:\Program Files\Microsoft Visual Studio .NET 2003\VC7\PlatformSDK\lib;C:\Program Files\Microsoft Visual Studio .NET 2003\SDK\v1.1\lib;'
LOGONSERVER='\\STALKER'
MACHTYPE=i686-pc-cygwin
MAILCHECK=60
MAVEN2_HOME='C:\Program Files\Maven2'
MAVEN_HOME='C:\Program Files\Maven'
MSVCDIR='C:\Program Files\Microsoft Visual Studio .NET 2003\VC7'
NSIS_HOME='C:\Program Files\NSIS'
NSPR_LOG_FILE='c:\thunderbird.log'
NSPR_LOG_MODULES=IMAP:5
NUMBER_OF_PROCESSORS=2
OPTERR=1
OPTIND=1
OS=Windows_NT
OSTYPE=cygwin
PATH='/cygdrive/C/Program Files/Subversion/bin:/cygdrive/c/Program Files/Microsoft Visual Studio .NET 2003/Common7/IDE:/cygdrive/c/Program Files/Microsoft Visual Studio .NET 2003/VC7/BIN:/cygdrive/c/Program Files/Microsoft Visual Studio .NET 2003/Common7/Tools:/cygdrive/c/Program Files/Microsoft Visual Studio .NET 2003/Common7/Tools/bin/prerelease:/cygdrive/c/Program Files/Microsoft Visual Studio .NET 2003/Common7/Tools/bin:/cygdrive/c/Program Files/Microsoft Visual Studio .NET 2003/SDK/v1.1/bin:/cygdrive/c/WINDOWS/Microsoft.NET/Framework/v1.1.4322:/cygdrive/c/Program Files/DesktopBeautifier:/cygdrive/c/Program Files/Java/jdk1.5.0_06/bin:/cygdrive/c/WINDOWS/system32:/cygdrive/c/WINDOWS:/cygdrive/c/WINDOWS/System32/Wbem:/cygdrive/c/Program Files/Executive Software/Diskeeper/:/cygdrive/c/Program Files/Subversion/bin:/cygdrive/c/util:/cygdrive/c/util/dumpbin:/cygdrive/c/Program Files/jprofiler4/bin/windows:/cygdrive/c/Program Files/TextPad 4:/cygdrive/c/Program Files/ant/bin:/cygdrive/c/Program Files/Maven/bin:/cygdrive/c/Program Files/Maven2/bin:/usr/bin:/cygdrive/c/Progra~1/Java/jdk1.5.0_06/bin:.'
PATHEXT='.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH'
PIPESTATUS=([0]="0")
PPID=1
PROCESSOR_ARCHITECTURE=x86
PROCESSOR_IDENTIFIER='x86 Family 15 Model 2 Stepping 9, GenuineIntel'
PROCESSOR_LEVEL=15
PROCESSOR_REVISION=0209
PROGRAMFILES='C:\Program Files'
PROGUARD_HOME='C:\Program Files\proguard'
PROMPT='$P$G'
PS1='\s-\v\$ '
PS2='> '
PS4='+ '
PWD=/cygdrive/c/jdk6/control/make
QAPHOOKS_INIDIR='C:\Program Files\Segue\SilkTest'
SEGUE_HOME='C:\Program Files\Segue\SilkTest'
SESSIONNAME=Console
SET ALT_DEPLOY_MSSDK=$'C:/Progra~1/MIC977~1\t'
SHELL=/bin/bash
SHELLOPTS=braceexpand:emacs:hashall:histexpand:history:interactive-comments:monitor
SHLVL=1
SILK_CONFIG_PATH='C:\Program Files\Segue\cfg'
SYSTEMDRIVE=C:
SYSTEMROOT='C:\WINDOWS'
TEMP=/cygdrive/c/DOCUME~1/Gili/LOCALS~1/Temp
TERM=cygwin
TMP=/cygdrive/c/DOCUME~1/Gili/LOCALS~1/Temp
TRAY_HOME='C:\Documents and Settings\Gili\My Documents\blueeye\trunk\com\be\tray'
UID=1003
USERDOMAIN=STALKER
USERNAME=Gili
USERPROFILE='C:\Documents and Settings\Gili'
VCINSTALLDIR='C:\Program Files\Microsoft Visual Studio .NET 2003'
VS71COMNTOOLS='C:\Program Files\Microsoft Visual Studio .NET 2003\Common7\Tools\'
VS80COMNTOOLS='C:\Program Files\Microsoft Visual Studio 8\Common7\Tools\'
VSINSTALLDIR='C:\Program Files\Microsoft Visual Studio .NET 2003\Common7\IDE'
WINDIR='C:\WINDOWS'
XPP3_HOME='C:\Program Files\xpp3'
XSTREAM_HOME='C:\Program Files\xstream'
_=clear

BUILD LOG
---------

cd ../../control/make
make all MAKEFLAGS= DEV_ONLY=true JAVA_HOME= CLASSPATH= ALT_MOTIFDIR= ALT_HOTSPOT_IMPORT_PATH= ALT_TOPDIR= NO_RTPATCH=true
make[1]: Entering directory `/cygdrive/c/jdk6/control/make'
windows i586 1.6.0-internal build started: 06-04-23 00:21
make[2]: Entering directory `/cygdrive/c/jdk6/deploy/make'
make[2]: Leaving directory `/cygdrive/c/jdk6/deploy/make'
make[2]: Entering directory `/cygdrive/c/jdk6/j2se/make'
../make/common/shared/Sanity.gmk:1429: WARNING: ZIP_VER should not be empty [Sanity-Settings.gmk]
../make/common/shared/Sanity.gmk:1429: WARNING: UNZIP_VER should not be empty [Sanity-Settings.gmk]
make[2]: Leaving directory `/cygdrive/c/jdk6/j2se/make'

Build Machine Information:
build machine = STALKER

Build Directory Structure:
CWD = /cygdrive/c/jdk6/control/make
TOPDIR = ../..
CONTROL_TOPDIR = ../../control
HOTSPOT_TOPDIR = ../../hotspot
J2SE_TOPDIR = ../../j2se
MOTIF_TOPDIR = ../../motif
DEPLOY_TOPDIR = ../../deploy

Build Directives:
BUILD_HOTSPOT = true
BUILD_MOTIF = true
BUILD_J2SE = true
BUILD_DEPLOY = true
BUILD_INSTALL = false

Hotspot Settings:
HOTSPOT_BUILD_JOBS =
HOTSPOT_OUTPUTDIR = c:/jdk6/control/build/WINDOW~1/hotspot/outputdir
HOTSPOT_EXPORT_PATH = c:/jdk6/control/build/WINDOW~1/hotspot/import

Bootstrap Settings:
BOOTDIR = C:/Progra~1/Java/jdk1.5.0_06
ALT_BOOTDIR = C:/Progra~1/Java/jdk1.5.0_06
BOOT_VER = 1.5 [requires at least 1.5]
OUTPUTDIR = c:/jdk6/control/build/WINDOW~1
ALT_OUTPUTDIR = c:/jdk6/control/build/WINDOW~1
ABS_OUTPUTDIR = c:/jdk6/control/build/WINDOW~1

Build Tool Settings:
SLASH_JAVA = J:
ALT_SLASH_JAVA =
VARIANT = OPT
JDK_DEVTOOLS_DIR = J:/devtools
ALT_JDK_DEVTOOLS_DIR =
UNIXCOMMAND_PATH = /usr/bin/
ALT_UNIXCOMMAND_PATH =
COMPILER_PATH = C:/Progra~1/MICROS~1.NET/VC7/bin/
ALT_COMPILER_PATH = C:/Progra~1/MICROS~1.NET/VC7/bin
DEVTOOLS_PATH =
ALT_DEVTOOLS_PATH = c:/jdk6/zips
MSVCRT_DLL_PATH = C:/WINDOWS/system32
ALT_MSVCRT_DLL_PATH =
MSVCR71_DLL_PATH = C:/WINDOWS/system32
ALT_MSVCR71_DLL_PATH = C:/WINDOWS/system32
MSDEVTOOLS_PATH = C:/PROGRA~1/MICROS~1.NET/VC7/Bin/
ALT_MSDEVTOOLS_PATH =
COMPILER_NAME = Visual Studio .NET 2003 Professional C++
COMPILER_VERSION = VS2003
CC_VER = 13.10.3077 [requires at least 13.10.3077]
LINK_VER = 7.10.3077 [requires at least 7.10.3077]
PATH = /cygdrive/C/Program Files/Subversion/bin:/cygdrive/c/Program Files/Microsoft Visual Studio .NET 2003/Common7/IDE:/cygdrive/c/Program Files/Microsoft Visual Studio .NET 2003/VC7/BIN:/cygdrive/c/Program Files/Microsoft Visual Studio .NET 2003/Common7/Tools:/cygdrive/c/Program Files/Microsoft Visual Studio .NET 2003/Common7/Tools/bin/prerelease:/cygdrive/c/Program Files/Microsoft Visual Studio .NET 2003/Common7/Tools/bin:/cygdrive/c/Program Files/Microsoft Visual Studio .NET 2003/SDK/v1.1/bin:/cygdrive/c/WINDOWS/Microsoft.NET/Framework/v1.1.4322:/cygdrive/c/Program Files/DesktopBeautifier:/cygdrive/c/Program Files/Java/jdk1.5.0_06/bin:/cygdrive/c/WINDOWS/system32:/cygdrive/c/WINDOWS:/cygdrive/c/WINDOWS/System32/Wbem:/cygdrive/c/Program Files/Executive Software/Diskeeper/:/cygdrive/c/Program Files/Subversion/bin:/cygdrive/c/util:/cygdrive/c/util/dumpbin:/cygdrive/c/Program Files/jprofiler4/bin/windows:/cygdrive/c/Program Files/TextPad 4:/cygdrive/c/Program Files/ant/bin:/cygdrive/c/Program Files/Maven/bin:/cygdrive/c/Program Files/Maven2/bin:/usr/bin:/cygdrive/c/Progra~1/Java/jdk1.5.0_06/bin:.
TEMPDIR = c:/jdk6/control/build/WINDOW~1/tmp

Build Directives:
USE_ONLY_BOOTDIR_TOOLS =
USE_HOTSPOT_INTERPRETER_MODE =
PEDANTIC =
DEV_ONLY = true
J2RE_ONLY =
NO_DOCS =
NO_IMAGES =
TOOLS_ONLY =
INSANE =
PARALLEL_COMPILES = true
PARALLEL_COMPILE_JOBS = 2
ALT_PARALLEL_COMPILE_JOBS =
FASTDEBUG =
COMPILER_WARNINGS_FATAL = false
COMPILER_WARNING_LEVEL = 3
INCREMENTAL_BUILD = false
CC_HIGHEST_OPT = -O2
CC_HIGHER_OPT = -O1
CC_LOWER_OPT = -O1
CXXFLAGS = -O1 -Zi -nologo -MD /D _STATIC_CPPLIB -Fdc:/jdk6/control/build/WINDOW~1/tmp/obj/ -Fec:/jdk6/control/build/WINDOW~1/tmp/obj/ -Fmc:/jdk6/control/build/WINDOW~1/tmp/obj/ -W3
CFLAGS = -O1 -Zi -nologo -MD /D _STATIC_CPPLIB -Fdc:/jdk6/control/build/WINDOW~1/tmp/obj/ -Fec:/jdk6/control/build/WINDOW~1/tmp/obj/ -Fmc:/jdk6/control/build/WINDOW~1/tmp/obj/ -W3

Build Platform Settings:
USER = Gili
PLATFORM = windows
ARCH = i586
LIBARCH = i386
ARCH_FAMILY = i586
ARCH_DATA_MODEL = 32
ARCHPROP = x86
PROCESSOR_ARCHITECTURE = x86
PROCESSOR_IDENTIFIER = x86 Family 15 Model 2 Stepping 9, GenuineIntel
WINDOWS_VERSION = 5 1 Service Pack 2
WINDOWS_NT_VERSION_STRING = CYGWIN_NT
USING_CYGWIN = true
CYGWIN_VER = 5.1 [requires at least 4.0]
CYGPATH_CMD = cygpath -a -s -m
OS_VERSION = 5 [requires at least 5]
OS_NAME = nt
TEMP_FREE_SPACE = 8889500
FREE_SPACE = 8889500

GNU Make Settings:
MAKE = make
MAKE_VER = 3.80 [requires at least 3.78]
MAKECMDGOALS = sanity
MAKEFLAGS =
SHELL = /bin/sh.exe

Target Build Versions:
JDK_VERSION = 1.6.0
MILESTONE = internal
RELEASE = 1.6.0-internal
FULL_VERSION = 1.6.0-internal-Gili_23_apr_2006_00_21-b00
BUILD_NUMBER = b00

External File/Binary Locations:
USRJDKINSTANCES_PATH = C:/PROGRA~1/Java
JDK_IMPORT_PATH = J:/re/j2se/1.6.0/promoted/latest/binaries/windows-i586
ALT_JDK_IMPORT_PATH =
HOTSPOT_DOCS_IMPORT_PATH = /NO_DOCS_DIR
ALT_HOTSPOT_DOCS_IMPORT_PATH =
HOTSPOT_IMPORT_PATH = c:/jdk6/control/build/WINDOW~1/hotspot/import
ALT_HOTSPOT_IMPORT_PATH = c:/jdk6/control/build/WINDOW~1/hotspot/import
HOTSPOT_CLIENT_PATH = c:/jdk6/control/build/WINDOW~1/hotspot/import/jre/bin/client
ALT_HOTSPOT_CLIENT_PATH =
HOTSPOT_SERVER_PATH = c:/jdk6/control/build/WINDOW~1/hotspot/import/jre/bin/server
ALT_HOTSPOT_SERVER_PATH =
HOTSPOT_LIB_PATH = c:/jdk6/control/build/WINDOW~1/hotspot/import/lib
ALT_HOTSPOT_LIB_PATH =
DXSDK_VER = 0x0700
DXSDK_PATH = c:/jdk6/DXSDK
ALT_DXSDK_PATH = c:/jdk6/DXSDK
DXSDK_INCLUDE_PATH = c:/jdk6/DXSDK/include
ALT_DXSDK_INCLUDE_PATH = c:/jdk6/DXSDK/include
DXSDK_LIB_PATH = c:/jdk6/DXSDK/Lib
ALT_DXSDK_LIB_PATH =
UNICOWS_DLL_PATH = c:/jdk6/MSLU
ALT_UNICOWS_DLL_PATH = c:/jdk6/MSLU
UNICOWS_LIB_PATH = c:/jdk6/MSLU
ALT_UNICOWS_LIB_PATH = c:/jdk6/MSLU
DEPLOY_MSSDK = C:/PROGRA~1/MICROS~1.NET/VC7/PlatformSDK
ALT_DEPLOY_MSSDK =
WSCRIPT = C:/WINDOWS/system32/wscript.exe
ALT_WSCRIPT =
MSICERT = msicert.exe
ALT_MSICERT =
CACERTS_FILE = c:/jdk6/cacerts
ALT_CACERTS_FILE = c:/jdk6/cacerts
MOZILLA_HEADERS_PATH = c:/jdk6/mozilla
ALT_MOZILLA_HEADERS_PATH = c:/jdk6/mozilla

Previous JDK Settings:
PREVIOUS_RELEASE_PATH = J:/re/j2se/1.5.0/archive/fcs/bundles/windows-i586
ALT_PREVIOUS_RELEASE_PATH =
PREVIOUS_JDK_VERSION = 1.5.0
ALT_PREVIOUS_JDK_VERSION =
PREVIOUS_JDK_FILE = jdk-1_5_0-windows-i586.tar
ALT_PREVIOUS_JDK_FILE =
PREVIOUS_JRE_FILE = jdk-1_5_0-windows-i586.tar
ALT_PREVIOUS_JRE_FILE =

WARNING: Your are not building INSTALL workspace from
the control build. This will result in a development-only
build of the J2SE workspace, lacking the installation bundles

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: Your build environment has the variable NO_RTPATCH
defined. This will result in a development-only
build of the J2SE workspace, lacking the patch installer
bundles based on a pre-determined JRE base.

WARNING: You appear to be using an unsupported version of Windows Professional 2000.
The supported version is Windows Professional 2000 5 0 Service Pack 4.
You appear to be using 5 1 Service Pack 2

WARNING: The directory HOTSPOT_DOCS_IMPORT_PATH=/NO_DOCS_DIR
does not exist, check your value of ALT_HOTSPOT_DOCS_IMPORT_PATH.

WARNING: The version of unzip being used is older than
the required version of '5.12'.
The version of unzip found was ''.

WARNING: The version of zip being used is older than
the required version of '2.2'.
The version of zip found was ''.

Sanity check passed.
/usr/bin/mkdir -p c:/jdk6/control/build/WINDOW~1/hotspot/outputdir
/usr/bin/mkdir -p c:/jdk6/control/build/WINDOW~1/hotspot/import
cd ../../hotspot/make ; \
make ALT_SLASH_JAVA=J: ARCH_DATA_MODEL=32 ALT_OUTPUTDIR=c:/jdk6/control/build/WINDOW~1/hotspot/outputdir ALT_EXPORT_PATH=c:/jdk6/control/build/WINDOW~1/hotspot/import PREVIOUS_JDK_VERSION=1.5.0 ALT_BOOTDIR=C:/Progra~1/Java/jdk1.5.0_06 FULL_VERSION="1.6.0-internal-Gili_23_apr_2006_00_21-b00" JDK_VERSION=1.6.0 COOKED_BUILD_NUMBER=0 JDK_MKTG_VERSION=6 JDK_MAJOR_VERSION=1 JDK_MINOR_VERSION=6 JDK_MICRO_VERSION=0 all_product
make[2]: Entering directory `/cygdrive/c/jdk6/hotspot/make'
make VM_TARGET=product generic_build2
make[3]: Entering directory `/cygdrive/c/jdk6/hotspot/make'
mkdir -p c:/jdk6/control/build/WINDOW~1/hotspot/outputdir
cd c:/jdk6/control/build/WINDOW~1/hotspot/outputdir; \
MAKEFLAGS= MFLAGS= nmake /NOLOGO -f c:/jdk6/hotspot/build/windows/build.make \
Variant=compiler2 \
WorkSpace=c:\\jdk6\\hotspot \
BootStrapDir=C:\\Progra~1\\Java\\jdk1.5.0_06 \
BuildUser=Gili \
BuildID=1.6.0-internal-Gili_23_apr_2006_00_21-b00 HS_MKTG_VERSION=6 HS_MAJOR_VER=1 HS_MINOR_VER=6 HS_MICRO_VER=0 HS_BUILD_NUMBER=0 JAVA_HOME=C:\\Progra~1\\Java\\jdk1.5.0_06 GAMMADIR=c:\\jdk6\\hotspot MAKE_VERBOSE=y product
Not building SA: BUILD_WIN_SA != 1
mkdir windows_i486_compiler2
c:\util\which.exe: no sh in (c:\Program Files\Subversion\bin;c:\Program Files\Microsoft Visual Studio .NET 2003\Common7\IDE;c:\Program Files\Microsoft Visual Studio .NET 2003\VC7\BIN;c:\Program Files\Microsoft Visual Studio .NET 2003\Common7\Tools;c:\Program Files\Microsoft Visual Studio .NET 2003\Common7\Tools\bin\prerelease;c:\Program Files\Microsoft Visual Studio .NET 2003\Common7\Tools\bin;c:\Program Files\Microsoft Visual Studio .NET 2003\SDK\v1.1\bin;c:\WINDOWS\Microsoft.NET\Framework\v1.1.4322;c:\Program Files\DesktopBeautifier;c:\Program Files\Java\jdk1.5.0_06\bin;c:\WINDOWS\system32;c:\WINDOWS;c:\WINDOWS\System32\Wbem;c:\Program Files\Executive Software\Diskeeper\;c:\Program Files\Subversion\bin;c:\util;c:\util\dumpbin;c:\Program Files\jprofiler4\bin\windows;c:\Program Files\TextPad 4;c:\Program Files\ant\bin;c:\Program Files\Maven\bin;c:\Program Files\Maven2\bin;C:\cygwin\bin;c:\Progra~1\Java\jdk1.5.0_06\bin;.\)
c:\jdk6\hotspot/build/windows/get_msc_ver.sh: line 40: ./head: No such file or directory
c:\jdk6\hotspot/build/windows/get_msc_ver.sh: line 40: ./sed: No such file or directory
c:\jdk6\hotspot/build/windows/get_msc_ver.sh: line 41: ./echo: No such file or directory
c:\jdk6\hotspot/build/windows/get_msc_ver.sh: line 41: ./cut: No such file or directory
c:\jdk6\hotspot/build/windows/get_msc_ver.sh: line 42: ./echo: No such file or directory
c:\jdk6\hotspot/build/windows/get_msc_ver.sh: line 42: ./cut: No such file or directory
c:\jdk6\hotspot/build/windows/get_msc_ver.sh: line 43: ./echo: No such file or directory
c:\jdk6\hotspot/build/windows/get_msc_ver.sh: line 43: ./cut: No such file or directory
c:\jdk6\hotspot/build/windows/get_msc_ver.sh: line 44: [: : integer expression expected
c:\jdk6\hotspot/build/windows/get_msc_ver.sh: line 48: ./expr: No such file or directory
cd windows_i486_compiler2
nmake -f c:\jdk6\hotspot\build\windows\makefiles\top.make BUILD_FLAVOR=product ARCH=i486

Microsoft (R) Program Maintenance Utility Version 7.10.3077
Copyright (C) Microsoft Corporation. All rights reserved.

nmake in .\generated
cd generated && nmake /NOLOGO /f c:\jdk6\hotspot\build\windows\makefiles\generated.make DIR=.\generated BUILD_FLAVOR=product
if exist classes rmdir /s /q classes
mkdir classes
C:\Progra~1\Java\jdk1.5.0_06\bin\javac -classpath c:\jdk6\hotspot\src\share\tools\MakeDeps -g -d classes c:\jdk6\hotspot\src\share\tools\MakeDeps\Database.java c:\jdk6\hotspot\src\share\tools\MakeDeps\DirectoryTree.java c:\jdk6\hotspot\src\share\tools\MakeDeps\DirectoryTreeNode.java c:\jdk6\hotspot\src\share\tools\MakeDeps\FileFormatException.java c:\jdk6\hotspot\src\share\tools\MakeDeps\FileList.java c:\jdk6\hotspot\src\share\tools\MakeDeps\FileName.java c:\jdk6\hotspot\src\share\tools\MakeDeps\Macro.java c:\jdk6\hotspot\src\share\tools\MakeDeps\MacroDefinitions.java c:\jdk6\hotspot\src\share\tools\MakeDeps\MakeDeps.java c:\jdk6\hotspot\src\share\tools\MakeDeps\MetroWerksMacPlatform.java c:\jdk6\hotspot\src\share\tools\MakeDeps\Platform.java c:\jdk6\hotspot\src\share\tools\MakeDeps\UnixPlatform.java c:\jdk6\hotspot\src\share\tools\MakeDeps\WinGammaPlatform.java c:\jdk6\hotspot\src\share\tools\MakeDeps\WinGammaPlatformVC6.java c:\jdk6\hotspot\src\share\tools\MakeDeps\WinGammaPlatformVC7.java c:\jdk6\hotspot\src\share\tools\MakeDeps\Util.java c:\jdk6\hotspot\src\share\tools\MakeDeps\BuildConfig.java c:\jdk6\hotspot\src\share\tools\MakeDeps\ArgsParser.java
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
cat c:\jdk6\hotspot/src/share/vm/includeDB_core c:\jdk6\hotspot/src/share/vm/includeDB_gc c:\jdk6\hotspot/src/share/vm/gc_implementation/includeDB_gc_parallelScavenge c:\jdk6\hotspot/src/share/vm/gc_implementation/includeDB_gc_shared c:\jdk6\hotspot/src/share/vm/gc_implementation/includeDB_gc_concurrentMarkSweep c:\jdk6\hotspot/src/share/vm/includeDB_ci c:\jdk6\hotspot/src/share/vm/includeDB_compiler2 > includeDB
if exist incls rmdir /s /q incls
mkdir incls
C:\Progra~1\Java\jdk1.5.0_06\bin\java -Djava.class.path=classes MakeDeps WinGammaPlatformVC7 c:\jdk6\hotspot/build/windows/platform_i486 includeDB
New database:
reading database: includeDB
computing closures

writing individual include files

creating accessFlags.cpp
creating allocation.cpp
creating allocationStats.cpp
creating aprofiler.cpp
creating arguments.cpp
creating array.cpp
creating arrayKlass.cpp
creating arrayKlassKlass.cpp
creating arrayOop.cpp
creating assembler.cpp
creating assembler_i486.cpp
creating assembler_win32_i486.cpp
creating atomic.cpp
creating attachListener.cpp
creating attachListener_win32.cpp
creating dtraceAttacher.cpp
creating biasedLocking.cpp
creating binaryTreeDictionary.cpp
creating bitMap.cpp
creating blockOffsetTable.cpp
creating bytecode.cpp
creating bytecodeHistogram.cpp
creating bytecodeStream.cpp
creating bytecodeTracer.cpp
creating bytecodes.cpp
creating bytecodes_i486.cpp
creating cardTableModRefBS.cpp
creating cardTableRS.cpp
creating cInterpreter.cpp
creating classFileParser.cpp
creating classFileError.cpp
creating classFileStream.cpp
creating classify.cpp
creating classLoader.cpp
creating classLoadingService.cpp
creating cmsLockVerifier.cpp
creating codeBuffer.cpp
creating codeBlob.cpp
creating codeCache.cpp
creating collectorPolicy.cpp
creating compactibleFreeListSpace.cpp
creating compactingPermGenGen.cpp
creating compressedStream.cpp
creating concurrentGCThread.cpp
creating concurrentMarkSweepGeneration.cpp
creating concurrentMarkSweepThread.cpp
creating constantPoolKlass.cpp
creating constantPoolOop.cpp
creating constantTag.cpp
creating constMethodKlass.cpp
creating constMethodOop.cpp
creating cpCacheKlass.cpp
creating cpCacheOop.cpp
creating debug.cpp
creating debug_i486.cpp
creating defNewGeneration.cpp
creating depChecker_i486.cpp
creating dictionary.cpp
creating disassembler_i486.cpp
creating dump.cpp
creating dump_md.cpp
creating events.cpp
creating evmCompat.cpp
creating exceptions.cpp
creating fieldDescriptor.cpp
creating fieldType.cpp
creating filemap.cpp
creating forte.cpp
creating fprofiler.cpp
creating frame.cpp
creating frame_i486.cpp
creating freeBlockDictionary.cpp
creating freeChunk.cpp
creating freeList.cpp
creating gcLocker.cpp
creating genCollectedHeap.cpp
creating genRemSet.cpp
creating generateOopMap.cpp
creating generation.cpp
creating genMarkSweep.cpp
creating generationSpec.cpp
creating getThread_win32_i486.cpp
creating globalDefinitions.cpp
creating globals.cpp
creating growableArray.cpp
creating handles.cpp
creating hashtable.cpp
creating heap.cpp
creating heapDumper.cpp
creating heapInspection.cpp
creating histogram.cpp
creating hpi.cpp
creating hpi_win32.cpp
creating icache.cpp
creating icache_i486.cpp
creating init.cpp
creating instanceKlass.cpp
creating instanceKlassKlass.cpp
creating instanceOop.cpp
creating instanceRefKlass.cpp
creating interfaceSupport.cpp
creating interp_masm_i486.cpp
creating interpreterRT_i486.cpp
creating interpreterRuntime.cpp
creating interpreter_i486.cpp
creating interpreter.cpp
creating iterator.cpp
creating java.cpp
creating javaAssertions.cpp
creating javaCalls.cpp
creating javaClasses.cpp
creating jni.cpp
creating jniCheck.cpp
creating jniFastGetField.cpp
creating jniFastGetField_i486.cpp
creating jniHandles.cpp
creating jniId.cpp
creating jvm.cpp
creating jvm_win32.cpp
creating jvmtiClassFileReconstituter.cpp
creating jvmtiCodeBlobEvents.cpp
creating jvmtiEnter.cpp
creating jvmtiEnterTrace.cpp
creating jvmtiEnv.cpp
creating jvmtiEnvBase.cpp
creating jvmtiEnvThreadState.cpp
creating jvmtiEventController.cpp
creating jvmtiExport.cpp
creating jvmtiExtensions.cpp
creating jvmtiGetLoadedClasses.cpp
creating jvmtiImpl.cpp
creating jvmtiManageCapabilities.cpp
creating jvmtiRedefineClasses.cpp
creating jvmtiTagMap.cpp
creating jvmtiThreadState.cpp
creating jvmpi.cpp
creating klass.cpp
creating klassKlass.cpp
creating klassOop.cpp
creating klassVtable.cpp
creating linkResolver.cpp
creating loaderConstraints.cpp
creating lowMemoryDetector.cpp
creating markOop.cpp
creating memoryManager.cpp
creating memoryService.cpp
creating memoryPool.cpp
creating memRegion.cpp
creating memprofiler.cpp
creating methodComparator.cpp
creating methodKlass.cpp
creating methodOop.cpp
creating monitorChunk.cpp
creating management.cpp
creating mutex.cpp
creating mutexLocker.cpp
creating mutex_win32.cpp
creating unhandledOops.cpp
creating nativeInst_i486.cpp
creating nativeLookup.cpp
creating objArrayKlass.cpp
creating objArrayKlassKlass.cpp
creating objArrayOop.cpp
creating objectMonitor_win32.cpp
creating oop.cpp
creating oopFactory.cpp
creating oopMap.cpp
creating oopMapCache.cpp
creating oopRecorder.cpp
creating oopsHierarchy.cpp
creating orderAccess.cpp
creating os.cpp
creating osThread.cpp
creating osThread_win32.cpp
creating os_win32.cpp
creating os_win32_i486.cpp
creating ostream.cpp
creating perf.cpp
creating perfData.cpp
creating perfMemory.cpp
creating perfMemory_win32.cpp
creating parGCAllocBuffer.cpp
creating parNewGeneration.cpp
creating permGen.cpp
creating placeholders.cpp
creating preserveException.cpp
creating privilegedStack.cpp
creating rawMonitor.cpp
creating referencePolicy.cpp
creating referenceProcessor.cpp
creating referenceProcessorMT.cpp
creating reflection.cpp
creating reflectionUtils.cpp
creating register.cpp
creating register_i486.cpp
creating register_definitions_i486.cpp
creating relocInfo.cpp
creating relocInfo_i486.cpp
creating relocator.cpp
creating resolutionErrors.cpp
creating resourceArea.cpp
creating restore.cpp
creating rewriter.cpp
creating runtimeService.cpp
creating safepoint.cpp
creating serialize.cpp
creating sharedHeap.cpp
creating sharedRuntime.cpp
creating sharedRuntimeTrig.cpp
creating sharedRuntimeTrans.cpp
creating signature.cpp
creating sizes.cpp
creating space.cpp
creating specialized_oop_closures.cpp
creating stackMapFrame.cpp
creating stackMapTable.cpp
creating stackValue.cpp
creating stackValueCollection.cpp
creating statSampler.cpp
creating stubCodeGenerator.cpp
creating stubGenerator_i486.cpp
creating stubRoutines.cpp
creating stubRoutines_i486.cpp
creating stubRoutines_win32.cpp
creating stubs.cpp
creating symbolKlass.cpp
creating symbolOop.cpp
creating symbolTable.cpp
creating synchronizer.cpp
creating systemDictionary.cpp
creating task.cpp
creating taskqueue.cpp
creating templateTable.cpp
creating templateTable_i486.cpp
creating tenuredGeneration.cpp
creating thread.cpp
creating threadCritical_win32.cpp
creating threadLS_win32_i486.cpp
creating threadLocalStorage.cpp
creating threadLocalAllocBuffer.cpp
creating thread_win32_i486.cpp
creating threadService.cpp
creating timer.cpp
creating typeArrayKlass.cpp
creating typeArrayKlassKlass.cpp
creating typeArrayOop.cpp
creating universe.cpp
creating unsafe.cpp
creating utf8.cpp
creating verificationType.cpp
creating verifier.cpp
creating vframe.cpp
creating virtualspace.cpp
creating vmError.cpp
creating vmError_win32.cpp
creating vmreg.cpp
creating vmreg_i486.cpp
creating vmStructs.cpp
creating vmSymbols.cpp
creating vmThread.cpp
creating vm_operations.cpp
creating vm_version_i486.cpp
creating vm_version.cpp
creating vtune_win32.cpp
creating workgroup.cpp
creating xmlstream.cpp
creating yieldingWorkgroup.cpp
creating collectedHeap.cpp
creating gcCause.cpp
creating adjoiningGenerations.cpp
creating adjoiningVirtualSpaces.cpp
creating asPSOldGen.cpp
creating asPSYoungGen.cpp
creating cardTableExtension.cpp
creating gcTaskManager.cpp
creating gcTaskThread.cpp
creating objectStartArray.cpp
creating parallelScavengeHeap.cpp
creating parMarkBitMap.cpp
creating psAdaptiveSizePolicy.cpp
creating psCompactionManager.cpp
creating psGCAdaptivePolicyCounters.cpp
creating psGenerationCounters.cpp
creating psMarkSweep.cpp
creating psMarkSweepDecorator.cpp
creating psParallelCompact.cpp
creating psOldGen.cpp
creating psPermGen.cpp
creating psPromotionManager.cpp
creating psPromotionLAB.cpp
creating psScavenge.cpp
creating pcTasks.cpp
creating psTasks.cpp
creating psVirtualspace.cpp
creating psYoungGen.cpp
creating adaptiveSizePolicy.cpp
creating ageTable.cpp
creating collectorCounters.cpp
creating cSpaceCounters.cpp
creating gcAdaptivePolicyCounters.cpp
creating gcPolicyCounters.cpp
creating gcStats.cpp
creating gcUtil.cpp
creating generationCounters.cpp
creating gSpaceCounters.cpp
creating immutableSpace.cpp
creating markSweep.cpp
creating mutableSpace.cpp
creating spaceCounters.cpp
creating vmGCOperations.cpp
creating asParNewGeneration.cpp
creating cmsAdaptiveSizePolicy.cpp
creating cmsGCAdaptivePolicyCounters.cpp
creating vmCMSOperations.cpp
creating bcEscapeAnalyzer.cpp
creating ciArray.cpp
creating ciArrayKlass.cpp
creating ciConstant.cpp
creating ciConstantPoolCache.cpp
creating ciEnv.cpp
creating ciExceptionHandler.cpp
creating ciField.cpp
creating ciFlags.cpp
creating ciInstance.cpp
creating ciInstanceKlass.cpp
creating ciInstanceKlassKlass.cpp
creating ciKlass.cpp
creating ciKlassKlass.cpp
creating ciMethod.cpp
creating ciMethodData.cpp
creating ciMethodKlass.cpp
creating ciNullObject.cpp
creating ciObjArrayKlass.cpp
creating ciObjArrayKlassKlass.cpp
creating ciObject.cpp
creating ciObjectFactory.cpp
creating ciType.cpp
creating ciSignature.cpp
creating ciStreams.cpp
creating ciSymbol.cpp
creating ciSymbolKlass.cpp
creating ciTypeArray.cpp
creating ciTypeArrayKlass.cpp
creating ciTypeArrayKlassKlass.cpp
creating ciUtilities.cpp
creating compileBroker.cpp
creating compileLog.cpp
creating debugInfoRec.cpp
creating deoptimization.cpp
creating dependencies.cpp
creating cha.cpp
creating compilationPolicy.cpp
creating compiledIC.cpp
creating compiledICHolderKlass.cpp
creating compiledICHolderOop.cpp
creating compilerOracle.cpp
creating debugInfo.cpp
creating icBuffer.cpp
creating icBuffer_i486.cpp
creating invocationCounter.cpp
creating methodDataKlass.cpp
creating methodDataOop.cpp
creating methodLiveness.cpp
creating nmethod.cpp
creating pcDesc.cpp
creating rframe.cpp
creating sharedRuntime_i486.cpp
creating sweeper.cpp
creating vframeArray.cpp
creating vframe_hp.cpp
creating vtableStubs.cpp
creating vtableStubs_i486.cpp
creating ad_i486.cpp
creating ad_i486_clone.cpp
creating ad_i486_expand.cpp
creating ad_i486_format.cpp
creating ad_i486_gen.cpp
creating ad_i486_misc.cpp
creating ad_i486_peephole.cpp
creating ad_i486_pipeline.cpp
creating addnode.cpp
creating block.cpp
creating buildOopMap.cpp
creating bytecodeInfo.cpp
creating c2_globals.cpp
creating c2compiler.cpp
creating c2_init_i486.cpp
creating callGenerator.cpp
creating callnode.cpp
creating cfgnode.cpp
creating chaitin.cpp
creating chaitin_win32.cpp
creating ciTypeFlow.cpp
creating classes.cpp
creating coalesce.cpp
creating compile.cpp
creating connode.cpp
creating dfa_i486.cpp
creating dict.cpp
creating divnode.cpp
creating doCall.cpp
creating domgraph.cpp
creating escape.cpp
creating exceptionHandlerTable.cpp
creating gcm.cpp
creating generateOptoStub.cpp
creating graphKit.cpp
creating idealKit.cpp
creating ifg.cpp
creating ifnode.cpp
creating indexSet.cpp
creating lcm.cpp
creating library_call.cpp
creating live.cpp
creating location.cpp
creating locknode.cpp
creating loopnode.cpp
creating loopopts.cpp
creating loopTransform.cpp
creating machnode.cpp
creating macro.cpp
creating matcher.cpp
creating memnode.cpp
creating mulnode.cpp
creating multnode.cpp
creating nmethod_i486.cpp
creating node.cpp
creating opcodes.cpp
creating output.cpp
creating parse1.cpp
creating parse2.cpp
creating parse3.cpp
creating parseHelper.cpp
creating phase.cpp
creating phaseX.cpp
creating port.cpp
creating postaloc.cpp
creating regalloc.cpp
creating reg_split.cpp
creating regmask.cpp
creating rootnode.cpp
creating runtime.cpp
creating runtime_i486.cpp
creating scopeDesc.cpp
creating set.cpp
creating split_if.cpp
creating subnode.cpp
creating type.cpp
creating vectset.cpp
writing grand include file

writing dependencies file

rm -f includeDB.current
cp includeDB includeDB.current
rm -f i486.ad
cat c:\jdk6\hotspot/src/cpu/i486/vm/i486.ad c:\jdk6\hotspot/src/os_cpu/win32_i486/vm/win32_i486.ad >i486.ad
cl.exe /nologo /W3 /WX /Zi /D "IA32" /D "MSC_VER=" /MD /D _STATIC_CPPLIB /GX /MD /D _STATIC_CPPLIB /I "..\generated" /I "c:\jdk6\hotspot\src\share\vm\compiler" /I "c:\jdk6\hotspot\src\share\vm\code" /I "c:\jdk6\hotspot\src\share\vm\interpreter" /I "c:\jdk6\hotspot\src\share\vm\lookup" /I "c:\jdk6\hotspot\src\share\vm\asm" /I "c:\jdk6\hotspot\src\share\vm\memory" /I "c:\jdk6\hotspot\src\share\vm\oops" /I "c:\jdk6\hotspot\src\share\vm\prims" /I "c:\jdk6\hotspot\src\share\vm\runtime" /I "c:\jdk6\hotspot\src\share\vm\utilities" /I "c:\jdk6\hotspot\src\share\vm\libadt" /I "c:\jdk6\hotspot\src\share\vm\opto" /I "c:\jdk6\hotspot\src\os\win32\vm" /I "c:\jdk6\hotspot\src\cpu\i486\vm" /c c:\jdk6\hotspot\src\share\vm\adlc\main.cpp c:\jdk6\hotspot\src\share\vm\adlc\adlparse.cpp c:\jdk6\hotspot\src\share\vm\adlc\archDesc.cpp c:\jdk6\hotspot\src\share\vm\adlc\arena.cpp c:\jdk6\hotspot\src\share\vm\adlc\dfa.cpp c:\jdk6\hotspot\src\share\vm\adlc\dict2.cpp c:\jdk6\hotspot\src\share\vm\adlc\filebuff.cpp c:\jdk6\hotspot\src\share\vm\adlc\forms.cpp c:\jdk6\hotspot\src\share\vm\adlc\formsopt.cpp c:\jdk6\hotspot\src\share\vm\adlc\formssel.cpp c:\jdk6\hotspot\src\share\vm\adlc\output_c.cpp c:\jdk6\hotspot\src\share\vm\adlc\output_h.cpp
main.cpp
c:\jdk6\hotspot\src\share\vm\adlc\adlc.hpp(31) : fatal error C1017: invalid integer constant expression
adlparse.cpp
c:\jdk6\hotspot\src\share\vm\adlc\adlc.hpp(31) : fatal error C1017: invalid integer constant expression
archDesc.cpp
c:\jdk6\hotspot\src\share\vm\adlc\adlc.hpp(31) : fatal error C1017: invalid integer constant expression
arena.cpp
c:\jdk6\hotspot\src\share\vm\adlc\adlc.hpp(31) : fatal error C1017: invalid integer constant expression
dfa.cpp
c:\jdk6\hotspot\src\share\vm\adlc\adlc.hpp(31) : fatal error C1017: invalid integer constant expression
dict2.cpp
c:\jdk6\hotspot\src\share\vm\adlc\adlc.hpp(31) : fatal error C1017: invalid integer constant expression
filebuff.cpp
c:\jdk6\hotspot\src\share\vm\adlc\adlc.hpp(31) : fatal error C1017: invalid integer constant expression
forms.cpp
c:\jdk6\hotspot\src\share\vm\adlc\adlc.hpp(31) : fatal error C1017: invalid integer constant expression
formsopt.cpp
c:\jdk6\hotspot\src\share\vm\adlc\adlc.hpp(31) : fatal error C1017: invalid integer constant expression
formssel.cpp
c:\jdk6\hotspot\src\share\vm\adlc\adlc.hpp(31) : fatal error C1017: invalid integer constant expression
output_c.cpp
c:\jdk6\hotspot\src\share\vm\adlc\adlc.hpp(31) : fatal error C1017: invalid integer constant expression
output_h.cpp
c:\jdk6\hotspot\src\share\vm\adlc\adlc.hpp(31) : fatal error C1017: invalid integer constant expression
Generating Code...
NMAKE : fatal error U1077: 'cl.exe' : return code '0x2'
Stop.
NMAKE : fatal error U1077: 'cd' : return code '0x2'
Stop.
NMAKE : fatal error U1077: '"c:\Program Files\Microsoft Visual Studio .NET 2003\VC7\BIN\nmake.exe"' : return code '0x2'
Stop.
make[3]: *** [generic_build2] Error 2
make[3]: Leaving directory `/cygdrive/c/jdk6/hotspot/make'
make[2]: *** [product] Error 2
make[2]: Leaving directory `/cygdrive/c/jdk6/hotspot/make'
make[1]: *** [hotspot-build] Error 2
make[1]: Leaving directory `/cygdrive/c/jdk6/control/make'
make: *** [scsl-build] Error 2

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
kellyohair
Offline
Joined: 2004-09-03

I think this is bug 6401225, I added your suggested fix to this bug report.

-kto

kellyohair
Offline
Joined: 2004-09-03

If you have realtime virus scanning on, it WILL slow down the builds considerably.

For the most part, especially when creating the images, most of the activity will be disk activity, not CPU activity. So the faster the disk reads/writes, the faster the build. If realtime virus scanning is enable, disk I/O is often severely impacted.

I hesitate to tell you to turn off the realtime virus scanning, that's a decision you need to make on your own, depending on your situation. Also, at least on some virus software, turning off realtime virus scanning has two switches, one that says 'off' and really is a temporary 'off', and then there is a 'permanently off'. So be careful you don't turn it off only for it to come right back on again in 30 minutes or so, then you scratch your head wondering why the builds got slower the second time around.

-kto

shawn_meyer
Offline
Joined: 2006-11-14

> You were right, "which" was the problem. I had
> c:\util in my path before cygwin and it contained a
> bunch of utilities with similar names as cygwin uses
> (which, grep, etc) but with different output
> formats.
>
> I moved cygwin to the front of my PATH and now it
> seems to build fine.
>
> Also, it seems that if you use CYGWIN, you *must*
> install ZIP/UNZIP via cygwin. ALT_DEVTOOLS_PATH gets
> ignored. This seems to contradict the documentation.
>
> Sun team: please document the two issues mentioned
> above!
>
> Thanks! :)
> Gili

Ran into the same problem. If using cygwin to build you must have the cygwin zip/unzip.

cowwoc
Offline
Joined: 2003-08-24

The build now fails at:

Signature com.sun.deploy.panel.PlatformSpecificUtils com.sun.deploy.util.UpdateCheck
/usr/bin/touch c:/jdk6/control/build/WINDOW~1/tmp/deploy/deployObj/.class.header
s.i586
/usr/bin/cp C:/PROGRA~1/MICROS~1.NET/VC7/PlatformSDK/include/BaseTsd.h c:/jdk6/control/build/WINDOW~1/tmp/deploy/deployObj/BaseTsd.h
/usr/bin/cp C:/PROGRA~1/MICROS~1.NET/VC7/PlatformSDK/include/Wincrypt.h c:/jdk6/control/build/WINDOW~1/tmp/deploy/deployObj/Wincrypt.h
/usr/bin/cp C:/PROGRA~1/MICROS~1.NET/VC7/PlatformSDK/lib/crypt32.lib c:/jdk6/control/build/WINDOW~1/tmp/deploy/deployObj/crypt32.lib
make[6]: *** No rule to make target `c:/jdk6/control/build/WINDOW~1/tmp/deploy/d
eployObj/BasicPerfStore.o', needed by `c:/jdk6/control/build/WINDOW~1/tmp/deploy
/common/bin/deploy.dll'. Stop.
rm c:/jdk6/control/build/WINDOW~1/tmp/deploy/l10n/com/sun/deploy/resources/Deplo
yment_zh_HK.java
make[6]: Leaving directory `/cygdrive/c/jdk6/deploy/make/javaws'
make[5]: *** [all] Error 2
make[5]: Leaving directory `/cygdrive/c/jdk6/deploy/make/javaws'
make[4]: *** [installer-int] Error 2
make[4]: Leaving directory `/cygdrive/c/jdk6/deploy/make/javaws'
make[3]: *** [installer-int] Error 2
make[3]: Leaving directory `/cygdrive/c/jdk6/deploy/make/javaws'
make[2]: *** [javaws-all] Error 2
make[2]: Leaving directory `/cygdrive/c/jdk6/deploy/make'
make[1]: *** [deploy-build] Error 2
make[1]: Leaving directory `/cygdrive/c/jdk6/control/make'
make: *** [scsl-build] Error 2

Any ideas?

Gili

nepalese
Offline
Joined: 2006-04-04

c:/jdksrc/deploy/make/common/DeployRules.gmk

Search:
DEPLOY_PLATFORM_SRC := $(call FullPath,"$(DEPLOY_TOPDIR)/src/common/windows")
DEPLOY_SHARE_SRC := $(call FullPath,"$(DEPLOY_TOPDIR)/src/common/share")
Change To:
DEPLOY_PLATFORM_SRC := $(DEPLOY_TOPDIR)/src/common/windows
DEPLOY_SHARE_SRC := $(DEPLOY_TOPDIR)/src/common/share

cowwoc
Offline
Joined: 2003-08-24

That seems to fix it, thanks!

1) Is anyone at Sun taking down these bug reports or do I need to file formal BugParade issues?

2) Why is the build process so slow? It almost looks to me like make is sleep()ing. I see it pause after each component finishes building and most of the CPU is used by "system idle process". Is there a sleep() at play? If not the only other thing I can think of is the anti-virus which slows down I/O access.

3) While building I see this warning:

>>>Making initial-image-jre @ Mon Apr 24 01:14:52 EDT 2006 ...
[...a few lines later...]
Included file com\sun\java\swing\plaf\windows\WindowsUtils.class missing, skippi
ng.
Included file com\sun\java\swing\SwingUtilities2$2$1.class missing, skipping.
Included file com\sun\xml\stream\Entity$ScannedEntity.class missing, skipping.
Included file com\sun\xml\stream\Entity.class missing, skipping.
Included file com\sun\xml\stream\XMLBufferListener.class missing, skipping.
Included file com\sun\xml\stream\XMLEntityStorage.class missing, skipping.
Included file javax\swing\TransferHandler$TransferInfo.class missing, skipping.
Included file java\nio\channels\spi\AbstractInterruptibleChannel$2.class missing
, skipping.
Included file java\nio\channels\spi\AbstractInterruptibleChannel$FooChannel.clas
s missing, skipping.
Included file java\util\regex\Pattern$Dummy.class missing, skipping.
Included file com\sun\java\swing\SwingUtilities2$AATextInfo.class missing, skipp
ing.
Included file com\sun\java\swing\SwingUtilities2$2.class missing, skipping.
Included file com\sun\java\swing\SwingUtilities2$LSBCacheEntry.class missing, sk
ipping.
Included file com\sun\java\swing\SwingUtilities2.class missing, skipping.
Included file sun\java2d\loops\FillGeneralPath.class missing, skipping.
Included file sun\java2d\loops\DrawGeneralPath.class missing, skipping.
Included file java\lang\Shutdown$WrappedHook.class missing, skipping.

[...much later on...]

cd ../make/plugin ; make deploy-images BUILD_PLUGIN=false
/bin/sh: -c: line 0: syntax error near unexpected token `;'
/bin/sh: -c: line 0: `; /cygdrive/c/jdk6/deploy/make/plugin'

It seems to be harmless but maybe it's something that should be fixed.

3) The entire build process seems to take hours to complete. I'd like to submit a Mustang patch, so I need to be able to make changes and recompile fairly quickly. Is there a quicker way to compile the changes without waiting for the full thing?

Thanks,
Gili

trembovetski
Offline
Joined: 2003-12-31

1) I hope so.

2) there are no sleeps, I can assure you.

On my system (2.4Ghz xeon) full build takes about 40 mins.
On amd64 it takes about 25 mins.

Note that typically you don't need to build hotspot plugin, deploy workspaces if your fix doesn't touch files from those workspaces.

All you need is to build the j2se workspace.

3) Yes, you can do partial builds. For example, if you change some code in javax/swing, cd to make/javax/swing and issue gnumake from that directory.

Unfortunately there's not always an easy mapping between the make directory names and the components they build.

For native AWT/2D code, cd make/sun/awt .

Thanks,
Dmitri

trembovetski
Offline
Joined: 2003-12-31

I'm guessing the failure has something to do with this:

c:\util\which.exe: no sh in (c:\Program Files\Subversion\bin;c:\Program Files\Microsoft Visual Studio .NET 2003\Common7\IDE;c:\Program Files\Microsoft Visual Studio .NET 2003\VC7\BIN;c:\Program Files\Microsoft Visual Studio .NET 2003\Common7\Tools;c:\Program Files\Microsoft Visual Studio .NET 2003\Common7\Tools\bin\prerelease;c:\Program Files\Microsoft Visual Studio .NET 2003\Common7\Tools\bin;c:\Program Files\Microsoft Visual Studio .NET 2003\SDK\v1.1\bin;c:\WINDOWS\Microsoft.NET\Framework\v1.1.4322;c:\Program Files\DesktopBeautifier;c:\Program Files\Java\jdk1.5.0_06\bin;c:\WINDOWS\system32;c:\WINDOWS;c:\WINDOWS\System32\Wbem;c:\Program Files\Executive Software\Diskeeper\;c:\Program Files\Subversion\bin;c:\util;c:\util\dumpbin;c:\Program Files\jprofiler4\bin\windows;c:\Program Files\TextPad 4;c:\Program Files\ant\bin;c:\Program Files\Maven\bin;c:\Program Files\Maven2\bin;C:\cygwin\bin;c:\Progra~1\Java\jdk1.5.0_06\bin;.\)
c:\jdk6\hotspot/build/windows/get_msc_ver.sh: line 40: ./head: No such file or directory
c:\jdk6\hotspot/build/windows/get_msc_ver.sh: line 40: ./sed: No such file or directory
c:\jdk6\hotspot/build/windows/get_msc_ver.sh: line 41: ./echo: No such file or directory
c:\jdk6\hotspot/build/windows/get_msc_ver.sh: line 41: ./cut: No such file or directory
c:\jdk6\hotspot/build/windows/get_msc_ver.sh: line 42: ./echo: No such file or directory
c:\jdk6\hotspot/build/windows/get_msc_ver.sh: line 42: ./cut: No such file or directory
c:\jdk6\hotspot/build/windows/get_msc_ver.sh: line 43: ./echo: No such file or directory
c:\jdk6\hotspot/build/windows/get_msc_ver.sh: line 43: ./cut: No such file or directory
c:\jdk6\hotspot/build/windows/get_msc_ver.sh: line 44: [: : integer expression expected
c:\jdk6\hotspot/build/windows/get_msc_ver.sh: line 48: ./expr: No such file or directory
cd windows_i486_compiler2

Not sure why this happens, though.

Do you really need to build hotspot? You can build only j2se, and import hotspot libraries from a binary build by setting ALT_JDK_IMPORT_PATH (I think).

Just cd j2se/make ; and build from there.

Thanks,
Dmitri

cowwoc
Offline
Joined: 2003-08-24

You were right, "which" was the problem. I had c:\util in my path before cygwin and it contained a bunch of utilities with similar names as cygwin uses (which, grep, etc) but with different output formats.

I moved cygwin to the front of my PATH and now it seems to build fine.

Also, it seems that if you use CYGWIN, you *must* install ZIP/UNZIP via cygwin. ALT_DEVTOOLS_PATH gets ignored. This seems to contradict the documentation.

Sun team: please document the two issues mentioned above!

Thanks! :)
Gili

vijayj
Offline
Joined: 2004-10-26

> Also, it seems that if you use CYGWIN, you *must* install ZIP/UNZIP via cygwin. ALT_DEVTOOLS_PATH gets ignored. This seems to contradict the documentation.

> Sun team: please document the two issues mentioned above!

I will look into this and update our document if it is required..

Thanks,
Vijayan.