Bug#1060960: Bug #1060960 (libslf4j-java: FTBFS: make: *** [debian/rules:4: build] Error 25) is tagged patch but I can't find a patch

Ben Hutchings ben at decadent.org.uk
Wed Apr 30 14:10:41 BST 2025


On Mon, 2025-04-28 at 17:38 +0200, Emmanuel Bourg wrote:
> On 28/04/2025 16:22, Ben Hutchings wrote:
> 
> > It turns out that it is possible to do this from the slf4j side, by
> > replacing the Slf4jLogFactory class.  See the attached patch.  With
> > the patch applied and libsurefire-java downgraded, the tests pass.
> 
> Slf4jLogFactory is called from LogFactory which is already replaced by 
> slf4j, so I don't think replacing Slf4jLogFactory if useful if 
> jcl-over-slf4j is already on the classpath.
[...]

There are 2 different class names, differing only in capitalisation:

1. SLF4JLogFactory: defined in jcl-over-slf4j
2. Slf4jLogFactory: defined in commons-logging since 1.3.0

This adds a replacement for (2) to slf4j-jcl to break the recursion.

Ben.

-- 
Ben Hutchings
If more than one person is responsible for a bug, no one is at fault.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: This is a digitally signed message part
URL: <http://alioth-lists.debian.net/pipermail/pkg-java-maintainers/attachments/20250430/d222068a/attachment.sig>


More information about the pkg-java-maintainers mailing list