Package: debhelper Version: 9.20120909 Severity: important Tags: patch When run using findutils 4.5.11-1, dh_shlibdeps doesn't report dependencies of executables - because it doesn't operate on them:
$ find /bin -type f -perm +111 -print | wc -l 0 Oops! "-perm /111" does work as expected, see patch below. Feel free to reassign to findutils. I understand their reasoning to deprecate "-perm +<symbolic mode>", but to simply ignore "-perm +<octal mode>" goes too far. I bet that a lot of scripts out there will be bitten by this. Cheers, Roderich --- debhelper-9.20120909-ORIG/dh_shlibdeps 2013-03-23 13:26:45.624949455 +0100 +++ debhelper-9.20120909/dh_shlibdeps 2013-03-23 13:31:53.373960309 +0100 @@ -129,7 +129,7 @@ if (defined($dh{EXCLUDE_FIND}) && $dh{EXCLUDE_FIND} ne '') { $find_options="! \\( $dh{EXCLUDE_FIND} \\)"; } - foreach my $file (split(/\n/,`find $tmp -type f \\( -perm +111 -or -name "*.so*" -or -name "*.cmxs" \\) $find_options -print`)) { + foreach my $file (split(/\n/,`find $tmp -type f \\( -perm /111 -or -name "*.so*" -or -name "*.cmxs" \\) $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)/!; # TODO this is slow, optimize. Ie, file can run once on -- System Information: Debian Release: 7.0 APT prefers raring APT policy: (500, 'raring'), (500, 'unstable'), (1, 'experimental') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 3.9.0-rc3 (SMP w/4 CPU cores) Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages debhelper depends on: ii binutils 2.23.1-1~exp6 ii dpkg 1.16.10 ii dpkg-dev 1.16.10 ii file 5.13-1 ii html2text 1.3.2a-15 ii man-db 2.6.3-3 ii perl 5.16.3-1 ii po-debconf 1.0.16+nmu2 debhelper recommends no packages. Versions of packages debhelper suggests: ii dh-make 0.62 -- no debconf information -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org