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
Created attachment 589982 [details] config.log config.log
Created attachment 589984 [details] build.log build.log
Created attachment 589986 [details] info emerge --info
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.
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(-)