Bug#1028808: libjgoodies-forms-java: FTBFS: dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2
Lucas Nussbaum
lucas at debian.org
Sat Jan 14 12:47:27 GMT 2023
Source: libjgoodies-forms-java
Version: 1.9.0-3.1
Severity: serious
Justification: FTBFS
Tags: bookworm sid ftbfs
User: lucas at debian.org
Usertags: ftbfs-20230113 ftbfs-bookworm
Hi,
During a rebuild of all packages in sid, your package failed to build
on amd64.
Relevant part (hopefully):
> debian/rules build
> test -x debian/rules
> mkdir -p "."
> /usr/share/maven-debian-helper/copy-repo.sh /<<PKGBUILDDIR>>/debian
> mh_patchpoms -plibjgoodies-forms-java --debian-build --keep-pom-version --maven-repo=/<<PKGBUILDDIR>>/debian/maven-repo
> touch debian/stamp-poms-patched
> jh_linkjars
> jh_build -J
> touch debian/jh_build_stamp
> # before-build target may be used to unpatch the pom files, so we need to check if
> # patching the pom files is needed here, normally not
> if [ ! -f pom.xml.save ]; then \
> /usr/bin/make -f debian/rules patch-poms; \
> fi
> cd . && /usr/lib/jvm/default-java/bin/java -noverify -cp /usr/share/maven/boot/plexus-classworlds-2.x.jar: -Dproperties.file.manual=/<<PKGBUILDDIR>>/debian/maven.properties -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 package -DskipTests
> OpenJDK 64-Bit Server VM warning: Options -Xverify:none and -noverify were deprecated in JDK 13 and will likely be removed in a future release.
> [[1;34mINFO[m] Scanning for projects...
> [[1;34mINFO[m]
> [[1;34mINFO[m] [1m--------------------< [0;36mcom.jgoodies:jgoodies-forms[0;1m >---------------------[m
> [[1;34mINFO[m] [1mBuilding JGoodies Forms 1.9.0[m
> [[1;34mINFO[m] [1m--------------------------------[ jar ]---------------------------------[m
> [[1;33mWARNING[m] The artifact org.apache.maven.plugins:maven-resources-plugin:jar:2.6 has been relocated to org.apache.maven.plugins:maven-resources-plugin:jar:3.3.0
> [[1;33mWARNING[m] The artifact org.apache.maven.plugins:maven-surefire-plugin:jar:2.12.4 has been relocated to org.apache.maven.plugins:maven-surefire-plugin:jar:2.22.3
> [[1;33mWARNING[m] The artifact org.apache.maven.plugins:maven-jar-plugin:jar:2.4 has been relocated to org.apache.maven.plugins:maven-jar-plugin:jar:3.3.0
> [[1;34mINFO[m]
> [[1;34mINFO[m] [1m--- [0;32mmaven-resources-plugin:3.3.0:resources[m [1m(default-resources)[m @ [36mjgoodies-forms[0;1m ---[m
> [[1;34mINFO[m] skip non existing resourceDirectory /<<PKGBUILDDIR>>/src/main/resources
> [[1;34mINFO[m]
> [[1;34mINFO[m] [1m--- [0;32mmaven-compiler-plugin:3.10.1:compile[m [1m(default-compile)[m @ [36mjgoodies-forms[0;1m ---[m
> [[1;34mINFO[m] Changes detected - recompiling the module!
> [[1;34mINFO[m] Compiling 43 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
> [[1;34mINFO[m] /<<PKGBUILDDIR>>/src/main/java/com/jgoodies/forms/factories/Forms.java: /<<PKGBUILDDIR>>/src/main/java/com/jgoodies/forms/factories/Forms.java uses or overrides a deprecated API.
> [[1;34mINFO[m] /<<PKGBUILDDIR>>/src/main/java/com/jgoodies/forms/factories/Forms.java: Recompile with -Xlint:deprecation for details.
> [[1;34mINFO[m] /<<PKGBUILDDIR>>/src/main/java/com/jgoodies/forms/layout/ConstantSize.java: /<<PKGBUILDDIR>>/src/main/java/com/jgoodies/forms/layout/ConstantSize.java uses or overrides a deprecated API that is marked for removal.
> [[1;34mINFO[m] /<<PKGBUILDDIR>>/src/main/java/com/jgoodies/forms/layout/ConstantSize.java: Recompile with -Xlint:removal for details.
> [[1;34mINFO[m] /<<PKGBUILDDIR>>/src/main/java/com/jgoodies/forms/internal/AbstractBuilder.java: Some input files use unchecked or unsafe operations.
> [[1;34mINFO[m] /<<PKGBUILDDIR>>/src/main/java/com/jgoodies/forms/internal/AbstractBuilder.java: Recompile with -Xlint:unchecked for details.
> [[1;34mINFO[m]
> [[1;34mINFO[m] [1m--- [0;32mmaven-resources-plugin:3.3.0:testResources[m [1m(default-testResources)[m @ [36mjgoodies-forms[0;1m ---[m
> [[1;34mINFO[m] Not copying test resources
> [[1;34mINFO[m]
> [[1;34mINFO[m] [1m--- [0;32mmaven-compiler-plugin:3.10.1:testCompile[m [1m(default-testCompile)[m @ [36mjgoodies-forms[0;1m ---[m
> [[1;34mINFO[m] Not compiling test sources
> [[1;34mINFO[m]
> [[1;34mINFO[m] [1m--- [0;32mmaven-surefire-plugin:2.22.3:test[m [1m(default-test)[m @ [36mjgoodies-forms[0;1m ---[m
> [[1;34mINFO[m] Tests are skipped.
> [[1;34mINFO[m]
> [[1;34mINFO[m] [1m--- [0;32mmaven-jar-plugin:3.3.0:jar[m [1m(default-jar)[m @ [36mjgoodies-forms[0;1m ---[m
> [[1;34mINFO[m] Building jar: /<<PKGBUILDDIR>>/target/jgoodies-forms-1.9.0.jar
> [[1;34mINFO[m] [1m------------------------------------------------------------------------[m
> [[1;34mINFO[m] [1;32mBUILD SUCCESS[m
> [[1;34mINFO[m] [1m------------------------------------------------------------------------[m
> [[1;34mINFO[m] Total time: 2.242 s
> [[1;34mINFO[m] Finished at: 2023-01-13T20:26:16Z
> [[1;34mINFO[m] [1m------------------------------------------------------------------------[m
> [0m[0mcd . && /usr/lib/jvm/default-java/bin/java -noverify -cp /usr/share/maven/boot/plexus-classworlds-2.x.jar: -Dproperties.file.manual=/<<PKGBUILDDIR>>/debian/maven.properties -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 -Ddebian.dir=/<<PKGBUILDDIR>>/debian -Ddebian.package=libjgoodies-forms-java -Dmaven.repo.local=/<<PKGBUILDDIR>>/debian/maven-repo -Dinstall.to.usj=true test
> OpenJDK 64-Bit Server VM warning: Options -Xverify:none and -noverify were deprecated in JDK 13 and will likely be removed in a future release.
> [[1;34mINFO[m] Scanning for projects...
> [[1;34mINFO[m]
> [[1;34mINFO[m] [1m--------------------< [0;36mcom.jgoodies:jgoodies-forms[0;1m >---------------------[m
> [[1;34mINFO[m] [1mBuilding JGoodies Forms 1.9.0[m
> [[1;34mINFO[m] [1m--------------------------------[ jar ]---------------------------------[m
> [[1;33mWARNING[m] The artifact org.apache.maven.plugins:maven-resources-plugin:jar:2.6 has been relocated to org.apache.maven.plugins:maven-resources-plugin:jar:3.3.0
> [[1;33mWARNING[m] The artifact org.apache.maven.plugins:maven-surefire-plugin:jar:2.12.4 has been relocated to org.apache.maven.plugins:maven-surefire-plugin:jar:2.22.3
> [[1;34mINFO[m]
> [[1;34mINFO[m] [1m--- [0;32mmaven-resources-plugin:3.3.0:resources[m [1m(default-resources)[m @ [36mjgoodies-forms[0;1m ---[m
> [[1;34mINFO[m] skip non existing resourceDirectory /<<PKGBUILDDIR>>/src/main/resources
> [[1;34mINFO[m]
> [[1;34mINFO[m] [1m--- [0;32mmaven-compiler-plugin:3.10.1:compile[m [1m(default-compile)[m @ [36mjgoodies-forms[0;1m ---[m
> [[1;34mINFO[m] Nothing to compile - all classes are up to date
> [[1;34mINFO[m]
> [[1;34mINFO[m] [1m--- [0;32mmaven-resources-plugin:3.3.0:testResources[m [1m(default-testResources)[m @ [36mjgoodies-forms[0;1m ---[m
> [[1;34mINFO[m] Not copying test resources
> [[1;34mINFO[m]
> [[1;34mINFO[m] [1m--- [0;32mmaven-compiler-plugin:3.10.1:testCompile[m [1m(default-testCompile)[m @ [36mjgoodies-forms[0;1m ---[m
> [[1;34mINFO[m] Not compiling test sources
> [[1;34mINFO[m]
> [[1;34mINFO[m] [1m--- [0;32mmaven-surefire-plugin:2.22.3:test[m [1m(default-test)[m @ [36mjgoodies-forms[0;1m ---[m
> [[1;34mINFO[m] Tests are skipped.
> [[1;34mINFO[m] [1m------------------------------------------------------------------------[m
> [[1;34mINFO[m] [1;32mBUILD SUCCESS[m
> [[1;34mINFO[m] [1m------------------------------------------------------------------------[m
> [[1;34mINFO[m] Total time: 0.463 s
> [[1;34mINFO[m] Finished at: 2023-01-13T20:26:17Z
> [[1;34mINFO[m] [1m------------------------------------------------------------------------[m
> [0m[0mtouch debian/stamp-maven-check
> if [ ! -f pom.xml.save ]; then \
> /usr/bin/make -f debian/rules patch-poms; \
> fi
> cd . && /usr/lib/jvm/default-java/bin/java -noverify -cp /usr/share/maven/boot/plexus-classworlds-2.x.jar: -Dproperties.file.manual=/<<PKGBUILDDIR>>/debian/maven.properties -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 -Ddebian.dir=/<<PKGBUILDDIR>>/debian -Ddebian.package=libjgoodies-forms-java-doc -Dnotimestamp=true -Dlocale=en_US javadoc:jar
> OpenJDK 64-Bit Server VM warning: Options -Xverify:none and -noverify were deprecated in JDK 13 and will likely be removed in a future release.
> [[1;34mINFO[m] Scanning for projects...
> [[1;33mWARNING[m] The artifact org.apache.maven.plugins:maven-clean-plugin:jar:2.5 has been relocated to org.apache.maven.plugins:maven-clean-plugin:jar:3.2.0
> [[1;33mWARNING[m] The artifact org.apache.maven.plugins:maven-resources-plugin:jar:2.6 has been relocated to org.apache.maven.plugins:maven-resources-plugin:jar:3.3.0
> [[1;33mWARNING[m] The artifact org.apache.maven.plugins:maven-jar-plugin:jar:2.4 has been relocated to org.apache.maven.plugins:maven-jar-plugin:jar:3.3.0
> [[1;33mWARNING[m] The artifact org.apache.maven.plugins:maven-surefire-plugin:jar:2.12.4 has been relocated to org.apache.maven.plugins:maven-surefire-plugin:jar:2.22.3
> [[1;33mWARNING[m] The POM for org.apache.maven.plugins:maven-install-plugin:jar:2.4 is missing, no dependency information available
> [[1;33mWARNING[m] Failed to retrieve plugin descriptor for org.apache.maven.plugins:maven-install-plugin:2.4: Plugin org.apache.maven.plugins:maven-install-plugin:2.4 or one of its dependencies could not be resolved: Cannot access central (https://repo.maven.apache.org/maven2) in offline mode and the artifact org.apache.maven.plugins:maven-install-plugin:jar:2.4 has not been downloaded from it before.
> [[1;33mWARNING[m] The POM for org.apache.maven.plugins:maven-deploy-plugin:jar:2.7 is missing, no dependency information available
> [[1;33mWARNING[m] Failed to retrieve plugin descriptor for org.apache.maven.plugins:maven-deploy-plugin:2.7: Plugin org.apache.maven.plugins:maven-deploy-plugin:2.7 or one of its dependencies could not be resolved: Cannot access central (https://repo.maven.apache.org/maven2) in offline mode and the artifact org.apache.maven.plugins:maven-deploy-plugin:jar:2.7 has not been downloaded from it before.
> [[1;33mWARNING[m] The POM for org.apache.maven.plugins:maven-site-plugin:jar:3.3 is missing, no dependency information available
> [[1;33mWARNING[m] Failed to retrieve plugin descriptor for org.apache.maven.plugins:maven-site-plugin:3.3: Plugin org.apache.maven.plugins:maven-site-plugin:3.3 or one of its dependencies could not be resolved: Cannot access central (https://repo.maven.apache.org/maven2) in offline mode and the artifact org.apache.maven.plugins:maven-site-plugin:jar:3.3 has not been downloaded from it before.
> [[1;33mWARNING[m] The POM for org.apache.maven.plugins:maven-antrun-plugin:jar:1.3 is missing, no dependency information available
> [[1;33mWARNING[m] Failed to retrieve plugin descriptor for org.apache.maven.plugins:maven-antrun-plugin:1.3: Plugin org.apache.maven.plugins:maven-antrun-plugin:1.3 or one of its dependencies could not be resolved: Cannot access central (https://repo.maven.apache.org/maven2) in offline mode and the artifact org.apache.maven.plugins:maven-antrun-plugin:jar:1.3 has not been downloaded from it before.
> [[1;33mWARNING[m] The POM for org.apache.maven.plugins:maven-assembly-plugin:jar:2.2-beta-5 is missing, no dependency information available
> [[1;33mWARNING[m] Failed to retrieve plugin descriptor for org.apache.maven.plugins:maven-assembly-plugin:2.2-beta-5: Plugin org.apache.maven.plugins:maven-assembly-plugin:2.2-beta-5 or one of its dependencies could not be resolved: Cannot access central (https://repo.maven.apache.org/maven2) in offline mode and the artifact org.apache.maven.plugins:maven-assembly-plugin:jar:2.2-beta-5 has not been downloaded from it before.
> [[1;33mWARNING[m] The POM for org.apache.maven.plugins:maven-dependency-plugin:jar:2.8 is missing, no dependency information available
> [[1;33mWARNING[m] Failed to retrieve plugin descriptor for org.apache.maven.plugins:maven-dependency-plugin:2.8: Plugin org.apache.maven.plugins:maven-dependency-plugin:2.8 or one of its dependencies could not be resolved: Cannot access central (https://repo.maven.apache.org/maven2) in offline mode and the artifact org.apache.maven.plugins:maven-dependency-plugin:jar:2.8 has not been downloaded from it before.
> [[1;33mWARNING[m] The POM for org.apache.maven.plugins:maven-release-plugin:jar:2.5.3 is missing, no dependency information available
> [[1;33mWARNING[m] Failed to retrieve plugin descriptor for org.apache.maven.plugins:maven-release-plugin:2.5.3: Plugin org.apache.maven.plugins:maven-release-plugin:2.5.3 or one of its dependencies could not be resolved: Cannot access central (https://repo.maven.apache.org/maven2) in offline mode and the artifact org.apache.maven.plugins:maven-release-plugin:jar:2.5.3 has not been downloaded from it before.
> [[1;34mINFO[m]
> [[1;34mINFO[m] [1m--------------------< [0;36mcom.jgoodies:jgoodies-forms[0;1m >---------------------[m
> [[1;34mINFO[m] [1mBuilding JGoodies Forms 1.9.0[m
> [[1;34mINFO[m] [1m--------------------------------[ jar ]---------------------------------[m
> [[1;33mWARNING[m] The POM for org.apache.maven.plugins:maven-install-plugin:jar:2.4 is missing, no dependency information available
> [[1;33mWARNING[m] Failed to retrieve plugin descriptor for org.apache.maven.plugins:maven-install-plugin:2.4: Plugin org.apache.maven.plugins:maven-install-plugin:2.4 or one of its dependencies could not be resolved: Cannot access central (https://repo.maven.apache.org/maven2) in offline mode and the artifact org.apache.maven.plugins:maven-install-plugin:jar:2.4 has not been downloaded from it before.
> [[1;33mWARNING[m] The POM for org.apache.maven.plugins:maven-deploy-plugin:jar:2.7 is missing, no dependency information available
> [[1;33mWARNING[m] Failed to retrieve plugin descriptor for org.apache.maven.plugins:maven-deploy-plugin:2.7: Plugin org.apache.maven.plugins:maven-deploy-plugin:2.7 or one of its dependencies could not be resolved: Cannot access central (https://repo.maven.apache.org/maven2) in offline mode and the artifact org.apache.maven.plugins:maven-deploy-plugin:jar:2.7 has not been downloaded from it before.
> [[1;33mWARNING[m] The POM for org.apache.maven.plugins:maven-site-plugin:jar:3.3 is missing, no dependency information available
> [[1;33mWARNING[m] Failed to retrieve plugin descriptor for org.apache.maven.plugins:maven-site-plugin:3.3: Plugin org.apache.maven.plugins:maven-site-plugin:3.3 or one of its dependencies could not be resolved: Cannot access central (https://repo.maven.apache.org/maven2) in offline mode and the artifact org.apache.maven.plugins:maven-site-plugin:jar:3.3 has not been downloaded from it before.
> [[1;33mWARNING[m] The POM for org.apache.maven.plugins:maven-antrun-plugin:jar:1.3 is missing, no dependency information available
> [[1;33mWARNING[m] Failed to retrieve plugin descriptor for org.apache.maven.plugins:maven-antrun-plugin:1.3: Plugin org.apache.maven.plugins:maven-antrun-plugin:1.3 or one of its dependencies could not be resolved: Cannot access central (https://repo.maven.apache.org/maven2) in offline mode and the artifact org.apache.maven.plugins:maven-antrun-plugin:jar:1.3 has not been downloaded from it before.
> [[1;33mWARNING[m] The POM for org.apache.maven.plugins:maven-assembly-plugin:jar:2.2-beta-5 is missing, no dependency information available
> [[1;33mWARNING[m] Failed to retrieve plugin descriptor for org.apache.maven.plugins:maven-assembly-plugin:2.2-beta-5: Plugin org.apache.maven.plugins:maven-assembly-plugin:2.2-beta-5 or one of its dependencies could not be resolved: Cannot access central (https://repo.maven.apache.org/maven2) in offline mode and the artifact org.apache.maven.plugins:maven-assembly-plugin:jar:2.2-beta-5 has not been downloaded from it before.
> [[1;33mWARNING[m] The POM for org.apache.maven.plugins:maven-dependency-plugin:jar:2.8 is missing, no dependency information available
> [[1;33mWARNING[m] Failed to retrieve plugin descriptor for org.apache.maven.plugins:maven-dependency-plugin:2.8: Plugin org.apache.maven.plugins:maven-dependency-plugin:2.8 or one of its dependencies could not be resolved: Cannot access central (https://repo.maven.apache.org/maven2) in offline mode and the artifact org.apache.maven.plugins:maven-dependency-plugin:jar:2.8 has not been downloaded from it before.
> [[1;33mWARNING[m] The POM for org.apache.maven.plugins:maven-release-plugin:jar:2.5.3 is missing, no dependency information available
> [[1;33mWARNING[m] Failed to retrieve plugin descriptor for org.apache.maven.plugins:maven-release-plugin:2.5.3: Plugin org.apache.maven.plugins:maven-release-plugin:2.5.3 or one of its dependencies could not be resolved: Cannot access central (https://repo.maven.apache.org/maven2) in offline mode and the artifact org.apache.maven.plugins:maven-release-plugin:jar:2.5.3 has not been downloaded from it before.
> [[1;34mINFO[m]
> [[1;34mINFO[m] [1m--- [0;32mmaven-javadoc-plugin:3.4.1:jar[m [1m(default-cli)[m @ [36mjgoodies-forms[0;1m ---[m
> [[1;34mINFO[m] Adding the --ignore-source-errors option
> [[1;34mINFO[m] No previous run data found, generating javadoc.
> [[1;34mINFO[m] [1m------------------------------------------------------------------------[m
> [[1;34mINFO[m] [1;31mBUILD FAILURE[m
> [[1;34mINFO[m] [1m------------------------------------------------------------------------[m
> [[1;34mINFO[m] Total time: 0.997 s
> [[1;34mINFO[m] Finished at: 2023-01-13T20:26:19Z
> [[1;34mINFO[m] [1m------------------------------------------------------------------------[m
> [[1;31mERROR[m] Failed to execute goal [32morg.apache.maven.plugins:maven-javadoc-plugin:3.4.1:jar[m [1m(default-cli)[m on project [36mjgoodies-forms[m: [1;31mMavenReportException: Error while generating Javadoc: [m
> [[1;31mERROR[m] [1;31mExit code: 2 - error: Source option 5 is no longer supported. Use 7 or later.[m
> [[1;31mERROR[m] [1;31merror: Target option 5 is no longer supported. Use 7 or later.[m
> [[1;31mERROR[m] [1;31m2 errors[m
> [[1;31mERROR[m] [1;31m[m
> [[1;31mERROR[m] [1;31mCommand line was: /usr/lib/jvm/java-17-openjdk-amd64/bin/javadoc @options @packages[m
> [[1;31mERROR[m] [1;31m[m
> [[1;31mERROR[m] [1;31mRefer to the generated Javadoc files in '/<<PKGBUILDDIR>>/target/apidocs' dir.[m
> [[1;31mERROR[m] [1;31m[m
> [[1;31mERROR[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
> [0m[0mmake: *** [/usr/share/cdbs/1/class/maven.mk:141: debian/stamp-maven-doc] Error 1
> dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2
> --------------------------------------------------------------------------------
> Build finished at 2023-01-13T20:26:19Z
The full build log is available from:
http://qa-logs.debian.net/2023/01/13/libjgoodies-forms-java_1.9.0-3.1_unstable.log
All bugs filed during this archive rebuild are listed at:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20230113;users=lucas@debian.org
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20230113&fusertaguser=lucas@debian.org&allbugs=1&cseverity=1&ctags=1&caffected=1#results
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 mark 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.
More information about the pkg-java-maintainers
mailing list