Louis-Philippe Véronneau pushed to branch master at lintian / lintian
Commits: 049ca4e1 by Nicolas Peugnet at 2024-11-12T23:00:35+00:00 Add blank line between code blocks Markdown requires a blank lien between each block element. This change fixes the code blocks for both real Markdown parsers and the console output. I noticed this while browsing https://lintian.club1.fr/tags/debian-rules-ignores-make-clean-error.html and then running and checking the output of the following command: grep '^ ' -A1 -B1 --color -nr tags/ - - - - - 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: ===================================== tags/c/custom-library-search-path.tag ===================================== @@ -16,9 +16,13 @@ Explanation: The binary or shared library sets RPATH or RUNPATH. This RPATH/RUNPATH is unnecessary. . To fix this problem, look for link lines like: + . gcc test.o -o test -Wl,--rpath,/usr/local/lib + . or + . gcc test.o -o test -R/usr/local/lib + . and remove the <code>-Wl,--rpath</code> or <code>-R</code> argument. You can also use the chrpath utility to remove the RPATH. See-Also: ===================================== tags/d/debian-rules-ignores-make-clean-error.tag ===================================== @@ -5,7 +5,9 @@ Explanation: A rule in the <code>debian/rules</code> file for this package calls package's clean or distclean target with a line like: . -$(MAKE) distclean + . or + . $(MAKE) -i distclean . The leading "-" or the option -i tells make to ignore all errors. ===================================== tags/d/debug-package-for-multi-arch-same-pkg-not-coinstallable.tag ===================================== @@ -9,7 +9,8 @@ Explanation: The debug package appear to be containing debug symbols for a . Making a debug package co-installable with itself is very trivial, when installing the debug symbols beneath: - <code>/usr/lib/debug/.build-id/<XX>/<rest-id>.debug</code> + . + /usr/lib/debug/.build-id/<XX>/<rest-id>.debug . dh_strip does this in debhelper compat 9. Otherwise, the expected location of the debug symbols of a given ELF binary can be determined ===================================== tags/e/extra-whitespace-around-name-in-changelog-trailer.tag ===================================== @@ -4,6 +4,7 @@ Check: nmu Explanation: There is too much whitespace around the name in debian/changelog. . The format is: + . -- NAME <EMAIL> DATE . Note that there must be exactly 1 space after the "--" and exactly ===================================== tags/i/incorrect-naming-of-pkcs11-module.tag ===================================== @@ -5,6 +5,7 @@ Explanation: This package ships a PKCS#11 module configuration file under <code>/usr/share/p11-kit/modules</code>, but its naming doesn't conform to what <code>p11-kit</code> expects. Files in that directory should respect the following convention, case insensitive: + . [a-z0-9][a-z0-9_.-]*.module . p11-kit currently warns on every file that does not follow the ===================================== tags/m/mentions-deprecated-usr-lib-perl5-directory.tag ===================================== @@ -7,4 +7,5 @@ Explanation: As of Perl 5.20, the vendorarch directory is /usr/lib/<triplet&g but this package still uses usr/lib/perl5 in some of the files under debian/. Please replace that with the value of $Config{vendorarch} configuration parameter, e.g. + . $(shell perl -MConfig -wE'say substr($$Config{vendorarch},1)') View it on GitLab: https://salsa.debian.org/lintian/lintian/-/commit/049ca4e134563b644c6649cd832213b6860f0ac0 -- View it on GitLab: https://salsa.debian.org/lintian/lintian/-/commit/049ca4e134563b644c6649cd832213b6860f0ac0 You're receiving this email because of your account on salsa.debian.org.

