Bug#871116: libgoogle-gson-java: FTBFS: ERROR Failed to execute goal [32morg.apache.maven.plugins:maven-jar-plugin:3.0.2:jar[m [1m?=(default)=?UTF-8?Q?[m on project [36mgson[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
Sun Aug 6 21:56:17 UTC 2017
Source: libgoogle-gson-java
Version: 2.4-1
Severity: serious
Tags: buster sid
User: debian-qa at lists.debian.org
Usertags: qa-ftbfs-20170805 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):
> make[1]: Entering directory '/<<PKGBUILDDIR>>'
> make[1]: Nothing to be done for 'patch-poms'.
> make[1]: Leaving directory '/<<PKGBUILDDIR>>'
> cd . && /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 -Dclassworlds.conf=/etc/maven/m2-debian.conf -Dmaven.home=/usr/share/maven -Dmaven.multiModuleProjectDirectory=/<<PKGBUILDDIR>> org.codehaus.plexus.classworlds.launcher.Launcher -s/etc/maven/settings-debian.xml -Dmaven.repo.local=/<<PKGBUILDDIR>>/debian/maven-repo --file gson/pom.xml package -DskipTests
> [[1;34mINFO[m] Scanning for projects...
> [[1;34mINFO[m]
> [[1;34mINFO[m] [1m------------------------------------------------------------------------[m
> [[1;34mINFO[m] [1mBuilding Gson 2.4[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 @ [36mgson[0;1m ---[m
> [[1;34mINFO[m] Using 'UTF-8' encoding to copy filtered resources.
> [[1;34mINFO[m] skip non existing resourceDirectory /<<PKGBUILDDIR>>/gson/src/main/resources
> [[1;34mINFO[m]
> [[1;34mINFO[m] [1m--- [0;32mmaven-compiler-plugin:3.6.1:compile[m [1m(default-compile)[m @ [36mgson[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 66 source files to /<<PKGBUILDDIR>>/gson/target/classes
> Use of target 1.5 is no longer supported, switching to 1.7
> Use of source 1.5 is no longer supported, switching to 1.7
> [[1;34mINFO[m]
> [[1;34mINFO[m] [1m--- [0;32mmaven-resources-plugin:3.0.2:testResources[m [1m(default-testResources)[m @ [36mgson[0;1m ---[m
> [[1;34mINFO[m] Using 'UTF-8' encoding to copy filtered resources.
> [[1;34mINFO[m] skip non existing resourceDirectory /<<PKGBUILDDIR>>/gson/src/test/resources
> [[1;34mINFO[m]
> [[1;34mINFO[m] [1m--- [0;32mmaven-compiler-plugin:3.6.1:testCompile[m [1m(default-testCompile)[m @ [36mgson[0;1m ---[m
> [[1;34mINFO[m] Changes detected - recompiling the module!
> [[1;34mINFO[m] Compiling 88 source files to /<<PKGBUILDDIR>>/gson/target/test-classes
> Use of target 1.5 is no longer supported, switching to 1.7
> Use of source 1.5 is no longer supported, switching to 1.7
> [[1;34mINFO[m] /<<PKGBUILDDIR>>/gson/src/test/java/com/google/gson/internal/LinkedHashTreeMapTest.java: Some input files use unchecked or unsafe operations.
> [[1;34mINFO[m] /<<PKGBUILDDIR>>/gson/src/test/java/com/google/gson/internal/LinkedHashTreeMapTest.java: Recompile with -Xlint:unchecked for details.
> [[1;34mINFO[m]
> [[1;34mINFO[m] [1m--- [0;32mmaven-surefire-plugin:2.19.1:test[m [1m(default-test)[m @ [36mgson[0;1m ---[m
> [[1;34mINFO[m] Tests are skipped.
> [[1;34mINFO[m]
> [[1;34mINFO[m] [1m--- [0;32mmaven-jar-plugin:3.0.2:jar[m [1m(default-jar)[m @ [36mgson[0;1m ---[m
> [[1;34mINFO[m] Building jar: /<<PKGBUILDDIR>>/gson/target/gson-2.4.jar
> [[1;34mINFO[m]
> [[1;34mINFO[m] [1m--- [0;32mmaven-jar-plugin:3.0.2:jar[m [1m(default)[m @ [36mgson[0;1m ---[m
> [[1;34mINFO[m] [1m------------------------------------------------------------------------[m
> [[1;34mINFO[m] [1;31mBUILD FAILURE[m
> [[1;34mINFO[m] [1m------------------------------------------------------------------------[m
> [[1;34mINFO[m] Total time: 3.257 s
> [[1;34mINFO[m] Finished at: 2017-08-06T20:20:01Z
> [[1;34mINFO[m] Final Memory: 20M/770M
> [[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(default)[m on project [36mgson[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
> /usr/share/cdbs/1/class/maven.mk:92: recipe for target 'mvn-build' failed
> make: *** [mvn-build] Error 1
The full build log is available from:
http://aws-logs.debian.net/2017/08/05/libgoogle-gson-java_2.4-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