[libvirt-users] Trying to re-compile libvirt package on Ubuntu Lucid

Lars Nordin lnordin at internap.com
Wed May 18 13:43:06 UTC 2011

I'm trying to rebuild Ubuntu's libvirt packages to turn on ESX support.

I've downloaded the Ubuntu source package for Lucid (updated Lucid package)
dget -u http://archive.ubuntu.com/ubuntu/pool/main/libv/libvirt/libvirt_0.7.5-5ubuntu27.11.dsc

I try and re-compile 
dpkg-buildpackage -rfakeroot -b
DEB_BUILD_OPTIONS="--with-esx" fakeroot debian/rules binary

and I get this error:

testing with corrupted config: log_level
Skipping test (due to Ubuntu buildd FTBFS): running libvirtd with a valid config file (2 seconds)
FAIL: daemon-conf
PASS: define-dev-segfault
1 of 37 tests failed
make[4]: *** [check-TESTS] Error 1
make[4]: Leaving directory `/exp/h1/staff/lnordin/libvirt-pkg/libvirt-0.7.5/tests'
make[3]: *** [check-am] Error 2
make[3]: Leaving directory `/exp/h1/staff/lnordin/libvirt-pkg/libvirt-0.7.5/tests'
make[2]: *** [check-recursive] Error 1
make[2]: Leaving directory `/exp/h1/staff/lnordin/libvirt-pkg/libvirt-0.7.5/tests'
make[1]: *** [check-recursive] Error 1
make[1]: Leaving directory `/exp/h1/staff/lnordin/libvirt-pkg/libvirt-0.7.5'
make: *** [debian/stamp-makefile-check] Error 2

Anyone gone through this exercise before and would know how to get the packages re-built?

More information about the libvirt-users mailing list