[javac] 1 error [javac] 4 warnings BUILD FAILED /var/tmp/portage/media-libs/libbluray-1.3.1/work/libbluray-1.3.1/src/libbluray/bdj/build.xml:32: Compile failed; see the compiler error output for details. Total time: 10 seconds ------------------------------------------------------------------- This is an unstable amd64 chroot image at a tinderbox (==build bot) name: 17.1_no_multilib_systemd-j4-20220507-142759 ------------------------------------------------------------------- gcc-config -l: [1] x86_64-pc-linux-gnu-9.3.1 [2] x86_64-pc-linux-gnu-10.3.1 [3] x86_64-pc-linux-gnu-12.1.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-bin-11 CLASSPATH="" JAVA_HOME="/opt/openjdk-bin-11.0.15_p10" JAVACFLAGS="-source 1.8 -target 1.8" COMPILER="" The following VMs are available for generation-2: *) Eclipse Temurin JDK 11.0.15_p10 [openjdk-bin-11] 2) Eclipse Temurin JDK 8.332_p09 [openjdk-bin-8] Available Java Virtual Machines: [1] openjdk-bin-8 [2] openjdk-bin-11 system-vm The Glorious Glasgow Haskell Compilation System, version 8.10.4 php cli: [1] php7.4 [2] php8.0 [3] php8.1 * HEAD of ::gentoo commit 6264c441d771b71d4d64a2da4b99f12f6186439d Author: Repository mirror & CI <repomirrorci@gentoo.org> Date: Sat May 14 10:18:09 2022 +0000 2022-05-14 10:18:08 UTC emerge -qpvO media-libs/libbluray [ebuild N ] media-libs/libbluray-1.3.1 USE="bdplus fontconfig java truetype xml -aacs -utils"
Created attachment 778778 [details] emerge-info.txt
Created attachment 778781 [details] emerge-history.txt.bz2
Created attachment 778784 [details] environment
Created attachment 778787 [details] etc.portage.tar.bz2
Created attachment 778790 [details] logs.tar.bz2
Created attachment 778793 [details] media-libs:libbluray-1.3.1:20220514-104145.log
Created attachment 778796 [details] temp.tar.bz2
I'm probably just going to drop the Java bindings if possible unless java@ has any ideas.
`java.io.FileSystem` was extended with an protected abstract method `isInvalid()` by jdk commit 395bb5b7f97f ("8278356: Improve file creation"). libbluray places a BDFileSystem class in the java.io package, which extends java.io.FileSystem but only recently implemented `isInvalid()` in commit 8f26777b1ce1 ("Fix build failure after Oracle Java CPU for April 2022"). I've added this patch to media-libs/libbluray in my PR.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9e52ba220d0376794fd4d33a5a8e19dd766b539c commit 9e52ba220d0376794fd4d33a5a8e19dd766b539c Author: Florian Schmaus <flow@gentoo.org> AuthorDate: 2022-06-19 10:14:41 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2022-06-20 02:51:26 +0000 media-libs/libbluray: Fix build after Oracle Java Critical Patch Update (CPU) 2022 Closes: https://bugs.gentoo.org/844187 Signed-off-by: Florian Schmaus <flow@gentoo.org> Closes: https://github.com/gentoo/gentoo/pull/25973 Signed-off-by: Sam James <sam@gentoo.org> ...lure-after-Oracle-Java-CPU-for-April-2022.patch | 25 ++++++++++++++++++++++ media-libs/libbluray/libbluray-1.3.1.ebuild | 1 + 2 files changed, 26 insertions(+) Additionally, it has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8d9cc3442f81cd4c1a19b53912cddb79f788ba1f commit 8d9cc3442f81cd4c1a19b53912cddb79f788ba1f Author: Sam James <sam@gentoo.org> AuthorDate: 2022-06-20 02:52:46 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2022-06-20 02:52:46 +0000 media-libs/libbluray: add commit link to patch Bug: https://bugs.gentoo.org/844187 Signed-off-by: Sam James <sam@gentoo.org> ...-1.3.1-Fix-build-failure-after-Oracle-Java-CPU-for-April-2022.patch | 3 +++ 1 file changed, 3 insertions(+)
*** Bug 871138 has been marked as a duplicate of this bug. ***