[buildd-tools-devel] Bug#693788: Bug#693788: libsbuild-perl: cross build-dep installation failure should be an exception

Roger Leigh rleigh at codelibre.net
Sun Dec 9 23:56:39 UTC 2012


tags 693788 + pending
thanks

On Tue, Nov 20, 2012 at 11:07:58AM +0000, Colin Watson wrote:
> There doesn't seem an obvious reason why cross build-dependency
> installation failure is implemented by logging a message and returning
> 1, rather than by throwing an exception; and this seems to make it
> harder for frontends to programmatically distinguish the type of build
> failure.  This patch makes it look more like the non-cross path just
> above.

Applied, thanks.  I don't think there was a good reason why the
cross-build code didn't use exceptions like everything else;
this looks like a good improvement.


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.



More information about the Buildd-tools-devel mailing list