[buildd-tools-devel] Bug#745851: Bug#745851: sbuild: should give a clear error message when chroot does not exist

Roger Leigh rleigh at codelibre.net
Fri Apr 25 21:26:00 UTC 2014


On Fri, Apr 25, 2014 at 04:46:03PM -0300, Felipe Sateler wrote:
> I use sbuild with chroots. When the target distribution is UNRELEASED,
> sbuild cannot find a suitable chroot. I need to pass -d unstable to
> build. No complaints here.
> The bug is that sbuild gives no error indication that it could not find
> the chroot. It just says the build failed. Not even enabling debug
> output says anything useful:
> 
> Please print a big error message when the chroot cannot be set up, and
> if possible print out why.

This is certainly a good idea.

Just as a thought, if you add an UNRELEASED alias to your unstable
chroot configuration, it will then be possible to have it work.
This is not a proper fix for the reported problem, but it might be
useful as a workaround for now.


Regards,
Roger

-- 
  .''`.  Roger Leigh
 : :' :  Debian GNU/Linux    http://people.debian.org/~rleigh/
 `. `'   schroot and sbuild  http://alioth.debian.org/projects/buildd-tools
   `-    GPG Public Key      F33D 281D 470A B443 6756 147C 07B3 C8BC 4083 E800



More information about the Buildd-tools-devel mailing list