[debhelper-devel] [debhelper] 01/01: dh_makeshlibs: Call dpkg-gensymbols on all libs even on error

Niels Thykier nthykier at moszumanska.debian.org
Mon Aug 10 11:10:57 UTC 2015


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

nthykier pushed a commit to branch master
in repository debhelper.

commit fee52fa46f1e9822c42f3b2c02a571d24063fe5e
Author: Niels Thykier <niels at thykier.net>
Date:   Mon Aug 10 13:10:48 2015 +0200

    dh_makeshlibs: Call dpkg-gensymbols on all libs even on error
    
    Signed-off-by: Niels Thykier <niels at thykier.net>
---
 debian/changelog |  4 ++++
 dh_makeshlibs    | 13 +++++++++----
 2 files changed, 13 insertions(+), 4 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 44103df..c40efa8 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -32,6 +32,10 @@ debhelper (9.20150629) UNRELEASED; urgency=medium
   * d/control: Bump dependency on dpkg-dev to 1.18.2~ for
     ddebs.  Build-depends not bumped since debhelper itself
     does not produce any ddebs.
+  * dh_makeshlibs: Continue generating reports from
+    dpkg-gensymbols after the first error.  This helps
+    packages with multiple libraries to spot all the symbol
+    issues in one build.
 
  -- Niels Thykier <niels at thykier.net>  Sun, 28 Jun 2015 15:08:19 +0200
 
diff --git a/dh_makeshlibs b/dh_makeshlibs
index d14da55..079ac12 100755
--- a/dh_makeshlibs
+++ b/dh_makeshlibs
@@ -264,10 +264,15 @@ foreach my $package (@{$dh{DOPACKAGES}}) {
 		# own search for symbols files, since that search
 		# is not 100% compatible with debhelper. (For example,
 		# this supports --ignore being used.)
-		$ok = $ok && doit_noerror("dpkg-gensymbols",
-			"-p$package", "-I$symbols", "-P$tmp",
-			@liblist,
-			@{$dh{U_PARAMS}});
+		$ok = doit_noerror(
+				"dpkg-gensymbols",
+				"-p$package",
+				"-I$symbols",
+				"-P$tmp",
+				@liblist,
+				@{$dh{U_PARAMS}}
+			) && $ok;
+
 		if (-f "$tmp/DEBIAN/symbols" and -s _ == 0) {
 			doit("rm", "-f", "$tmp/DEBIAN/symbols");
 		}

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




More information about the debhelper-devel mailing list