Hi,
pbuilder --debuild, called in a directory with an unpacked Debian
source package, results in
pbuilder execute /usr/lib/pbuilder/pdebuild-internal
This shifts, leaving $1 and $@ empty, which results - indirectly - in
a call to
chroot $BUILDPLACE copy-of-pdebuild-internal (without additional
parameters). pdebuild-internal then does cd "$1", which translates to
cd "" (which looks wrong anyway). The following shift tries to shift
an empty argument list which leads to abort of the entire process,
thanks to set -e, without any error message whatsoever.
If I'm using pbuilder --debuild wrong, the manpage needs to be
improved and pdebuild-internal needs to be changed to print a helpful
error message in the case that it's called without parameters - it
seems to need parameters.
If I'm using pbuilder --debuild correctly, then it's showstopperbuggy.
Greetings
Marc