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

Bug#626256: marked as done (debian/source.lintian-overrides not recognized)



Your message dated Tue, 10 May 2011 12:39:05 +0200
with message-id <4DC915C9.6070704@thykier.net>
and subject line Re: Bug#626256: debian/source.lintian-overrides not recognized
has caused the Debian Bug report #626256,
regarding debian/source.lintian-overrides not recognized
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
626256: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=626256
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: lintian
Version: 2.5.0~rc3
Severity: minor


The lintian manual appears to be off. Sectoin 2.4 on Overrides states:

"If the override is for a source package, you have to place it at
debian/source/lintian-overrides or debian/source.lintian-overrides (the
former path is preferred)."

Unfortunately the overrides are not used when the file is named
'debian/source.lintian-overrides' . It is recognized when it is named
'debian/lintian-overrides'.

~/check-dnssec_0.1$ mv debian/lintian-overrides debian/source.lintian-overrides
~/check-dnssec_0.1$ DH_VERBOSE=1 debuild -uc -us -rfakeroot | tail -n 3
Now running lintian...
W: check-dnssec: new-package-should-close-itp-bug
Finished running lintian.

~/check-dnssec_0.1$ mv debian/source.lintian-overrides debian/lintian-overrides
~/check-dnssec_0.1$ DH_VERBOSE=1 debuild -uc -us -rfakeroot | tail -n 3
Now running lintian...
N: 1 tag overridden (1 warning)
Finished running lintian.


The example in that secttion also mentions 'debian/source.lintian-overrides'.

-- System Information:
Debian Release: wheezy/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.37-2-amd64 (SMP w/4 CPU cores)
Locale: LANG=nl_NL.UTF-8, LC_CTYPE=nl_NL.UTF-8 (charmap=UTF-8) (ignored: LC_ALL set to nl_NL.UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages lintian depends on:
ii  binutils              2.21.51.20110421-2 The GNU assembler, linker and bina
ii  diffstat              1.54-1             produces graph of changes introduc
ii  dpkg-dev              1.16.0.2           Debian package development tools
ii  file                  5.04-5+b1          Determines file type using "magic"
ii  gettext               0.18.1.1-3         GNU Internationalization utilities
ii  intltool-debian       0.35.0+20060710.1  Help i18n of RFC822 compliant conf
ii  libapt-pkg-perl       0.1.24+b1          Perl interface to libapt-pkg
ii  libclass-accessor-per 0.34-1             Perl module that automatically gen
ii  libemail-valid-perl   0.184-1            Perl module for checking the valid
ii  libipc-run-perl       0.89-1             Perl module for running processes
ii  libparse-debianchange 1.2.0-1            parse Debian changelogs and output
ii  libtimedate-perl      1.2000-1           collection of modules to manipulat
ii  liburi-perl           1.58-1             module to manipulate and access UR
ii  locales               2.11.2-13          Embedded GNU C Library: National L
ii  man-db                2.6.0.2-1          on-line manual pager
ii  perl [libdigest-sha-p 5.10.1-20          Larry Wall's Practical Extraction 
ii  unzip                 6.0-4              De-archiver for .zip files

lintian recommends no packages.

Versions of packages lintian suggests:
pn  binutils-multiarch            <none>     (no description available)
ii  libhtml-parser-perl           3.68-1     collection of modules that parse H
pn  libtext-template-perl         <none>     (no description available)
ii  man-db                        2.6.0.2-1  on-line manual pager

-- no debconf information



--- End Message ---
--- Begin Message ---
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

On 2011-05-10 11:55, Casper Gielen wrote:
> Package: lintian
> Version: 2.5.0~rc3
> Severity: minor
> 
> 
> The lintian manual appears to be off. Sectoin 2.4 on Overrides states:
> 
> "If the override is for a source package, you have to place it at
> debian/source/lintian-overrides or debian/source.lintian-overrides (the
> former path is preferred)."
> 

Actually it is correct, since...

> Unfortunately the overrides are not used when the file is named
> 'debian/source.lintian-overrides' . It is recognized when it is named
> 'debian/lintian-overrides'.
> 

debian/lintian-overrides is not debian/source/lintian-overrides, but the
short form of debian/<firstpkg>.lintian-overrides.  The tag in question
is emitted on a binary package (e.g. a deb file) and thus the override
has to be in the binary package.
  That being said, I would naturally have assumed this to be a source
check based on the tag alone (and the file being processed).

> ~/check-dnssec_0.1$ mv debian/lintian-overrides debian/source.lintian-overrides
> ~/check-dnssec_0.1$ DH_VERBOSE=1 debuild -uc -us -rfakeroot | tail -n 3
> Now running lintian...
> W: check-dnssec: new-package-should-close-itp-bug
> Finished running lintian.
> 

The trick to realizing this is a binary check is that tag from the
source package would have explicitly contained "source" in it, like this:

W: check-dnssec source: some-tag-for-source-packages
                ^^^^^^

> ~/check-dnssec_0.1$ mv debian/source.lintian-overrides debian/lintian-overrides
> ~/check-dnssec_0.1$ DH_VERBOSE=1 debuild -uc -us -rfakeroot | tail -n 3
> Now running lintian...
> N: 1 tag overridden (1 warning)
> Finished running lintian.
> 
> 
> The example in that secttion also mentions 'debian/source.lintian-overrides'.
> 
> -- System Information:
> [...]
> 
> 
> 

~Niels

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQIcBAEBCAAGBQJNyRXJAAoJEAVLu599gGRCeRcP/0Nfy3DuFGQdxQu/dfhUr/gS
4el8TXdUAkmHs2NO2N6jYk2L6yvMK/J4useLCOiTjVtFjpl0xnH8oytZnVcCC6GI
Io6A1XrErWExnAF8+KaYdfqMn6e/Bhm//LaVafbw/3jmxncJRMtIy+B21lWbO+/T
xsvc2KZrBSBg4U7smsiXfl1ngbxOP+Dp6kXfr+ahjWIxdx+n/sVz+cr+aMpG3RQ0
zbaPxiY94SHZzQ72EKidwBuozUy64KRQsGAOsNKHQ8BX7Q4UyXh9yfIsa95lqACR
9AziEAQjoI04GVm/DG7Y4jnPcTggXwECG1bKIGIVix/yH1kpk9Y2Bs8qE9JipaaG
2ZyODO6Wh5lBFUhaAKJwKiWKnACczu6gwkrUSx+tEI5gpnpuG6DODY3OPk+kIrfD
ArXAeGEW30BEwoqTdsPav8Lcm3baW6bm0n9E3Qx08XU8TZBvMiZTxkKq/1IenSaT
YrMBGad2JQui4QnmXWvcycJAPp1w1BTkxdLXjGsZ8/VOtG2JJqZaSEjeP9pEFOVl
xn9wf+B2AtASKoaR6r9a2kCeVez2J1sQxPH16/KX8RFnwZCZgOC6NslMUHcyueOg
qGqAMlvCAsDf9fYlUNBu3RI5+C5R4a7TBPOGpzmrWBgLBGl2dDaF0+3irJOupNBT
8mN5B0yutxDaZSaARLtX
=StIm
-----END PGP SIGNATURE-----


--- End Message ---

Reply to: