[buildd-tools-devel] Bug#403246: Bug#403246: Bug#403246: sbuild’s shortcomings

Philipp Kern pkern at debian.org
Wed Feb 16 19:04:33 UTC 2011


On Wed, Feb 16, 2011 at 12:18:57PM +0000, Thorsten Glaser wrote:
> Roger Leigh dixit:
> >cowbuilder has one major flaw: the copy-on-write is implemented by
> >LD_PRELOAD, as a shared library copied from the host system.  This
> >precludes the build environment from having a glibc incompatible with
> >the host, since it would break the copy-on-write functionality.
> Interestingly, I don’t think that is true: cowbuilder installs
> itself into the build chroot, and LD_PRELOAD after chroot(2)
> uses the library from within (as it’s pathname based).

Yes, this *requires* cowbuilder/dancer in the chroot.  In the past they even
had to speak the same language, which they didn't, which then broke the whole
cowbuilding.

Furthermore I don't trust the whole library preloading from the chroot thing to
provide all the native semantics some testsuites might be relying on.  I.e. I'd
like so see a pbuilder and a cowbuilder rebuild of the same set of sources and
available build-dependencies first.

Kind regards
Philipp Kern
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/buildd-tools-devel/attachments/20110216/3d9b5f5c/attachment.pgp>


More information about the Buildd-tools-devel mailing list