Bug#381118: [Buildd-tools-devel] Bug#381118: sbuild: schroot + apt download is broken

Roger Leigh rleigh at whinlatter.ukfsn.org
Wed Aug 2 11:44:57 UTC 2006


Daniel Stone <daniel at fooishbar.org> 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).

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


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!


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 sign and encrypt your mail.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 188 bytes
Desc: not available
Url : http://lists.alioth.debian.org/pipermail/buildd-tools-devel/attachments/20060802/209d39da/attachment.pgp


More information about the Buildd-tools-devel mailing list