Bug#912233: checkstyle FTBFS with OpenJDK 11

Adrian Bunk bunk at debian.org
Mon Oct 29 15:07:50 GMT 2018


Source: checkstyle
Version: 8.8-1
Severity: serious
Tags: ftbfs

https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/checkstyle.html

...
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 14.597 s
[INFO] Finished at: 2018-10-28T22:50:53-12:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.8.0:compile (default-compile) on project checkstyle: Compilation failure: Compilation failure: 
[ERROR] /build/1st/checkstyle-8.8/src/main/java/com/puppycrawl/tools/checkstyle/xpath/AbstractNode.java:[292,35] iterate() in com.puppycrawl.tools.checkstyle.xpath.AbstractNode cannot implement iterate() in net.sf.saxon.om.Item
[ERROR]   return type net.sf.saxon.om.SequenceIterator is not compatible with net.sf.saxon.tree.iter.UnfailingIterator
[ERROR] /build/1st/checkstyle-8.8/src/main/java/com/puppycrawl/tools/checkstyle/xpath/AbstractNode.java:[271,5] method does not override or implement a method from a supertype
[ERROR] /build/1st/checkstyle-8.8/src/main/java/com/puppycrawl/tools/checkstyle/xpath/AttributeNode.java:[32,8] com.puppycrawl.tools.checkstyle.xpath.AttributeNode is not abstract and does not override abstract method iterate() in net.sf.saxon.om.GroundedValue
[ERROR] /build/1st/checkstyle-8.8/src/main/java/com/puppycrawl/tools/checkstyle/xpath/ElementNode.java:[39,8] com.puppycrawl.tools.checkstyle.xpath.ElementNode is not abstract and does not override abstract method iterate() in net.sf.saxon.om.GroundedValue
[ERROR] /build/1st/checkstyle-8.8/src/main/java/com/puppycrawl/tools/checkstyle/xpath/RootNode.java:[38,8] com.puppycrawl.tools.checkstyle.xpath.RootNode is not abstract and does not override abstract method iterate() in net.sf.saxon.om.GroundedValue
[ERROR] -> [Help 1]
[ERROR] 
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR] 
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
dh_auto_build: /usr/lib/jvm/default-java/bin/java -noverify -cp /usr/share/maven/boot/plexus-classworlds-2.x.jar -Dmaven.home=/usr/share/maven -Dmaven.multiModuleProjectDirectory=/build/1st/checkstyle-8.8 -Dclassworlds.conf=/etc/maven/m2-debian.conf -Dproperties.file.manual=/build/1st/checkstyle-8.8/debian/maven.properties org.codehaus.plexus.classworlds.launcher.Launcher -s/etc/maven/settings-debian.xml -Ddebian.dir=/build/1st/checkstyle-8.8/debian -Dmaven.repo.local=/build/1st/checkstyle-8.8/debian/maven-repo --batch-mode package javadoc:jar javadoc:aggregate -DskipTests -Dnotimestamp=true -Dlocale=en_US returned exit code 1
make[1]: *** [debian/rules:9: override_dh_auto_build] Error 1



More information about the pkg-java-maintainers mailing list