Dependency issues with Kea 2.2 and RHEL 9.0
name: Bug report
about: Dependency issues with Kea 2.2 and RHEL 9.0
Describe the bug Kea 2.2, specifically kea-hooks-2.20-isc20220726061131.el9.x86_64 depends on liblog4cplus-1.2.so.5()(64bit)
To Reproduce Steps to reproduce the behavior:
- Perform a clean install of RHEL 9
- Enable EPEL, and Code Builder Repository
- Enable the KEA repository using the script from cloudsmith.io
- run
#sudo dnf install isc-kea isc-kea-hooks
Expected behavior Kea is installed
Environment:
- Kea version:
kea-dhcp4 -V
2.2.0
tarball
linked with:
log4cplus 1.2.0
OpenSSL 3.0.1 14 Dec 2021
database:
MySQL backend 14.0, library 3.2.6
PostgreSQL backend 13.0, library 130005
Memfile backend 2.1
- OS: [RHEL 9 -
Linux <REDACTED> 5.14.0-70.17.1.el9_0.x86_64 #1 SMP PREEMPT Tue Jun 14 11:32:10 EDT 2022 x86_64 x86_64 x86_64 GNU/Linux]
- Cloudsmith Packages, not from source.
Additional Information
I was able to install Kea 2.2 by using the log4cplus RPM from EPEL8. This is not ideal as it generates an error whenever I try to run # dnf upgrade
:
[root@ipa-01 named]# dnf upgrade
Updating Subscription Management repositories.
Extra Packages for Enterprise Linux 9 - x86_64 5.4 MB/s | 8.7 MB 00:01
isc-kea-2-2 29 kB/s | 26 kB 00:00
isc-kea-2-2-noarch 338 B/s | 291 B 00:00
isc-kea-2-2-source 369 B/s | 291 B 00:00
isc-stork 24 kB/s | 22 kB 00:00
isc-stork-noarch 357 B/s | 291 B 00:00
isc-stork-source 344 B/s | 291 B 00:00
Red Hat Enterprise Linux 9 for x86_64 - AppStream (RPMs) 8.6 MB/s | 8.6 MB 00:01
Red Hat Enterprise Linux 9 for x86_64 - BaseOS (RPMs) 5.1 MB/s | 2.9 MB 00:00
Red Hat CodeReady Linux Builder for RHEL 9 x86_64 (RPMs) 4.7 MB/s | 2.4 MB 00:00
Error:
Problem: cannot install both log4cplus-2.0.5-15.el9.x86_64 and log4cplus-1.2.0-11.el8.x86_64
- package isc-kea-hooks-2.2.0-isc20220726061131.el9.x86_64 requires liblog4cplus-1.2.so.5()(64bit), but none of the providers can be installed
- cannot install the best update candidate for package log4cplus-1.2.0-11.el8.x86_64
- cannot install the best update candidate for package isc-kea-hooks-2.2.0-isc20220726061131.el9.x86_64
(try to add '--allowerasing' to command line to replace conflicting packages or '--skip-broken' to skip uninstallable packages or '--nobest' to use not only best candidate packages)
log4cplus 1.2 is over 4 years old. log4cplus 2.0.8 is the current version and was released on July 8th, 2022. EPEL9 includes version log4cplus 2.0.5 for RHEL (https://dl.fedoraproject.org/pub/epel/9/Everything/x86_64/Packages/l/log4cplus-2.0.5-15.el9.x86_64.rpm). Log4cplus 1.2.0 is available from EPEL8, https://dl.fedoraproject.org/pub/epel/8/Everything/x86_64/Packages/l/log4cplus-1.2.0-11.el8.x86_64.rpm
What is the best way to get this resolved? Can Kea for RHEL9 be built with a more modern log4cplus? or can an ISC specific version of log4cplus 1.2 be built and hosted in the cloudsmith repos?