Bug#586714: pbuilder --debuild aborts without visible error message
Marc Haber
mh+debian-bugs at zugschlus.de
Mon Jun 21 21:12:14 UTC 2010
Package: pbuilder
Version: 0.196
Severity: normal
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
-- System Information:
Debian Release: squeeze/sid
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.6.34-zgsrv20080 (SMP w/1 CPU core; PREEMPT)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages pbuilder depends on:
ii cdebootstrap 0.5.5 Bootstrap a Debian system
ii coreutils 8.5-1 GNU core utilities
ii debconf [debconf-2.0] 1.5.32 Debian configuration management sy
ii debianutils 3.2.3 Miscellaneous utilities specific t
ii debootstrap 1.0.23 /usr/lib/pbuilder/pdebuild-in Bootstrap a basic Debian system
ii wget 1.12-2 retrieves files from the web
Versions of packages pbuilder recommends:
ii devscripts 2.10.64 scripts to make the life of a Debi
ii fakeroot 1.14.4-1 Gives a fake root environment
ii sudo 1.7.2p7-1 Provide limited super user privile
Versions of packages pbuilder suggests:
pn cowdancer <none> (no description available)
pn gdebi-core <none> (no description available)
pn pbuilder-uml <none> (no description available)
-- Configuration Files:
/etc/pbuilderrc changed [not included]
-- debconf information excluded
More information about the Pbuilder-maint
mailing list