Bug#1095365: pdfsam: FTBFS: Could not resolve dependencies for project org.pdfsam:pdfsam-i18n:jar:4.3.4
Santiago Vila
sanvila at debian.org
Fri Feb 7 12:12:14 GMT 2025
Package: src:pdfsam
Version: 4.3.4-1
Severity: serious
Tags: ftbfs trixie sid
Dear maintainer:
During a rebuild of all packages in unstable, your package failed to build:
--------------------------------------------------------------------------------
[...]
debian/rules clean
dh clean
dh_auto_clean
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 -ppdfsam
debian/rules override_dh_clean
make[1]: Entering directory '/<<PKGBUILDDIR>>'
dh_clean
rm -f /<<PKGBUILDDIR>>/debian/pdfsam.svg
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
debian/rules binary
dh binary
dh_update_autotools_config
dh_autoreconf
dh_auto_configure
mh_patchpoms -ppdfsam --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 -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] Reactor Build Order:
[INFO]
[INFO] PDFsam [pom]
[INFO] PDFsam i18n [jar]
[INFO] PDFsam core [jar]
[INFO] PDFsam JavaFx views [jar]
[INFO] PDFsam service [jar]
[INFO] PDFsam merge module [jar]
[INFO] PDFsam simple split module [jar]
[INFO] PDFsam split by size module [jar]
[INFO] PDFsam split by bookmarks module [jar]
[INFO] PDFsam alternate mix module [jar]
[INFO] PDFsam rotate module [jar]
[INFO] PDFsam extract module [jar]
[INFO] PDFsam desktop client application [jar]
[INFO] PDFsam Basic Edition application [jar]
[INFO] PDFsam docs [pom]
[INFO]
[INFO] ----------------------< org.pdfsam:pdfsam-parent >----------------------
[INFO] Building PDFsam 4.3.4 [1/15]
[INFO] from pom.xml
[INFO] --------------------------------[ pom ]---------------------------------
[INFO]
[INFO] -----------------------< org.pdfsam:pdfsam-i18n >-----------------------
[INFO] Building PDFsam i18n 4.3.4 [2/15]
[INFO] from pdfsam-i18n/pom.xml
[INFO] --------------------------------[ jar ]---------------------------------
[WARNING] The POM for org.xnap.commons:gettext-commons:jar:debian is missing, no dependency information available
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary for PDFsam 4.3.4:
[INFO]
[INFO] PDFsam ............................................. SUCCESS [ 0.001 s]
[INFO] PDFsam i18n ........................................ FAILURE [ 0.097 s]
[INFO] PDFsam core ........................................ SKIPPED
[INFO] PDFsam JavaFx views ................................ SKIPPED
[INFO] PDFsam service ..................................... SKIPPED
[INFO] PDFsam merge module ................................ SKIPPED
[INFO] PDFsam simple split module ......................... SKIPPED
[INFO] PDFsam split by size module ........................ SKIPPED
[INFO] PDFsam split by bookmarks module ................... SKIPPED
[INFO] PDFsam alternate mix module ........................ SKIPPED
[INFO] PDFsam rotate module ............................... SKIPPED
[INFO] PDFsam extract module .............................. SKIPPED
[INFO] PDFsam desktop client application .................. SKIPPED
[INFO] PDFsam Basic Edition application ................... SKIPPED
[INFO] PDFsam docs ........................................ SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 0.238 s
[INFO] Finished at: 2025-02-07T11:13:39Z
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal on project pdfsam-i18n: Could not resolve dependencies for project org.pdfsam:pdfsam-i18n:jar:4.3.4
[ERROR] dependency: org.xnap.commons:gettext-commons:jar:debian (compile)
[ERROR] Cannot access central (https://repo.maven.apache.org/maven2) in offline mode and the artifact org.xnap.commons:gettext-commons: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
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR] mvn <args> -rf :pdfsam-i18n
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 -DskipTests -Dnotimestamp=true -Dlocale=en_US returned exit code 1
make: *** [debian/rules:12: binary] Error 25
dpkg-buildpackage: error: debian/rules binary 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/202502/
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:pdfsam, so that this is still
visible in the BTS web page for this package.
Thanks.
More information about the pkg-java-maintainers
mailing list