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

Johannes Schauer josch at debian.org
Fri Dec 25 18:23:16 UTC 2015


Control: merge 424678 424846

Hi,

On Thu, 24 Dec 2015 15:58:13 +0100 Johannes Schauer <josch at debian.org> wrote:
> 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 to Stefano in #424846 I now know where the quoted message from Roger in
the original message of this report comes from:

 http://lists.debian.org/debian-devel/2007/05/msg00553.html

Thus, the intend indeed seems to have been to check for the effectiveness of
the clean target.

Thus merging with 424846.

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/20151225/2401ba38/attachment.sig>


More information about the Buildd-tools-devel mailing list