Bug#912373: libswingx1-java FTBFS with OpenJDK 11

Adrian Bunk bunk at debian.org
Tue Oct 30 19:54:16 GMT 2018


Source: libswingx1-java
Version: 1:1.0-1
Severity: serious
Tags: ftbfs buster sid

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

...
compile:
    [mkdir] Created dir: /build/1st/libswingx1-java-1.0/swingx-core/build/generated-sources
    [javac] /usr/share/maven-ant-helper/maven-build.xml:357: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds
    [javac] Using javac -source 1.5 is no longer supported, switching to 6
    [javac] Using javac -target 1.5 is no longer supported, switching to 6
    [javac] Compiling 396 source files to /build/1st/libswingx1-java-1.0/swingx-core/build/classes
    [javac] /build/1st/libswingx1-java-1.0/src/java/org/jdesktop/swingx/error/ErrorSupport.java:71: error: reference to toArray is ambiguous
    [javac]         return listeners.toArray(null);
    [javac]                         ^
    [javac]   both method <T#1>toArray(IntFunction<T#1[]>) in Collection and method <T#2>toArray(T#2[]) in List match
    [javac]   where T#1,T#2 are type-variables:
    [javac]     T#1 extends Object declared in method <T#1>toArray(IntFunction<T#1[]>)
    [javac]     T#2 extends Object declared in method <T#2>toArray(T#2[])
    [javac] Note: Some input files use or override a deprecated API.
    [javac] Note: Recompile with -Xlint:deprecation for details.
    [javac] Note: Some input files use unchecked or unsafe operations.
    [javac] Note: Recompile with -Xlint:unchecked for details.
    [javac] 1 error

BUILD FAILED
/build/1st/libswingx1-java-1.0/debian/build.xml:37: The following error occurred while executing this line:
/build/1st/libswingx1-java-1.0/debian/build.xml:21: The following error occurred while executing this line:
/usr/share/maven-ant-helper/maven-build.xml:357: Compile failed; see the compiler error output for details.

Total time: 8 seconds
make: *** [/usr/share/cdbs/1/class/ant.mk:39: debian/stamp-ant-build] Error 1



More information about the pkg-java-maintainers mailing list