Package: src:libgoogle-gson-java Version: 2.8.5-2 Severity: serious Tags: ftbfs
Dear maintainer: I tried to build this package in buster but it failed: -------------------------------------------------------------------------------- [...] debian/rules build-indep dh build-indep --with javahelper --buildsystem=maven dh_update_autotools_config -i -O--buildsystem=maven dh_autoreconf -i -O--buildsystem=maven dh_auto_configure -i -O--buildsystem=maven mh_patchpoms -plibgoogle-gson-java --debian-build --keep-pom-version --maven-repo=/<<PKGBUILDDIR>>/debian/maven-repo [ERROR] Cannot find parent dependency com.google.code.gson:gson-parent:pom:2.8.5, use --no-parent option to resolve this issue or install the parent POM in the Maven repository jh_linkjars -i -O--buildsystem=maven debian/rules override_dh_auto_build make[1]: Entering directory '/<<PKGBUILDDIR>>' cp -Rvp gson/src/main/java-templates/* gson/src/main/java/ 'gson/src/main/java-templates/com/google/gson/internal/GsonBuildConfig.java' -> 'gson/src/main/java/com/google/gson/internal/GsonBuildConfig.java' sed -i s/\$\{project.version\}/2.8.5/ gson/src/main/java/com/google/gson/internal/GsonBuildConfig.java dh_auto_build [... snipped ...] [ERROR] /<<PKGBUILDDIR>>/gson/src/main/java/com/google/gson/FieldNamingPolicy.java:87: warning - invalid usage of tag > [ERROR] /<<PKGBUILDDIR>>/gson/src/main/java/com/google/gson/FieldNamingPolicy.java:100: warning - invalid usage of tag > [ERROR] /<<PKGBUILDDIR>>/gson/src/main/java/com/google/gson/FieldNamingPolicy.java:102: warning - invalid usage of tag > [ERROR] /<<PKGBUILDDIR>>/gson/src/main/java/com/google/gson/FieldNamingPolicy.java:103: warning - invalid usage of tag > [ERROR] /<<PKGBUILDDIR>>/gson/src/main/java/com/google/gson/FieldNamingPolicy.java:104: warning - invalid usage of tag > [ERROR] /<<PKGBUILDDIR>>/gson/src/main/java/com/google/gson/FieldNamingPolicy.java:105: warning - invalid usage of tag > [ERROR] /<<PKGBUILDDIR>>/gson/src/main/java/com/google/gson/FieldNamingPolicy.java:123: warning - invalid usage of tag > [ERROR] /<<PKGBUILDDIR>>/gson/src/main/java/com/google/gson/FieldNamingPolicy.java:125: warning - invalid usage of tag > [ERROR] /<<PKGBUILDDIR>>/gson/src/main/java/com/google/gson/FieldNamingPolicy.java:126: warning - invalid usage of tag > [ERROR] /<<PKGBUILDDIR>>/gson/src/main/java/com/google/gson/FieldNamingPolicy.java:127: warning - invalid usage of tag > [ERROR] /<<PKGBUILDDIR>>/gson/src/main/java/com/google/gson/FieldNamingPolicy.java:128: warning - invalid usage of tag > [ERROR] /<<PKGBUILDDIR>>/gson/src/main/java/com/google/gson/annotations/Expose.java:37: warning - invalid usage of tag @ [ERROR] /<<PKGBUILDDIR>>/gson/src/main/java/com/google/gson/annotations/Expose.java:38: warning - invalid usage of tag @ [ERROR] /<<PKGBUILDDIR>>/gson/src/main/java/com/google/gson/annotations/Expose.java:39: warning - invalid usage of tag @ [ERROR] /<<PKGBUILDDIR>>/gson/src/main/java/com/google/gson/annotations/JsonAdapter.java:34: warning - invalid usage of tag @ [ERROR] /<<PKGBUILDDIR>>/gson/src/main/java/com/google/gson/annotations/JsonAdapter.java:43: warning - invalid usage of tag @ [ERROR] /<<PKGBUILDDIR>>/gson/src/main/java/com/google/gson/annotations/JsonAdapter.java:51: warning - invalid usage of tag @ [ERROR] /<<PKGBUILDDIR>>/gson/src/main/java/com/google/gson/annotations/JsonAdapter.java:62: warning - invalid usage of tag @ [ERROR] /<<PKGBUILDDIR>>/gson/src/main/java/com/google/gson/annotations/JsonAdapter.java:68: warning - invalid usage of tag @ [ERROR] /<<PKGBUILDDIR>>/gson/src/main/java/com/google/gson/annotations/SerializedName.java:38: warning - invalid usage of tag @ [ERROR] /<<PKGBUILDDIR>>/gson/src/main/java/com/google/gson/annotations/SerializedName.java:39: warning - invalid usage of tag @ [ERROR] /<<PKGBUILDDIR>>/gson/src/main/java/com/google/gson/annotations/Since.java:39: warning - invalid usage of tag @ [ERROR] /<<PKGBUILDDIR>>/gson/src/main/java/com/google/gson/annotations/Since.java:40: warning - invalid usage of tag @ [ERROR] /<<PKGBUILDDIR>>/gson/src/main/java/com/google/gson/annotations/Since.java:41: warning - invalid usage of tag @ [ERROR] /<<PKGBUILDDIR>>/gson/src/main/java/com/google/gson/annotations/Until.java:41: warning - invalid usage of tag @ [ERROR] /<<PKGBUILDDIR>>/gson/src/main/java/com/google/gson/annotations/Until.java:42: warning - invalid usage of tag @ [ERROR] [ERROR] Command line was: /usr/lib/jvm/java-11-openjdk-amd64/bin/javadoc @options @packages [ERROR] [ERROR] Refer to the generated Javadoc files in '/<<PKGBUILDDIR>>/gson/target/apidocs' dir. [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/MojoExecutionException [ERROR] [ERROR] After correcting the problems, you can resume the build with the command [ERROR] mvn <goals> -rf :gson dh_auto_build: /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 javadoc:jar javadoc:aggregate -DskipTests -Dnotimestamp=true -Dlocale=en_US returned exit code 1 make[1]: *** [debian/rules:11: override_dh_auto_build] Error 1 make[1]: Leaving directory '/<<PKGBUILDDIR>>' make: *** [debian/rules:6: build-indep] Error 2 dpkg-buildpackage: error: debian/rules build-indep subprocess returned exit status 2 -------------------------------------------------------------------------------- (The above is just how the builds ends and not necessarily the most relevant part) The build was made in my autobuilder with "dpkg-buildpackage -A" and it also fails here: https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/libgoogle-gson-java.html where you can get a full build log if you need it. If this is really a bug in one of the build-depends, please use reassign and affects, so that this is still visible in the BTS web page for this package. Thanks.