Bug#1108579: libphonenumber: FTBFS with default Java 25
Vladimir Petko
vpa1977 at gmail.com
Tue Jul 1 05:22:27 BST 2025
Source: libphonenumber
Version: 8.13.51+ds-4.2
Severity: normal
Tags: ftbfs
Usertags: default-java25
Dear Maintainers,
The package libphonenumber ftbfs with default Java 25.
The relevant part of the build log:
---------------
[INFO] 4 warnings
[INFO] -------------------------------------------------------------
[INFO] -------------------------------------------------------------
[ERROR] COMPILATION ERROR :
[INFO] -------------------------------------------------------------
[ERROR] /<<PKGBUILDDIR>>/tools/java/java-build/src/com/google/i18n/phonenumbers/BuildMetadataProtoFromXml.java:[410,65] package AutoValue_BuildMetadataProtoFromXml_ClassWriter does not exist
[INFO] 1 error
[INFO] -------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] Libphonenumber build tools 1.0-SNAPSHOT ............ SUCCESS [ 0.001 s]
[INFO] Libphonenumber common library for build tools 1.0-SNAPSHOT SUCCESS [ 2.395 s]
[INFO] Libphonenumber C++ build tools 1.0-SNAPSHOT ........ SUCCESS [ 1.252 s]
[INFO] Libphonenumber Data tools 1.0-SNAPSHOT ............. SUCCESS [ 0.124 s]
[INFO] Libphonenumber Java and JavaScript build tools 1.0-SNAPSHOT FAILURE [ 0.609 s]
[INFO] libphonenumber-parent 8.13.51 ...................... SKIPPED
[INFO] libphonenumber 8.13.51 ............................. SKIPPED
[INFO] prefixmapper 2.245 ................................. SKIPPED
[INFO] carrier 1.235 ...................................... SKIPPED
[INFO] geocoder 2.245 ..................................... SKIPPED
[INFO] libphonenumber-build-parent 1.0-SNAPSHOT ........... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 4.510 s
[INFO] Finished at: 2025-06-11T20:26:35Z
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.13.0:compile (default-compile) on project java-build: Compilation failure
[ERROR] /<<PKGBUILDDIR>>/tools/java/java-build/src/com/google/i18n/phonenumbers/BuildMetadataProtoFromXml.java:[410,65] package AutoValue_BuildMetadataProtoFromXml_ClassWriter does not exist
[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/MojoFailureException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR] mvn <args> -rf :java-build
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>>/libphonenumber-8.13.51\+ds -Dclassworlds.conf=/etc/maven/m2-debian.conf -Dproperties.file.manual=/<<BUILDDIR>>/libphonenumber-8.13.51\+ds/debian/maven.properties org.codehaus.plexus.classworlds.launcher.Launcher -s/etc/maven/settings-debian.xml -Ddebian.dir=/<<BUILDDIR>>/libphonenumber-8.13.51\+ds/debian -Dmaven.repo.local=/<<BUILDDIR>>/libphonenumber-8.13.51\+ds/debian/maven-repo --batch-mode package -DskipTests -Dnotimestamp=true -Dlocale=en_US returned exit code 1
make[1]: *** [debian/rules:38: override_dh_auto_build] Error 25
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:8: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
---------------
-- System Information:
Debian Release: trixie/sid
APT prefers plucky-updates
APT policy: (500, 'plucky-updates'), (500, 'plucky-security'), (500, 'plucky')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 6.14.0-22-generic (SMP w/32 CPU threads; PREEMPT)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
More information about the pkg-java-maintainers
mailing list