Bug#915335: checkstyle FTBFS: head() in com.puppycrawl.tools.checkstyle.xpath.AbstractNode cannot implement head() in net.sf.saxon.om.Item
Adrian Bunk
bunk at debian.org
Sun Dec 2 20:51:43 GMT 2018
Source: checkstyle
Version: 8.14-1
Severity: serious
Tags: ftbfs
Some recent change in unstable makes checkstyle FTBFS:
https://tests.reproducible-builds.org/debian/history/checkstyle.html
https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/checkstyle.html
...
[INFO] -------------------------------------------------------------
[ERROR] COMPILATION ERROR :
[INFO] -------------------------------------------------------------
[ERROR] /build/1st/checkstyle-8.14/src/main/java/com/puppycrawl/tools/checkstyle/xpath/AbstractNode.java:[279,23] head() in com.puppycrawl.tools.checkstyle.xpath.AbstractNode cannot implement head() in net.sf.saxon.om.Item
return type net.sf.saxon.om.Item is not compatible with net.sf.saxon.om.NodeInfo
[ERROR] /build/1st/checkstyle-8.14/src/main/java/com/puppycrawl/tools/checkstyle/xpath/AbstractNode.java:[278,5] method does not override or implement a method from a supertype
[ERROR] /build/1st/checkstyle-8.14/src/main/java/com/puppycrawl/tools/checkstyle/filters/XpathFilter.java:[190,45] incompatible types: java.util.List<net.sf.saxon.om.Item<?>> cannot be converted to java.util.List<net.sf.saxon.om.Item>
[ERROR] /build/1st/checkstyle-8.14/src/main/java/com/puppycrawl/tools/checkstyle/xpath/ElementNode.java:[38,8] com.puppycrawl.tools.checkstyle.xpath.ElementNode is not abstract and does not override abstract method head() in net.sf.saxon.om.GroundedValue
[ERROR] /build/1st/checkstyle-8.14/src/main/java/com/puppycrawl/tools/checkstyle/xpath/RootNode.java:[39,8] com.puppycrawl.tools.checkstyle.xpath.RootNode is not abstract and does not override abstract method head() in net.sf.saxon.om.GroundedValue
[ERROR] /build/1st/checkstyle-8.14/src/main/java/com/puppycrawl/tools/checkstyle/xpath/AttributeNode.java:[31,8] com.puppycrawl.tools.checkstyle.xpath.AttributeNode is not abstract and does not override abstract method head() in net.sf.saxon.om.GroundedValue
[INFO] 6 errors
More information about the pkg-java-maintainers
mailing list