Bug#675832: lintian: false positive dev-pkg-without-shlib-symlink when SONAME contains -\d+
Package: lintian
Version: 2.5.8
Severity: normal
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
I am getting a false positive dev-pkg-without-shlib-symlink tag for my package
because it has a SONAME libvarconf-1.0.so.7 and a recent change strip off the
"-1.0" before checking the link in the -dev package.
This false positive can be fix by reversing the order of the lines that strip
version information from $link_file in checks/shared-libs from
# determine shlib link name (w/o version)
$link_file =~ s/\.so.*$/.so/o;
# libtool "-release" variant
$link_file =~ s/-[\d\.]*\.so$/.so/o;
to
# libtool "-release" variant
$link_file =~ s/-[\d\.]*\.so$/.so/o;
# determine shlib link name (w/o version)
$link_file =~ s/\.so.*$/.so/o;
This change should still preserve the handling of libtool -release variants.
Just imagine the impact this problem will have on libgtk-3-dev.
thanks
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
iQIcBAEBCAAGBQJPy4PyAAoJEAoP+EW32zQnibAP/jh2kv/2Z6GSqkxk55bE6/VN
+YFRyQgBMXWApgCsVv2mGYzGfMMyQhbP8uOt6Ig9CS59SYE/mNgawSaIiHWc1HzC
1uRAwKkbVN0KsmQgZApWsqJUOm2eEHUXFvK8/2lfCCCCjEePBmJT1KXkdcsCsS1s
zQg16hW3QjRAdUFc/ZxD2ruExUJFKeQqhCtfhI0oTYOGYE37lcVxOud/uFncvCqB
+hEgNz/lMq96alxtwmWeEX+hoTlDTN6TXQjL5TUYlJAYjEQtjfiEHbNUYMfd4Vxk
u2WamSxWS92uevJ02PGyklPgYFFjJJkPe/Ht92NeheC0kZZF/28VM15hb54qn67t
uPoaH0eQQnzq9q0SZkD/5QIS/FDtTfp5EckcwBi9/e5d21seuVMz5Y3vOGpGnlFv
6hNSZydl2Ym3khqkOGDpYxUNgXo9VoiTrN4L/Zx81AuP4UfzNZT5W6KbVL6hLLoo
frBBpGH7ZnS7gEbGCxEQt7B0TAJ3wn4fNDUW+FAwADW3Ml3apBVxpxbvCk7+GC2f
QFn4rzTIhsIQ4ccAVmsld0JnwpwEbr6dPceEJK9gfQFx8dBegAlbFKbHf1AtF6fR
Y0RvbMGfJwQW3Z3u0Ka5rTKrUPNBI1QJDNDdF5xwd33ZYdJjlgCjPmX5Xdj66eVR
1fZ3M7uYJbPcmYO+9NoD
=eR8E
-----END PGP SIGNATURE-----
Reply to: