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/202606/
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:unirest-java, so that this is still
visible in the BTS web page for this package.
Thanks.
--------------------------------------------------------------------------------
[...]
debian/rules clean
dh clean --buildsystem=maven
dh_auto_clean -O--buildsystem=maven
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 -plibunirest-java-java
dh_autoreconf_clean -O--buildsystem=maven
dh_clean -O--buildsystem=maven
debian/rules binary
dh binary --buildsystem=maven
dh_update_autotools_config -O--buildsystem=maven
dh_autoreconf -O--buildsystem=maven
dh_auto_configure -O--buildsystem=maven
mh_patchpoms -plibunirest-java-java --debian-build --keep-pom-version --maven-repo=/<<PKGBUILDDIR>>/debian/maven-repo
dh_auto_build -O--buildsystem=maven
/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...
[INFO]
[INFO] ------------------< com.mashape.unirest:unirest-java >------------------
[INFO] Building unirest-java 1.4.8
[INFO] from 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) @ unirest-java ---
[INFO] skip non existing resourceDirectory /<<PKGBUILDDIR>>/src/main/resources
[INFO]
[INFO] --- compiler:3.13.0:compile (default-compile) @ unirest-java ---
[INFO] Recompiling the module because of changed source code.
[INFO] Compiling 29 source files with javac [forked debug target 1.5] to target/classes
Use of target 1.5 is no longer supported, switching to 8
Use of source 1.5 is no longer supported, switching to 8
[WARNING] Unable to autodetect 'javac' path, using 'javac' from the environment.
[WARNING] [options] bootstrap class path is not set in conjunction with -source 8
[INFO]
[INFO] --- resources:3.3.1:testResources (default-testResources) @ unirest-java ---
[INFO] Copying 2 resources from src/test/resources to target/test-classes
[INFO]
[INFO] --- compiler:3.13.0:testCompile (default-testCompile) @ unirest-java ---
[INFO] Recompiling the module because of changed dependency.
[INFO] Compiling 3 source files with javac [forked debug target 1.5] to target/test-classes
Use of target 1.5 is no longer supported, switching to 8
Use of source 1.5 is no longer supported, switching to 8
[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>>/src/test/java/com/mashape/unirest/test/helper/JacksonObjectMapper.java:[22,48] error: unreported exception IOException; must be caught or declared to be thrown
[INFO] 1 error
[INFO] -------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 2.071 s
[INFO] Finished at: 2026-06-08T22:03:06Z
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.13.0:testCompile (default-testCompile) on project unirest-java: Compilation failure
[ERROR] To suppress warnings about obsolete options, use -Xlint:-options.
[ERROR] /<<PKGBUILDDIR>>/src/test/java/com/mashape/unirest/test/helper/JacksonObjectMapper.java:[22,48] 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
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
--------------------------------------------------------------------------------