Bug#871362: spatial4j: FTBFS: =?UTF-8?Q?[=1B[1; 31mERROR=1B[m]?= Failed to execute goal [32morg.apache.maven.plugins:maven-jar-plugin:3.0.2:jar[m [1m?=(attach-sources)=?UTF-8?Q?[m on project [36mspatial4j[m: =?UTF-8?Q?=1B[1; 31mYou?= have to use a classifier to attach supplemental artifacts to the project instead of replacing them.[m -> [1m[Help 1][m
Lucas Nussbaum
lucas at debian.org
Mon Aug 7 16:01:39 UTC 2017
Source: spatial4j
Version: 0.5-1
Severity: serious
Tags: buster sid
User: debian-qa at lists.debian.org
Usertags: qa-ftbfs-20170807 qa-ftbfs
Justification: FTBFS on amd64
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_auto_configure -O--buildsystem=maven
> mh_patchpoms -plibspatial4j-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:/usr/lib/jvm/default-java/lib/tools.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 package -DskipTests -Dnotimestamp=true -Dlocale=en_US
> [[1;34mINFO[m] Scanning for projects...
> [[1;33mWARNING[m] The project com.spatial4j:spatial4j:bundle:0.5 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
> [[1;34mINFO[m]
> [[1;34mINFO[m] [1m------------------------------------------------------------------------[m
> [[1;34mINFO[m] [1mBuilding Spatial4J 0.5[m
> [[1;34mINFO[m] [1m------------------------------------------------------------------------[m
> [[1;34mINFO[m]
> [[1;34mINFO[m] [1m--- [0;32mmaven-resources-plugin:3.0.2:resources[m [1m(default-resources)[m @ [36mspatial4j[0;1m ---[m
> [[1;34mINFO[m] Using 'UTF-8' encoding to copy filtered resources.
> [[1;34mINFO[m] skip non existing resourceDirectory /<<PKGBUILDDIR>>/src/main/resources
> [[1;34mINFO[m]
> [[1;34mINFO[m] [1m--- [0;32mmaven-compiler-plugin:3.6.1:compile[m [1m(default-compile)[m @ [36mspatial4j[0;1m ---[m
> [[1;33mWARNING[m] The POM for org.codehaus.plexus:plexus-compiler-api:jar:2.x is invalid, transitive dependencies (if any) will not be available, enable debug logging for more details
> [[1;33mWARNING[m] The POM for org.codehaus.plexus:plexus-compiler-javac:jar:2.x is invalid, transitive dependencies (if any) will not be available, enable debug logging for more details
> [[1;34mINFO[m] Changes detected - recompiling the module!
> [[1;34mINFO[m] Compiling 61 source files to /<<PKGBUILDDIR>>/target/classes
> [[1;33mWARNING[m] bootstrap class path not set in conjunction with -source 1.7
> [[1;33mWARNING[m] /<<PKGBUILDDIR>>/src/main/java/com/spatial4j/core/context/SpatialContextFactory.java:[245,19] com.spatial4j.core.io.LegacyShapeReader in com.spatial4j.core.io has been deprecated
> [[1;33mWARNING[m] /<<PKGBUILDDIR>>/src/main/java/com/spatial4j/core/context/SpatialContextFactory.java:[251,19] com.spatial4j.core.io.LegacyShapeWriter in com.spatial4j.core.io has been deprecated
> [[1;33mWARNING[m] /<<PKGBUILDDIR>>/src/main/java/com/spatial4j/core/context/SpatialContextFactory.java:[275,34] readShape(java.lang.String) in com.spatial4j.core.context.SpatialContext has been deprecated
> [[1;33mWARNING[m] /<<PKGBUILDDIR>>/src/main/java/com/spatial4j/core/context/jts/JtsSpatialContext.java:[116,17] toString(com.spatial4j.core.shape.Shape) in com.spatial4j.core.context.SpatialContext has been deprecated
> [[1;33mWARNING[m] /<<PKGBUILDDIR>>/src/main/java/com/spatial4j/core/context/jts/JtsSpatialContext.java:[123,17] toString(com.spatial4j.core.shape.Shape) in com.spatial4j.core.context.SpatialContext has been deprecated
> [[1;33mWARNING[m] /<<PKGBUILDDIR>>/src/main/java/com/spatial4j/core/context/jts/JtsSpatialContextFactory.java:[75,19] com.spatial4j.core.io.LegacyShapeReader in com.spatial4j.core.io has been deprecated
> [[1;33mWARNING[m] /<<PKGBUILDDIR>>/src/main/java/com/spatial4j/core/context/jts/JtsSpatialContextFactory.java:[81,19] com.spatial4j.core.io.LegacyShapeWriter in com.spatial4j.core.io has been deprecated
> [[1;33mWARNING[m] /<<PKGBUILDDIR>>/src/main/java/com/spatial4j/core/io/GeoJSONWriter.java:[55,23] com.spatial4j.core.io.LegacyShapeWriter in com.spatial4j.core.io has been deprecated
> [[1;33mWARNING[m] /<<PKGBUILDDIR>>/src/main/java/com/spatial4j/core/io/GeoJSONWriter.java:[141,19] com.spatial4j.core.io.LegacyShapeWriter in com.spatial4j.core.io has been deprecated
> [[1;33mWARNING[m] /<<PKGBUILDDIR>>/src/main/java/com/spatial4j/core/io/jts/JtsGeoJSONWriter.java:[98,23] com.spatial4j.core.io.LegacyShapeWriter in com.spatial4j.core.io has been deprecated
> [[1;33mWARNING[m] /<<PKGBUILDDIR>>/src/main/java/com/spatial4j/core/io/WKTWriter.java:[39,23] com.spatial4j.core.io.LegacyShapeWriter in com.spatial4j.core.io has been deprecated
> [[1;33mWARNING[m] /<<PKGBUILDDIR>>/src/main/java/com/spatial4j/core/io/WKTWriter.java:[46,28] com.spatial4j.core.io.LegacyShapeWriter in com.spatial4j.core.io has been deprecated
> [[1;33mWARNING[m] /<<PKGBUILDDIR>>/src/main/java/com/spatial4j/core/io/WKTWriter.java:[115,12] com.spatial4j.core.io.LegacyShapeWriter in com.spatial4j.core.io has been deprecated
> [[1;33mWARNING[m] /<<PKGBUILDDIR>>/src/main/java/com/spatial4j/core/io/PolyshapeWriter.java:[132,37] com.spatial4j.core.io.LegacyShapeWriter in com.spatial4j.core.io has been deprecated
> [[1;34mINFO[m] /<<PKGBUILDDIR>>/src/main/java/com/spatial4j/core/context/SpatialContextFactory.java: Some input files use unchecked or unsafe operations.
> [[1;34mINFO[m] /<<PKGBUILDDIR>>/src/main/java/com/spatial4j/core/context/SpatialContextFactory.java: Recompile with -Xlint:unchecked for details.
> [[1;34mINFO[m]
> [[1;34mINFO[m] [1m--- [0;32mmaven-resources-plugin:3.0.2:testResources[m [1m(default-testResources)[m @ [36mspatial4j[0;1m ---[m
> [[1;34mINFO[m] Not copying test resources
> [[1;34mINFO[m]
> [[1;34mINFO[m] [1m--- [0;32mmaven-compiler-plugin:3.6.1:testCompile[m [1m(default-testCompile)[m @ [36mspatial4j[0;1m ---[m
> [[1;34mINFO[m] Not compiling test sources
> [[1;34mINFO[m]
> [[1;34mINFO[m] [1m--- [0;32mmaven-surefire-plugin:2.19.1:test[m [1m(default-test)[m @ [36mspatial4j[0;1m ---[m
> [[1;34mINFO[m] Tests are skipped.
> [[1;34mINFO[m]
> [[1;34mINFO[m] [1m--- [0;32mmaven-bundle-plugin:2.5.4:bundle[m [1m(default-bundle)[m @ [36mspatial4j[0;1m ---[m
> [[1;34mINFO[m]
> [[1;34mINFO[m] [1m--- [0;32mmaven-jar-plugin:3.0.2:jar[m [1m(attach-sources)[m @ [36mspatial4j[0;1m ---[m
> [[1;34mINFO[m] Building jar: /<<PKGBUILDDIR>>/target/spatial4j-0.5.jar
> [[1;34mINFO[m] [1m------------------------------------------------------------------------[m
> [[1;34mINFO[m] [1;31mBUILD FAILURE[m
> [[1;34mINFO[m] [1m------------------------------------------------------------------------[m
> [[1;34mINFO[m] Total time: 2.401 s
> [[1;34mINFO[m] Finished at: 2017-08-07T11:07:11Z
> [[1;34mINFO[m] Final Memory: 21M/790M
> [[1;34mINFO[m] [1m------------------------------------------------------------------------[m
> [[1;31mERROR[m] Failed to execute goal [32morg.apache.maven.plugins:maven-jar-plugin:3.0.2:jar[m [1m(attach-sources)[m on project [36mspatial4j[m: [1;31mYou have to use a classifier to attach supplemental artifacts to the project instead of replacing them.[m -> [1m[Help 1][m
> [[1;31mERROR[m]
> [[1;31mERROR[m] To see the full stack trace of the errors, re-run Maven with the [1m-e[m switch.
> [[1;31mERROR[m] Re-run Maven using the [1m-X[m switch to enable full debug logging.
> [[1;31mERROR[m]
> [[1;31mERROR[m] For more information about the errors and possible solutions, please read the following articles:
> [[1;31mERROR[m] [1m[Help 1][m http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
> 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=/<<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 package -DskipTests -Dnotimestamp=true -Dlocale=en_US returned exit code 1
> debian/rules:4: recipe for target 'build' failed
> make: *** [build] Error 1
The full build log is available from:
http://aws-logs.debian.net/2017/08/07/spatial4j_0.5-1_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!
About the archive rebuild: The rebuild was done on EC2 VM instances from
Amazon Web Services, using a clean, minimal and up-to-date chroot. Every
failed build was retried once to eliminate random failures.
More information about the pkg-java-maintainers
mailing list