[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Trying to backport valgrind to lenny



Alexander Wirt <formorer@formorer.de> writes:
> Russ Allbery schrieb am Thursday, den 27. May 2010:

>> It's normal for build dependencies to not be satisfied outside of the
>> chroot.  A build process that uses cowbuilder couldn't stop here; if it
>> did, it would be useless and defeat the whole point of using cowbuilder.

> Hmm, why is dpkg-checkbuilddeps called outside of the chroot? 

The cowbuilder build process runs dpkg-buildpackage -S outside the chroot
to generate the source package, moves the source package into the chroot,
and then does the real build inside the chroot.  dpkg-buildpackage -S
checks dependencies and also always runs debian/rules clean [1] due to a
bug in either dpkg-dev or pbuilder depending on how you want to look at
it.  (#547993)

[1] Strictly speaking, there are ways to tell it not to do either of these
    things, but then you can't do a full build in the chroot because of
    how pbuilder and dpkg-buildpackage work together.  See the bug for
    more information.

-- 
Russ Allbery (rra@debian.org)               <http://www.eyrie.org/~eagle/>

Reply to: