Source: libeuclid-java Version: 2.6-1 Severity: important Tags: ftbfs sid trixie User: debian-j...@lists.debian.org Usertags: default-java21
libeuclid-java fails to build with OpenJDK 21 because the ThriftyList class implements the java.util.Deque and java.util.List interface which now share a similar reversed() method but with an incompatible return type: [INFO] --- maven-compiler-plugin:3.10.1:compile (default-compile) @ euclid --- [INFO] Changes detected - recompiling the module! [INFO] Compiling 100 source files to /<<PKGBUILDDIR>>/target/classes [INFO] /<<PKGBUILDDIR>>/src/main/java/org/xmlcml/euclid/RealMatrix.java: Some input files use or override a deprecated API. [INFO] /<<PKGBUILDDIR>>/src/main/java/org/xmlcml/euclid/RealMatrix.java: Recompile with -Xlint:deprecation for details. [INFO] /<<PKGBUILDDIR>>/src/main/java/org/xmlcml/euclid/RealRange.java: Some input files use or override a deprecated API that is marked for removal. [INFO] /<<PKGBUILDDIR>>/src/main/java/org/xmlcml/euclid/RealRange.java: Recompile with -Xlint:removal for details. [INFO] /<<PKGBUILDDIR>>/src/main/java/blogspot/software_and_algorithms/stern_library/data_structure/ThriftyList.java: Some input files use unchecked or unsafe operations. [INFO] /<<PKGBUILDDIR>>/src/main/java/blogspot/software_and_algorithms/stern_library/data_structure/ThriftyList.java: Recompile with -Xlint:unchecked for details. [INFO] ------------------------------------------------------------- [ERROR] COMPILATION ERROR : [INFO] ------------------------------------------------------------- [ERROR] /<<PKGBUILDDIR>>/src/main/java/blogspot/software_and_algorithms/stern_library/data_structure/ThriftyList.java:[74,8] types java.util.Deque<T> and java.util.List<T> are incompatible; both define reversed(), but with unrelated return types [INFO] 1 error [INFO] -------------------------------------------------------------