Bug#1142111: jackson-modules-java8: FTBFS in trixie: unreported exception java.io.IOException; must be caught or declared to be thrown
Santiago Vila
sanvila at debian.org
Wed Jul 15 13:08:43 BST 2026
Package: src:jackson-modules-java8
Version: 2.14.2+ds2-3
Severity: serious
Control: fixed -1 2.14.2+ds2-3.1
Tags: ftbfs trixie
Dear maintainer:
During a rebuild of all packages in trixie, this package failed to build.
[ Note: The bug is marked as fixed with the version in forky/sid, but
packages in trixie must still build in trixie ].
Below you will find the last part of the build log (probably the most
relevant part, but not necessarily). If required, the full build log
is available here:
https://people.debian.org/~sanvila/build-logs/trixie/
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 cannot 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:jackson-modules-java8, so that this is still
visible in the BTS web page for this package.
Thanks.
--------------------------------------------------------------------------------
[...]
[INFO] -------------------------------------------------------------
[ERROR] COMPILATION ERROR :
[INFO] -------------------------------------------------------------
[ERROR] /<<PKGBUILDDIR>>/datetime/src/test/java/com/fasterxml/jackson/datatype/jsr310/ser/ZonedDateTimeSerTest.java:[959,54] unreported exception java.io.IOException; must be caught or declared to be thrown
[INFO] 1 error
[INFO] -------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary for Jackson modules: Java 8 2.14.2:
[INFO]
[INFO] Jackson modules: Java 8 ............................ SUCCESS [ 0.090 s]
[INFO] Jackson-module-parameter-names ..................... SUCCESS [ 1.348 s]
[INFO] Jackson datatype: jdk8 ............................. SUCCESS [ 0.827 s]
[INFO] Jackson datatype: JSR310 ........................... FAILURE [ 1.186 s]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 3.990 s
[INFO] Finished at: 2026-07-14T10:02:32Z
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.13.0:testCompile (default-testCompile) on project jackson-datatype-jsr310: Compilation failure
[ERROR] /<<PKGBUILDDIR>>/datetime/src/test/java/com/fasterxml/jackson/datatype/jsr310/ser/ZonedDateTimeSerTest.java:[959,54] unreported exception java.io.IOException; must be caught or declared to be thrown
[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 :jackson-datatype-jsr310
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>>/jackson-modules-java8-2.14.2\+ds2 -Dclassworlds.conf=/etc/maven/m2-debian.conf -Dproperties.file.manual=/<<BUILDDIR>>/jackson-modules-java8-2.14.2\+ds2/debian/maven.properties org.codehaus.plexus.classworlds.launcher.Launcher -s/etc/maven/settings-debian.xml -Ddebian.dir=/<<BUILDDIR>>/jackson-modules-java8-2.14.2\+ds2/debian -Dmaven.repo.local=/<<BUILDDIR>>/jackson-modules-java8-2.14.2\+ds2/debian/maven-repo --batch-mode package -DskipTests -Dnotimestamp=true -Dlocale=en_US returned exit code 1
make: *** [debian/rules:4: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
--------------------------------------------------------------------------------
More information about the pkg-java-maintainers
mailing list