[Debian-med-packaging] Bug#875334: FTBFS with Java 9: javax.xml.bind

Chris West debian at fau.xxx
Sun Sep 10 18:52:59 UTC 2017


Source: biojava4-live
Version: 4.2.7+dfsg
Severity: normal
User: debian-java at lists.debian.org
Usertags: default-java9

This package fails to build with default-jdk pointing to openjdk-9-jdk.
Please fix it, so that we can start the transition to Java 9.
The wiki has some common problems and their solutions:
https://wiki.debian.org/Java/Java9Pitfalls

javax.xml.bind has been removed from the default classpath. Please see the
section on the wiki for further details, and hopefully eventually a
solution.

Build log:

    [mkdir] Created dir: /build/biojava4-live-4.2.7+dfsg/buildtest/biojava4-aa-prop/classes
    [javac] /build/biojava4-live-4.2.7+dfsg/biojava-aa-prop/build.xml:86: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds
    [javac] Compiling 9 source files to /build/biojava4-live-4.2.7+dfsg/buildtest/biojava4-aa-prop/classes
    [javac] /build/biojava4-live-4.2.7+dfsg/biojava-aa-prop/src/test/java/org/biojava/nbio/aaproperties/CookBookTest.java:29: error: package javax.xml.bind is not visible
    [javac] import javax.xml.bind.JAXBException;
    [javac]                 ^
    [javac]   (package javax.xml.bind is declared in module java.xml.bind, which is not in the module graph)
    [javac] /build/biojava4-live-4.2.7+dfsg/biojava-aa-prop/src/test/java/org/biojava/nbio/aaproperties/CookBookTest.java:47: error: cannot find symbol
    [javac] 	public void shortExample2() throws FileNotFoundException, JAXBException{
    [javac] 	                                                          ^


Cheers,
Chris.



More information about the Debian-med-packaging mailing list