Cannot build new jdk on Windows after commit d29c78d
-
liangchenblue at gmail.com
Wed Jan 6 23:19:11 UTC 2021
Hello,
I am a Windows 10 user trying to build OpenJDK HEAD
<https://github.com/openjdk/jdk> so that I can try to fix a bug in javadoc.
However, when I run make configure, my configure fails because it cannot
detect a regular microsoft visual studio installation, which contains
spaces in its directory name.
I have tried to reinstall microsoft visual studio to a directory without
spaces in name and pointed VSCOMMTOOLS system var to that directory. It
succeeded but failed subsequently for other dependencies that have spaces
in directory names.
I have determined that the problem arises after this commit:
d29c78da19ba78214efe9e7856cde30fdd9ba8ab
<https://github.com/openjdk/jdk/commit/d29c78da19ba78214efe9e7856cde30fdd9ba8ab>
When I checkout the commit before, 74be819
<https://github.com/openjdk/jdk/commit/74be819088e13e244131cfb32d7d498ab213d075>,
when the "fixpath.c" was used rather than "fixpath.sh", I can run "make
configure" successfully, without failing for subsequent space problems.
I think this problem lies within the "fixpath.sh" bash script.
Unfortunately, I am no good at shell. I hope Magnus Ihse Bursie, who did
the c to bash migration, can find a solution to this space in windows
directory name failing fixpath problem.
Best,
liangchenblue at gmail.com
More information about the adoption-discuss
mailing list