Bug#865637: pdebuild: please allow to clean the environment

Guido Günther agx at sigxcpu.org
Fri Jun 23 11:43:39 UTC 2017


Package: pbuilder
Version: 0.228.7
Severity: wishlist

Hi,
it would be nice if pbuilder would allow to clean the environment to
avoid things like

    https://anonscm.debian.org/cgit/pkg-mozilla/icedove.git/commit/?id=4e87d6b4670f1f2d1e88ff7cf6f76e83b5db0b7c

from happening. In this case "gbp buildpackage" sets DIST which gets
passed on to git-pbuilder which gets passed on to pbuilder and ends
up in the build environment of the package. I've added a fix for this
to git-pbulder

    https://git.sigxcpu.org/cgit/git-buildpackage/commit/?id=021fe9dfb39815827e14199ff480d8c00096df55    

but it would be nice if pbuilder would allow to clean the environment
completely before invoking commands in the chroot. This is somewhat
realted to

    https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=623322

Cheers,
 -- Guido


-- System Information:
Debian Release: 9.0
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable-debug'), (500, 'testing-debug'), (500, 'oldoldstable'), (500, 'unstable'), (500, 'stable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.9.0-3-amd64 (SMP w/4 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8), LANGUAGE=en_US:en (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages pbuilder depends on:
ii  debconf [debconf-2.0]  1.5.61
ii  debootstrap            1.0.89
ii  dpkg-dev               1.18.24
ii  wget                   1.18-5

Versions of packages pbuilder recommends:
ii  devscripts  2.17.6
ii  eatmydata   105-5
ii  fakeroot    1.21-3.1
ii  iproute2    4.9.0-1
ii  net-tools   1.60+git20161116.90da8a0-1
ii  sudo        1.8.19p1-2.1

Versions of packages pbuilder suggests:
ii  cowdancer   0.85
pn  gdebi-core  <none>

-- debconf information excluded



More information about the Pbuilder-maint mailing list