Bug#1086283: libjaxen-java: FTBFS: Could not resolve dependencies for project jaxen:jaxen:bundle:1.1.6
Santiago Vila
sanvila at debian.org
Tue Oct 29 18:46:47 GMT 2024
Package: src:libjaxen-java
Version: 1.1.6-4
Severity: serious
Tags: ftbfs
Dear maintainer:
During a rebuild of all packages in unstable, your package failed to build:
--------------------------------------------------------------------------------
[...]
debian/rules build
dh build
dh_update_autotools_config
dh_autoreconf
dh_auto_configure
mh_patchpoms -plibjaxen-java --debian-build --keep-pom-version --maven-repo=/<<PKGBUILDDIR>>/debian/maven-repo
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
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...
[WARNING] The POM for org.apache.maven.plugins:maven-repository-plugin:jar:2.3.1 is missing, no dependency information available
[WARNING] Failed to retrieve plugin descriptor for org.apache.maven.plugins:maven-repository-plugin:2.3.1: Plugin org.apache.maven.plugins:maven-repository-plugin:2.3.1 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-repository-plugin:jar:2.3.1 has not been downloaded from it before.
[WARNING] The POM for org.apache.maven.plugins:maven-repository-plugin:jar:2.3.1 is missing, no dependency information available
[WARNING] Failed to retrieve plugin descriptor for org.apache.maven.plugins:maven-repository-plugin:2.3.1: Plugin org.apache.maven.plugins:maven-repository-plugin:2.3.1 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-repository-plugin:jar:2.3.1 has not been downloaded from it before.
[INFO]
[INFO] ----------------------------< jaxen:jaxen >-----------------------------
[INFO] Building jaxen 1.1.6
[INFO] from pom.xml
[INFO] -------------------------------[ bundle ]-------------------------------
[WARNING] The POM for org.apache.maven.plugins:maven-repository-plugin:jar:2.3.1 is missing, no dependency information available
[WARNING] Failed to retrieve plugin descriptor for org.apache.maven.plugins:maven-repository-plugin:2.3.1: Plugin org.apache.maven.plugins:maven-repository-plugin:2.3.1 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-repository-plugin:jar:2.3.1 has not been downloaded from it before.
[WARNING] The POM for xml-apis:xml-apis:jar:debian is missing, no dependency information available
[WARNING] The artifact dom4j:dom4j:jar:debian has been relocated to org.dom4j:dom4j:jar:debian
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Skipping jaxen
[INFO] This project has been banned from the build due to previous failures.
[INFO] ------------------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 0.964 s
[INFO] Finished at: 2024-10-29T07:40:51Z
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal on project jaxen: Could not resolve dependencies for project jaxen:jaxen:bundle:1.1.6: 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. -> [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=/<<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: *** [debian/rules:4: build] Error 25
dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2
--------------------------------------------------------------------------------
The above is just how the build ends and not necessarily the most relevant part.
If required, the full build log is available here:
https://people.debian.org/~sanvila/build-logs/202410/
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 affects, so that this is still visible in the BTS web
page for this package.
Thanks.
More information about the pkg-java-maintainers
mailing list