pbuilder twice in a row option

Stefan Potyra sistpoty at ubuntu.com
Fri Aug 8 23:41:26 BST 2008


On Friday 08 August 2008 22:15:03 Phillip Susi wrote:
> Scott Kitterman wrote:
> > I asked for the feature to make it easier to see if a package supports
> > one of Debian Lenny's release goals:
> >
> > http://release.debian.org/lenny/goals.txt
> >
> > # double compilation support
> >   Advocate: Martin Zobel-Helas and Luk Claes
> >   Description: All packages should be able to be built twice in a
> >    row.
> >   Bug-User: debian-qa at lists.debian.org
> >   Bug-Tag: qa-doublebuild
> >   Bug-Url:
> > http://bugs.debian.org/cgi-bin/pkgreport.cgi?users=debian-qa@lists.debian
> >.org&tag=qa-doublebuild State: confirmed
> It seems to me that this requirement is an error as it requests a
> specific solution to the problem rather than requesting a solution to
> the real problem.  It appears that the real goal is to have the ability
> to automatically check that a package properly cleans itself so that it
> does not cause various problems, just one if which is failure to build
> twice.  This request seems to be trying to treat the symptom instead of
> the disease.
> If you verify that the clean rule restores the build directory to the
> exact state it was in before building, then the package will build
> cleanly a second time.

not quite, at leat from a practical POV:
If I run make -f debian/clean, I want the package to be in a state to build 
again when runing make -f debian/rules binary. And I don't want the .diff.gz 
list any remains of failed attempts to modfify the package.

from that practial POV I'm not really interested in if a package decides to 
remove files on clean that can/will be recreated during build, e.g. 
Makefile(s) create from Makefile.am(s).


More information about the Ubuntu-motu mailing list