[virt-builder] symbol lookup error: /lib64/libgnutls.so.28 - undefined symbol: nettle_secp_256r1
Running virt-builder in a guest Fedora-20 guest hypervisor w/ Rawhide Kernel, throws the below: $ virt-builder fedora-20 --format qcow2 --size 20G virt-builder: symbol lookup error: /lib64/libgnutls.so.28: undefined symbol: nettle_secp_256r1 Version on L1 (guest hypervisor) -------------------------------- $ uname -r; rpm -q libvirt-daemon-kvm qemu-system-x86 \ libguestfs gnutls 3.14.0-0.rc0.git9.1.fc21.x86_64 libvirt-daemon-kvm-1.2.1-1.fc21.x86_64 qemu-system-x86-1.7.0-4.fc21.x86_64 libguestfs-1.25.29-1.fc21.x86_64 gnutls-3.2.8-1.fc21.x86_64 And, that's the latest gnutls available on Fedora Rawhide: $ koji latest-build rawhide gnutls | awk '{print $1}' Build ---------------------------------------- gnutls-3.2.8-1.fc21 Version on L0 (Bare metal) -------------------------- $ uname -r; rpm -q libvirt-daemon-kvm qemu-system-x86 \ libguestfs 3.12.8-300.fc20.x86_64 libvirt-daemon-kvm-1.2.1-1.fc21.x86_64 qemu-system-x86-1.7.0-4.fc21.x86_64 libguestfs-1.25.29-1.fc21.x86_64 -- /kashyap
On 01/27/2014 11:06 AM, Kashyap Chamarthy wrote:
Running virt-builder in a guest Fedora-20 guest hypervisor w/ Rawhide Kernel, throws the below:
$ virt-builder fedora-20 --format qcow2 --size 20G virt-builder: symbol lookup error: /lib64/libgnutls.so.28: undefined symbol: nettle_secp_256r1
Version on L1 (guest hypervisor) --------------------------------
$ uname -r; rpm -q libvirt-daemon-kvm qemu-system-x86 \ libguestfs gnutls 3.14.0-0.rc0.git9.1.fc21.x86_64 libvirt-daemon-kvm-1.2.1-1.fc21.x86_64 qemu-system-x86-1.7.0-4.fc21.x86_64 libguestfs-1.25.29-1.fc21.x86_64 gnutls-3.2.8-1.fc21.x86_64
And, that's the latest gnutls available on Fedora Rawhide:
$ koji latest-build rawhide gnutls | awk '{print $1}' Build ---------------------------------------- gnutls-3.2.8-1.fc21
Version on L0 (Bare metal) --------------------------
$ uname -r; rpm -q libvirt-daemon-kvm qemu-system-x86 \ libguestfs 3.12.8-300.fc20.x86_64 libvirt-daemon-kvm-1.2.1-1.fc21.x86_64 qemu-system-x86-1.7.0-4.fc21.x86_64 libguestfs-1.25.29-1.fc21.x86_64
I should note that the very guest (L1) I was trying to run virt-builder on, was created using virt-builder on L0. Only difference I see -- L0 is running F20 Kernel - 3.12.8-300.fc20.x86_64, while L1 is running the latest (3.14.0-0.rc0.git9.1.fc21) from current Rawhide. -- /kashyap
On 01/27/2014 11:34 AM, Kashyap Chamarthy wrote:
On 01/27/2014 11:06 AM, Kashyap Chamarthy wrote:
Running virt-builder in a guest Fedora-20 guest hypervisor w/ Rawhide Kernel, throws the below:
$ virt-builder fedora-20 --format qcow2 --size 20G virt-builder: symbol lookup error: /lib64/libgnutls.so.28: undefined symbol: nettle_secp_256r1
Version on L1 (guest hypervisor) --------------------------------
$ uname -r; rpm -q libvirt-daemon-kvm qemu-system-x86 \ libguestfs gnutls 3.14.0-0.rc0.git9.1.fc21.x86_64 libvirt-daemon-kvm-1.2.1-1.fc21.x86_64 qemu-system-x86-1.7.0-4.fc21.x86_64 libguestfs-1.25.29-1.fc21.x86_64 gnutls-3.2.8-1.fc21.x86_64
And, that's the latest gnutls available on Fedora Rawhide:
$ koji latest-build rawhide gnutls | awk '{print $1}' Build ---------------------------------------- gnutls-3.2.8-1.fc21
Version on L0 (Bare metal) --------------------------
$ uname -r; rpm -q libvirt-daemon-kvm qemu-system-x86 \ libguestfs 3.12.8-300.fc20.x86_64 libvirt-daemon-kvm-1.2.1-1.fc21.x86_64 qemu-system-x86-1.7.0-4.fc21.x86_64 libguestfs-1.25.29-1.fc21.x86_64
I should note that the very guest (L1) I was trying to run virt-builder on, was created using virt-builder on L0. Only difference I see -- L0 is running F20 Kernel - 3.12.8-300.fc20.x86_64, while L1 is running the latest (3.14.0-0.rc0.git9.1.fc21) from current Rawhide.
Ok, w/ L0 & L1 both at 3.12.8-300.fc20.x86_64, I still see the same undefined -- undefined symbol: nettle_secp_256r1 I could independently confirm this by running virt-install on L1: [. . .] Traceback (most recent call last): File "/usr/share/virt-manager/virt-install", line 31, in <module> import libvirt File "/usr/lib64/python2.7/site-packages/libvirt.py", line 28, in <module> raise lib_e ImportError: /lib64/libgnutls.so.28: undefined symbol: nettle_secp_256r1 [. . .] I wonder, is this probably because, I'm mixing versions? Version ------- $ rpm -q virt-install virt-install-0.10.0-5.git1ffcc0cc.fc21.noarch -- /kashyap
On Monday 27 January 2014 11:06:14 Kashyap Chamarthy wrote:
Running virt-builder in a guest Fedora-20 guest hypervisor w/ Rawhide Kernel, throws the below:
$ virt-builder fedora-20 --format qcow2 --size 20G virt-builder: symbol lookup error: /lib64/libgnutls.so.28: undefined symbol: nettle_secp_256r1
A couple of ideas: 1) libgnutls has been upgraded and it uses newer symbols from libnettle without a proper versioned dependency on it 2) libnettle has been upgraded, removing symbols used by libgnutls (that would be an ABI break) So either there was an ABI break, or there's a too low dependency in those two packages. -- Pino Toscano
On Mon, Jan 27, 2014 at 10:27:20AM +0100, Pino Toscano wrote:
On Monday 27 January 2014 11:06:14 Kashyap Chamarthy wrote:
Running virt-builder in a guest Fedora-20 guest hypervisor w/ Rawhide Kernel, throws the below:
$ virt-builder fedora-20 --format qcow2 --size 20G virt-builder: symbol lookup error: /lib64/libgnutls.so.28: undefined symbol: nettle_secp_256r1
A couple of ideas: 1) libgnutls has been upgraded and it uses newer symbols from libnettle without a proper versioned dependency on it 2) libnettle has been upgraded, removing symbols used by libgnutls (that would be an ABI break)
So either there was an ABI break, or there's a too low dependency in those two packages.
This would be my guess too. I'll see if I can reproduce this in Rawhide ... Rich. -- Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones virt-df lists disk usage of guests without needing to install any software inside the virtual machine. Supports Linux and Windows. http://people.redhat.com/~rjones/virt-df/
On 01/27/2014 03:10 PM, Richard W.M. Jones wrote:
On Mon, Jan 27, 2014 at 10:27:20AM +0100, Pino Toscano wrote:
On Monday 27 January 2014 11:06:14 Kashyap Chamarthy wrote:
Running virt-builder in a guest Fedora-20 guest hypervisor w/ Rawhide Kernel, throws the below:
$ virt-builder fedora-20 --format qcow2 --size 20G virt-builder: symbol lookup error: /lib64/libgnutls.so.28: undefined symbol: nettle_secp_256r1
A couple of ideas: 1) libgnutls has been upgraded and it uses newer symbols from libnettle without a proper versioned dependency on it 2) libnettle has been upgraded, removing symbols used by libgnutls (that would be an ABI break)
So either there was an ABI break, or there's a too low dependency in those two packages.
This would be my guess too. I'll see if I can reproduce this in Rawhide ...
Ok, since I was selectively updating Kernel/QEMU/Libvirt/Libguestfs packages on F20. I had to update nettle from nettle-2.7.1-3.fc20.x86_64 to nettle-2.7.1-3.fc21.x86_64 (Thanks to Rich for noticing that distinction.) And, use 3.12.8-300.fc20.x86_64 Kernel on both L0 and L1. Now, virt-builder proceeds just fine in L1. Let's see if I can get to my _actual_ test (of trying to get `x86info -a` of an L2 guest), now that I'm done w/ these collateral issues :-) Thanks both Rich, Pino. -- /kashyap
participants (3)
-
Kashyap Chamarthy -
Pino Toscano -
Richard W.M. Jones