Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-6441725

Windows X64 build failures (Error 1 from mks command)

XMLWordPrintable

    • generic
    • generic

      The j2se builds can randomly fail on Windows 64bit with the pattern:

      >>> Recursively making XXX @ Tue Jun 20 22:13:20 PDT 2006 ...
       gnumake.exe[N]: Entering directory `make/XXX'
       gnumake.exe[N]: *** [../../../../build/windows-amd64/classes/ZZZ.class] Error 1 <---------
       gnumake.exe[N]: Leaving directory `make/XXX'

      I've seen this multiple times and it usually does not reproduce. I'm suspecting that either the gnumake.exe we are using is flakey, or something is wrong with MKS 9 on Windows X64 (9.0p3 on the JPRT machine, 9.0p1 on CORVAIR and ODDJOB, but ODDJOB hasn't had this failure as far as I know).

      I think it's dealing with the simple rule in make/common/Rules.gmk that does:

      $(CLASSDESTDIR)/%.class: $(SHARE_SRC)/classes/%.java
              @$(ECHO) "$?" >> $(JAVA_SOURCE_LIST)
              @$(check-conventions)

      Which is pretty simple, but since it's silenced with the '@', I can't determine which line failed, if either did. The conventions-check is just an if test that doesn't do anything.


      Example One:

      <<<Finished Recursively making ssl all @ Wed Jun 21 04:06:56 PDT 2006.
      Done Processing SUBDIRS: ssl
      gnumake[2]: Leaving directory `C:/nightly/Build_06_21T03_00/ssn_wscopy/make/javax/rmi'
        Timing: 00007 seconds or 7s for make-javax-rmi
      <<<Finished Recursively making rmi all @ Wed Jun 21 04:06:57 PDT 2006.
      >>>Recursively making management all @ Wed Jun 21 04:06:57 PDT 2006 ...
      gnumake[2]: Entering directory `C:/nightly/Build_06_21T03_00/ssn_wscopy/make/javax/management'
      gnumake[2]: *** [../../../build/windows-amd64/classes/javax/management/modelmbean/ModelMBeanNotificationBroadcaster.class] Error 1
      gnumake[2]: Leaving directory `C:/nightly/Build_06_21T03_00/ssn_wscopy/make/javax/management'
      gnumake[1]: *** [all] Error 1
      gnumake[1]: Leaving directory `C:/nightly/Build_06_21T03_00/ssn_wscopy/make/javax'
      gnumake: *** [all] Error 1

      Example Two:

      <<<Finished Recursively making pkcs all @ Tue Jun 20 22:13:20 PDT 2006.
      >>>Recursively making provider all @ Tue Jun 20 22:13:20 PDT 2006 ...
      C:\jprt\slashjava\devtools\win32\bin\gnumake.exe[4]: Entering directory `C:/jprt/temp/build/2006-06-20-202202.tbell/source/make/sun/security/provider'
      C:\jprt\slashjava\devtools\win32\bin\gnumake.exe[4]: *** [../../../../build/windows-amd64/classes/sun/security/provider/certpath/SunCertPathBuilderParameters.class] Error 1
      C:\jprt\slashjava\devtools\win32\bin\gnumake.exe[4]: Leaving directory `C:/jprt/temp/build/2006-06-20-202202.tbell/source/make/sun/security/provider'
      C:\jprt\slashjava\devtools\win32\bin\gnumake.exe[3]: *** [all] Error 1
      C:\jprt\slashjava\devtools\win32\bin\gnumake.exe[3]: Leaving directory `C:/jprt/temp/build/2006-06-20-202202.tbell/source/make/sun/security'
      C:\jprt\slashjava\devtools\win32\bin\gnumake.exe[2]: *** [all] Error 1
      C:\jprt\slashjava\devtools\win32\bin\gnumake.exe[2]: Leaving directory `C:/jprt/temp/build/2006-06-20-202202.tbell/source/make/sun'
      gnumake.exe[1]: *** [all] Error 1
      gnumake.exe[1]: Leaving directory `C:/jprt/temp/build/2006-06-20-202202.tbell/source/make'
      C:\jprt\slashjava\devtools\win32\bin\gnumake.exe: *** [debug] Error 2
      Another example (from failed jprt job):

      ...
      C:/mks/mksnt/mv ../../../build/windows-amd64/gensrc/java/util/CurrencyData.java.temp ../../../build/windows-amd64/gensrc/java/util/CurrencyData.java
      C:\jprt\slashjava\devtools\win32\bin\gnumake.exe[2]: *** [../../../build/windows-amd64/classes/java/io/InterruptedIOException.class] Error 1
      C:\jprt\slashjava\devtools\win32\bin\gnumake.exe[2]: Leaving directory `C:/jprt/temp/build/2006-06-26-075852.tbell/source/make/java/java'
      ...
      Another example from JPRT:

      ...
      Begin Processing SUBDIRS: dom
      >>> >>>Recursively making dom all @ Mon Jun 26 10:55:54 PDT 2006 ...
      C:\jprt\slashjava\devtools\win32\bin\gnumake.exe[3]: Entering directory `C:/jprt/temp/build/2006-06-26-094720.mchung/source/make/org/w3c/dom'
      C:\jprt\slashjava\devtools\win32\bin\gnumake.exe[3]: *** [../../../../build/windows-amd64/classes/org/w3c/dom/css/CSSRuleList.class] Error 1
      C:\jprt\slashjava\devtools\win32\bin\gnumake.exe[3]: Leaving directory
      ...

            ohair Kelly Ohair (Inactive)
            ohair Kelly Ohair (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: