Bug#812507: [malformed-override] Test of lintian-overrides does not support type source

2016-01-24 Thread Jörg Frings-Fürst
Package: lintian
Version: 2.5.39.1
Severity: important

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA512

Hi,

to override this warning

"W: bitz-server source: dbg-package-missing-depends libicap0-dbg"


I write into lintian-overrides:

"bitz-server source: dbg-package-missing-depends"

Then I get this error:
"E: bitz-server: malformed-override Override of dbg-package-missing-depends for
package type source (expecting binary) at line 1"

Testing with the override:
"bitz-server binary: dbg-package-missing-depends"

no error displayed.

So I think thats the type "source" is the problem. But it is requested.

CU
Jörg




- -- System Information:
Debian Release: stretch/sid
  APT prefers testing
  APT policy: (900, 'testing'), (800, 'unstable'), (500, 'testing-updates'), 
(1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.3.0-1-amd64 (SMP w/6 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages lintian depends on:
ii  binutils  2.25.90.20160101-2
ii  bzip2 1.0.6-8
ii  diffstat  1.60-1
ii  file  1:5.25-2
ii  gettext   0.19.7-2
ii  hardening-includes2.8+nmu2
ii  intltool-debian   0.35.0+20060710.4
ii  libapt-pkg-perl   0.1.29+b5
ii  libarchive-zip-perl   1.56-2
ii  libclass-accessor-perl0.34-1
ii  libclone-perl 0.38-1+b1
ii  libdpkg-perl  1.18.4
ii  libemail-valid-perl   1.198-1
ii  libfile-basedir-perl  0.07-1
ii  libipc-run-perl   0.94-1
ii  liblist-moreutils-perl0.413-1+b1
ii  libparse-debianchangelog-perl 1.2.0-8
ii  libperl5.22 [libdigest-sha-perl]  5.22.1-4
ii  libtext-levenshtein-perl  0.13-1
ii  libtimedate-perl  2.3000-2
ii  liburi-perl   1.71-1
ii  man-db2.7.5-1
ii  patchutils0.3.4-1
ii  perl  5.22.1-4
ii  t1utils   1.39-2
ii  xz-utils  5.1.1alpha+20120614-2.1

Versions of packages lintian recommends:
ii  dpkg 1.18.4
ii  libperlio-gzip-perl  0.19-1+b1
ii  perl 5.22.1-4
ii  perl-modules-5.22 [libautodie-perl]  5.22.1-4

Versions of packages lintian suggests:
ii  binutils-multiarch 2.25.90.20160101-2
ii  dpkg-dev   1.18.4
ii  libhtml-parser-perl3.71-2+b1
ii  libtext-template-perl  1.46-1
ii  libyaml-perl   1.15-1

- -- no debconf information

-BEGIN PGP SIGNATURE-
Version: GnuPG v1

iQIcBAEBCgAGBQJWpOFMAAoJEAn4nzyModJd6TYP/1vh1r/V9vyPqJIT1G7MxYOy
xQLywdvBeFXWWw40/WPF+H4+muY96rh3tfoWTjaI9B4hWPh4NQjOSjTPkcwLQOfV
Wh3ZdvamQkBA9p3V3zxbI1MhYenVP1MJDtFkVXeEJ37IObY0m4NcVw4+HLx/P8M3
BwAO8vUjKGVKq5J+ROjAvgjUd2Bob7/ofSz92iAftcGidgOHY/KbO4kbFbfdBg6K
OJD9GfB3PK3l+R5f+bpYqnF8BbDr8p7Sklc/lbF2WvBsNMJr6WT3NeosfIe2AiTh
c5fQHWnCx6YJEForAUs+2fuiRT+XN0Ps5qb1c6TljuYKVxoRmG9TuXhyUCKKc7cg
XJH/Kokh0iqhU5IfTA8EIJ3tXEiwjTJWrlZbDOXnSITwvjPwXsbirHmPuLDPjpVZ
vIMfc9eURLwDqscxQGq8yjpWwzDKjpQqTkudg+ipmwBIs+zTkziQ58Jp0P9uEZDy
4s96HwGXYh5+ambooLAzJQ5AiC1ycC57y0uzm3tfC7ZXJoyCbli20o1i0RFIWsAr
jILs24Z9Js26WifJkuQdC4zhOzKnssc9RaOoNep/fCZD9F49QLKeosfUpi5zxYB2
UxC7V8vbqXBpGG3V2mV1wSnxAvpUk3hi3qdw9ybzVMng3NiBHrnURF1t8F7kb4zW
jCjTMwTf1pjZMAXrj3mO
=7PdM
-END PGP SIGNATURE-



Bug#812507: [malformed-override] Test of lintian-overrides does not support type source

2016-01-24 Thread Niels Thykier
Control: tags -1 moreinfo

Quote Jörg:
> [...]
> 
> Hi,
> 
> to override this warning
> 
> "W: bitz-server source: dbg-package-missing-depends libicap0-dbg"
> 
> 
> I write into lintian-overrides:
> 
> "bitz-server source: dbg-package-missing-depends"
> 

Was that "debian/source/lintian-overrides" ?

> Then I get this error:
> "E: bitz-server: malformed-override Override of dbg-package-missing-depends 
> for
> package type source (expecting binary) at line 1"
> 

If you put it in "debian/lintian-overrides" (note the missing "source/")
then both lintian and debhelper will assume you meant it was a overrides
file for a binary package.

> Testing with the override:
> "bitz-server binary: dbg-package-missing-depends"
> 
> no error displayed.
> 
> So I think thats the type "source" is the problem. But it is requested.
> 
> CU
> Jörg
> 
> 
> [...]

Thanks,
~Niels