[buildd-tools-devel] Bug#622735: Bug#622735: sbuild-createchroot fails to chown /build due to non-existing user & group

Roger Leigh rleigh at codelibre.net
Tue Apr 26 13:58:05 UTC 2011


On Tue, Apr 26, 2011 at 03:13:58PM +0200, Marc Dequènes (Duck) wrote:
> Coin,
> 
> Quoting Roger Leigh <rleigh at codelibre.net>:
> 
> >After completing the chroot creation, it's attempting to run
> >'apt-get update' and 'apt-get dist-upgrade' inside the chroot.
> >While this fails, the chroot was created successfully, and you
> >should be able to just run 'sbuild-update -ud wheezy' to update
> >the chroot.
> 
> How would i know by myself? I had a very quick look at the code, and
> it didn't seem this trivial. When a tool outputs errors and says
> "Successfully set up" later, i really wonder if it can be trusted. I
> personally wouldn't upload anything generated in this chroot without
> rebuilding it or being sure the build environment is not screwed up.

You are certainly correct to question the correctness after seeing
the error.  I will certainly look into fixing this as time allows.

> I made a test build and it seems to work well, thanks.

That's good to know.


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 GPG sign your mail.
-------------- 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/20110426/8df74ec7/attachment.pgp>


More information about the Buildd-tools-devel mailing list