FTBFS with libnl3 >3.2
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
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).