Bug#512645: lintian reports errors in package foo, because it does not honor files in the foo-data package, on which foo depends
Package: lintian
Severity: minor
Version: 2.1.5
Dear lintian maintainers,
sorry for the subject line, but my concern is a little bit too
complicated to describe it in one line, I guess. ;)
Imagine I build a package foo, which consists of a binary in /usr/bin
and architecture-independent content in /usr/share. Since the stuff in
/usr/share takes quite a lot of space (think of files in
/usr/share/locale) I want to put it in an arch:all package called
foo-data. To achieve this I tell foo's Makefile that it must install
into destdir=$CURDIR)/debian/tmp; then I create a debian/foo.install
file containing the line "debian/tmp/usr/bin" and a
debian/foo-data.install file that contains "debian/tmp/usr/share". Of
course foo now also needs to depend on foo-data which I achieve by
adding "foo-data (=${source:Version})" to foo's Depends line in
debian/control. Alright, nothing new so far.
But now, if I run lintian on the newly created packages, I get
warnings like "binary-without-manpage: usr/bin/foo" which simply isn't
true. There *is* a manpage for /usr/bin/foo, it simply isn't installed
in the foo package but in the foo-data package and I even made sure
that foo does not get installed without foo-data.
Could you please make lintian check if there is a package (foo-data)
created from the same source that contains the obviously missing files
and if the assumed faulty package (foo) depends on this package
(foo-data)?
Thank you very much!
Cheers,
Fabian
--
Dipl.-Phys. Fabian Greffrath
Ruhr-Universität Bochum
Lehrstuhl für Energieanlagen und Energieprozesstechnik (LEAT)
Universitätsstr. 150, IB 3/134
D-44780 Bochum
Telefon: +49 (0)234 / 32-26334
Fax: +49 (0)234 / 32-14227
E-Mail: greffrath@leat.ruhr-uni-bochum.de
Reply to: