-
Type:
Bug
-
Resolution: Duplicate
-
Priority:
P3
-
None
-
Affects Version/s: 6
-
Component/s: infrastructure
-
None
-
generic
-
generic
Defs.gmk contains rules to set BUILD_NUMBER if it is not set. The macro
uses $(ECHO) and $(USER), which have not necessarily been set. When building javac,
I get the following output, which is attributable to these values being undefined:
output:----------
/bin/sh: +%d_%b_%Y_%H_%M: not found
/bin/sh: A-Z: not found
/bin/sh: jjg_: not found
------------------
the macro in question:--------------
ifndef BUILD_NUMBER
# use ':=' to keep this value from changing as time marches on...
BUILD_NUMBER := $(shell $(ECHO) $(USER)_`$(DATE) '+%d_%b_%Y_%H_%M' | $(TR) "A-Z" "a-z"`)
JDK_BUILD_NUMBER = b00
else
-------------------------------------
###@###.### 2004-11-11 23:06:05 GMT
uses $(ECHO) and $(USER), which have not necessarily been set. When building javac,
I get the following output, which is attributable to these values being undefined:
output:----------
/bin/sh: +%d_%b_%Y_%H_%M: not found
/bin/sh: A-Z: not found
/bin/sh: jjg_: not found
------------------
the macro in question:--------------
ifndef BUILD_NUMBER
# use ':=' to keep this value from changing as time marches on...
BUILD_NUMBER := $(shell $(ECHO) $(USER)_`$(DATE) '+%d_%b_%Y_%H_%M' | $(TR) "A-Z" "a-z"`)
JDK_BUILD_NUMBER = b00
else
-------------------------------------
###@###.### 2004-11-11 23:06:05 GMT
- duplicates
-
JDK-6191109 Mustang build broken on windows-i586 if you don't specify BUILD_NUMER=
-
- Resolved
-