* Repository: gentoo * Maintainer: media-video@gentoo.org * USE: abi_x86_64 amd64 elibc_glibc fontconfig java kernel_linux truetype userland_GNU xml * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox !!! ERROR: The javac executable was not found in the Java path * Using: openjdk-jre-bin-8 >>> Unpacking source... ------------------------------------------------------------------- This is an unstable amd64 chroot image at a tinderbox (==build bot) name: 17.1_no_multilib_hardened-j4-20220503-100004 ------------------------------------------------------------------- gcc-config -l: [1] x86_64-pc-linux-gnu-9.3.1 [2] x86_64-pc-linux-gnu-11.3.0 * clang/llvm (if any): clang version 14.0.3 Target: x86_64-pc-linux-gnu Thread model: posix InstalledDir: /usr/lib/llvm/14/bin /usr/lib/llvm/14 14.0.3 Python 3.9.12 Available Ruby profiles: [1] ruby26 (with Rubygems) [2] ruby27 (with Rubygems) [3] ruby31 (with Rubygems) * Available Rust versions: [1] rust-1.60.0 * GENTOO_VM=openjdk-jre-bin-8 CLASSPATH="" JAVA_HOME="/opt/openjdk-jre-bin-8.322_p06" JAVACFLAGS="-source 1.8 -target 1.8" COMPILER="" The following VMs are available for generation-2: 1) OpenJDK 11.0.14_p9 [openjdk-11] *) Eclipse Temurin JRE 8.322_p06 [openjdk-jre-bin-8] Available Java Virtual Machines: [1] openjdk-11 [2] openjdk-jre-bin-8 system-vm The Glorious Glasgow Haskell Compilation System, version 8.10.4 php cli: HEAD of ::gentoo commit 8f6a818553d500f2052d166346c1a6fea078843e Author: Repository mirror & CI <repomirrorci@gentoo.org> Date: Fri May 6 16:33:12 2022 +0000 2022-05-06 16:33:12 UTC emerge -qpvO media-libs/libbluray [ebuild N ] media-libs/libbluray-1.3.1 USE="fontconfig java truetype xml -aacs -bdplus -utils"
Created attachment 777074 [details] emerge-info.txt
Created attachment 777077 [details] emerge-history.txt.bz2
Created attachment 777080 [details] environment
Created attachment 777083 [details] etc.portage.tar.bz2
Created attachment 777086 [details] logs.tar.bz2
Created attachment 777089 [details] media-libs:libbluray-1.3.1:20220506-164956.log
Created attachment 777092 [details] temp.tar.bz2
This issue is caused because the build system cannot find a javac executable [system-vm] in the Java path. The configure check will hard fail because the jni.h header file cannot be found on the path. This is because the jni.h header file is not included within JRE - Java Runtime Environment - implementations. This file IS included with any of the JDK - Java Development Kit - implementations included in the ::gentoo repository. Changing the Java implementation using `eselect java-vm` to a JKD implementation such as openjdk, openjdk-bin, icedtea, or icedtea-bin will resolve this build issue. It would be a wise idea and help to our users base to include a failure (elog, ewarn, or eerror message?) to alert the system administrators that the build will fail the configuration check if a system-vm JDK implementation is not properly set (via `eselect java-vm`) prior to the emerge attempt.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=39e0106d03d6bd041357b6f37038727b932d0c50 commit 39e0106d03d6bd041357b6f37038727b932d0c50 Author: Volkmar W. Pogatzki <gentoo@pogatzki.net> AuthorDate: 2024-03-27 10:34:08 +0000 Commit: Conrad Kostecki <conikost@gentoo.org> CommitDate: 2024-04-02 18:00:58 +0000 media-libs/libbluray: drop 1.3.3 Closes: https://bugs.gentoo.org/814590 Closes: https://bugs.gentoo.org/843041 Signed-off-by: Volkmar W. Pogatzki <gentoo@pogatzki.net> Signed-off-by: Conrad Kostecki <conikost@gentoo.org> media-libs/libbluray/Manifest | 1 - media-libs/libbluray/libbluray-1.3.3.ebuild | 85 ----------------------------- 2 files changed, 86 deletions(-)