[prev in list] [next in list] [prev in thread] [next in thread]
List: debian-devel
Subject: Re: Building packages twice in a row
From: Lucas Nussbaum <lucas () lucas-nussbaum ! net>
Date: 2007-05-16 18:32:10
Message-ID: 20070516183210.GA25492 () xanadu ! blop ! info
[Download RAW message or body]
On 16/05/07 at 10:11 +0200, Stefano Zacchiroli wrote:
> Isn't "twice building" too coarse grained to spot actual violation of
> this rule? I mean, packages that fail to build the second time have for
> sure garbage left around after the former invocation of "clean". But it
> is not granted that packages with garbage left around will fail to
> build.
>
> Wouldn't it be better to unpack a package twice in two different
> directories, build and clean in one dir and then compare the obtained
> tree with the tree available in the other dir?
As already mentioned by others, you are going to get a lot of false
positives.
An alternative could be to keep the files created by the first build
(*.{deb,diff.gz,orig.tar.gz,dsc,changes}) and compare them with those
from the second build, using debdiff. This would allow to spot the most
obvious problems (e.g missing/added files).
--
| Lucas Nussbaum
| lucas@lucas-nussbaum.net http://www.lucas-nussbaum.net/ |
| jabber: lucas@nussbaum.fr GPG: 1024D/023B3F4F |
["signature.asc" (application/pgp-signature)]
--
To UNSUBSCRIBE, email to debian-devel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic