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

configure script failed on WSL in May 2020 update

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: 15, 16
    • Fix Version/s: 16
    • Component/s: infrastructure
    • Labels:
      None
    • Subcomponent:
    • Resolved In Build:
      b04
    • OS:
      windows

      Description

      I saw two configure errors when I run configure script on WSL in Windows 10 May 2020 update as below:


      1. wslpath could not convert the path of fixpath.exe

      ```
      checking if fixpath can be created... /usr/bin/wslpath: /mnt/d/OpenJDK/jdk/build/windows-x86_64-server-fastdebug/configure-support/bin/fixpath.exe: No such file or directory
      ```

      2. C4477 warning occurred in fixpath.c (Following messages is in Japanese locale, sorry)

      ```
      D:/OpenJDK/jdk/make/src/native/fixpath.c(50): warning C4477: 'fprintf' : 書式文字列 '%s' には、型 'char *' の引数が必要 ですが、可変個引数 3 は型 'LPVOID' です
      ```

      Since Windows 10 build 18945 [1], wslpath issue [2] has been fixed. I guess this is the cause of wslpath problem in configure script.

      [1] https://docs.microsoft.com/ja-jp/windows/wsl/release-notes#build-18945
      [2] https://github.com/microsoft/WSL/issues/4078

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              ysuenaga Yasumasa Suenaga
              Reporter:
              ysuenaga Yasumasa Suenaga
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: