-
Bug
-
Resolution: Fixed
-
P4
-
None
-
None
-
b22
-
os_x
Error log from my attempt to 'make images' on macOS:
---
chmod: /Users/dan/Dev/jdk/oracle/build/macosx-aarch64/images/jdk-bundle/jdk-24.jdk/Contents/Home/LICENSE: No such file or directory
MacBundles.gmk:51: recipe for target '/Users/dan/Dev/jdk/oracle/build/macosx-aarch64/images/jdk-bundle/jdk-24.jdk/Contents/Home/LICENSE' failed
make[3]: *** [/Users/dan/Dev/jdk/oracle/build/macosx-aarch64/images/jdk-bundle/jdk-24.jdk/Contents/Home/LICENSE] Error 1
make[3]: *** Waiting for unfinished jobs....
make/Main.gmk:467: recipe for target 'mac-jdk-bundle' failed
make[2]: *** [mac-jdk-bundle] Error 2
---
The file images/jdk-bundle/jdk-24.jdk/Contents/Home/LICENSE is a symbolic link and its target (legal/java.base/LICENSE) does not yet exist. It doesn't always fail, so there seems to be a race condition here (sometimes the target exists? or sometimes chmod doesn't run?).
---
chmod: /Users/dan/Dev/jdk/oracle/build/macosx-aarch64/images/jdk-bundle/jdk-24.jdk/Contents/Home/LICENSE: No such file or directory
MacBundles.gmk:51: recipe for target '/Users/dan/Dev/jdk/oracle/build/macosx-aarch64/images/jdk-bundle/jdk-24.jdk/Contents/Home/LICENSE' failed
make[3]: *** [/Users/dan/Dev/jdk/oracle/build/macosx-aarch64/images/jdk-bundle/jdk-24.jdk/Contents/Home/LICENSE] Error 1
make[3]: *** Waiting for unfinished jobs....
make/Main.gmk:467: recipe for target 'mac-jdk-bundle' failed
make[2]: *** [mac-jdk-bundle] Error 2
---
The file images/jdk-bundle/jdk-24.jdk/Contents/Home/LICENSE is a symbolic link and its target (legal/java.base/LICENSE) does not yet exist. It doesn't always fail, so there seems to be a race condition here (sometimes the target exists? or sometimes chmod doesn't run?).
- relates to
-
JDK-8336498 [macos] [build]: install-file macro may run into permission denied error
- Resolved
- links to
-
Commit(master) openjdk/jdk/a522d216
-
Review(master) openjdk/jdk/21649