Bug#1149452: Reassigning to logback, which has missing classpath elements

Jérôme Charaoui jerome at riseup.net
Thu Oct 15 05:28:37 BST 2026


Control: reassign -1 src:libmina-sshd-java
Control: retitle -1 FTBFS: [ERROR] 
/<<PKGBUILDDIR>>/sshd-common/src/test/java/org/apache/sshd/util/test/JUnitTestSupport.java:[120,57] 
cannot access org.slf4j.spi.LoggingEventAware
Control: found -1 2.13.2-3
Control: tags -1 + patch

Hi Pierre,

I'm sorry to ping-pong this issue back to you, but this FTBFS problem is 
not caused by a bug in the logback package.

On Wed, 7 Oct 2026 17:21:04 +0200 Pierre Gruet <pgt at debian.org> wrote:
> I am reassigning this bug to logback. Its jar files have no classpath 
> entries, although they should (to import slf4j classes for instance).

I don't believe the proposed solution would solve the FTBFS.

What works is to add one line to debian/maven.rules in 
src:libmina-sshd-java (see attached patch) to have Maven to load slf4j 
2.x on its classpath and allow the build to succeed. This is sufficient 
to fix the FTBFS.

I also suggest modifications to debian/libmina-sshd-java.classpath to 
ensure the correct version of slf4j is present on the classpath when the 
program is launched using "java -jar".

> This is affecting the build of libmina-sshd-java, but also the 
> autopktest of trapperkeeper-clojure/5.0.6-1, preventing migration of 
> logback to testing.Although it builds with Leiningen rather than Maven, the issue with 
trapperkeeper-clojure was similar and was also fixed in the latest 
release with a patch fixing the build environment.

BTW I tried building src:libmina-sshd-java from Salsa sources with 
git-buildpackage but it didn't work: gbp export-orig failed with errors 
from pristine-tar when it attempted to generate the orig tarball.

Thanks,

-- Jérôme
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Fix-FTBFS-with-slf4j-2.x.patch
Type: text/x-patch
Size: 3903 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-java-maintainers/attachments/20261015/83fbdf9c/attachment.bin>


More information about the pkg-java-maintainers mailing list