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

Johannes Schauer josch at debian.org
Thu Dec 24 00:06:32 UTC 2015


Control: tag -1 + moreinfo

Hi,

On Sat, 20 Nov 2010 17:10:11 +0000 Roger Leigh <rleigh at codelibre.net> wrote:
> 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.

what should be done about this five year old bug? Is the original issue still a
problem?  Does the patch by Roger fix it? If the answer is yes, I shall rebase
it onto current sbuild master.

Thanks!

cheers, josch
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: signature
URL: <http://lists.alioth.debian.org/pipermail/buildd-tools-devel/attachments/20151224/6768f76a/attachment-0001.sig>


More information about the Buildd-tools-devel mailing list