FS#68717 - [libvirt-storage-rbd] Unable to start libvirtd due to dependency issue

Attached to Project: Community Packages
Opened by G.H (xradiation) - Monday, 23 November 2020, 13:46 GMT
Last edited by freswa (frederik) - Tuesday, 19 January 2021, 21:17 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Robin Broda (coderobe)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

Trying to start libvirt deamon produces an error, that `libfmt.so.7` is missing which requires the package `extra/fmt` to be installed as a dep for libvirt.

Additional info:
* package version(s) :
community/libvirt 1:6.5.0-3 (7.3 MiB 40.0 MiB) (Installed)
extra/fmt 7.1.2-1 (453.0 KiB 1.7 MiB) (Installed)

* config and/or log files etc :

info : libvirt version: 6.5.0
info : hostname: pc
error : virModuleLoadFile:53 : internal error: Failed to load module '/usr/lib/libvirt/storage-backend/libvirt_storage_backend_rbd.so': libfmt.so.7: cannot open shared object file: No such file or directory

* link to upstream bug report, if any :

https://gitlab.com/libvirt/libvirt/-/issues/100

Steps to reproduce:

Start libvirtd.service withoud `extra/fmt` installed

`sudo systemctl start libvirtd`
`systemctl status libvirtd`
This task depends upon

Closed by  freswa (frederik)
Tuesday, 19 January 2021, 21:17 GMT
Reason for closing:  Fixed
Additional comments about closing:  ceph-libs-15.2.8-2
Comment by loqs (loqs) - Tuesday, 24 November 2020, 04:32 GMT
libvirt_storage_backend_rbd.so links to both librbd.so.1 and librados.so.2 which both link to libceph-common.so.2 which links to libfmt.so.7
fmt is only listed in ceph-libs makedepends. Add fmt to depends of ceph-libs?
Comment by Toolybird (Toolybird) - Wednesday, 25 November 2020, 19:18 GMT
Yes, this also breaks qemu build (I'm testing latest qemu-5.2.0-rc3).

From config.log:

usr/bin/ld: warning: libfmt.so.7, needed by /usr/lib/ceph/libceph-common.so.2, not found (try using -rpath or -rpath-link)

> Add fmt to depends of ceph-libs?

Yes, it's clear. This is a bug in ceph packaging. Could someone please reassign this bug?
Comment by freswa (frederik) - Saturday, 16 January 2021, 23:53 GMT
Should be fixed with ceph-libs-15.2.8-2.

Loading...