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

Bug#651332: lintian: unhelpful message if changes file not present



Package: lintian
Version: 2.5.4
Severity: minor

Dear Maintainer,
*** Please consider answering these questions, where appropriate ***

   * What led up to the situation?
I have script that generates a private Debian package,
builds it and runs lintian on the resulting changes file.
I changed the name of the generated package in the test script
and forgot that the test script needed to be updated.
This led to an utterly bizarre error message:

"Package name and type must be defined at /usr/bin/lintian line 1692"

I understand that lintian runs on a layered approach and that the
error was finally spotted deep in the code. It would be nice if the arguments
were sanity checked right at the beginning as the message then would
be immediately obvious.


*** End of the template - remove these lines ***


-- System Information:
Debian Release: wheezy/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)

Kernel: Linux 3.1.0-1-686-pae (SMP w/1 CPU core)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages lintian depends on:
ii  binutils                       2.22-1           
ii  bzip2                          1.0.5-7          
ii  diffstat                       1.54-1           
ii  file                           5.09-2           
ii  gettext                        0.18.1.1-5       
ii  intltool-debian                0.35.0+20060710.1
ii  libapt-pkg-perl                0.1.25+b1        
ii  libclass-accessor-perl         0.34-1           
ii  libclone-perl                  0.31-1+b2        
ii  libdpkg-perl                   1.16.1.2         
ii  libemail-valid-perl            0.185-1          
ii  libipc-run-perl                0.90-1           
ii  libparse-debianchangelog-perl  1.2.0-1          
ii  libtimedate-perl               1.2000-1         
ii  liburi-perl                    1.59-1           
ii  locales                        2.13-21          
ii  locales-all [locales]          2.13-21          
ii  man-db                         2.6.0.2-3        
ii  patchutils                     0.3.2-1          
ii  perl [libdigest-sha-perl]      5.14.2-6         
ii  unzip                          6.0-5            

lintian recommends no packages.

Versions of packages lintian suggests:
ii  binutils-multiarch     <none>               
ii  dpkg-dev               1.16.1.2             
ii  libhtml-parser-perl    3.69-1+b1            
ii  libtext-template-perl  1.45-2               
ii  man-db                 2.6.0.2-3            
ii  xz-utils               5.1.1alpha+20110809-3

-- debconf-show failed



Reply to: