Bug#1116772: libmina-sshd-java: FTBFS with the nocheck build profile
Santiago Vila
sanvila at debian.org
Tue Sep 30 15:50:25 BST 2025
Package: src:libmina-sshd-java
Version: 2.13.2-2
Severity: important
Tags: forky sid ftbfs
User: debian-qa at lists.debian.org
Usertags: ftbfs-nocheck-profile
Dear maintainer:
During a rebuild of all packages in unstable using the nocheck build profile,
your package failed to build.
Below you will find how the build ends (probably the most relevant part,
but not necessarily). If required, the full build log is available here:
https://people.debian.org/~sanvila/build-logs/202509/
A wiki page discussing how to reproduce bugs in this category and
possible solutions is available here:
https://wiki.debian.org/qa.debian.org/FTBFS/Nocheck
(It's a wiki, so you are welcome to contribute)
[ Note: This is RC, but I will wait at least two weeks before raising
the severities, there are a lot of gcc-15 and CMake 4 bugs open now ].
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 could not 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:libmina-sshd-java, 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 -plibmina-sshd-java
jh_clean
Duplicate specification "u=s" for option "u"
dh_clean
debian/rules binary
dh binary --with javahelper
dh_update_autotools_config
dh_autoreconf
dh_auto_configure
mh_patchpoms -plibmina-sshd-java --debian-build --keep-pom-version --maven-repo=/<<PKGBUILDDIR>>/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=/<<PKGBUILDDIR>> -Dclassworlds.conf=/etc/maven/m2-debian.conf 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.
[INFO] Scanning for projects...
[WARNING]
[WARNING] Some problems were encountered while building the effective model for org.apache.sshd:sshd-putty:jar:2.13.2
[WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-jar-plugin is missing. @ org.apache.sshd:sshd:2.13.2, /<<PKGBUILDDIR>>/pom.xml, line 825, column 12
[WARNING]
[WARNING] Some problems were encountered while building the effective model for org.apache.sshd:sshd-mina:jar:2.13.2
[WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-jar-plugin is missing. @ org.apache.sshd:sshd:2.13.2, /<<PKGBUILDDIR>>/pom.xml, line 825, column 12
[WARNING]
[WARNING] Some problems were encountered while building the effective model for org.apache.sshd:sshd-netty:jar:2.13.2
[WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-jar-plugin is missing. @ org.apache.sshd:sshd:2.13.2, /<<PKGBUILDDIR>>/pom.xml, line 825, column 12
[WARNING]
[WARNING] Some problems were encountered while building the effective model for org.apache.sshd:sshd-scp:jar:2.13.2
[WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-jar-plugin is missing. @ org.apache.sshd:sshd:2.13.2, /<<PKGBUILDDIR>>/pom.xml, line 825, column 12
[WARNING]
[WARNING] Some problems were encountered while building the effective model for org.apache.sshd:sshd-sftp:jar:2.13.2
[WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-jar-plugin is missing. @ org.apache.sshd:sshd:2.13.2, /<<PKGBUILDDIR>>/pom.xml, line 825, column 12
[WARNING]
[WARNING] Some problems were encountered while building the effective model for org.apache.sshd:sshd-ldap:jar:2.13.2
[WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-jar-plugin is missing. @ org.apache.sshd:sshd:2.13.2, /<<PKGBUILDDIR>>/pom.xml, line 825, column 12
[WARNING]
[WARNING] Some problems were encountered while building the effective model for org.apache.sshd:sshd-contrib:jar:2.13.2
[WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-jar-plugin is missing. @ org.apache.sshd:sshd:2.13.2, /<<PKGBUILDDIR>>/pom.xml, line 825, column 12
[WARNING]
[WARNING] Some problems were encountered while building the effective model for org.apache.sshd:sshd-cli:jar:2.13.2
[WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-jar-plugin is missing. @ org.apache.sshd:sshd:2.13.2, /<<PKGBUILDDIR>>/pom.xml, line 825, column 12
[WARNING]
[WARNING] Some problems were encountered while building the effective model for org.apache.sshd:sshd:pom:2.13.2
[WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-surefire-plugin is missing. @ line 842, column 12
[WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-jar-plugin is missing. @ line 825, 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] Reactor Build Order:
[INFO]
[INFO] Apache Mina SSHD [pom]
[INFO] Apache Mina SSHD :: Common support utilities [jar]
[INFO] Apache Mina SSHD :: Putty key files support utilities [jar]
[INFO] Apache Mina SSHD :: Core [jar]
[INFO] Apache Mina SSHD :: Mina [jar]
[INFO] Apache Mina SSHD :: Netty [jar]
[INFO] Apache Mina SSHD :: SCP [jar]
[INFO] Apache Mina SSHD :: SFTP [jar]
[INFO] Apache Mina SSHD :: LDAP [jar]
[INFO] Apache Mina SSHD :: Contributions [jar]
[INFO] Apache Mina SSHD :: CLI [jar]
[INFO]
[INFO] ------------------------< org.apache.sshd:sshd >------------------------
[INFO] Building Apache Mina SSHD 2.13.2 [1/11]
[INFO] from pom.xml
[INFO] --------------------------------[ pom ]---------------------------------
[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-surefire-plugin
[INFO] Looking for compatible RELEASE version of plugin org.apache.maven.plugins:maven-resources-plugin
[INFO]
[INFO] --- clean:3.2.0:clean (auto-clean-key-files) @ sshd ---
[INFO] Deleting /<<PKGBUILDDIR>> (includes = [*.ser, *.pem], excludes = [])
[INFO]
[INFO] --------------------< org.apache.sshd:sshd-common >---------------------
[INFO] Building Apache Mina SSHD :: Common support utilities 2.13.2 [2/11]
[INFO] from sshd-common/pom.xml
[INFO] --------------------------------[ jar ]---------------------------------
[WARNING] The POM for org.mockito:mockito-core:jar:debian is missing, no dependency information available
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary for Apache Mina SSHD 2.13.2:
[INFO]
[INFO] Apache Mina SSHD ................................... SUCCESS [ 0.135 s]
[INFO] Apache Mina SSHD :: Common support utilities ....... FAILURE [ 0.041 s]
[INFO] Apache Mina SSHD :: Putty key files support utilities SKIPPED
[INFO] Apache Mina SSHD :: Core ........................... SKIPPED
[INFO] Apache Mina SSHD :: Mina ........................... SKIPPED
[INFO] Apache Mina SSHD :: Netty .......................... SKIPPED
[INFO] Apache Mina SSHD :: SCP ............................ SKIPPED
[INFO] Apache Mina SSHD :: SFTP ........................... SKIPPED
[INFO] Apache Mina SSHD :: LDAP ........................... SKIPPED
[INFO] Apache Mina SSHD :: Contributions .................. SKIPPED
[INFO] Apache Mina SSHD :: CLI ............................ SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 0.310 s
[INFO] Finished at: 2025-09-30T11:27:05Z
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal on project sshd-common: Could not resolve dependencies for project org.apache.sshd:sshd-common:jar:2.13.2
[ERROR] dependency: org.mockito:mockito-core:jar:debian (test)
[ERROR] Cannot access central (https://repo.maven.apache.org/maven2) in offline mode and the artifact org.mockito:mockito-core:jar:debian has not been downloaded from it before.
[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/DependencyResolutionException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR] mvn <args> -rf :sshd-common
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 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:7: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
--------------------------------------------------------------------------------
More information about the pkg-java-maintainers
mailing list