Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 694546 - dev-java/openjdk-11.0.4_p11 - configure: error: The path given by --with-boot-jdk does not contain a valid Boot JDK
Summary: dev-java/openjdk-11.0.4_p11 - configure: error: The path given by --with-boot...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Georgy Yakovlev
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-09-16 10:21 UTC by Alessandro Barbieri
Modified: 2019-09-16 18:19 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
config.log (config.log,34.78 KB, text/plain)
2019-09-16 10:22 UTC, Alessandro Barbieri
Details
build.log (build.log,13.16 KB, text/plain)
2019-09-16 10:23 UTC, Alessandro Barbieri
Details
info (info,13.41 KB, text/plain)
2019-09-16 10:23 UTC, Alessandro Barbieri
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alessandro Barbieri 2019-09-16 10:21:51 UTC
I don't know what's happening

checking for version string... 11.0.4+11
configure: Found potential Boot JDK using configure arguments
configure: Potential Boot JDK found at /opt/openjdk-bin-11.0.4_p11 is incorrect JDK version (Picked up JAVA_TOOL_OPTIONS: -Xms1024m -Xmx2048m); ignoring
configure: (Your Boot JDK version must be one of: 10 11)
configure: error: The path given by --with-boot-jdk does not contain a valid Boot JDK
configure exiting with result code 1


Reproducible: Always
Comment 1 Alessandro Barbieri 2019-09-16 10:22:33 UTC
Created attachment 589982 [details]
config.log

config.log
Comment 2 Alessandro Barbieri 2019-09-16 10:23:04 UTC
Created attachment 589984 [details]
build.log

build.log
Comment 3 Alessandro Barbieri 2019-09-16 10:23:56 UTC
Created attachment 589986 [details]
info

emerge --info
Comment 4 Georgy Yakovlev archtester gentoo-dev 2019-09-16 18:16:33 UTC
unset JAVA_TOOL_OPTIONS

run ^ before emerging. it's not a good idea to have this defined globally.

I'll add this to ebuild shortly.


some environment variables affect version output and configure script fails to determine version. We already unset JAVA_OPTIONS and couple other variables.
Comment 5 Larry the Git Cow gentoo-dev 2019-09-16 18:19:59 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=aedd5c64e04ec71a182c8004a75936b77ac0cd31

commit aedd5c64e04ec71a182c8004a75936b77ac0cd31
Author:     Georgy Yakovlev <gyakovlev@gentoo.org>
AuthorDate: 2019-09-16 18:19:28 +0000
Commit:     Georgy Yakovlev <gyakovlev@gentoo.org>
CommitDate: 2019-09-16 18:19:47 +0000

    dev-java/openjdk: unset JAVA_TOOL_OPTIONS before ./configure
    
    Closes: https://bugs.gentoo.org/694546
    Package-Manager: Portage-2.3.76, Repoman-2.3.17
    Signed-off-by: Georgy Yakovlev <gyakovlev@gentoo.org>

 dev-java/openjdk/openjdk-11.0.3_p7-r4.ebuild | 2 +-
 dev-java/openjdk/openjdk-11.0.4_p11.ebuild   | 2 +-
 dev-java/openjdk/openjdk-8.212_p03-r3.ebuild | 2 +-
 dev-java/openjdk/openjdk-8.222_p10.ebuild    | 2 +-
 4 files changed, 4 insertions(+), 4 deletions(-)