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

Andreas Beckmann debian at abeckmann.de
Thu Mar 26 11:20:21 UTC 2009


Junichi Uekawa wrote:
> Ah, so,  binary sometimes works (if the required shared libs exist).
> 
> I think it's unreliable to send random binary file to inside chroot
> and hope that it can work.
> 
> What can be improved?

a) Print a warning message "Copying binaries into the pbuilder chroot
and running them there may not work!" if 'file $SCRIPT' returns
something containing "binary".

b) add a --nocopy (or choose a better name) flag so that
       sudo pbuilder execute --nocopy -- /bin/echo hello world
will execute the binary found inside the chroot.
Deriving some automatism to detect the users intentions ('copy and
execute' or 'just execute what's in the chroot') will be hard and
more confusing.


Andreas






More information about the Pbuilder-maint mailing list