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

Junichi Uekawa dancer at netfort.gr.jp
Mon Mar 23 23:00:02 UTC 2009


Hi,

At Mon, 23 Mar 2009 20:00:50 +0100,
Andreas Beckmann wrote:
> 
> 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.

       pbuilder --execute [options] -- script [script options]

pbuilder execute takes a script, /bin/echo isn't a script.

.... hmmm, it might be that documentation is wrong.


Could you try without the '--'?

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


(and something other than /bin/echo)


-- 
dancer@{netfort.gr.jp,debian.org}







More information about the Pbuilder-maint mailing list