> $ bash configure --prefix=/home/hedongbo/jdk-release > $ make install > ... > Creating CDS archive for jdk image > Creating CDS-NOCOOPS archive for jdk image > Installing jdk image into /jvm/openjdk-17-internal > and creating 60 links from /bin into the jdk. > > make[3]: *** [install] Error 1 > Install.gmk:36: recipe for target 'install' failed > make/Main.gmk:786: recipe for target 'install' failed > make[2]: *** [install] Error 2 > > ERROR: Build failed for target 'install' in configuration > 'linux-x86_64-server-release' (exit code 2) > Stopping sjavac server > > === Make failed targets repeated here === > Install.gmk:36: recipe for target 'install' failed > make/Main.gmk:786: recipe for target 'install' failed > === End of repeated output === > > Hint: Try searching the build log for the name of the first failed target. > Hint: See doc/building.html#troubleshooting for assistance. > > make[1]: *** [main] Error 2 > > make: *** [install] Error 2 > > > > > The reason is that the prefix variable used in `make/autoconf/util_paths.m4` > conflicts with the prefix used in `make/autoconf/spec.gmk.in:780`.
Dongbo He has refreshed the contents of this pull request, and previous commits have been removed. The incremental views will show differences compared to the previous content of the PR. The pull request contains one new commit since the last revision: 8260272: bash configure --prefix does not work after JDK-8257679 ------------- Changes: - all: https://git.openjdk.java.net/jdk/pull/2189/files - new: https://git.openjdk.java.net/jdk/pull/2189/files/7627b597..987837ea Webrevs: - full: https://webrevs.openjdk.java.net/?repo=jdk&pr=2189&range=01 - incr: https://webrevs.openjdk.java.net/?repo=jdk&pr=2189&range=00-01 Stats: 0 lines in 0 files changed: 0 ins; 0 del; 0 mod Patch: https://git.openjdk.java.net/jdk/pull/2189.diff Fetch: git fetch https://git.openjdk.java.net/jdk pull/2189/head:pull/2189 PR: https://git.openjdk.java.net/jdk/pull/2189