Bug#1135410: jackson-databind: FTBFS: unreported exception java.io.IOException; must be caught or declared to be thrown

Santiago Vila sanvila at debian.org
Sat May 2 00:12:50 BST 2026


Package: src:jackson-databind
Version: 2.14.0+ds-1
Severity: serious
Tags: ftbfs forky sid

Dear maintainer:

During a rebuild of all packages in unstable, this package failed to build.

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/202605/

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-databind, so that this is still
visible in the BTS web page for this package.

Thanks.

--------------------------------------------------------------------------------
[...]
 debian/rules clean
dh clean --with javahelper
   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 -plibjackson2-databind-java
   jh_clean
Duplicate specification "unlink|u" for option "u"
   dh_clean
 debian/rules binary
dh binary --with javahelper
   dh_update_autotools_config
   dh_autoreconf
   dh_auto_configure
	mh_patchpoms -plibjackson2-databind-java --debian-build --keep-pom-version --maven-repo=/<<BUILDDIR>>/jackson-databind-2.14.0\+ds/debian/maven-repo
   jh_linkjars
   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=/<<BUILDDIR>>/jackson-databind-2.14.0\+ds -Dclassworlds.conf=/etc/maven/m2-debian.conf -Dproperties.file.manual=/<<BUILDDIR>>/jackson-databind-2.14.0\+ds/debian/maven.properties org.codehaus.plexus.classworlds.launcher.Launcher -s/etc/maven/settings-debian.xml -Ddebian.dir=/<<BUILDDIR>>/jackson-databind-2.14.0\+ds/debian -Dmaven.repo.local=/<<BUILDDIR>>/jackson-databind-2.14.0\+ds/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.
WARNING: A terminally deprecated method in sun.misc.Unsafe has been called
WARNING: sun.misc.Unsafe::objectFieldOffset has been called by com.google.common.util.concurrent.AbstractFuture$UnsafeAtomicHelper (file:/usr/share/maven/lib/guava.jar)
WARNING: Please consider reporting this to the maintainers of class com.google.common.util.concurrent.AbstractFuture$UnsafeAtomicHelper
WARNING: sun.misc.Unsafe::objectFieldOffset will be removed in a future release
[INFO] Scanning for projects...
[INFO] Looking for compatible RELEASE version of plugin org.apache.felix:maven-bundle-plugin
[WARNING] 
[WARNING] Some problems were encountered while building the effective model for com.fasterxml.jackson.core:jackson-databind:bundle:2.14.0
[WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-compiler-plugin is missing. @ com.fasterxml:oss-parent:debian, /<<PKGBUILDDIR>>/debian/maven-repo/com/fasterxml/oss-parent/debian/oss-parent-debian.pom, line 173, column 12
[WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-jar-plugin is missing. @ com.fasterxml:oss-parent:debian, /<<PKGBUILDDIR>>/debian/maven-repo/com/fasterxml/oss-parent/debian/oss-parent-debian.pom, line 226, column 12
[WARNING] 'build.plugins.plugin.version' for org.apache.felix:maven-bundle-plugin is missing. @ com.fasterxml:oss-parent:debian, /<<PKGBUILDDIR>>/debian/maven-repo/com/fasterxml/oss-parent/debian/oss-parent-debian.pom, line 221, column 12
[WARNING] 
[WARNING] It is highly recommended to fix these problems because they threaten the stability of your build.
[WARNING] 
[WARNING] For this reason, future Maven versions might no longer support building such malformed projects.
[WARNING] 
[INFO] 
[INFO] ------------< com.fasterxml.jackson.core:jackson-databind >-------------
[INFO] Building jackson-databind 2.14.0
[INFO]   from pom.xml
[INFO] -------------------------------[ bundle ]-------------------------------
[INFO] Looking for compatible RELEASE version of plugin org.apache.maven.plugins:maven-compiler-plugin
[INFO] Looking for compatible RELEASE version of plugin org.apache.maven.plugins:maven-jar-plugin
[INFO] Looking for compatible RELEASE version of plugin org.apache.maven.plugins:maven-resources-plugin
[INFO] Looking for compatible RELEASE version of plugin org.apache.maven.plugins:maven-install-plugin
[INFO] Looking for compatible RELEASE version of plugin org.apache.maven.plugins:maven-deploy-plugin
[INFO] Looking for compatible RELEASE version of plugin org.apache.maven.plugins:maven-shade-plugin
[INFO] 
[INFO] --- replacer:1.5.3:replace (process-packageVersion) @ jackson-databind ---
[INFO] Replacement run on 1 file.
[INFO] 
[INFO] --- build-helper:3.3.0:add-source (add-generated-sources) @ jackson-databind ---
[INFO] Source directory: /<<PKGBUILDDIR>>/target/generated-sources added.
[INFO] 
[INFO] --- build-helper:3.3.0:add-resource (add-resource) @ jackson-databind ---
[INFO] 
[INFO] --- resources:3.3.1:resources (default-resources) @ jackson-databind ---
[INFO] Copying 2 resources from src/main/resources to target/classes
[INFO] Copying 1 resource from . to target/classes/META-INF
[INFO] 
[INFO] --- compiler:3.13.0:compile (default-compile) @ jackson-databind ---
[WARNING]  Parameter 'optimize' (user property 'maven.compiler.optimize') is deprecated: This property is a no-op in javac.
[INFO] Recompiling the module because of changed source code.
[INFO] Compiling 465 source files with javac [debug:lines,source,vars optimize deprecation target 1.8] to target/classes
[INFO] /<<PKGBUILDDIR>>/src/main/java/com/fasterxml/jackson/databind/node/ObjectNode.java: Some input files use unchecked or unsafe operations.
[INFO] /<<PKGBUILDDIR>>/src/main/java/com/fasterxml/jackson/databind/node/ObjectNode.java: Recompile with -Xlint:unchecked for details.
[INFO] -------------------------------------------------------------
[WARNING] COMPILATION WARNING : 
[INFO] -------------------------------------------------------------
[WARNING] bootstrap class path is not set in conjunction with -source 8
  not setting the bootstrap class path may lead to class files that cannot run on JDK 8
    --release 8 is recommended instead of -source 8 -target 1.8 because it sets the bootstrap class path automatically
[WARNING] source value 8 is obsolete and will be removed in a future release
[WARNING] target value 8 is obsolete and will be removed in a future release
[WARNING] To suppress warnings about obsolete options, use -Xlint:-options.
[WARNING] /<<PKGBUILDDIR>>/src/main/java/com/fasterxml/jackson/databind/ObjectMapper.java:[6,21] java.security.AccessController in java.security has been deprecated and marked for removal
[WARNING] /<<PKGBUILDDIR>>/src/main/java/com/fasterxml/jackson/databind/cfg/MapperBuilder.java:[3,21] java.security.AccessController in java.security has been deprecated and marked for removal
[WARNING] /<<PKGBUILDDIR>>/src/main/java/com/fasterxml/jackson/databind/introspect/AnnotatedMethod.java:[284,19] isAccessible() in java.lang.reflect.AccessibleObject has been deprecated
[WARNING] /<<PKGBUILDDIR>>/src/main/java/com/fasterxml/jackson/databind/introspect/AnnotatedField.java:[170,19] isAccessible() in java.lang.reflect.AccessibleObject has been deprecated
[WARNING] /<<PKGBUILDDIR>>/src/main/java/com/fasterxml/jackson/databind/introspect/AnnotatedConstructor.java:[213,22] isAccessible() in java.lang.reflect.AccessibleObject has been deprecated
[WARNING] /<<PKGBUILDDIR>>/src/main/java/com/fasterxml/jackson/databind/util/internal/PrivateMaxEntriesMap.java:[343,45] getId() in java.lang.Thread has been deprecated
[WARNING] /<<PKGBUILDDIR>>/src/main/java/com/fasterxml/jackson/databind/util/internal/PrivateMaxEntriesMap.java:[421,55] getId() in java.lang.Thread has been deprecated
[WARNING] /<<PKGBUILDDIR>>/src/main/java/com/fasterxml/jackson/databind/ObjectMapper.java:[1138,15] java.lang.SecurityManager in java.lang has been deprecated and marked for removal
[WARNING] /<<PKGBUILDDIR>>/src/main/java/com/fasterxml/jackson/databind/ObjectMapper.java:[1138,42] getSecurityManager() in java.lang.System has been deprecated and marked for removal
[WARNING] /<<PKGBUILDDIR>>/src/main/java/com/fasterxml/jackson/databind/ObjectMapper.java:[1143,16] java.security.AccessController in java.security has been deprecated and marked for removal
[WARNING] /<<PKGBUILDDIR>>/src/main/java/com/fasterxml/jackson/databind/cfg/MapperBuilder.java:[395,15] java.lang.SecurityManager in java.lang has been deprecated and marked for removal
[WARNING] /<<PKGBUILDDIR>>/src/main/java/com/fasterxml/jackson/databind/cfg/MapperBuilder.java:[395,42] getSecurityManager() in java.lang.System has been deprecated and marked for removal
[WARNING] /<<PKGBUILDDIR>>/src/main/java/com/fasterxml/jackson/databind/cfg/MapperBuilder.java:[400,16] java.security.AccessController in java.security has been deprecated and marked for removal
[WARNING] /<<PKGBUILDDIR>>/src/main/java/com/fasterxml/jackson/databind/deser/std/FromStringDeserializer.java:[318,24] URL(java.lang.String) in java.net.URL has been deprecated
[WARNING] /<<PKGBUILDDIR>>/src/main/java/com/fasterxml/jackson/databind/deser/std/FromStringDeserializer.java:[418,24] Locale(java.lang.String) in java.util.Locale has been deprecated
[WARNING] /<<PKGBUILDDIR>>/src/main/java/com/fasterxml/jackson/databind/deser/std/FromStringDeserializer.java:[424,24] Locale(java.lang.String,java.lang.String) in java.util.Locale has been deprecated
[WARNING] /<<PKGBUILDDIR>>/src/main/java/com/fasterxml/jackson/databind/deser/std/FromStringDeserializer.java:[430,24] Locale(java.lang.String,java.lang.String,java.lang.String) in java.util.Locale has been deprecated
[WARNING] /<<PKGBUILDDIR>>/src/main/java/com/fasterxml/jackson/databind/deser/std/FromStringDeserializer.java:[475,24] Locale(java.lang.String,java.lang.String,java.lang.String) in java.util.Locale has been deprecated
[WARNING] /<<PKGBUILDDIR>>/src/main/java/com/fasterxml/jackson/databind/util/ClassUtil.java:[1000,20] isAccessible() in java.lang.reflect.AccessibleObject has been deprecated
[WARNING] /<<PKGBUILDDIR>>/src/main/java/com/fasterxml/jackson/databind/deser/std/StdKeyDeserializer.java:[226,24] URL(java.lang.String) in java.net.URL has been deprecated
[INFO] 24 warnings 
[INFO] -------------------------------------------------------------
[INFO] -------------------------------------------------------------
[ERROR] COMPILATION ERROR : 
[INFO] -------------------------------------------------------------
[ERROR] /<<PKGBUILDDIR>>/src/main/java/com/fasterxml/jackson/databind/ObjectMapper.java:[3875,30] unreported exception java.io.IOException; must be caught or declared to be thrown
[INFO] 1 error
[INFO] -------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  4.346 s
[INFO] Finished at: 2026-05-01T21:11:35Z
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.13.0:compile (default-compile) on project jackson-databind: Compilation failure
[ERROR] /<<PKGBUILDDIR>>/src/main/java/com/fasterxml/jackson/databind/ObjectMapper.java:[3875,30] 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
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-databind-2.14.0\+ds -Dclassworlds.conf=/etc/maven/m2-debian.conf -Dproperties.file.manual=/<<BUILDDIR>>/jackson-databind-2.14.0\+ds/debian/maven.properties org.codehaus.plexus.classworlds.launcher.Launcher -s/etc/maven/settings-debian.xml -Ddebian.dir=/<<BUILDDIR>>/jackson-databind-2.14.0\+ds/debian -Dmaven.repo.local=/<<BUILDDIR>>/jackson-databind-2.14.0\+ds/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 failed with exit status 2
--------------------------------------------------------------------------------



More information about the pkg-java-maintainers mailing list