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

Thorsten Glaser tg at mirbsd.de
Wed Feb 16 12:18:57 UTC 2011


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).

This is the reason that, when we want to use eatmydata, we have
to install it inside the base.cow as well, and that some pak-
kages spew out warnings about “can’t preload lib*.so” under
cowbuilder (kdepim3 is my example of today).

>sbuild has the ability to host alternative architectures in the

You can do that with cowbuilder.

bye,
//mirabilos
-- 
13:47⎜<tobiasu> if i were omnipotent, i would divide by zero
                all day long ;)
(thinking about http://lobacevski.tumblr.com/post/3260866481 by waga)





More information about the Buildd-tools-devel mailing list