FTBFS with libnl3 >3.2

Bug #908581 reported by Andreas Moog
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
libvirt (Ubuntu)
Fix Released
High
Unassigned

Bug Description

Due to recent changes in the packaging layout of libnl3, this package now FTBFS. Attached patch fixes the Build-Depends and passes correct options to include headers and libraries, but unfortunately some tests now FAIL. The failures seem unrelated to the libnl3 change and I'm out of ideas as to what causes them.

After some investigation it turns out that the failures were my fault. I use libeatmydata in my sbuild chroots to speed up testbuilding.

The attached debdiff fixes the build failure with the new libnl3 package.

libvirt (0.9.7-2ubuntu8) precise; urgency=low

  * Build-Depend on libnl-3-dev. (LP: #908581)
  * Update libnl3 patch to also pass NL_LIBS and CFLAGS in the LXC target.

 -- Andreas Moog <email address hidden> Sun, 25 Dec 2011 21:31:33 +0100

Tags: ftbfs precise

Related branches

Revision history for this message
Andreas Moog (ampelbein) wrote :
description: updated
Revision history for this message
Serge Hallyn (serge-hallyn) wrote :

Thanks for raising this bug.

The debdiff doesn't seem quite right though. The part to src/Makefile.am adds LIBVIRT_LIBS (which doesn't appear to exist), while the src/Makefile.in part adds LIBNL_LIBS (which is already part of the libvirt_lxc_LDADD define).

Revision history for this message
Serge Hallyn (serge-hallyn) wrote :

Given the changelog msg, it seems pretty clear that LIBNL_LIBS was meant to be added, and already was there, so I've simply removed those. The result builds and installs, and I'm uploading now.

Thanks again for opening this bug and providing the patch.

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package libvirt - 0.9.7-2ubuntu9

---------------
libvirt (0.9.7-2ubuntu9) precise; urgency=low

  * Build-Depend on libnl-3-dev. (LP: #908581)
  * Update libnl3 patch to also pass LIBNL_CFLAGS in the LXC target.
 -- Andreas Moog <email address hidden> Wed, 04 Jan 2012 21:56:55 +0000

Changed in libvirt (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.