Your message dated Tue, 10 Nov 2015 16:44:47 +0000
with message-id <[email protected]>
and subject line Bug#716680: fixed in pbuilder 0.220
has caused the Debian Bug report #716680,
regarding pbuilder: ccache unused with pdebuild-internal
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
716680: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=716680
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: pbuilder
Version: 0.213+nmu1
Severity: normal
Tags: patch

Dear Maintainer,

when building packages with USE_PDEBUILD_INTERNAL='yes', ccache remains
unused. This is because the PATH environment variable is not preserved
when switching to the pbuser user. Attached patch works for me.

Greetings

-- System Information:
Debian Release: 7.1
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.2.0-4-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages pbuilder depends on:
ii  cdebootstrap           0.5.9
ii  coreutils              8.13-3.5
ii  debconf [debconf-2.0]  1.5.49
ii  debianutils            4.3.2
ii  debootstrap            1.0.48+deb7u1
ii  dpkg-dev               1.16.10
ii  wget                   1.13.4-3

Versions of packages pbuilder recommends:
ii  devscripts  2.12.6
ii  fakeroot    1.18.4-2
ii  sudo        1.8.5p2-1+nmu1

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

-- debconf information:
  pbuilder/mirrorsite: http://ftp.de.debian.org/debian
  pbuilder/nomirror:
  pbuilder/rewrite: false
diff --git a/pdebuild-internal b/pdebuild-internal
index 0c4fb99..7056464 100644
--- a/pdebuild-internal
+++ b/pdebuild-internal
@@ -121,7 +121,7 @@ executehooks "A"
 # do build with that user.
 # $DEBBUILDOPTS is evaluated inside the su and chroot.
 export DEBBUILDOPTS
-CMD="/usr/bin/dpkg-buildpackage -rfakeroot -us -uc "'${DEBBUILDOPTS}'
+CMD="env PATH=$PATH /usr/bin/dpkg-buildpackage -rfakeroot -us -uc "'${DEBBUILDOPTS}'
 echo "I: Running $CMD"
 # This command should be ran with current directory as bind-mounted
 # package source directory

--- End Message ---
--- Begin Message ---
Source: pbuilder
Source-Version: 0.220

We believe that the bug you reported is fixed in the latest version of
pbuilder, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Mattia Rizzolo <[email protected]> (supplier of updated pbuilder package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Tue, 10 Nov 2015 14:40:24 +0000
Source: pbuilder
Binary: pbuilder pbuilder-uml
Architecture: source
Version: 0.220
Distribution: unstable
Urgency: medium
Maintainer: Debian pbuilder maintenance team 
<[email protected]>
Changed-By: Mattia Rizzolo <[email protected]>
Description:
 pbuilder   - personal package builder for Debian packages
 pbuilder-uml - user-mode-linux version of pbuilder
Closes: 416918 441052 602711 652527 716680 734193 734454 772062 774468 800757 
800769 802379 802800
Changes:
 pbuilder (0.220) unstable; urgency=medium
 .
   [ Ritesh Raj Sarraf ]
   * Add debdelta support, enable optionally via pbuilderrc or the command line.
     Closes: #602711
 .
   [ Guido Günther ]
   * B20aupkgtest: Don't quote path to autopkg test dir, otherwise we're not
     expanding the "*".  Closes: #802379
 .
   [ Gianfranco Costamagna ]
   * Update translations.
   * update po during dh-clean.
 .
   [ Mattia Rizzolo ]
   * debian packaging:
     + add a closes: in a old changelog entry, I wasn't aware of that bug.
     + drop dependencies on essential packages, since they are available since
       squeeze: coreutils, debianutils.
     + debian/control: let pbuilder-uml replace pbuilder (= 0.217) so it is
       able to take over a file wrongly placed on pbuilder due to #800416.
       Closes: #800769
     + debian/tests: add an autopkgtest running the unit tests.
     + debian/pbuilder-test: remove, fully replaced by autopkgtest.
       - Those tests were meant to be run with a pbuilder hook after the build.
         Autopkgtest is a way more powerful test environment.
     + debian/pbuilder.config: fix detection of mirror through
       /etc/apt/sources.list.d/* at install time.
       Thanks to jre <[email protected]> for the patch.  Closes: 772062
   * tests:
     + move all tests under a t/ directory.
     + t/test_pbuilder-apt-config: remove temporary file at the end of the test.
   * hooks:
     + unhooks: let unloadhooks don't fail if there are no hooks loaded.
       This way we can call it also when hooks are not actually loaded or two
       times in a row without fear the result.
     + always load hooks just after extracting the build place, and unload them
       when cleaning up.
     + add hook type H: they run just after unpacking the chroot, for every
       target.  Closes: #800757
     + add hook type I: it runs after successfully build a package, after
       copying back the build results.  Closes: #652527
   * configuration:
     + new config: BUILD_HOME: set the value of HOME while building.
       Default it to /nonexistent to prevent builds from writing to /home.
       This reverts what was done for #170762.  Closes: #441052
   * buildpackage:
     + only override HOME during dpkg-buildpackage invocation.
   * pdebuild:
     + debuild-internal: carry on PATH when calling dpkg-buildpackage.
       Thanks to Matthias Förste <[email protected]> for the patch.
       Closes: #716680
     + hack dpkg-buildpackage command to remove possible '-g' or '-G' when
       building the source package, and also consider the case when those flags
       are surrounded by quotes.
       - Thanks to Guido Günther <[email protected]> for the first patch.
       - Thanks to Tomasz Buchert <[email protected]> for the better regex.
       - Closes: #802800
   * modules:
     + mountproc(): mount correctly selinux: bindmount from the host, and in the
       same place (/sys/fs/selinux >= wheezy, /selinux < wheezy).
       Thanks to ChangZhuo Chen (陳昌倬) <[email protected]> for the patch.
       Closes: #734193, #734454
   * uml:
     + stop networking before quitting, so that it can exit properly.
       Thanks to Paul TBBle Hampson <[email protected]> for the patch.
       Closes: #416918
   * Make the debdelta implementation more rubost and document the new options
     in the manpages.
   * Switch all instances of cdn.debian.net to httpredir.debian.org.
     Closes: #774468
   * Use relative sources where possible, thanks to Gianfranco Costamagna for
     the hint.
Checksums-Sha1:
 a5e4f1652ea1d390c63b2a3cda65fe4b72d0fe4e 1915 pbuilder_0.220.dsc
 e0eefdfdf7692b62071eb6ede81b500ea5bcdcef 301156 pbuilder_0.220.tar.xz
Checksums-Sha256:
 5441ce6f1e0576a588afb415b83dfd1764b03aaa1d5a75f9a17b95e2a443b4df 1915 
pbuilder_0.220.dsc
 764ae75e663be723c5c6519830a2d5e7fdcbdde96451574e40c58b7ff9377409 301156 
pbuilder_0.220.tar.xz
Files:
 23f6f0376c0f712f879087009eccacf1 1915 devel extra pbuilder_0.220.dsc
 ae291eb191d2db4dd6b8d93b6df88007 301156 devel extra pbuilder_0.220.tar.xz

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQIcBAEBCAAGBQJWQhC8AAoJEEsEP825REVAywkP+QEnLIoxzIMl1MNhHaJ5p6uV
C97SYYEam4bwkpB24fir+k1rWImxgQqQKNGgiRVVq+90CMQcPDBPmSjdnwAgJPe2
2U+zknMw4buR+ttk26yI3nClo8Tt63nTt1+TpHFLAbdkUdQ89yiyZMwah60Q5XKI
1CFp8+bpjSKmF8EygxoHXQML45uKK7mvyLcoHMRcDratdzvy1r/ZLCnOwPZvKmbm
LKjB/aCBDh5CsYmHuWhpAT+kHDG505JMj80AUGsQ8CIY9O/7+xyRIVH5WS1tNIkq
nFMwU+C53DGHBwy5JEB7FK6oCzi49a6QapR0iQrvf9PCFbp4ePxT6hNY7ewjC7h7
ryQvgS7dE0rIXeaTrJ0hkZWLQgGfJNG6f+ScFuQTZcoV8HtvJ+fnW+iHeS+PIW9d
VnCTmZw6hnyWHnKbX98b00ZEBh/SDSVXDVXttQHlXCpsv2dqNZu7HeyIpd8RBpS1
IRdE0M7LUCe09MScHIIA9Nh7LpN9KMka9XO47RIbt7KVTR0z15SK7EEaSFDZDWiq
tazLIS/kQ52mQ61FUMsNauqdC9MLlQ6Lreh5cm/gEqcLaV7G/9XNW5ojFjX5bV/C
1EeHMMLsyvvyzgFVQOjVHd0re42UmpdAfHSE1T/koFtIZccJVPQJbMo4IA+Mk3zL
gBKXUuQEWK0lKn2nO9YS
=aMv2
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to