Bug#1137401: owlapi: FTBFS: /<<PKGBUILDDIR>>/api/src/main/java/org/semanticweb/owlapi/io/DocumentSources.java:[292,15] error: unreported exception IOException; must be caught or declared to be thrown

Santiago Vila sanvila at debian.org
Sat May 23 14:46:17 BST 2026


Package: src:owlapi
Version: 5.1.20-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:owlapi, so that this is still
visible in the BTS web page for this package.

Thanks.

--------------------------------------------------------------------------------
[...]
 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 -plibowlapi-java
   dh_clean
 debian/rules binary
dh binary
   dh_update_autotools_config
   dh_autoreconf
   dh_auto_configure
	mh_patchpoms -plibowlapi-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 -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...
[WARNING] The project net.sourceforge.owlapi:owlapi-parent:pom:5.1.20 uses prerequisites which is only intended for maven-plugin projects but not for non maven-plugin projects. For such purposes you should use the maven-enforcer-plugin. See https://maven.apache.org/enforcer/enforcer-rules/requireMavenVersion.html
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Build Order:
[INFO] 
[INFO] OWLAPI                                                             [pom]
[INFO] OWLAPI :: Interfaces                                               [jar]
[INFO] OWLAPI :: Default Implementation                                   [jar]
[INFO] OWLAPI :: Atomic Decomposition and Explanation                     [jar]
[INFO] OWLAPI :: Parsers                                                  [jar]
[INFO] OWLAPI :: OBO Format                                               [jar]
[INFO] OWLAPI :: RDF4J Rio                                                [jar]
[INFO] OWLAPI :: Binding and Config                                       [jar]
[INFO] OWLAPI :: Compatibility                                            [jar]
[INFO] OWLAPI :: Distribution                                          [bundle]
[INFO] OWLAPI :: OSGi and Compatibility Distribution                   [bundle]
[INFO] 
[INFO] ----------------< net.sourceforge.owlapi:owlapi-parent >----------------
[INFO] Building OWLAPI 5.1.20                                            [1/11]
[INFO]   from pom.xml
[INFO] --------------------------------[ pom ]---------------------------------
[INFO] 
[INFO] -----------------< net.sourceforge.owlapi:owlapi-api >------------------
[INFO] Building OWLAPI :: Interfaces 5.1.20                              [2/11]
[INFO]   from api/pom.xml
[INFO] --------------------------------[ jar ]---------------------------------
[WARNING] The artifact org.apache.maven.plugins:maven-surefire-plugin:jar:2.17 has been relocated to org.apache.maven.plugins:maven-surefire-plugin:jar:2.22.3
[WARNING] The artifact org.apache.maven.plugins:maven-jar-plugin:jar:3.1.2 has been relocated to org.apache.maven.plugins:maven-jar-plugin:jar:3.3.0
[INFO] 
[INFO] --- resources:3.3.1:resources (default-resources) @ owlapi-api ---
[INFO] skip non existing resourceDirectory /<<PKGBUILDDIR>>/api/src/main/resources
[INFO] 
[INFO] --- compiler:3.13.0:compile (default-compile) @ owlapi-api ---
[INFO] Recompiling the module because of changed source code.
[INFO] Compiling 852 source files with javac [forked debug target 1.8] to target/classes
[WARNING] Unable to autodetect 'javac' path, using 'javac' from the environment.
[INFO] -------------------------------------------------------------
[WARNING] COMPILATION WARNING : 
[INFO] -------------------------------------------------------------
[WARNING] [options] bootstrap class path is not set in conjunction with -source 8
[INFO] 1 warning
[INFO] -------------------------------------------------------------
[INFO] -------------------------------------------------------------
[ERROR] COMPILATION ERROR : 
[INFO] -------------------------------------------------------------
[ERROR] To suppress warnings about obsolete options, use -Xlint:-options.
/<<PKGBUILDDIR>>/api/src/main/java/org/semanticweb/owlapi/io/DocumentSources.java:[292,15] error: unreported exception IOException; must be caught or declared to be thrown
[INFO] 1 error
[INFO] -------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary for OWLAPI 5.1.20:
[INFO] 
[INFO] OWLAPI ............................................. SUCCESS [  0.001 s]
[INFO] OWLAPI :: Interfaces ............................... FAILURE [  5.505 s]
[INFO] OWLAPI :: Default Implementation ................... SKIPPED
[INFO] OWLAPI :: Atomic Decomposition and Explanation ..... SKIPPED
[INFO] OWLAPI :: Parsers .................................. SKIPPED
[INFO] OWLAPI :: OBO Format ............................... SKIPPED
[INFO] OWLAPI :: RDF4J Rio ................................ SKIPPED
[INFO] OWLAPI :: Binding and Config ....................... SKIPPED
[INFO] OWLAPI :: Compatibility ............................ SKIPPED
[INFO] OWLAPI :: Distribution ............................. SKIPPED
[INFO] OWLAPI :: OSGi and Compatibility Distribution ...... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  5.983 s
[INFO] Finished at: 2026-05-23T11:38:54Z
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.13.0:compile (default-compile) on project owlapi-api: Compilation failure
[ERROR] To suppress warnings about obsolete options, use -Xlint:-options.
[ERROR] /<<PKGBUILDDIR>>/api/src/main/java/org/semanticweb/owlapi/io/DocumentSources.java:[292,15] error: unreported exception 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 :owlapi-api
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:4: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess failed with exit status 2
--------------------------------------------------------------------------------



More information about the pkg-java-maintainers mailing list