Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 843041 - media-libs/libbluray-1.3.1 - !!! ERROR: The javac executable was not found in the Java path
Summary: media-libs/libbluray-1.3.1 - !!! ERROR: The javac executable was not found in...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Media-video project
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks: 846872
  Show dependency tree
 
Reported: 2022-05-06 17:56 UTC by Toralf Förster
Modified: 2024-04-02 18:03 UTC (History)
0 users

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


Attachments
emerge-info.txt (emerge-info.txt,18.43 KB, text/plain)
2022-05-06 17:56 UTC, Toralf Förster
Details
emerge-history.txt.bz2 (emerge-history.txt.bz2,72.05 KB, application/x-bzip)
2022-05-06 17:56 UTC, Toralf Förster
Details
environment (environment,142.88 KB, text/plain)
2022-05-06 17:56 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,18.06 KB, application/x-bzip)
2022-05-06 17:56 UTC, Toralf Förster
Details
logs.tar.bz2 (logs.tar.bz2,9.78 KB, application/x-bzip)
2022-05-06 17:56 UTC, Toralf Förster
Details
media-libs:libbluray-1.3.1:20220506-164956.log (media-libs:libbluray-1.3.1:20220506-164956.log,11.62 KB, text/plain)
2022-05-06 17:56 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,36.21 KB, application/x-bzip)
2022-05-06 17:57 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2022-05-06 17:56:52 UTC
 * 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"
Comment 1 Toralf Förster gentoo-dev 2022-05-06 17:56:53 UTC
Created attachment 777074 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2022-05-06 17:56:54 UTC
Created attachment 777077 [details]
emerge-history.txt.bz2
Comment 3 Toralf Förster gentoo-dev 2022-05-06 17:56:56 UTC
Created attachment 777080 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2022-05-06 17:56:57 UTC
Created attachment 777083 [details]
etc.portage.tar.bz2
Comment 5 Toralf Förster gentoo-dev 2022-05-06 17:56:58 UTC
Created attachment 777086 [details]
logs.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2022-05-06 17:56:59 UTC
Created attachment 777089 [details]
media-libs:libbluray-1.3.1:20220506-164956.log
Comment 7 Toralf Förster gentoo-dev 2022-05-06 17:57:00 UTC
Created attachment 777092 [details]
temp.tar.bz2
Comment 8 Matthew Marchese Gentoo Infrastructure gentoo-dev 2022-11-01 21:37:33 UTC
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.
Comment 9 Larry the Git Cow gentoo-dev 2024-04-02 18:03:00 UTC
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(-)