Bug#893532: undertow FTBFS with openjdk-9

Adrian Bunk bunk at debian.org
Mon Mar 19 17:55:09 UTC 2018


Source: undertow
Version: 1.4.23-1
Severity: serious

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

...
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-javadoc-plugin:3.0.0:jar (default-cli) on project undertow-core: MavenReportException: Error while generating Javadoc: 
[ERROR] Exit code: 1 - /build/1st/undertow-1.4.23/core/target/generated-sources/annotations/io/undertow/websockets/core/WebSocketMessages_$bundle.java:6: 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/undertow-1.4.23/core/target/generated-sources/annotations/io/undertow/websockets/core/WebSocketLogger_$logger.java:5: 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/undertow-1.4.23/core/target/generated-sources/annotations/io/undertow/client/UndertowClientMessages_$bundle.java:6: 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/undertow-1.4.23/core/target/generated-sources/annotations/io/undertow/UndertowMessages_$bundle.java:7: 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/undertow-1.4.23/core/target/generated-sources/annotations/io/undertow/UndertowLogger_$logger.java:21: 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] 
[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/undertow-1.4.23/core/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 :undertow-core
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/undertow-1.4.23 -Dclassworlds.conf=/etc/maven/m2-debian.conf -Dproperties.file.manual=/build/1st/undertow-1.4.23/debian/maven.properties org.codehaus.plexus.classworlds.launcher.Launcher -s/etc/maven/settings-debian.xml -Ddebian.dir=/build/1st/undertow-1.4.23/debian -Dmaven.repo.local=/build/1st/undertow-1.4.23/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