Bug#342665: [Pbuilder-maint] Bug#342665: /usr/bin/pdebuild: PATH not preserved when using pdebuild using fakeroot
Hi, > > All is in the subject. I don't understand why, though... Can you check? Make sure you have your 'ccache' directory writable as the user running ccache inside chroot. It's working on this end. I'll add a FAQ entry. regards, junichi -- [EMAIL PROTECTED],netfort.gr.jp} Debian Project -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Bug#342665: [Pbuilder-maint] Bug#342665: /usr/bin/pdebuild: PATH not preserved when using pdebuild using fakeroot
On Sat, Dec 10, 2005 at 11:16:43AM +0900, Junichi Uekawa <[EMAIL PROTECTED]> wrote: > Hi, > > > > > All is in the subject. I don't understand why, though... > > can you give me an example command-line and your config > so that I can create a testcase ? The .pbuilderrc is attached. There's nothing fancy about it. It's just a basic pbuilderrc. Note the commented BUILDUSERNAME, which eventually gets taken from /etc/pbuilderrc, being why fakeroot gets picked. If I add a BUILDUSERNAME= line, pbuilder uses su instead of fakeroot and succeeds preserving PATH. As for the command line, it's just "pdebuild". > I am assuming you are trying to use ccache. You're right ;) Mike # this is your configuration file for pbuilder. # the file in /usr/share/pbuilder/pbuilderrc is the default template. # /etc/pbuilderrc is the one meant for editing. BASEDIR="${HOME}/pbuilder" # specifying the distribution forces the distribution on "pbuilder update" DISTRIBUTION="sid" BASETGZ="${BASEDIR}/${DISTRIBUTION}/base.tgz" #EXTRAPACKAGES=gcc3.0-athlon-builder EXTRAPACKAGES="ccache" #export DEBIAN_BUILDARCH=athlon BUILDPLACE="${BASEDIR}/${DISTRIBUTION}/build/" MIRRORSITE="http://ftp.fr.debian.org/debian"; #MIRRORSITE=http://snapshot.debian.net/archive/2004/11/18/debian #NONUSMIRRORSITE="http://www.jp.debian.org/debian-non-US"; #OTHERMIRROR="deb http://www.home.com/updates/ ./" #export http_proxy=http://your-proxy:8080/ USEPROC="yes" USEDEVPTS="yes" USEDEVFS="no" BUILDRESULT="${BASEDIR}/${DISTRIBUTION}/result/" #specify the cache for APT APTCACHE="${BASEDIR}/${DISTRIBUTION}/aptcache/" APTCACHEHARDLINK="yes" REMOVEPACKAGES="lilo" #HOOKDIR="/usr/lib/pbuilder/hooks" HOOKDIR="${BASEDIR}/hooks" # make debconf not interact with user export DEBIAN_FRONTEND="noninteractive" DEBEMAIL="Mike Hommey <[EMAIL PROTECTED]>" #for pbuilder debuild BUILDSOURCEROOTCMD="fakeroot" PBUILDERROOTCMD="sudo" #default is to build everything. Passed on to dpkg-buildpackage #DEBBUILDOPTS="-b" DEBBUILDOPTS="" #APT configuration files directory APTCONFDIR="" # the username and ID used by pbuilder, inside chroot. Needs fakeroot, really BUILDUSERID=1234 #BUILDUSERNAME=pbuilder AUTO_DEBSIGN=yes export CCACHE_DIR="/home/mh/pbuilder/ccache" export PATH="/usr/lib/ccache:${PATH}" OTHERMIRROR="deb file://${HOME}/dd/repository/ unstable/" BINDMOUNTS="${HOME}/dd/repository ${CCACHE_DIR}"
Bug#342665: [Pbuilder-maint] Bug#342665: /usr/bin/pdebuild: PATH not preserved when using pdebuild using fakeroot
Hi, > > All is in the subject. I don't understand why, though... can you give me an example command-line and your config so that I can create a testcase ? I am assuming you are trying to use ccache. regards, junichi -- [EMAIL PROTECTED],netfort.gr.jp} Debian Project -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Bug#342665: [Pbuilder-maint] Bug#342665: /usr/bin/pdebuild: PATH not preserved when using pdebuild using fakeroot
On Sat, Dec 10, 2005 at 12:01:46AM +0900, Junichi Uekawa <[EMAIL PROTECTED]> wrote: > > > > All is in the subject. I don't understand why, though... > > Are you saying that you are seeing a different PATH setting > from what is specified in /etc/pbuilderrc or ~/.pbuilderrc ? exactly. Mike -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Bug#342665: [Pbuilder-maint] Bug#342665: /usr/bin/pdebuild: PATH not preserved when using pdebuild using fakeroot
> > All is in the subject. I don't understand why, though... Are you saying that you are seeing a different PATH setting from what is specified in /etc/pbuilderrc or ~/.pbuilderrc ? Or are you setting a --configfile option? regards, junichi -- [EMAIL PROTECTED],netfort.gr.jp} Debian Project -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Bug#342665: /usr/bin/pdebuild: PATH not preserved when using pdebuild using fakeroot
Package: pbuilder Version: 0.141 Severity: normal File: /usr/bin/pdebuild All is in the subject. I don't understand why, though... -- System Information: Debian Release: testing/unstable APT prefers unstable APT policy: (500, 'unstable'), (1, 'experimental') Architecture: i386 (i686) Shell: /bin/sh linked to /bin/bash Kernel: Linux 2.6.14-1-686 Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968) Versions of packages pbuilder depends on: ii cdebootstrap 0.3.9 Bootstrap a Debian system ii coreutils 5.93-5 The GNU core utilities ii debianutils 2.15.1 Miscellaneous utilities specific t ii debootstrap 0.3.3 Bootstrap a basic Debian system ii gcc 4:4.0.2-1 The GNU C compiler ii wget 1.10.2-1 retrieves files from the web Versions of packages pbuilder recommends: ii devscripts2.9.10 Scripts to make the life of a Debi ii fakeroot 1.5.5 Gives a fake root environment ii sudo 1.6.8p9-3 Provide limited super user privile -- no debconf information -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]