Bug#608222: lintian: Please check symbols-files for foreign packages
Niels Thykier <niels@thykier.net> writes:
> Right, there is a check for that... but:
> cat t/tests/shared-libs-non-pic-i386/debian/debian/symbols:
> libbaz3.so libfilo #MINVER#
> pw@Base 1.0
> does not trigger an issue and I cannot figure out why! I am fairly
> confident that something is wrong, since the package libbaz3-1 does not
> provide or depends on libfilo[1].
You're running into one of the banes of writing Lintian test suites: dpkg
is too smart. :) Take a look at the control files of the generated
package. You'll see that dpkg-gensymbols updated the symbols file for you
to fix the package name.
If you override dh_makeshlibs to run:
dh_makeshlibs -- -plibfilo
instead, that will correctly generate a test case for this tag. (I didn't
commit that change since I'm not sure that shared-libs-non-pic-i386 is the
right place to put such a test, rather than in a more general test case.)
--
Russ Allbery (rra@debian.org) <http://www.eyrie.org/~eagle/>
Reply to: