[debhelper-devel] [debhelper] 01/03: dh_strip: Fix regression that broke "make_debug"

Niels Thykier nthykier at moszumanska.debian.org
Sat Nov 11 14:09:51 UTC 2017


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

nthykier pushed a commit to branch master
in repository debhelper.

commit 9573c4dfab15ab0d9d1686504a270ad6e0a1a287
Author: Niels Thykier <niels at thykier.net>
Date:   Sat Nov 11 13:54:53 2017 +0000

    dh_strip: Fix regression that broke "make_debug"
    
    Signed-off-by: Niels Thykier <niels at thykier.net>
---
 debian/changelog | 8 ++++++++
 dh_strip         | 2 +-
 2 files changed, 9 insertions(+), 1 deletion(-)

diff --git a/debian/changelog b/debian/changelog
index 102203c..6e91d5c 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,11 @@
+debhelper (10.10.7) UNRELEASED; urgency=medium
+
+  * dh_strip: Fix a regression that caused debug symbols for
+    executables to be discarded instead of included into
+    debug packages.
+
+ -- Niels Thykier <niels at thykier.net>  Sat, 11 Nov 2017 13:47:37 +0000
+
 debhelper (10.10.6) unstable; urgency=medium
 
   [ Axel Beckert ]
diff --git a/dh_strip b/dh_strip
index d7fdc3f..ade28a5 100755
--- a/dh_strip
+++ b/dh_strip
@@ -352,7 +352,7 @@ sub process_packages {
 		}
 
 		foreach (@executables) {
-			my $debug_path = make_debug($_, $tmp, $debugtmp, $use_build_id) if $keep_debug;
+			my $debug_path = make_debug($objcopy, $_, $tmp, $debugtmp, $use_build_id) if $keep_debug;
 			doit($strip, "--remove-section=.comment", "--remove-section=.note", $_);
 			attach_debug($objcopy, $_, $debug_path) if defined $debug_path;
 		}

-- 
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