[buildd-tools-devel] Bug#567905: Skipping build is not really an error

Philipp Kern pkern at debian.org
Tue Feb 23 09:05:31 UTC 2010


On Mon, Feb 01, 2010 at 05:39:55PM +1300, martin f krafft wrote:
> If I build a arch:all package without --arch-all, then sbuild will
> skip the build, saying e.g.:
> 
>   backupninja_0.9.7-4~bpo50+1.dsc: i386 not in arch list or does not
>   match any arch wildcards: all -- skipping
> 
> It also returns with exit code 1. I would prefer if it exited with
> 0 since there wasn't really an error — the behaviour was
> well-defined and exactly what I wanted.

For the autobuilders it's actually an error because it shouldn't have
been tried in the first place.  Why does the exit code matter to you?
Would batch mode help?  We could define another exit code there.

In the general case it does not build anything so I think exit code
1 is not entirely insane in user mode.

Kind regards,
Philipp Kern
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/buildd-tools-devel/attachments/20100223/aa313b62/attachment.pgp>


More information about the Buildd-tools-devel mailing list