Bug#490935: pbuilder: Impement to ensure that clean after build is working

Carl Fürstenberg azatoth at gmail.com
Tue Jul 15 12:52:14 UTC 2008


Package: pbuilder
Version: 0.181
Severity: important

Per http://release.debian.org/lenny/goals.txt a release goal is double
compilation support, and one step to ensure that is to verify that clean
works. When doing an normal dpkg-buildpackage, you can pass the
parameter -tc to clean the directory after build, but when building
under a pbuild environment, no such posibillity exists (Probably because
of the reasoning as it will be deleted anyway, so no clean is required).

But though Policy section 4.9 specifies that clean must be able to restore,
many developers miss to check clean after build as they often build in
pbuilder environments, and the only way to check that is to do an normal
build, which might miss other things instead.

Even trhough it will take some CPU cycles more, my advice is to clean
in the chroot by default.

-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.24-1-686 (SMP w/1 CPU core)
Locale: LANG=sv_SE.UTF-8, LC_CTYPE=sv_SE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages pbuilder depends on:
ii  cdebconf [debconf-2.0]        0.131      Debian Configuration Management Sy
ii  cdebootstrap                  0.5.2      Bootstrap a Debian system
ii  coreutils                     6.10-6     The GNU core utilities
ii  debconf [debconf-2.0]         1.5.22     Debian configuration management sy
ii  debianutils                   2.29       Miscellaneous utilities specific t
ii  debootstrap                   1.0.9      Bootstrap a basic Debian system
ii  gcc                           4:4.3.1-1  The GNU C compiler
ii  wget                          1.11.3-1   retrieves files from the web

Versions of packages pbuilder recommends:
ii  cowdancer                     0.47       Copy-on-write directory tree utili
ii  devscripts                    2.10.30    scripts to make the life of a Debi
ii  fakeroot                      1.9.5      Gives a fake root environment
ii  sudo                          1.6.9p15-2 Provide limited super user privile

-- debconf information:
  pbuilder/nomirror:
* pbuilder/mirrorsite: http://ftp.se.debian.org/debian/
  pbuilder/rewrite: false





More information about the Pbuilder-maint mailing list