On Wed, Aug 02, 2006 at 12:44:57PM +0100, Roger Leigh wrote: > Daniel Stone <[EMAIL PROTECTED]> writes: > > When using schroot and apt to download packages, the build tanks > > quite early: apt-get source is called from within the chroot, but > > none of the verify_md5sum stuff is, so it tries to verify the dsc in > > ~/build/ in the host, and fails when it isn't there. > > Interesting. > > Perhaps we should still run apt-get outside the chroot, even when > using schroot? I originally introduced it to make setup simpler, and > to work around some bugs with apt-get (specifically, apt-listchanges > and friends, and it running some things outside the chroot even when > you set all the config parameters to use the chroot).
Depends what your usecase is. My use for this is running an i386 builder on amd64 (just requires a couple of hacks to pass the architecture name in). I'd rather not have an sbuild chroot inside the i386 chroot inside my real amd64 system ... > > Interestingly, the failure mode is a hang in verify_md5sums, because > > dsc_md5sums returns null, and verify_md5sums ends up calling > > /usr/bin/md5sum, which hangs waiting for input ... > > That looks like an outright bug. dsc_md5sums should, IMO, return an > empty hashref on failure, but doesn't currently. Correct. > I'm moving house in, ooh.. an hour and a half, and this computer is > about to be packed into a box, so I'll have to take a better look > tomorrow or Friday! Thanks a lot. :) Cheers, Daniel
signature.asc
Description: Digital signature