Bug#883357: undertow FTBFS: io.undertow.websockets.jsr.ServerWebSocketContainer is not abstract and does not override abstract method setDefaultAsyncSendTimeout(long) in javax.websocket.WebSocketContainer

Adrian Bunk bunk at debian.org
Sat Dec 2 21:41:50 UTC 2017


Source: undertow
Version: 1.4.21-1
Severity: serious

Some recent change in unstable makes undertow FTBFS:

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

...
[INFO] Building jar: /build/1st/undertow-1.4.21/servlet/target/undertow-servlet-1.4.21.Final-javadoc.jar
[INFO] 
[INFO] ------------------------------------------------------------------------
[INFO] Building Undertow WebSockets JSR356 implementations 1.4.21.Final
[INFO] ------------------------------------------------------------------------
[WARNING] The POM for org.apache.maven.plugins:maven-site-plugin:jar:3.3 is missing, no dependency information available
[WARNING] Failed to retrieve plugin descriptor for org.apache.maven.plugins:maven-site-plugin:3.3: Plugin org.apache.maven.plugins:maven-site-plugin:3.3 or one of its dependencies could not be resolved: Cannot access jboss-public-repository-group (http://repository.jboss.org/nexus/content/groups/public/) in offline mode and the artifact org.apache.maven.plugins:maven-site-plugin:jar:3.3 has not been downloaded from it before.
[WARNING] The POM for org.apache.maven.plugins:maven-antrun-plugin:jar:1.3 is missing, no dependency information available
[WARNING] Failed to retrieve plugin descriptor for org.apache.maven.plugins:maven-antrun-plugin:1.3: Plugin org.apache.maven.plugins:maven-antrun-plugin:1.3 or one of its dependencies could not be resolved: Cannot access jboss-public-repository-group (http://repository.jboss.org/nexus/content/groups/public/) in offline mode and the artifact org.apache.maven.plugins:maven-antrun-plugin:jar:1.3 has not been downloaded from it before.
[WARNING] The POM for org.apache.maven.plugins:maven-assembly-plugin:jar:2.2-beta-5 is missing, no dependency information available
[WARNING] Failed to retrieve plugin descriptor for org.apache.maven.plugins:maven-assembly-plugin:2.2-beta-5: Plugin org.apache.maven.plugins:maven-assembly-plugin:2.2-beta-5 or one of its dependencies could not be resolved: Cannot access jboss-public-repository-group (http://repository.jboss.org/nexus/content/groups/public/) in offline mode and the artifact org.apache.maven.plugins:maven-assembly-plugin:jar:2.2-beta-5 has not been downloaded from it before.
[WARNING] The POM for org.apache.maven.plugins:maven-release-plugin:jar:2.3.2 is missing, no dependency information available
[WARNING] Failed to retrieve plugin descriptor for org.apache.maven.plugins:maven-release-plugin:2.3.2: Plugin org.apache.maven.plugins:maven-release-plugin:2.3.2 or one of its dependencies could not be resolved: Cannot access jboss-public-repository-group (http://repository.jboss.org/nexus/content/groups/public/) in offline mode and the artifact org.apache.maven.plugins:maven-release-plugin:jar:2.3.2 has not been downloaded from it before.
[WARNING] The POM for org.codehaus.mojo:findbugs-maven-plugin:jar:3.0.4 is missing, no dependency information available
[WARNING] Failed to retrieve plugin descriptor for org.codehaus.mojo:findbugs-maven-plugin:3.0.4: Plugin org.codehaus.mojo:findbugs-maven-plugin:3.0.4 or one of its dependencies could not be resolved: Cannot access jboss-public-repository-group (http://repository.jboss.org/nexus/content/groups/public/) in offline mode and the artifact org.codehaus.mojo:findbugs-maven-plugin:jar:3.0.4 has not been downloaded from it before.
[WARNING] The POM for org.eclipse.m2e:lifecycle-mapping:jar:1.0.0 is missing, no dependency information available
[WARNING] Failed to retrieve plugin descriptor for org.eclipse.m2e:lifecycle-mapping:1.0.0: Plugin org.eclipse.m2e:lifecycle-mapping:1.0.0 or one of its dependencies could not be resolved: Cannot access jboss-public-repository-group (http://repository.jboss.org/nexus/content/groups/public/) in offline mode and the artifact org.eclipse.m2e:lifecycle-mapping:jar:1.0.0 has not been downloaded from it before.
[INFO] 
[INFO] --- maven-resources-plugin:3.0.2:resources (default-resources) @ undertow-websockets-jsr ---
[INFO] Using 'utf-8' encoding to copy filtered resources.
[INFO] Copying 4 resources
[INFO] 
[INFO] --- maven-compiler-plugin:3.6.2:compile (default-compile) @ undertow-websockets-jsr ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 42 source files to /build/1st/undertow-1.4.21/websockets-jsr/target/classes
[INFO] /build/1st/undertow-1.4.21/websockets-jsr/src/main/java/io/undertow/websockets/jsr/FrameHandler.java: Some input files use or override a deprecated API.
[INFO] /build/1st/undertow-1.4.21/websockets-jsr/src/main/java/io/undertow/websockets/jsr/FrameHandler.java: Recompile with -Xlint:deprecation for details.
[INFO] /build/1st/undertow-1.4.21/websockets-jsr/src/main/java/io/undertow/websockets/jsr/WebSocketSessionRemoteEndpoint.java: Some input files use unchecked or unsafe operations.
[INFO] /build/1st/undertow-1.4.21/websockets-jsr/src/main/java/io/undertow/websockets/jsr/WebSocketSessionRemoteEndpoint.java: Recompile with -Xlint:unchecked for details.
[INFO] -------------------------------------------------------------
[ERROR] COMPILATION ERROR : 
[INFO] -------------------------------------------------------------
[ERROR] /build/1st/undertow-1.4.21/websockets-jsr/src/main/java/io/undertow/websockets/jsr/ServerWebSocketContainer.java:[94,8] io.undertow.websockets.jsr.ServerWebSocketContainer is not abstract and does not override abstract method setDefaultAsyncSendTimeout(long) in javax.websocket.WebSocketContainer
[INFO] 1 error
[INFO] -------------------------------------------------------------
[INFO] 
[INFO] ------------------------------------------------------------------------
[INFO] Skipping Undertow
[INFO] This project has been banned from the build due to previous failures.
[INFO] ------------------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO] 
[INFO] Undertow ........................................... SUCCESS [  0.940 s]
[INFO] Undertow Parser Generator .......................... SUCCESS [ 10.638 s]
[INFO] Undertow Core ...................................... SUCCESS [ 32.318 s]
[INFO] Undertow Servlet ................................... SUCCESS [ 10.966 s]
[INFO] Undertow WebSockets JSR356 implementations ......... FAILURE [  0.942 s]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 56.517 s
[INFO] Finished at: 2019-01-04T05:56:14-12:00
[INFO] Final Memory: 44M/1410M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.6.2:compile (default-compile) on project undertow-websockets-jsr: Compilation failure
[ERROR] /build/1st/undertow-1.4.21/websockets-jsr/src/main/java/io/undertow/websockets/jsr/ServerWebSocketContainer.java:[94,8] io.undertow.websockets.jsr.ServerWebSocketContainer is not abstract and does not override abstract method setDefaultAsyncSendTimeout(long) in javax.websocket.WebSocketContainer
[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
[ERROR] 
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR]   mvn <goals> -rf :undertow-websockets-jsr
dh_auto_build: /usr/lib/jvm/default-java/bin/java -noverify -cp /usr/share/maven/boot/plexus-classworlds-2.x.jar:/usr/lib/jvm/default-java/lib/tools.jar -Dmaven.home=/usr/share/maven -Dmaven.multiModuleProjectDirectory=/build/1st/undertow-1.4.21 -Dclassworlds.conf=/etc/maven/m2-debian.conf -Dproperties.file.manual=/build/1st/undertow-1.4.21/debian/maven.properties org.codehaus.plexus.classworlds.launcher.Launcher -s/etc/maven/settings-debian.xml -Ddebian.dir=/build/1st/undertow-1.4.21/debian -Dmaven.repo.local=/build/1st/undertow-1.4.21/debian/maven-repo --batch-mode package javadoc:jar javadoc:aggregate -DskipTests -Dnotimestamp=true -Dlocale=en_US returned exit code 1
debian/rules:4: recipe for target 'build' failed
make: *** [build] Error 1



More information about the pkg-java-maintainers mailing list