Details
-
Bug
-
Resolution: Fixed
-
P3
-
None
-
b28
Backports
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8298661 | 21 | Christoph Langer | P3 | Resolved | Fixed | b02 |
JDK-8298787 | 17.0.7 | Christoph Langer | P3 | Resolved | Fixed | b01 |
JDK-8298792 | 11.0.19 | Christoph Langer | P3 | Resolved | Fixed | b01 |
Description
/usr/bin/ln: failed to create symbolic link '/d/a/jdk11u-dev/jdk11u-dev/build/windows-x64/support/src/src/jdk.internal.vm.compiler.management/share/classes/jdk.internal.vm.compiler.management' -> '../../../../../../../../src/jdk.internal.vm.compiler.management/share/classes': File name too long
Here, the reported filenames actually aren't too long but somehow during copying the subtree ln probably encounters files with a name too long for msys.
We could overcome this by setting a Windows file system junction instead of using ln. Maybe that's even better for build performance.
While debugging this I also found that the handling of file relativity to the top directory does not account for a build directory that could reside outside the source tree.
Attachments
Issue Links
- backported by
-
JDK-8298661 Fix msys2 linking and handling out of tree build directory for source zip creation
- Resolved
-
JDK-8298787 Fix msys2 linking and handling out of tree build directory for source zip creation
- Resolved
-
JDK-8298792 Fix msys2 linking and handling out of tree build directory for source zip creation
- Resolved
- links to
-
Commit openjdk/jdk11u-dev/b3c7b287
-
Commit openjdk/jdk17u-dev/399a52dc
-
Commit openjdk/jdk20/d624debe
-
Review openjdk/jdk11u-dev/1586
-
Review openjdk/jdk17u-dev/950
-
Review openjdk/jdk19u/104
-
Review openjdk/jdk20/9