Hi
I found the problem. This page from Volker Simonis
https://weblogs.java.net/blog/simonis/archive/2011/10/28/yaojowbi-yet-another-openjdk-windows-build-instruction?force=510,
is explaining that the make from cygwin does not support windows drive letters
and that one should rebuild and install the make tool !
May be it would be useful to put a link to this URL in the README or in the
README-pre-components
Francis
Le 03/10/2013 15:31, Francis ANDRE a écrit :
Hi
On a WXP/x86/VS2012/Cygwin platform, the make sanity run fails as show below
FrancisANDRE@idefix /cygdrive/z/DEV/OpenJDK_7u40
$ make -d sanity
GNU Make 3.82.90
Built for i686-pc-cygwin
Copyright (C) 2010 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Reading makefiles...
Reading makefile `Makefile'...
Reading makefile `jdk/make/common/shared/Defs-control.gmk' (search path) (no ~
expansion)...
Reading makefile `jdk/make/common/shared/Platform.gmk' (search path) (no ~
expansion)...
Reading makefile `jdk/make/common/shared/Defs.gmk' (search path) (no ~
expansion)...
Reading makefile `jdk/make/common/shared/Defs-utils.gmk' (search path) (no ~
expansion)...
Reading makefile `jdk/make/common/shared/Defs-versions.gmk' (search path) (no
~ expansion)...
Reading makefile `jdk/make/common/shared/Defs-windows.gmk' (search path) (no ~
expansion)...
Reading makefile `jdk/make/common/shared/Compiler-msvc.gmk' (search path) (no
~ expansion)...
Reading makefile `make/Defs-internal.gmk' (search path) (no ~ expansion)...
Reading makefile `make/sanity-rules.gmk' (search path) (no ~ expansion)...
make/sanity-rules.gmk:61: *** multiple target patterns. Stop.
The problem is coming from the value of ERROR_FILE which is set to
Z:/DEV/OpenJDK_7u40/build/windows-i586/sanityCheckErrors.txt (see the make -p
sanity joined).As ERROR_FILE contains a ':', make gets messed up and fails.
Even if I am using ALT_OUTPUTDIR=/cygdrive/z/DEV/OpenJDK_7u40/build, make
sanity fails with
FrancisANDRE@idefix /cygdrive/z/DEV/OpenJDK_7u40
$ export ALT_OUTPUTDIR=/cygdrive/z/DEV/OpenJDK_7u40/build
FrancisANDRE@idefix /cygdrive/z/DEV/OpenJDK_7u40
$ make sanity
( cd ./jdk/make && \
make sanity HOTSPOT_IMPORT_CHECK=false JDK_TOPDIR=Z:/DEV/OPDD45~1/jdk
JDK_MAKE_SHARED_DIR=Z:/DEV/
OPDD45~1/jdk/make/common/shared EXTERNALSANITYCONTROL=true
SOURCE_LANGUAGE_VERSION=7 TARGET_CLASS
_VERSION=7 MILESTONE=internal BUILD_NUMBER=b00 JDK_BUILD_NUMBER=b00
FULL_VERSION=1.7.0-internal-
francisandre_2013_10_03_15_22-b00 PREVIOUS_JDK_VERSION=1.6.0
JDK_VERSION=1.7.0 JDK_MKTG_VERSION=7
JDK_MAJOR_VERSION=1 JDK_MINOR_VERSION=7 JDK_MICRO_VERSION=0
PREVIOUS_MAJOR_VERSION=1 PREVIOUS_
MINOR_VERSION=6 PREVIOUS_MICRO_VERSION=0 ARCH_DATA_MODEL=32
COOKED_BUILD_NUMBER=0 ANT_HOME="C:\Prog
ram Files\Apache Software Foundation\apache-ant-1.8.4"
ALT_OUTPUTDIR=/cygdrive/z/DEV/OpenJDK_7u40/b
uild ALT_LANGTOOLS_DIST=/cygdrive/z/DEV/OpenJDK_7u40/build/langtools/dist
ALT_CORBA_DIST=/cygdrive/z
/DEV/OpenJDK_7u40/build/corba/dist
ALT_JAXP_DIST=/cygdrive/z/DEV/OpenJDK_7u40/build/jaxp/dist ALT_JA
XWS_DIST=/cygdrive/z/DEV/OpenJDK_7u40/build/jaxws/dist
ALT_HOTSPOT_IMPORT_PATH=/cygdrive/z/DEV/OpenJ
DK_7u40/build/hotspot/import BUILD_HOTSPOT=true ; )
INFO: ENABLE_FULL_DEBUG_SYMBOLS=1
INFO: ZIP_DEBUGINFO_FILES=1
make[1]: Entering directory `/cygdrive/z/DEV/OpenJDK_7u40/jdk/make'
common/Release.gmk:535: *** target pattern contains no `%'. Stop.
make[1]: Leaving directory `/cygdrive/z/DEV/OpenJDK_7u40/jdk/make'
make/jdk-rules.gmk:100: recipe for target `jdk-sanity' failed
make: *** [jdk-sanity] Error 2
This issue is so much complex among all *.gmk, *.sh, that I am not able to
find out a solution. I joined the make -p sanity dump.
Can someone from the build team have a look to this WXP path related issue?
Francis