[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[lintian] 01/01: c/binaries: Unstripped static libs tags no longer exp



This is an automated email from the git hooks/post-receive script.

nthykier pushed a commit to branch master
in repository lintian.

commit 910ae17f8c395a380ff0401297306a9f06ffdd2a
Author: Niels Thykier <niels@thykier.net>
Date:   Mon Mar 7 18:52:16 2016 +0000

    c/binaries: Unstripped static libs tags no longer exp
    
    Signed-off-by: Niels Thykier <niels@thykier.net>
---
 checks/binaries.desc | 21 +++++++++++++++++----
 debian/changelog     |  4 ++++
 2 files changed, 21 insertions(+), 4 deletions(-)

diff --git a/checks/binaries.desc b/checks/binaries.desc
index 6f47999..8d6e66b 100644
--- a/checks/binaries.desc
+++ b/checks/binaries.desc
@@ -100,14 +100,27 @@ Info: The binary or shared library is stripped, but still contains a
 Tag: static-library-has-unneeded-section
 Severity: wishlist
 Certainty: certain
-Experimental: yes
-Info: Tag for tallying static libraries ".comment" sections.
+Info: The static library is stripped, but still contains a section
+ that is not useful.  You should call strip with
+ <tt>--remove-section=.comment --remove-section=.note</tt> to remove the
+ <tt>.note</tt> and <tt>.comment</tt> sections.
+ .
+ <tt>dh_strip</tt> (after debhelper/9.20150811) will do this
+ automatically for you, but <tt>install -s</tt> not because it calls strip
+ without any arguments.
 
 Tag: unstripped-static-library
 Severity: wishlist
 Certainty: certain
-Experimental: yes
-Info: Tag for tallying unstripped static libraries.
+Info: The package installs an unstripped static library.
+ .
+ Please note, that static libraries have to be stripped with the
+ <tt>--strip-debug</tt> option.  You will probably also want to
+ use <tt>--remove-section=.comment --remove-section=.note</tt>
+ to avoid the static-library-has-unneeded-section tag.
+ .
+ <tt>dh_strip</tt> (after debhelper/9.20150811) will do this
+ automatically for you.
 
 Tag: missing-depends-line
 Severity: normal
diff --git a/debian/changelog b/debian/changelog
index bb0ad99..609bd69 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -2,6 +2,10 @@ lintian (2.5.43) UNRELEASED; urgency=medium
 
   XXX: generate tag summary with private/generate-tag-summary
 
+  * checks/binaries.desc:
+    + [NT] Remove the experimental marker from the tags about
+      (partially) unstripped static libraries.
+
   * commands/reporting-lintian-harness.pm:
     + [NT] Add missing close and seek to the end of the new
       lintian log file before appending to it.

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/lintian/lintian.git


Reply to: