Package: src:libjson-java Version: 3.1.0+dfsg-2 Severity: important Tags: forky sid ftbfs User: [email protected] Usertags: ftbfs-nocheck-profile
Dear maintainer: During a rebuild of all packages in unstable using the nocheck build profile, your package failed to build. Below you will find how the build ends (probably the most relevant part, but not necessarily). If required, the full build log is available here: https://people.debian.org/~sanvila/build-logs/202509/ A wiki page discussing how to reproduce bugs in this category and possible solutions is available here: https://wiki.debian.org/qa.debian.org/FTBFS/Nocheck (It's a wiki, so you are welcome to contribute) [ Note: This is RC, but I will wait at least two weeks before raising the severities, there are a lot of gcc-15 and CMake 4 bugs open now ]. About the archive rebuild: The build was made on virtual machines from AWS, using sbuild and a reduced chroot with only build-essential packages. If you could not reproduce the bug please contact me privately, as I am willing to provide ssh access to a virtual machine where the bug is fully reproducible. If this is really a bug in one of the build-depends, please use reassign and add an affects on src:libjson-java, so that this is still visible in the BTS web page for this package. Thanks. -------------------------------------------------------------------------------- [...] debian/rules clean dh clean --buildsystem=maven --with javahelper dh_auto_clean -O--buildsystem=maven bash -c "for dir in \$(find . -name target -type d); do if [ -f \$(echo \$dir | sed -e s/target\$/pom.xml/) ]; then rm -Rf \$dir; fi done" mh_unpatchpoms -plibjson-java dh_autoreconf_clean -O--buildsystem=maven jh_clean -O--buildsystem=maven Duplicate specification "u=s" for option "u" dh_clean -O--buildsystem=maven debian/rules execute_after_dh_clean make[1]: Entering directory '/<<PKGBUILDDIR>>' rm -f pom.xml src make[1]: Leaving directory '/<<PKGBUILDDIR>>' debian/rules binary dh binary --buildsystem=maven --with javahelper dh_update_autotools_config -O--buildsystem=maven dh_autoreconf -O--buildsystem=maven debian/rules execute_before_dh_auto_configure make[1]: Entering directory '/<<PKGBUILDDIR>>' # Putting the version number in the custom pom.xml sed "s/#VERSION#/3.1.0/" debian/pom.xml.in > pom.xml # Creating a symlink to the src dir we need. ln -s subprojects/json-lib-core/src src make[1]: Leaving directory '/<<PKGBUILDDIR>>' dh_auto_configure -O--buildsystem=maven mh_patchpoms -plibjson-java --debian-build --keep-pom-version --maven-repo=/<<BUILDDIR>>/libjson-java-3.1.0\+dfsg/debian/maven-repo jh_linkjars -O--buildsystem=maven Duplicate specification "unlink|u" for option "u" dh_auto_build -O--buildsystem=maven /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=/<<BUILDDIR>>/libjson-java-3.1.0\+dfsg -Dclassworlds.conf=/etc/maven/m2-debian.conf org.codehaus.plexus.classworlds.launcher.Launcher -s/etc/maven/settings-debian.xml -Ddebian.dir=/<<BUILDDIR>>/libjson-java-3.1.0\+dfsg/debian -Dmaven.repo.local=/<<BUILDDIR>>/libjson-java-3.1.0\+dfsg/debian/maven-repo --batch-mode package -DskipTests -Dnotimestamp=true -Dlocale=en_US 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. [INFO] Scanning for projects... [INFO] [INFO] -------------------< org.kordamp.json:json-lib-core >------------------- [INFO] Building Json-lib 3.1.0 [INFO] from pom.xml [INFO] --------------------------------[ jar ]--------------------------------- [WARNING] The artifact org.apache.maven.plugins:maven-surefire-plugin:jar:2.17 has been relocated to org.apache.maven.plugins:maven-surefire-plugin:jar:2.22.3 [WARNING] The artifact org.apache.maven.plugins:maven-jar-plugin:jar:3.1.2 has been relocated to org.apache.maven.plugins:maven-jar-plugin:jar:3.3.0 [WARNING] The POM for xml-apis:xml-apis:jar:debian is missing, no dependency information available [WARNING] The POM for xmlunit:xmlunit:jar:debian is missing, no dependency information available [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 0.182 s [INFO] Finished at: 2025-09-30T11:33:28Z [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal on project json-lib-core: Could not resolve dependencies for project org.kordamp.json:json-lib-core:jar:3.1.0 [ERROR] dependency: xml-apis:xml-apis:jar:debian (test) [ERROR] Cannot access central (https://repo.maven.apache.org/maven2) in offline mode and the artifact xml-apis:xml-apis:jar:debian has not been downloaded from it before. [ERROR] dependency: xmlunit:xmlunit:jar:debian (test) [ERROR] Cannot access central (https://repo.maven.apache.org/maven2) in offline mode and the artifact xmlunit:xmlunit:jar:debian has not been downloaded from it before. [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/DependencyResolutionException dh_auto_build: error: /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=/<<BUILDDIR>>/libjson-java-3.1.0\+dfsg -Dclassworlds.conf=/etc/maven/m2-debian.conf org.codehaus.plexus.classworlds.launcher.Launcher -s/etc/maven/settings-debian.xml -Ddebian.dir=/<<BUILDDIR>>/libjson-java-3.1.0\+dfsg/debian -Dmaven.repo.local=/<<BUILDDIR>>/libjson-java-3.1.0\+dfsg/debian/maven-repo --batch-mode package -DskipTests -Dnotimestamp=true -Dlocale=en_US returned exit code 1 make: *** [debian/rules:8: binary] Error 25 dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2 -------------------------------------------------------------------------------- __ This is the maintainer address of Debian's Java team <https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-java-maintainers>. Please use [email protected] for discussions and questions.
