Bug#893359: jboss-xnio FTBFS with openjdk-9

Adrian Bunk bunk at debian.org
Sun Mar 18 08:41:57 UTC 2018


Source: jboss-xnio
Version: 3.6.2-1
Severity: serious

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

...
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-javadoc-plugin:3.0.0:jar (default-cli) on project xnio-api: MavenReportException: Error while generating Javadoc: 
[ERROR] Exit code: 1 - /build/1st/jboss-xnio-3.6.2/api/src/main/java/java/nio/channels/FileChannel.java:19: error: package exists in another module: java.base
[ERROR] package java.nio.channels;
[ERROR] ^
[ERROR] /build/1st/jboss-xnio-3.6.2/api/target/generated-sources/annotations/org/xnio/_private/Messages_$logger.java:27: error: package javax.annotation is not visible
[ERROR] import javax.annotation.Generated;
[ERROR]             ^
[ERROR]   (package javax.annotation is declared in module java.xml.ws.annotation, which is not in the module graph)
[ERROR] /build/1st/jboss-xnio-3.6.2/api/src/main/java/java/nio/channels/FileChannel.java:31: error: cannot find symbol
[ERROR] public abstract class FileChannel extends AbstractInterruptibleChannel implements GatheringByteChannel, ScatteringByteChannel {
[ERROR]                                                                                   ^
[ERROR]   symbol: class GatheringByteChannel
[ERROR] /build/1st/jboss-xnio-3.6.2/api/src/main/java/java/nio/channels/FileChannel.java:31: error: cannot find symbol
[ERROR] public abstract class FileChannel extends AbstractInterruptibleChannel implements GatheringByteChannel, ScatteringByteChannel {
[ERROR]                                                                                                         ^
[ERROR]   symbol: class ScatteringByteChannel
[ERROR] /build/1st/jboss-xnio-3.6.2/api/src/main/java/java/nio/channels/FileChannel.java:46: error: cannot find symbol
[ERROR]     public abstract long transferTo(long position, long count, WritableByteChannel target) throws IOException;
[ERROR]                                                                ^
[ERROR]   symbol:   class WritableByteChannel
[ERROR]   location: class FileChannel
[ERROR] /build/1st/jboss-xnio-3.6.2/api/src/main/java/java/nio/channels/FileChannel.java:47: error: cannot find symbol
[ERROR]     public abstract long transferFrom(ReadableByteChannel src, long position, long count) throws IOException;
[ERROR]                                       ^
[ERROR]   symbol:   class ReadableByteChannel
[ERROR]   location: class FileChannel
[ERROR] /build/1st/jboss-xnio-3.6.2/api/src/main/java/java/nio/channels/FileChannel.java:51: error: cannot find symbol
[ERROR]     public abstract FileLock lock(long position, long size, boolean shared) throws IOException;
[ERROR]                     ^
[ERROR]   symbol:   class FileLock
[ERROR]   location: class FileChannel
[ERROR] /build/1st/jboss-xnio-3.6.2/api/src/main/java/java/nio/channels/FileChannel.java:52: error: cannot find symbol
[ERROR]     public final FileLock lock() throws IOException { return null; };
[ERROR]                  ^
[ERROR]   symbol:   class FileLock
[ERROR]   location: class FileChannel
[ERROR] /build/1st/jboss-xnio-3.6.2/api/src/main/java/java/nio/channels/FileChannel.java:53: error: cannot find symbol
[ERROR]     public abstract FileLock tryLock(long position, long size, boolean shared) throws IOException;
[ERROR]                     ^
[ERROR]   symbol:   class FileLock
[ERROR]   location: class FileChannel
[ERROR] /build/1st/jboss-xnio-3.6.2/api/src/main/java/java/nio/channels/FileChannel.java:54: error: cannot find symbol
[ERROR]     public final FileLock tryLock() throws IOException { return null; }
[ERROR]                  ^
[ERROR]   symbol:   class FileLock
[ERROR]   location: class FileChannel
[ERROR] 
[ERROR] Command line was: /usr/lib/jvm/java-9-openjdk-amd64/bin/javadoc @options @packages
[ERROR] 
[ERROR] Refer to the generated Javadoc files in '/build/1st/jboss-xnio-3.6.2/api/target/apidocs' dir.
[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/MojoExecutionException
[ERROR] 
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR]   mvn <goals> -rf :xnio-api
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/jboss-xnio-3.6.2 -Dclassworlds.conf=/etc/maven/m2-debian.conf -Dproperties.file.manual=/build/1st/jboss-xnio-3.6.2/debian/maven.properties org.codehaus.plexus.classworlds.launcher.Launcher -s/etc/maven/settings-debian.xml -Ddebian.dir=/build/1st/jboss-xnio-3.6.2/debian -Dmaven.repo.local=/build/1st/jboss-xnio-3.6.2/debian/maven-repo --batch-mode package javadoc:jar javadoc:aggregate -DskipTests -Dnotimestamp=true -Dlocale=en_US returned exit code 1
make: *** [debian/rules:4: build] Error 1



More information about the pkg-java-maintainers mailing list