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

Guido Günther agx at sigxcpu.org
Sun Aug 14 09:34:22 UTC 2016


On Sun, Aug 14, 2016 at 06:15:25PM +1000, Craig Sanders wrote:
> 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?

It builds find in a uptodate pbuilder chroot so no idea what
happens. Maybe it clashes with a installed libvirt-dev package?

I've pushed the changes to enable zfs pool support on kfreebsd.

Cheers,
 -- Guido



More information about the Pkg-libvirt-maintainers mailing list