Source: spatial4j-0.4
Version: 0.4.1-6
Severity: serious
Justification: FTBFS
Tags: bookworm sid ftbfs
User: lu...@debian.org
Usertags: ftbfs-20211023 ftbfs-bookworm

Hi,

During a rebuild of all packages in sid, your package failed to build
on amd64.


Relevant part (hopefully):
>  debian/rules build
> dh build --buildsystem=maven
>    dh_update_autotools_config -O--buildsystem=maven
>    dh_autoreconf -O--buildsystem=maven
>    dh_auto_configure -O--buildsystem=maven
>       mh_patchpoms -plibspatial4j-0.4-java --debian-build --keep-pom-version 
> --maven-repo=/<<PKGBUILDDIR>>/debian/maven-repo
>    dh_auto_build -O--buildsystem=maven
>       /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=/<<PKGBUILDDIR>> 
> -Dclassworlds.conf=/etc/maven/m2-debian.conf 
> -Dproperties.file.manual=/<<PKGBUILDDIR>>/debian/maven.properties 
> org.codehaus.plexus.classworlds.launcher.Launcher 
> -s/etc/maven/settings-debian.xml -Ddebian.dir=/<<PKGBUILDDIR>>/debian 
> -Dmaven.repo.local=/<<PKGBUILDDIR>>/debian/maven-repo --batch-mode package 
> -DskipTests -Dnotimestamp=true -Dlocale=en_US
> [INFO] Scanning for projects...
> [WARNING] The project com.spatial4j:spatial4j:bundle:0.4.1 uses prerequisites 
> which is only intended for maven-plugin projects but not for non maven-plugin 
> projects. For such purposes you should use the maven-enforcer-plugin. See 
> https://maven.apache.org/enforcer/enforcer-rules/requireMavenVersion.html
> [INFO] 
> [INFO] ----------------------< com.spatial4j:spatial4j 
> >-----------------------
> [INFO] Building Spatial4J 0.4.1
> [INFO] -------------------------------[ bundle 
> ]-------------------------------
> [INFO] 
> [INFO] --- maven-resources-plugin:3.1.0:resources (default-resources) @ 
> spatial4j ---
> [INFO] Using 'UTF-8' encoding to copy filtered resources.
> [INFO] skip non existing resourceDirectory /<<PKGBUILDDIR>>/src/main/resources
> [INFO] 
> [INFO] --- maven-compiler-plugin:3.8.1:compile (default-compile) @ spatial4j 
> ---
> [INFO] Changes detected - recompiling the module!
> [INFO] Compiling 39 source files to /<<PKGBUILDDIR>>/target/classes
> Use of target 1.6 is no longer supported, switching to 7
> Use of source 1.6 is no longer supported, switching to 7
> [INFO] 
> /<<PKGBUILDDIR>>/src/main/java/com/spatial4j/core/io/WktShapeParser.java: 
> Some input files use unchecked or unsafe operations.
> [INFO] 
> /<<PKGBUILDDIR>>/src/main/java/com/spatial4j/core/io/WktShapeParser.java: 
> Recompile with -Xlint:unchecked for details.
> [INFO] -------------------------------------------------------------
> [WARNING] COMPILATION WARNING : 
> [INFO] -------------------------------------------------------------
> [WARNING] bootstrap class path not set in conjunction with -source 7
> [WARNING] 
> /<<PKGBUILDDIR>>/src/main/java/com/spatial4j/core/io/jts/JtsWktShapeParser.java:[27,38]
>  org.locationtech.jts.algorithm.CGAlgorithms in 
> org.locationtech.jts.algorithm has been deprecated
> [WARNING] 
> /<<PKGBUILDDIR>>/src/main/java/com/spatial4j/core/context/SpatialContextFactory.java:[96,45]
>  newInstance() in java.lang.Class has been deprecated
> [WARNING] 
> /<<PKGBUILDDIR>>/src/main/java/com/spatial4j/core/context/SpatialContextFactory.java:[184,34]
>  readShape(java.lang.String) in com.spatial4j.core.context.SpatialContext has 
> been deprecated
> [WARNING] 
> /<<PKGBUILDDIR>>/src/main/java/com/spatial4j/core/context/jts/JtsSpatialContext.java:[92,17]
>  toString(com.spatial4j.core.shape.Shape) in 
> com.spatial4j.core.context.SpatialContext has been deprecated
> [WARNING] 
> /<<PKGBUILDDIR>>/src/main/java/com/spatial4j/core/context/jts/JtsSpatialContext.java:[99,17]
>  toString(com.spatial4j.core.shape.Shape) in 
> com.spatial4j.core.context.SpatialContext has been deprecated
> [WARNING] 
> /<<PKGBUILDDIR>>/src/main/java/com/spatial4j/core/io/jts/JtsWktShapeParser.java:[143,29]
>  org.locationtech.jts.algorithm.CGAlgorithms in 
> org.locationtech.jts.algorithm has been deprecated
> [WARNING] 
> /<<PKGBUILDDIR>>/src/main/java/com/spatial4j/core/io/jts/JtsWktShapeParser.java:[143,41]
>  isCCW(org.locationtech.jts.geom.Coordinate[]) in 
> org.locationtech.jts.algorithm.CGAlgorithms has been deprecated
> [INFO] 8 warnings 
> [INFO] -------------------------------------------------------------
> [INFO] -------------------------------------------------------------
> [ERROR] COMPILATION ERROR : 
> [INFO] -------------------------------------------------------------
> [ERROR] 
> /<<PKGBUILDDIR>>/src/main/java/com/spatial4j/core/io/jts/JtsBinaryCodec.java:[94,42]
>  <anonymous com.spatial4j.core.io.jts.JtsBinaryCodec$1> is not abstract and 
> does not override abstract method read(byte[]) in 
> org.locationtech.jts.io.InStream
> [ERROR] 
> /<<PKGBUILDDIR>>/src/main/java/com/spatial4j/core/io/jts/JtsBinaryCodec.java:[97,21]
>  read(byte[]) in <anonymous com.spatial4j.core.io.jts.JtsBinaryCodec$1> 
> cannot implement read(byte[]) in org.locationtech.jts.io.InStream
>   return type void is not compatible with int
> [ERROR] 
> /<<PKGBUILDDIR>>/src/main/java/com/spatial4j/core/io/jts/JtsBinaryCodec.java:[96,9]
>  method does not override or implement a method from a supertype
> [INFO] 3 errors 
> [INFO] -------------------------------------------------------------
> [INFO] 
> ------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> [INFO] 
> ------------------------------------------------------------------------
> [INFO] Total time:  1.834 s
> [INFO] Finished at: 2021-10-23T07:32:07Z
> [INFO] 
> ------------------------------------------------------------------------
> [ERROR] Failed to execute goal 
> org.apache.maven.plugins:maven-compiler-plugin:3.8.1:compile 
> (default-compile) on project spatial4j: Compilation failure: Compilation 
> failure: 
> [ERROR] 
> /<<PKGBUILDDIR>>/src/main/java/com/spatial4j/core/io/jts/JtsBinaryCodec.java:[94,42]
>  <anonymous com.spatial4j.core.io.jts.JtsBinaryCodec$1> is not abstract and 
> does not override abstract method read(byte[]) in 
> org.locationtech.jts.io.InStream
> [ERROR] 
> /<<PKGBUILDDIR>>/src/main/java/com/spatial4j/core/io/jts/JtsBinaryCodec.java:[97,21]
>  read(byte[]) in <anonymous com.spatial4j.core.io.jts.JtsBinaryCodec$1> 
> cannot implement read(byte[]) in org.locationtech.jts.io.InStream
> [ERROR]   return type void is not compatible with int
> [ERROR] 
> /<<PKGBUILDDIR>>/src/main/java/com/spatial4j/core/io/jts/JtsBinaryCodec.java:[96,9]
>  method does not override or implement a method from a supertype
> [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
> dh_auto_build: error: /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=/<<PKGBUILDDIR>> 
> -Dclassworlds.conf=/etc/maven/m2-debian.conf 
> -Dproperties.file.manual=/<<PKGBUILDDIR>>/debian/maven.properties 
> org.codehaus.plexus.classworlds.launcher.Launcher 
> -s/etc/maven/settings-debian.xml -Ddebian.dir=/<<PKGBUILDDIR>>/debian 
> -Dmaven.repo.local=/<<PKGBUILDDIR>>/debian/maven-repo --batch-mode package 
> -DskipTests -Dnotimestamp=true -Dlocale=en_US returned exit code 1
> make: *** [debian/rules:4: build] Error 25


The full build log is available from:
http://qa-logs.debian.net/2021/10/23/spatial4j-0.4_0.4.1-6_unstable.log

A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!

If you reassign this bug to another package, please marking it as 'affects'-ing
this package. See https://www.debian.org/Bugs/server-control#affects

If you fail to reproduce this, please provide a build log and diff it with mine
so that we can identify if something relevant changed in the meantime.

Reply via email to