Bug#893227: libbluray FTBFS with openjdk-9

Reinhard Tartler siretart at gmail.com
Wed Jan 16 12:14:39 GMT 2019


Hi Petri,

I'm following up on a question that Sebatian (CC'ed) asked on the mailing
list last march [1].
The issue is that Debian intends to drop openjdk-8 in favor of openjdk-11,
and we as package
maintainers of libbluray are asked to look into this transition. Your
response back then
was that there are non-trivial changes to the code necessary to make this
work.

Looking at the commit history, it seems that there have been some changes
wrt java
compatibility, mostly by you. I wonder whether you'd expect libbluray to
work with
openjdk-11. If not, is this something on your roadmap, or do you consider
this a
stretch goal for the forseeable future?

Please let me know what your thoughts on this issue are..

Best,
-rt

[1]
https://mailman.videolan.org/pipermail/libbluray-devel/2018-March/002890.html

On Sat, Mar 17, 2018 at 9:15 AM Adrian Bunk <bunk at debian.org> wrote:

> Source: libbluray
> Version: 1:1.0.2-2
> Severity: serious
>
>
> https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/libbluray.html
>
> ...
>
> compile:
>     [javac] /build/1st/libbluray-1.0.2/src/libbluray/bdj/build.xml:24:
> warning: 'includeantruntime' was not set, defaulting to
> build.sysclasspath=last; set to false for repeatable builds
>     [javac] Using javac -source 1.4 is no longer supported, switching to
> 1.6
>     [javac] Using javac -target 1.4 is no longer supported, switching to
> 1.6
>     [javac] Compiling 664 source files to
> /build/1st/libbluray-1.0.2/src/libbluray/bdj/build
>     [javac] warning: [options] bootstrap class path not set in conjunction
> with -source 1.6
>     [javac] warning: [options] source value 1.6 is obsolete and will be
> removed in a future release
>     [javac] warning: [options] target value 1.6 is obsolete and will be
> removed in a future release
>     [javac] warning: [options] To suppress warnings about obsolete
> options, use -Xlint:-options.
>     [javac]
> /build/1st/libbluray-1.0.2/src/libbluray/bdj/java-j2se/java/awt/peer/BDFramePeer.java:176:
> error: package sun.awt.CausedFocusEvent does not exist
>     [javac]     public boolean requestFocus(Component c, boolean a,
> boolean b, long l, sun.awt.CausedFocusEvent.Cause d) {
>     [javac]
>                                     ^
>     [javac]
> /build/1st/libbluray-1.0.2/src/libbluray/bdj/java/org/blurayx/s3d/ti/StereoscopicCodingType.java:37:
> warning: non-varargs call of varargs method with inexact argument type for
> last parameter;
>     [javac]                         type =
> (CodingType)constructor.newInstance(new String[] { "MPEG4_MVC_VIDEO" });
>     [javac]
>     ^
>     [javac]   cast to Object for a varargs call
>     [javac]   cast to Object[] for a non-varargs call and to suppress this
> warning
>     [javac]
> /build/1st/libbluray-1.0.2/src/libbluray/bdj/java/org/blurayx/uhd/ti/UHDCodingType.java:38:
> warning: non-varargs call of varargs method with inexact argument type for
> last parameter;
>     [javac]                         type =
> (CodingType)constructor.newInstance(new String[] { "HEVC_VIDEO" });
>     [javac]
>     ^
>     [javac]   cast to Object for a varargs call
>     [javac]   cast to Object[] for a non-varargs call and to suppress this
> warning
>     [javac]
> /build/1st/libbluray-1.0.2/src/libbluray/bdj/java/org/videolan/BDJSecurityManager.java:81:
> warning: [removal] classDepth(String) in SecurityManager has been
> deprecated and marked for removal
>     [javac]                 if
> (classDepth("javax.crypto.JceSecurityManager") < 3) {
>     [javac]                     ^
>     [javac]
> /build/1st/libbluray-1.0.2/src/libbluray/bdj/java/org/videolan/BDJSecurityManager.java:88:
> warning: [removal] classDepth(String) in SecurityManager has been
> deprecated and marked for removal
>     [javac]                 if (classDepth("org.videolan.Libbluray") == 3)
> {
>     [javac]                     ^
>     [javac]
> /build/1st/libbluray-1.0.2/src/libbluray/bdj/java/org/videolan/BDJSecurityManager.java:97:
> warning: [removal] classDepth(String) in SecurityManager has been
> deprecated and marked for removal
>     [javac]             if (classDepth("sun.awt.AWTAutoShutdown") > 0) {
>     [javac]                 ^
>     [javac]
> /build/1st/libbluray-1.0.2/src/libbluray/bdj/java/org/videolan/BDJSecurityManager.java:222:
> warning: [removal] checkSystemClipboardAccess() in SecurityManager has been
> deprecated and marked for removal
>     [javac]     public void checkSystemClipboardAccess() {
>     [javac]                 ^
>     [javac]
> /build/1st/libbluray-1.0.2/src/libbluray/bdj/java-j2se/java/io/BDFileSystemImpl.java:21:
> error: BDFileSystemImpl is not abstract and does not override abstract
> method getNameMax(String) in FileSystem
>     [javac] class BDFileSystemImpl extends BDFileSystem {
>     [javac] ^
>     [javac] Note: Some input files use or override a deprecated API.
>     [javac] Note: Recompile with -Xlint:deprecation for details.
>     [javac] Note: Some input files use unchecked or unsafe operations.
>     [javac] Note: Recompile with -Xlint:unchecked for details.
>     [javac] 2 errors
>     [javac] 10 warnings
>
> BUILD FAILED
> /build/1st/libbluray-1.0.2/src/libbluray/bdj/build.xml:24: Compile failed;
> see the compiler error output for details.
>
> Total time: 1 minute 42 seconds
> make[2]: *** [Makefile:2605: all-local] Error 1
>
> _______________________________________________
> pkg-multimedia-maintainers mailing list
> pkg-multimedia-maintainers at lists.alioth.debian.org
>
> http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-multimedia-maintainers
>


-- 
regards,
    Reinhard
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-multimedia-maintainers/attachments/20190116/ed80dfa0/attachment.html>


More information about the pkg-multimedia-maintainers mailing list