Bug#520937: pbuilder --execute fails in a i386 builder on a amd64 host started from a 64bit shell

Andreas Beckmann debian at abeckmann.de
Mon Mar 23 19:00:50 UTC 2009


Package: pbuilder
Version: 0.186
Severity: normal

Hi,


sudo pbuilder execute --basetgz /tmp/base-sid-i386.tgz -- \
    /bin/echo hello world

fails with:

I: Building the build Environment
I: extracting base tarball [/tmp/base-sid-i386.tgz]
I: creating local configuration
I: copying local configuration
I: mounting /proc filesystem
I: mounting /dev/pts filesystem
I: Mounting /var/cache/apt/archives
I: policy-rc.d already exists
chroot: cannot run command `/run': No such file or directory
I: unmounting /var/cache/apt/archives filesystem
I: unmounting dev/pts filesystem
I: unmounting proc filesystem
I: cleaning the build env
I: removing directory /tmp/pbuilder/build/10224 and its subdirectories

when started on a amd64 host. The base-sid-i386.tgz builder builds
packages without problems on the same machine, only --execute does fail.
Running the same command from a i386 schroot session on the same machine
using the same base-sid-i386.tgz works flawless.


Andreas


-- System Information:
Debian Release: 5.0
  APT prefers stable
  APT policy: (800, 'stable'), (700, 'testing'), (600, 'unstable'), (130, 'experimental')
Architecture: amd64 (x86_64)

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

Versions of packages pbuilder depends on:
ii  coreutils                   6.10-6       The GNU core utilities
ii  debconf [debconf-2.0]       1.5.24       Debian configuration management sy
ii  debianutils                 2.30         Miscellaneous utilities specific t
ii  debootstrap                 1.0.10lenny1 Bootstrap a basic Debian system
ii  gcc                         4:4.3.2-2    The GNU C compiler
ii  wget                        1.11.4-2     retrieves files from the web

Versions of packages pbuilder recommends:
ii  devscripts                    2.10.47    scripts to make the life of a Debi
ii  fakeroot                      1.11       Gives a fake root environment
ii  sudo                          1.6.9p17-2 Provide limited super user privile

Versions of packages pbuilder suggests:
ii  cowdancer             0.48               Copy-on-write directory tree utili
ii  gdebi                 0.3.11debian1+nmu1 Simple tool to install deb files
pn  pbuilder-uml          <none>             (no description available)

-- debconf information excluded





More information about the Pbuilder-maint mailing list