[buildd-tools-devel] Bug#590911: Bug#590911: sbuild: broken return code

Roger Leigh rleigh at codelibre.net
Sat Nov 20 17:10:11 UTC 2010


On Thu, Jul 29, 2010 at 10:25:22PM -0400, Wouter Verhelst wrote:
> cyrus-sasl2-heimdal_2.1.23.dfsg1-5.1 failed on voltaire. Sbuild sent me
> a mail with 'Log for attempted build' as the subject, but daemon.log
> contains this:
> 
> Jul 29 12:49:09 buildd[2705]: sbuild of cyrus-sasl2-heimdal_2.1.23.dfsg1-5.1 failed with status 1 (local problem) -- giving back
> 
> ... which is clearly wrong.
> 
> I've been thinking that, as sbuild needs to interpret exit states which
> aren't exactly reliable, it might be better to have it communicate over
> stdout instead?
> 
> Anyway, regardless, this shouldn't happen :)

Just to keep this bug report in the loop, we have a patch to implement
just this, which is currently a work in progress (attached).  I've
been discussing this with Philipp Kern (CCd).

With the patch the status of each job is passed back on stdout to
buildd as RFC-822-style fields, together with statistics for the
build and other metadata about the job.  This removes all ambiguity
about what the failure was (and what caused it).

The patch should apply to the current master branch in git.

If you have any comments or suggestions, that would be great.


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: buildd-stats-copying2.patch
Type: text/x-diff
Size: 8365 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/buildd-tools-devel/attachments/20101120/0626ce1a/attachment-0001.patch>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/buildd-tools-devel/attachments/20101120/0626ce1a/attachment-0001.pgp>


More information about the Buildd-tools-devel mailing list