Louis-Philippe Véronneau pushed to branch master at lintian / lintian
Commits:
-
049ca4e1
by Nicolas Peugnet at 2024-11-12T23:00:35+00:00
6 changed files:
- tags/c/custom-library-search-path.tag
- tags/d/debian-rules-ignores-make-clean-error.tag
- tags/d/debug-package-for-multi-arch-same-pkg-not-coinstallable.tag
- tags/e/extra-whitespace-around-name-in-changelog-trailer.tag
- tags/i/incorrect-naming-of-pkcs11-module.tag
- tags/m/mentions-deprecated-usr-lib-perl5-directory.tag
Changes:
... | ... | @@ -16,9 +16,13 @@ Explanation: The binary or shared library sets RPATH or RUNPATH. This |
16 | 16 | RPATH/RUNPATH is unnecessary.
|
17 | 17 | .
|
18 | 18 | To fix this problem, look for link lines like:
|
19 | + .
|
|
19 | 20 | gcc test.o -o test -Wl,--rpath,/usr/local/lib
|
21 | + .
|
|
20 | 22 | or
|
23 | + .
|
|
21 | 24 | gcc test.o -o test -R/usr/local/lib
|
25 | + .
|
|
22 | 26 | and remove the <code>-Wl,--rpath</code> or <code>-R</code> argument. You can also
|
23 | 27 | use the chrpath utility to remove the RPATH.
|
24 | 28 | See-Also:
|
... | ... | @@ -5,7 +5,9 @@ Explanation: A rule in the <code>debian/rules</code> file for this package calls |
5 | 5 | package's clean or distclean target with a line like:
|
6 | 6 | .
|
7 | 7 | -$(MAKE) distclean
|
8 | + .
|
|
8 | 9 | or
|
10 | + .
|
|
9 | 11 | $(MAKE) -i distclean
|
10 | 12 | .
|
11 | 13 | The leading "-" or the option -i tells make to ignore all errors.
|
... | ... | @@ -9,7 +9,8 @@ Explanation: The debug package appear to be containing debug symbols for a |
9 | 9 | .
|
10 | 10 | Making a debug package co-installable with itself is very trivial,
|
11 | 11 | when installing the debug symbols beneath:
|
12 | - <code>/usr/lib/debug/.build-id/<XX>/<rest-id>.debug</code>
|
|
12 | + .
|
|
13 | + /usr/lib/debug/.build-id/<XX>/<rest-id>.debug
|
|
13 | 14 | .
|
14 | 15 | dh_strip does this in debhelper compat 9. Otherwise, the expected
|
15 | 16 | location of the debug symbols of a given ELF binary can be determined
|
... | ... | @@ -4,6 +4,7 @@ Check: nmu |
4 | 4 | Explanation: There is too much whitespace around the name in debian/changelog.
|
5 | 5 | .
|
6 | 6 | The format is:
|
7 | + .
|
|
7 | 8 | -- NAME <EMAIL> DATE
|
8 | 9 | .
|
9 | 10 | Note that there must be exactly 1 space after the "--" and exactly
|
... | ... | @@ -5,6 +5,7 @@ Explanation: This package ships a PKCS#11 module configuration file under |
5 | 5 | <code>/usr/share/p11-kit/modules</code>, but its naming doesn't conform
|
6 | 6 | to what <code>p11-kit</code> expects. Files in that directory should
|
7 | 7 | respect the following convention, case insensitive:
|
8 | + .
|
|
8 | 9 | [a-z0-9][a-z0-9_.-]*.module
|
9 | 10 | .
|
10 | 11 | p11-kit currently warns on every file that does not follow the
|
... | ... | @@ -7,4 +7,5 @@ Explanation: As of Perl 5.20, the vendorarch directory is /usr/lib/<triplet&g |
7 | 7 | but this package still uses usr/lib/perl5 in some of the files under debian/.
|
8 | 8 | Please replace that with the value of $Config{vendorarch} configuration
|
9 | 9 | parameter, e.g.
|
10 | + .
|
|
10 | 11 | $(shell perl -MConfig -wE'say substr($$Config{vendorarch},1)') |