Compare commits

...
Sign in to create a new pull request.

1 commit

Author SHA1 Message Date
Richard W.M. Jones
daaa263ad1 Hard depend on libnbd >= 1.24
This is not actually necessary for Fedora.  But for RHEL 10.2, where
we partially backported some 1.24 APIs to libnbd 1.22, the libnbd 1.22
package now provides LIBNBD_1.24 versioned symbols.  However not all
of them, so for example virt-v2v can fail with:

virt-v2v: symbol lookup error: virt-v2v: undefined symbol: nbd_get_handle_size, version LIBNBD_1.24

Practically this means that you can update virt-v2v to RHEL 10.2, but
leave libnbd from RHEL 10.1, and virt-v2v will then fail to run.

Adding a hard dependency avoids this problem, and is fine for Fedora too.

Related: https://issues.redhat.com/browse/RHEL-140894
2026-01-13 10:57:22 +00:00

View file

@ -79,7 +79,7 @@ BuildRequires: bash-completion-devel
BuildRequires: file
BuildRequires: gettext-devel
BuildRequires: json-c-devel
BuildRequires: libnbd-devel >= 1.22
BuildRequires: libnbd-devel >= 1.24
BuildRequires: libosinfo-devel
BuildRequires: libvirt-daemon-kvm
BuildRequires: libvirt-devel
@ -146,7 +146,7 @@ Requires: edk2-aarch64
%if !%{with_ovirt}
Requires: /usr/bin/python3
%endif
Requires: libnbd >= 1.22
Requires: libnbd >= 1.24
Requires: %{_bindir}/qemu-nbd
Requires: %{_bindir}/nbdcopy
Requires: %{_bindir}/nbdinfo