httpcomponents-client fails to build from source in noble

Bug #2055845 reported by Vladimir Petko
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
httpcomponents-client (Debian)
New
Unknown
httpcomponents-client (Ubuntu)
New
Undecided
Unassigned
libcommons-logging-java (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

httpcomponents-client contains an implicit dependency on slf4j-java.

Last time it was build successfully against libcommons-log-java 1.2[1]

Support for slf4j was added after its release[2][3]

Debian and Ubuntu have slf4j 1.7.32-1 which calls org.apache.commons.logging.LogFactory.getLog[4].

This causes exception in httpclient-cache tests[5]:

java.lang.IllegalStateException: Recursive update
 at java.base/java.util.concurrent.ConcurrentHashMap.computeIfAbsent(ConcurrentHashMap.java:1763)

[1] https://buildd.debian.org/status/fetch.php?pkg=httpcomponents-client&arch=all&ver=4.5.14-1&stamp=1670330442&raw=0
[2] https://github.com/apache/commons-logging/pull/177
[3] https://github.com/apache/commons-logging/commits/master/src/main/java/org/apache/commons/logging/impl/Slf4jLogFactory.java
[4] https://github.com/qos-ch/slf4j/blob/e9ee55cca93c2bf26f14482a9bdf961c750d2a56/slf4j-jcl/src/main/java/org/slf4j/impl/JCLLoggerFactory.java#L77
[5] https://launchpad.net/~vpa1977/+archive/ubuntu/october-21/+build/27798162/+files/buildlog_ubuntu-noble-amd64.httpcomponents-client_4.5.14-1_BUILDING.txt.gz

Tags: ftbfs

Related branches

Changed in httpcomponents-client (Debian):
status: Unknown → New
Revision history for this message
Vladimir Petko (vpa1977) wrote :

piuparts install/upgrade/purge test (pass)

Vladimir Petko (vpa1977)
tags: added: ftbfs
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package libcommons-logging-java - 1.3.0-1ubuntu1

---------------
libcommons-logging-java (1.3.0-1ubuntu1) noble; urgency=medium

  * d/p/09_disable_slf4j.patch: disable commons-logging slf4j
    backend (LP: #2055845).

 -- Vladimir Petko <email address hidden> Wed, 06 Mar 2024 10:36:48 +1300

Changed in libcommons-logging-java (Ubuntu):
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.