[debhelper-devel] [debhelper] 01/01: dh_shlibdeps: Avoid calling file(1) on debug symbols

Niels Thykier nthykier at moszumanska.debian.org
Sat Jun 24 11:21:44 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 609609f43f5f42e3e2ff24a3a84f220e7f5bc44a
Author: Niels Thykier <niels at thykier.net>
Date:   Sat Jun 24 11:20:34 2017 +0000

    dh_shlibdeps: Avoid calling file(1) on debug symbols
    
    Signed-off-by: Niels Thykier <niels at thykier.net>
---
 debian/changelog | 1 +
 dh_shlibdeps     | 2 +-
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/debian/changelog b/debian/changelog
index 96f26a4..477443b 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -28,6 +28,7 @@ debhelper (10.5) UNRELEASED; urgency=medium
     permits it.
   * dh_installchangelogs: Ditto.
   * dh_compress: Ditto
+  * dh_shlibdeps: Avoid calling file(1) on debug symbols.
 
   [ Iain Lane ]
   * Dh_Lib: Re-add warning + exit 0 for the -i/-a shortcut that was
diff --git a/dh_shlibdeps b/dh_shlibdeps
index d5dd50e..65c1ebe 100755
--- a/dh_shlibdeps
+++ b/dh_shlibdeps
@@ -117,7 +117,7 @@ foreach my $package (@{$dh{DOPACKAGES}}) {
 	}
 	foreach my $file (split(/\n/,`find $tmp -type f \\( -perm /111 -or -name "*.so*" -or -name "*.cmxs" -or -name "*.node" \\) $find_options -print`)) {
 		# Prune directories that contain separated debug symbols.
-		next if $file=~m!^\Q$tmp\E/usr/lib/debug/(lib|lib64|usr|bin|sbin|opt|dev|emul)/!;
+		next if $file=~m!^\Q$tmp\E/usr/lib/debug/!;
 		# TODO this is slow, optimize. Ie, file can run once on
 		# multiple files..
 		$ff=`file "$file"`;

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