Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 844187 - media-libs/libbluray-1.3.1 - BDFileSystemImpl.java:21: error: BDFileSystemImpl is not abstract and does not override abstract method isInvalid(File) in FileSystem
Summary: media-libs/libbluray-1.3.1 - BDFileSystemImpl.java:21: error: BDFileSystemImp...
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: https://code.videolan.org/videolan/vl...
Whiteboard:
Keywords: PullRequest
: 871138 (view as bug list)
Depends on: 871141
Blocks: 846872
  Show dependency tree
 
Reported: 2022-05-14 12:36 UTC by Toralf Förster
Modified: 2022-09-17 23:23 UTC (History)
4 users (show)

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


Attachments
emerge-info.txt (emerge-info.txt,20.93 KB, text/plain)
2022-05-14 12:36 UTC, Toralf Förster
Details
emerge-history.txt.bz2 (emerge-history.txt.bz2,110.71 KB, application/x-bzip)
2022-05-14 12:36 UTC, Toralf Förster
Details
environment (environment,145.76 KB, text/plain)
2022-05-14 12:36 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,39.24 KB, application/x-bzip)
2022-05-14 12:36 UTC, Toralf Förster
Details
logs.tar.bz2 (logs.tar.bz2,10.31 KB, application/x-bzip)
2022-05-14 12:36 UTC, Toralf Förster
Details
media-libs:libbluray-1.3.1:20220514-104145.log (media-libs:libbluray-1.3.1:20220514-104145.log,139.54 KB, text/plain)
2022-05-14 12:36 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,41.98 KB, application/x-bzip)
2022-05-14 12:36 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-14 12:36:08 UTC
    [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"
Comment 1 Toralf Förster gentoo-dev 2022-05-14 12:36:09 UTC
Created attachment 778778 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2022-05-14 12:36:10 UTC
Created attachment 778781 [details]
emerge-history.txt.bz2
Comment 3 Toralf Förster gentoo-dev 2022-05-14 12:36:12 UTC
Created attachment 778784 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2022-05-14 12:36:13 UTC
Created attachment 778787 [details]
etc.portage.tar.bz2
Comment 5 Toralf Förster gentoo-dev 2022-05-14 12:36:14 UTC
Created attachment 778790 [details]
logs.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2022-05-14 12:36:15 UTC
Created attachment 778793 [details]
media-libs:libbluray-1.3.1:20220514-104145.log
Comment 7 Toralf Förster gentoo-dev 2022-05-14 12:36:17 UTC
Created attachment 778796 [details]
temp.tar.bz2
Comment 8 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-06-19 06:58:59 UTC
I'm probably just going to drop the Java bindings if possible unless java@ has any ideas.
Comment 9 Florian Schmaus gentoo-dev 2022-06-19 10:23:32 UTC
`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.
Comment 10 Larry the Git Cow gentoo-dev 2022-06-20 02:53:23 UTC
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(+)
Comment 11 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-09-17 23:22:57 UTC
*** Bug 871138 has been marked as a duplicate of this bug. ***