[Pkg-libvirt-maintainers] Bug#827245: missing backend for pool type 11 (zfs)

Craig Sanders cas at taz.net.au
Sun Aug 14 08:15:25 UTC 2016


Tyler Fenby <tylerfenby at gmail.com> wrote:
> I can confirm that the ZFS backend works as expected on Debian after
> recompiling libvirt with only a couple lines added to debian/rules to
> enable the configure flag.

thanks for looking into this.

I cloned libvirt from git://anonscm.debian.org/pkg-libvirt/libvirt.git
when i first submitted the bug report, and installed all the build-deps
but whenever I try to compile it, I just gets lots of errors about
redeclarations.

compiling on sid with dpkg-buildpackage -b -us -uc:

...
enum VIR_TYPED_PARAM_UINT from /home/cas/git/forks/libvirt/libvirt/debian/build/docs/../include/libvirt/libvirt-common.h redeclared in /home/cas/git/forks/libvirt/libvirt/docs/../include/libvirt/libvirt-common.h
enum VIR_TYPED_PARAM_STRING_OKAY from /home/cas/git/forks/libvirt/libvirt/debian/build/docs/../include/libvirt/libvirt-common.h redeclared in /home/cas/git/forks/libvirt/libvirt/docs/../include/libvirt/libvirt-common.h
enum VIR_CONNECT_CLOSE_REASON_ERROR from /home/cas/git/forks/libvirt/libvirt/debian/build/docs/../include/libvirt/libvirt-common.h redeclared in /home/cas/git/forks/libvirt/libvirt/docs/../include/libvirt/libvirt-common.h
enum VIR_TYPED_PARAM_LLONG from /home/cas/git/forks/libvirt/libvirt/debian/build/docs/../include/libvirt/libvirt-common.h redeclared in /home/cas/git/forks/libvirt/libvirt/docs/../include/libvirt/libvirt-common.h
Makefile:2307: recipe for target '../../../docs/apibuild.py.stamp' failed
make[3]: *** [../../../docs/apibuild.py.stamp] Error 2
make[3]: Leaving directory '/home/cas/git/forks/libvirt/libvirt/debian/build/docs'
Makefile:2001: recipe for target 'all-recursive' failed
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory '/home/cas/git/forks/libvirt/libvirt/debian/build'
Makefile:1898: recipe for target 'all' failed
make[1]: *** [all] Error 2
make[1]: Leaving directory '/home/cas/git/forks/libvirt/libvirt/debian/build'
dh_auto_build: make -j1 returned exit code 2
debian/rules:131: recipe for target 'build' failed
make: *** [build] Error 2
dpkg-buildpackage: error: debian/rules build gave error exit status 2

The changes required to enable ZFS support seem obvious and
straight-forward. maybe i should try building in a jessie or testing VM?

craig

ps: i've really got to find out why i don't get auto-subscribed to bug
reports I submit.  I only saw your email because I checked the BTS web
page.



More information about the Pkg-libvirt-maintainers mailing list