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

Felipe Sateler fsateler at debian.org
Fri Apr 25 21:36:36 UTC 2014


Hi Roger,

On Fri, Apr 25, 2014 at 6:26 PM, Roger Leigh <rleigh at codelibre.net> wrote:
> 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.

This is also a good idea and should avoid some headscratching. I have
done this debugging at least 3 times by now, I can never remember the
cause :/.

Thanks for your quick reply!

-- 

Saludos,
Felipe Sateler



More information about the Buildd-tools-devel mailing list