Bug#886164: libspring-java: FTBFS MockServerContainer.java method does not override or implement a method from a supertype
Hans Joachim Desserud
debian at desserud.org
Tue Jan 2 18:31:39 UTC 2018
Source: libspring-java
Version: 4.3.13-1
Severity: serious
Tags: patch
Dear Maintainer,
The package currently fails to build from source with the following
error message:
All input files are considered out-of-date for incremental task
':spring-test:compileJava'.
Compiling with JDK Java compiler API.
/build/1st/libspring-java-4.3.13/spring-test/src/main/java/org/springframework/test/context/web/socket/MockServerContainer.java:56:
warning: [deprecation] setAsyncSendTimeout(long) in WebSocketContainer
has been deprecated
public void setAsyncSendTimeout(long timeout) {
^
/build/1st/libspring-java-4.3.13/spring-test/src/main/java/org/springframework/test/context/web/socket/MockServerContainer.java:60:
error: method does not override or implement a method from a supertype
@Override
^
1 error
1 warning
:spring-test:compileJava FAILED
For more details see
https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/libspring-java.html
I first spotted this issue when the package was synced to Ubuntu, but
was able to
reproduce it on my Sid system.
The issue itself seems to be related to a method which used to(?) be
part of an
interface, but is now causing this error. Surprisingly enough, the
method was
added by one of the Debian patches. The attached patch modifies the
original
patch a bit and resolves the FTBFS. I must admit I don't have the full
overview
over what's going on here, so there might be a better way to fix this :)
-- System Information:
Debian Release: buster/sid
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)
Kernel: Linux 4.14.0-2-amd64 (SMP w/1 CPU core)
Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8),
LANGUAGE=en_US:en (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
--
mvh / best regards
Hans Joachim Desserud
http://desserud.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ftbfs.patch
Type: text/x-diff
Size: 828 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-java-maintainers/attachments/20180102/c05b72df/attachment.patch>
More information about the pkg-java-maintainers
mailing list