[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#148322: dpkg-source: obscure error messages



Package: dpkg-dev
Version: 1.9.21
Severity: wishlist

By mistake I specified -x instead of -b, thus running -x on a directory:

$ dpkg-source -x bigloo-2.5a+really2.5b-beta-2002-05-16
dpkg-source: error: syntax error in source control file ./bigloo-2.5a+really2.5b-beta-2002-05-16 at line 0: empty file

The error message could be made more explicit, by 1st checking whether
we're dealing with a file.

-- System Information
Debian Release: 3.0
Architecture: i386
Kernel: Linux bylbo 2.4.17-smp+evms+kdb #1 SMP mer mar 27 00:23:14 CET 2002 i686
Locale: LANG=français, LC_CTYPE=français

Versions of packages dpkg-dev depends on:
ii  binutils                   2.12.90.0.7-1 The GNU assembler, linker and bina
ii  cpio                       2.4.2.91-2    GNU cpio -- a program to manage ar
ii  make                       3.79.1-14     The GNU version of the "make" util
ii  patch                      2.5.4-11      Apply a diff file to an original
ii  perl [perl5]               5.6.1-7       Larry Wall's Practical Extraction 
ii  perl-modules               5.6.1-7       Core Perl modules.

-- no debconf information


-- 
Yann Dirson    <ydirson@altern.org> |    Why make M$-Bill richer & richer ?
Debian-related: <dirson@debian.org> |   Support Debian GNU/Linux:
Pro:    <yann.dirson@fr.alcove.com> |  Freedom, Power, Stability, Gratuity
     http://ydirson.free.fr/        | Check <http://www.debian.org/>


-- 
To UNSUBSCRIBE, email to debian-dpkg-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org



Reply to: