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

[lintian] 01/01: c/shared-libs: Improve missing ldconfig-trigger tag description



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

nthykier pushed a commit to branch master
in repository lintian.

commit 085b1171ec21bb8f936fa3f5968257aa35396a36
Author: Niels Thykier <niels@thykier.net>
Date:   Sun Apr 24 13:53:51 2016 +0000

    c/shared-libs: Improve missing ldconfig-trigger tag description
    
    Signed-off-by: Niels Thykier <niels@thykier.net>
---
 checks/shared-libs.desc | 11 ++++++++---
 debian/changelog        |  4 ++++
 2 files changed, 12 insertions(+), 3 deletions(-)

diff --git a/checks/shared-libs.desc b/checks/shared-libs.desc
index 4399c48..8453dbb 100644
--- a/checks/shared-libs.desc
+++ b/checks/shared-libs.desc
@@ -225,9 +225,14 @@ Info: The package installs shared libraries in a directory controlled by
  the dynamic library loader. Therefore, the package must trigger libc's
  "ldconfig" trigger to ensure the ldconfig cache is updated.
  .
- This should be done via a <tt>activate-noawait ldconfig</tt>
- trigger. With debhelper it is usually sufficient to simply add that line
- to <tt>debian/&lt;package&gt;.triggers</tt>.
+ If the package is using debhelper, the <tt>dh_makeshlibs</tt> should
+ automatically discover this need and add the trigger itself.
+ Otherwise, please add <tt>activate-noawait ldconfig</tt> to the
+ the <tt>triggers</tt> file in the control member.
+ .
+ Note this tag may trigger for packages built with debhelper before
+ version 9.20151004.  In such case, a simple rebuild will often be
+ sufficient to fix this issue.
 Ref: policy 8.1.1, https://lists.debian.org/debian-devel/2015/08/msg00412.html
 
 Tag: sharedobject-in-library-directory-missing-soname
diff --git a/debian/changelog b/debian/changelog
index 541864c..b3b34e9 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -5,6 +5,10 @@ lintian (2.5.45) UNRELEASED; urgency=medium
   * checks/scripts.{desc,pm}:
     + [NT] Add tracking tag to trace auto-generated shell
       snippets in maintainer scripts.
+  * checks/shared-libs.desc:
+    + [NT] Improve the description for missing ldconfig trigger
+      to cover that debhelper will generally add it
+      automatically.  Most packages will just need a rebuild.
 
   * commands/reporting-lintian-harness.pm:
     + [NT] Re-enable pedantic tags by default.  These were

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


Reply to: