[buildd-tools-devel] Bug#555843: Bug#555843: schroot-1.3.1 FTBFS with --disable-lvm-snapshot

Roger Leigh rleigh at codelibre.net
Thu Nov 12 23:57:23 UTC 2009


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.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/buildd-tools-devel/attachments/20091112/d4dff1fa/attachment.pgp>


More information about the Buildd-tools-devel mailing list