Your message dated Sun, 03 Jul 2005 03:17:19 -0400
with message-id <[EMAIL PROTECTED]>
and subject line Bug#306448: fixed in pbuilder 0.128
has caused the attached Bug report 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 I am
talking about this indicates a serious mail system misconfiguration
somewhere. Please contact me immediately.)
Debian bug tracking system administrator
(administrator, Debian Bugs database)
--------------------------------------
Received: (at submit) by bugs.debian.org; 26 Apr 2005 16:25:40 +0000
>From [EMAIL PROTECTED] Tue Apr 26 09:25:39 2005
Return-path: <[EMAIL PROTECTED]>
Received: from mail26.sea5.speakeasy.net [69.17.117.28]
by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
id 1DQSsV-0004Ny-00; Tue, 26 Apr 2005 09:25:39 -0700
Received: (qmail 3201 invoked from network); 26 Apr 2005 16:25:39 -0000
Received: from dsl254-022-219.sea1.dsl.speakeasy.net (HELO
sirius.bignachos.com) ([216.254.22.219])
(envelope-sender <[EMAIL PROTECTED]>)
by mail26.sea5.speakeasy.net (qmail-ldap-1.03) with SMTP
for <[EMAIL PROTECTED]>; 26 Apr 2005 16:25:38 -0000
Received: from rubeus (unknown [192.168.1.20])
by sirius.bignachos.com (Postfix) with ESMTP id B163D52E43
for <[EMAIL PROTECTED]>; Tue, 26 Apr 2005 09:25:38 -0700 (PDT)
Received: by rubeus (Postfix, from userid 1000)
id A8C6133D1C; Tue, 26 Apr 2005 09:25:38 -0700 (PDT)
From: Brian Nelson <[EMAIL PROTECTED]>
To: Debian Bug Tracking System <[EMAIL PROTECTED]>
Subject: pbuilder: Support for preserving environment PATH
X-URL: http://bignachos.com
Date: Tue, 26 Apr 2005 09:25:38 -0700
Message-ID: <[EMAIL PROTECTED]>
User-Agent: Gnus/5.1007 (Gnus v5.10.7) Emacs/21.4 (gnu/linux)
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="=-=-="
Delivered-To: [EMAIL PROTECTED]
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02
(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-8.0 required=4.0 tests=BAYES_00,HAS_PACKAGE
autolearn=no version=2.60-bugs.debian.org_2005_01_02
X-Spam-Level:
--=-=-=
Package: pbuilder
Version: 0.127.1
Severity: wishlist
Here's a simple patch that adds a --preserve-envpath to pbuilder which
prevents the PATH from being clobbered.
--=-=-=
Content-Type: text/x-patch
Content-Disposition: inline; filename=pbuilder_preserve_path.patch
diff -urN pbuilder-0.127/debian/changelog pbuilder-0.127.1/debian/changelog
--- pbuilder-0.127/debian/changelog 2005-04-21 15:38:16.000000000 -0700
+++ pbuilder-0.127.1/debian/changelog 2005-04-25 23:24:55.000000000 -0700
@@ -1,3 +1,9 @@
+pbuilder (0.127.1) unstable; urgency=low
+
+ * Patched to support a --preserve-envpath option
+
+ -- Brian Nelson <[EMAIL PROTECTED]> Mon, 25 Apr 2005 23:24:11 -0700
+
pbuilder (0.127) unstable; urgency=low
* pdebuild.1, pdebuild-user-mode-linux.1: --debsign-k requires key-id.
diff -urN pbuilder-0.127/pbuilder-buildpackage
pbuilder-0.127.1/pbuilder-buildpackage
--- pbuilder-0.127/pbuilder-buildpackage 2005-04-21 15:36:41.000000000
-0700
+++ pbuilder-0.127.1/pbuilder-buildpackage 2005-04-25 23:24:53.000000000
-0700
@@ -87,7 +87,9 @@
fi
echo " -> Building the package"
-export PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/X11R6/bin"
+if [ "$PRESERVE_ENVPATH" != "yes" ]; then
+ export PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/X11R6/bin"
+fi
executehooks "A"
diff -urN pbuilder-0.127/pbuilder-checkparams
pbuilder-0.127.1/pbuilder-checkparams
--- pbuilder-0.127/pbuilder-checkparams 2005-04-15 21:14:48.000000000 -0700
+++ pbuilder-0.127.1/pbuilder-checkparams 2005-04-25 23:24:53.000000000
-0700
@@ -169,6 +169,10 @@
PRESERVE_BUILDPLACE="yes"
shift;
;;
+ --preserve-envpath)
+ PRESERVE_ENVPATH="yes"
+ shift;
+ ;;
--bindmounts)
BINDMOUNTS="${BINDMOUNTS} $2"
shift; shift;
--=-=-=
I need this in order to make use of ccache inside the pbuilder chroot
for certain build systems (like qmake) which don't honor variables like
CC and CXX. To work around these broken systems, I add /usr/lib/ccache
to the PATH.
If there's a way to accomplish this without the patch (e.g. through
hooks), let me know. I wasn't able to figure out any other way...
-- System Information:
Debian Release: 3.1
APT prefers unstable
APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)
Kernel: Linux 2.6.10-ac12
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Versions of packages pbuilder depends on:
ii coreutils 5.2.1-2 The GNU core utilities
ii debianutils 2.13.2 Miscellaneous utilities specific t
ii debootstrap 0.2.45-0.2 Bootstrap a basic Debian system
ii gcc 4:3.3.5-3 The GNU C compiler
ii wget 1.9.1-10 retrieves files from the web
-- no debconf information
--=-=-=--
---------------------------------------
Received: (at 306448-close) by bugs.debian.org; 3 Jul 2005 07:23:04 +0000
>From [EMAIL PROTECTED] Sun Jul 03 00:23:04 2005
Return-path: <[EMAIL PROTECTED]>
Received: from newraff.debian.org [208.185.25.31] (mail)
by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
id 1Doyoh-0007pe-00; Sun, 03 Jul 2005 00:23:03 -0700
Received: from katie by newraff.debian.org with local (Exim 3.35 1 (Debian))
id 1Doyj9-0003ks-00; Sun, 03 Jul 2005 03:17:19 -0400
From: Junichi Uekawa <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
X-Katie: $Revision: 1.56 $
Subject: Bug#306448: fixed in pbuilder 0.128
Message-Id: <[EMAIL PROTECTED]>
Sender: Archive Administrator <[EMAIL PROTECTED]>
Date: Sun, 03 Jul 2005 03:17:19 -0400
Delivered-To: [EMAIL PROTECTED]
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02
(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-6.0 required=4.0 tests=BAYES_00,HAS_BUG_NUMBER
autolearn=no version=2.60-bugs.debian.org_2005_01_02
X-Spam-Level:
X-CrossAssassin-Score: 3
Source: pbuilder
Source-Version: 0.128
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:
pbuilder_0.128.dsc
to pool/main/p/pbuilder/pbuilder_0.128.dsc
pbuilder_0.128.tar.gz
to pool/main/p/pbuilder/pbuilder_0.128.tar.gz
pbuilder_0.128_all.deb
to pool/main/p/pbuilder/pbuilder_0.128_all.deb
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.
Junichi Uekawa <[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: SHA1
Format: 1.7
Date: Sat, 2 Jul 2005 13:20:23 +0900
Source: pbuilder
Binary: pbuilder
Architecture: source all
Version: 0.128
Distribution: unstable
Urgency: low
Maintainer: Junichi Uekawa <[EMAIL PROTECTED]>
Changed-By: Junichi Uekawa <[EMAIL PROTECTED]>
Description:
pbuilder - personal package builder for Debian packages
Closes: 185227 305944 306448 308813 310656 312153 312913 316281
Changes:
pbuilder (0.128) unstable; urgency=low
.
* Add example framework to test package inside chroot
- B92test-pkg
- add debian/pbuilder-test/ directory to test pbuilder itself.
* Documentation/pbuilder-doc.xml:
- add reference on directory structure on pbuilder.
- Add note on pbuilder-test
* Support '--distribution experimental'.
"pbuilder: Please add support for experimental", thanks to
Emanuele Rocca (Closes: #308813).
and also support working with new apt-get by using --force-yes.
(closes: 316281).
* Feature enhancement: "pbuilder: Clean apt cache ", thanks to Daniel
Schepler
implement --autocleanaptcache option.
(Closes: #185227).
* pdebuild now checks for unsupported command-line options.
Bug fix: "pbuilder: pdebuild does not warn about --basetgz or
--distribution", thanks to Matt Kraai (Closes: #305944).
* man pages fixup: add \% for non-hyphenation (closes: #310656)
* Fix find options -xdev location. (closes: #312913)
* Bug fix: "pbuilder: Please document proper format of OTHERMIRROR",
thanks to Roberto C. Sanchez (Closes: #312153).
* Bug fix: "pbuilder: Support for preserving environment PATH", thanks
to Brian Nelson (Closes: #306448).
* work around debootstrap 3.0.0 bug which fails to build sid chroot
with --variant=buildd, by not passing --variant=buildd,
see 314858
Files:
1e568dce1d19e7701ba24f01b83bc471 557 devel extra pbuilder_0.128.dsc
3e0f004dcd16a8538203af8585a258ee 208783 devel extra pbuilder_0.128.tar.gz
3e924b03a24a0d0ff9fac58c0ff41657 68590 devel extra pbuilder_0.128_all.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)
iD8DBQFCxjXsPfwsYq950p4RAoI0AKCCDkRpGi7l/5sIM62mLGUbtTfhDQCdEU7G
VoPoJWhTmMswedqIO3YWNUI=
=OKmr
-----END PGP SIGNATURE-----
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]