Integrated: 8260272: bash configure --prefix does not work after JDK-8257679

Dongbo He dongbohe at openjdk.java.net
Mon Jan 25 01:11:40 UTC 2021


On Fri, 22 Jan 2021 01:29:10 GMT, Dongbo He <dongbohe at openjdk.org> wrote:

> $ 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`.

This pull request has now been integrated.

Changeset: 764111ff
Author:    Dongbo He <dongbohe at openjdk.org>
Committer: Fei Yang <fyang at openjdk.org>
URL:       https://git.openjdk.java.net/jdk/commit/764111ff
Stats:     7 lines in 1 file changed: 0 ins; 0 del; 7 mod

8260272: bash configure --prefix does not work after JDK-8257679

Reviewed-by: erikj, ihse

-------------

PR: https://git.openjdk.java.net/jdk/pull/2189



More information about the build-dev mailing list