Bug#871116: libgoogle-gson-java: FTBFS: ERROR Failed to execute goal org.apache.maven.plugins:maven-jar-plugin:3.0.2:jar ?=(default)=?UTF-8?Q? on project gson: =?UTF-8?Q?=1B[1; 31mYou?= have to use a classifier to attach supplemental artifacts to the project instead of replacing them. -> [Help 1]

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
> [INFO] Scanning for projects...
> [INFO] 
> [INFO] ------------------------------------------------------------------------
> [INFO] Building Gson 2.4
> [INFO] ------------------------------------------------------------------------
> [INFO] 
> [INFO] --- maven-resources-plugin:3.0.2:resources (default-resources) @ gson ---
> [INFO] Using 'UTF-8' encoding to copy filtered resources.
> [INFO] skip non existing resourceDirectory /<<PKGBUILDDIR>>/gson/src/main/resources
> [INFO] 
> [INFO] --- maven-compiler-plugin:3.6.1:compile (default-compile) @ gson ---
> [WARNING] 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
> [WARNING] 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
> [INFO] Changes detected - recompiling the module!
> [INFO] 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
> [INFO] 
> [INFO] --- maven-resources-plugin:3.0.2:testResources (default-testResources) @ gson ---
> [INFO] Using 'UTF-8' encoding to copy filtered resources.
> [INFO] skip non existing resourceDirectory /<<PKGBUILDDIR>>/gson/src/test/resources
> [INFO] 
> [INFO] --- maven-compiler-plugin:3.6.1:testCompile (default-testCompile) @ gson ---
> [INFO] Changes detected - recompiling the module!
> [INFO] 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
> [INFO] /<<PKGBUILDDIR>>/gson/src/test/java/com/google/gson/internal/LinkedHashTreeMapTest.java: Some input files use unchecked or unsafe operations.
> [INFO] /<<PKGBUILDDIR>>/gson/src/test/java/com/google/gson/internal/LinkedHashTreeMapTest.java: Recompile with -Xlint:unchecked for details.
> [INFO] 
> [INFO] --- maven-surefire-plugin:2.19.1:test (default-test) @ gson ---
> [INFO] Tests are skipped.
> [INFO] 
> [INFO] --- maven-jar-plugin:3.0.2:jar (default-jar) @ gson ---
> [INFO] Building jar: /<<PKGBUILDDIR>>/gson/target/gson-2.4.jar
> [INFO] 
> [INFO] --- maven-jar-plugin:3.0.2:jar (default) @ gson ---
> [INFO] ------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> [INFO] ------------------------------------------------------------------------
> [INFO] Total time: 3.257 s
> [INFO] Finished at: 2017-08-06T20:20:01Z
> [INFO] Final Memory: 20M/770M
> [INFO] ------------------------------------------------------------------------
> [ERROR] Failed to execute goal org.apache.maven.plugins:maven-jar-plugin:3.0.2:jar (default) on project gson: You have to use a classifier to attach supplemental artifacts to the project instead of replacing them. -> [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/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