#586714 pbuilder --debuild aborts without visible error message

#586714#5
Date:
2010-06-21 21:12:14 UTC
From:
To:
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

#586714#10
Date:
2010-06-23 15:32:18 UTC
From:
To:
I don't seem to remember that this command was useful at all.
Please use pdebuild --use-pdebuild-internal instead.

pbuilder --debuild seems like a left over from past.


At Mon, 21 Jun 2010 23:12:14 +0200,
Marc Haber wrote:

#586714#15
Date:
2010-06-23 15:32:18 UTC
From:
To:
I don't seem to remember that this command was useful at all.
Please use pdebuild --use-pdebuild-internal instead.

pbuilder --debuild seems like a left over from past.


At Mon, 21 Jun 2010 23:12:14 +0200,
Marc Haber wrote: