[buildd-tools-devel] Bug#786456: sbuild-update: Better error message when chroot is not specified
Felipe Sateler
fsateler at debian.org
Thu May 21 20:26:19 UTC 2015
Package: sbuild
Version: 0.65.2-1
Severity: wishlist
Tags: patch
sbuild-update gives a very cryptic error when no chroot is specified:
% sbuild-update -udcar
E: Incorrect number of options
I: Run “sbuild-update --help” to list usage example and all available options
The attached patch gives a more meaningful message:
% ./bin/sbuild-update -udcar
E: No chroot was specified
I: Run “sbuild-update --help” to list usage example and all available options
-- System Information:
Debian Release: stretch/sid
APT prefers unstable
APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 4.0.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
Versions of packages sbuild depends on:
ii adduser 3.113+nmu3
ii apt-utils 1.0.9.9
ii libsbuild-perl 0.65.2-1
ii perl 5.20.2-6
Versions of packages sbuild recommends:
ii debootstrap 1.0.69
ii fakeroot 1.20.2-1
Versions of packages sbuild suggests:
pn deborphan <none>
ii wget 1.16.3-2
-- Configuration Files:
/etc/sbuild/sbuild.conf changed [not included]
-- no debconf information
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Print-better-message-when-no-chroot-is-specified.patch
Type: text/x-diff
Size: 924 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/buildd-tools-devel/attachments/20150521/9d1f6fff/attachment.patch>
More information about the Buildd-tools-devel
mailing list