Bug#627086: pbuilder: --execute fails on creating /run: Is a directory
YOSHINO Yoshihito
yy.y.ja.jp at gmail.com
Tue May 17 15:15:22 UTC 2011
Package: pbuilder
Severity: normal
pbuilder --execute copies a specified script into a chrooted environment
with name "/run", which is now a directory since initscripts 2.88dsf-13.3.
So it fails on distribution sid (and probably wheezy in the future.)
Example:
$ sudo pbuilder --create
W: /root/.pbuilderrc does not exist
I: Distribution is sid.
I: Building the build environment
(snip)
I: creating base tarball [/var/cache/pbuilder/base.tgz]
I: cleaning the build env
I: removing directory /var/cache/pbuilder/build//6699 and its subdirectories
$ cat > /tmp/test.sh
#! /bin/sh
echo OK
$ sh /tmp/test.sh
OK
$ sudo pbuilder --execute -- /tmp/test.sh
W: /root/.pbuilderrc does not exist
I: Building the build Environment
I: extracting base tarball [/var/cache/pbuilder/base.tgz]
I: creating local configuration
I: copying local configuration
I: mounting /proc filesystem
I: mounting /dev/pts filesystem
I: Mounting /var/cache/pbuilder/ccache
I: policy-rc.d already exists
I: Obtaining the cached apt archive contents
/usr/sbin/pbuilder: line 120: /var/cache/pbuilder/build//20334/run: Is
a directory
I: Copying back the cached apt archive contents
I: unmounting /var/cache/pbuilder/ccache filesystem
I: unmounting dev/pts filesystem
I: unmounting proc filesystem
I: cleaning the build env
I: removing directory /var/cache/pbuilder/build//20334 and its subdirectories
Thanks,
--
YOSHINO Yoshihito <yy.y.ja.jp at gmail.com>
-- System Information:
Debian Release: wheezy/sid
APT prefers oldstable
APT policy: (500, 'oldstable'), (500, 'unstable'), (500, 'testing'),
(500, 'stable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.39-rc7-amd64 (SMP w/2 CPU cores)
Locale: LANG=ja_JP.UTF-8, LC_CTYPE=ja_JP.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages pbuilder depends on:
ii coreutils 8.5-1 GNU core utilities
ii debconf [debconf-2.0] 1.5.39 Debian configuration management sy
ii debianutils 3.4.5 Miscellaneous utilities specific t
ii debootstrap 1.0.30 Bootstrap a basic Debian system
ii wget 1.12-3.1 retrieves files from the web
Versions of packages pbuilder recommends:
ii devscripts 2.10.73 scripts to make the life of a Debi
ii fakeroot 1.15.1-1 tool for simulating superuser priv
ii sudo 1.7.4p6-1 Provide limited super user privile
Versions of packages pbuilder suggests:
ii cowdancer 0.62+nmu2 Copy-on-write directory tree utili
pn gdebi-core <none> (no description available)
pn pbuilder-uml <none> (no description available)
-- debconf information excluded
More information about the Pbuilder-maint
mailing list