RFR: 8260272: bash configure --prefix does not work after JDK-8257679 [v2]
Erik Joelsson
erikj at openjdk.java.net
Fri Jan 22 14:41:06 UTC 2021
On Fri, 22 Jan 2021 04:49:07 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`.
>
> 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.
Marked as reviewed by erikj (Reviewer).
-------------
PR: https://git.openjdk.java.net/jdk/pull/2189
More information about the build-dev
mailing list