JDK-8071490 : JDK9 nightly build from 01/23 failed
  • Type: Bug
  • Component: install
  • Sub-Component: auto_update
  • Priority: P1
  • Status: Closed
  • Resolution: Fixed
  • OS: windows
  • Submitted: 2015-01-23
  • Updated: 2017-06-22
  • Resolved: 2015-01-28
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 8 JDK 9
8u60Fixed 9 b52Fixed
Related Reports
Cloners :  
Description
Last night's nightly Windows build failed with installer errors. Please see:

http://bussunb0705.us.oracle.com:8080/hudson/view/JPRT%20jobs/job/DS-JPRT-BUILDS-NEW-SQE/165/console

http://scaaa637.us.oracle.com/archive/2015/01/2015-01-23-063247.jdeploy.workspace/JobStatus.txt

Here are the real insatller errors:

make[2]: *** [installer] Error 2 make[2]: Leaving directory '/cygdrive/c/jprt/T/P1/063247.jdeploy/s/make' make[1]: *** [main-wrapper] Error 2 Makefile:147: recipe for target 'main-wrapper' failed make[1]: Leaving directory '/cygdrive/c/jprt/T/P1/063247.jdeploy/s' Makefile:103: recipe for target 'jprt_bundle' failed

/make/au2.0/jucheck/XmlParser.cpp /src/windows/wrappers/common/XMLParser.cpp /cygdrive/c/jprt/T/P1/063247.jdeploy/s/install/make/smartmake/Rules.gmk:12: recipe for target '/cygdrive/c/jprt/T/P1/063247.jdeploy/s/build/windows-x86-normal-clientANDserver-release/install/lib/__CompileWithUnicode.5.lib' failed 


Comments
Until the fix is available it is possible to avoid this random issue by not adding UNITTEST=true to jprt build command line. Not passing UNITTEST=true on jprt command line just disables build and run of unit tests. This is optional part of the build.
27-01-2015

Looks like 01/24 nightly build (was rerun today after JPRT West systems came back) failed with same error? http://scaaa637.us.oracle.com/archive/2015/01/2015-01-24-063259.jdeploy.workspace/JobStatus.txt
27-01-2015

Looks like the problem is caused by logic used to compile with UNICODE (/make/windows/defs/CompileWithUnicode.gmk, make/share/defs/SourceCodeSentinel.gmk) The rule builds files asynchronously and output file does not include path, only filename We have 2 XmlParser.cpp: make/au2.0/jucheck/XmlParser.cpp and src/windows/wrappers/common/XMLParser.cpp And occasionally both are build at the same time, so 2 compilers try to write at the same output file Assigning to Alexey
23-01-2015

/bin/sh /cygdrive/c/jprt/T/P1/063247.jdeploy/s/install/make/smartmake//compile_async.sh /cygdrive/c/jprt/T/P1/063247.jdeploy/s/build/windows-x86-normal-clientANDserver-release/install/obj/__CompileWithUnicode.5.lib/XmlParser.obj /cygdrive/c/jprt/T/P1/063247.jdeploy/s/build/windows-x86-normal-clientANDserver-release/install/obj/__CompileWithUnicode.5.lib/DirCleaner.obj /cygdrive/c/jprt/T/P1/063247.jdeploy/s/build/windows-x86-normal-clientANDserver-release/install/obj/__CompileWithUnicode.5.lib/JCleaner.obj /cygdrive/c/jprt/T/P1/063247.jdeploy/s/build/windows-x86-normal-clientANDserver-release/install/obj/__CompileWithUnicode.5.lib/JavaScrub.obj /cygdrive/c/jprt/T/P1/063247.jdeploy/s/build/windows-x86-normal-clientANDserver-release/install/obj/__CompileWithUnicode.5.lib/XMLParser.obj /cygdrive/c/jprt/T/P1/063247.jdeploy/s/build/windows-x86-normal-clientANDserver-release/install/obj/__CompileWithUnicode.5.lib/SecurityBaselineTest.obj /cygdrive/c/jprt/T/P1/063247.jdeploy/s/build/windows-x86-normal-clientANDserver-release/install/objmake[2]: INTERNAL: Exiting with 3 jobserver tokens available; should be 6!
23-01-2015

It looks like compiler cannot open obj file: c:\jprt\T\P1\063247.jdeploy\s\install\make\au2.0\jucheck\XmlParser.cpp : fatal error C1083: Cannot open compiler generated file: 'c:/jprt/T/P1/063247.jdeploy/s/build/windows-x86-normal-clientANDserver-release/install/obj/__CompileWithUnicode.5.lib/XmlParser.obj': Permission denied
23-01-2015

jprt build log errors as mentioned in the CR as mentioned in the description indicate the issue could be a regression from http://closedjdk.us.oracle.com/jdk9/client/install/rev/79191c344625.
23-01-2015