[buildd-tools-devel] Bug#424678: [Fwd: Re: Building packages twice in a row]

Johannes Schauer josch at debian.org
Thu Dec 24 14:58:13 UTC 2015


Hi,

On Thu, 24 Dec 2015 12:59:09 +0100 Johannes Schauer <josch at debian.org> wrote:
> On Wed, 16 May 2007 20:08:16 +0200 Bart Martens <bartm at knars.be> wrote:
> > Roger asked to submit a wishlist bug, so... here you go. :)
> 
> what is the purpose of doing this within sbuild?
> 
> Is it for what is now called reproducible builds?
> 
> Would it be sufficient to do two individual sbuild runs and then compare the
> resulting .buildinfo files to fix this bug?
> 
> Can you give a pointer to the original thread that sparked this idea?

if the purpose is to check whether the debian/rules clean target works, then
this is already possible using sbuild external commands. This is because in
§4.9 it says about the clean target: "This must undo any effects that the build
and binary targets may have had". So building twice is neither sufficient nor
necessary to check this. Building twice could even mean that the second build
passes but has output different from the first. Instead, using an sbuild hook,
the state of the unpacked source could be recorded before the build starts and
then again after the build ended and the clean target has been executed again.

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/cc297b6e/attachment.sig>


More information about the Buildd-tools-devel mailing list