[Debian-med-packaging] Bug#874155: FTBFS with Java 9: overrides core packages

Chris West solo-debianbugs at goeswhere.com
Sun Sep 3 16:21:19 UTC 2017


Source: phyutility
Version: 2.7.3
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

This package seems to be trying to ship some org.xml.sax implementation,
in source form, in the source tree. This is illegal, under that package
name, now. But see also the java.xml section on the wiki.

Build log:

compile:
    [mkdir] Created dir: /build/phyutility-2.7.3/build/classes
    [javac] /build/phyutility-2.7.3/build.xml:7: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds
    [javac] Compiling 520 source files to /build/phyutility-2.7.3/build/classes
    [javac] /build/phyutility-2.7.3/src/org/xml/sax/AttributeList.java:6: error: package exists in another module: java.xml
    [javac] package org.xml.sax;
    [javac] ^
    [javac] /build/phyutility-2.7.3/src/org/xml/sax/Attributes.java:7: error: package exists in another module: java.xml
    [javac] package org.xml.sax;
    [javac] ^



Cheers,
Chris.



More information about the Debian-med-packaging mailing list