On Wed, Nov 11, 2009 at 08:21:25PM -0500, Jonathan Callen wrote: > I am the maintainer for schroot in Gentoo, and was working on packaging > schroot-1.3.1 for our equivalent of "experimental". When block-device > support is enabled and lvm-snapshot support is disabled, I found that > the entire package fails to build. > > The build fails when linking sbuild/.libs/libsbuild.so, with the error > "undefined reference to `typeinfo for sbuild::chroot_lvm_snapshot'".
Thanks for spotting this and letting me know. Since lvm-snapshot is based upon block-device (sbuild::chroot_lvm_snapshot derives from sbuild::chroot_block_device_base) if you explicitly disable block-device chroots, you'll break lvm-snapshot chroots as a side-effect since it's not building the base class it is derived from. This likely just needs a small tweak to configure.ac and/or the makefile to make sure all combinations work correctly. Since both block-device and lvm-snapshot derive from block_device_base it should be possible to configure them independently now. The only prerequisite is liblockdev to handle the locking. Regards, Roger -- .''`. Roger Leigh : :' : Debian GNU/Linux http://people.debian.org/~rleigh/ `. `' Printing on GNU/Linux? http://gutenprint.sourceforge.net/ `- GPG Public Key: 0x25BFB848 Please GPG sign your mail.
signature.asc
Description: Digital signature