Package: debhelper
Version: 9.20120909
Severity: normal

Dear Joey,

"man debhelper" says for compat level 9:

  Executable debhelper config files are run and their output used as the 
configuration.

Nevertheless, this doesn't seem to count for dh_lintian and
debian/<package>.lintian-overrides:

$ ls -l debian/zsh.lintian-overrides
-rwxr-xr-x 1 abe abe 194 Jan 19 13:59 debian/zsh.lintian-overrides*
$ cat debian/zsh.lintian-overrides
#!/bin/sh
# Only one of many files affected -> likely a false positive
echo "zsh: hardening-no-fortify-functions usr/lib/`dpkg-architecture 
-qDEB_BUILD_MULTIARCH`/zsh/5.0.2/zsh/zleparameter.so"
$ debian/zsh.lintian-overrides
zsh: hardening-no-fortify-functions 
usr/lib/x86_64-linux-gnu/zsh/5.0.2/zsh/zleparameter.so
$ acat ../zsh_5.0.2-3_amd64.deb ./usr/share/lintian/overrides/zsh
#!/bin/sh
# Only one of many files affected -> likely a false positive
echo "zsh: hardening-no-fortify-functions usr/lib/`dpkg-architecture 
-qDEB_BUILD_MULTIARCH`/zsh/5.0.2/zsh/zleparameter.so"

I would have expected to have the output of debian/zsh.lintian-overrides
run as script in the package, not the shell script itself.

Or does this not count as "debhelper configuration file" as it's used
1:1 in the package? If so, I'd be happy if

a) this would be more clear in the man pages, and if
b) there would be a possibility to use dynamically generated multi-arch
   paths (as generated with dh compat level 9, too) in lintian.overrides
   with dh_lintian.

-- System Information:
Debian Release: 7.0
  APT prefers testing-updates
  APT policy: (902, 'testing-updates'), (901, 'testing-proposed-updates'), 
(900, 'testing'), (800, 'unstable'), (110, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 3.2.0-4-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages debhelper depends on:
ii  binutils    2.22-7.1
ii  dpkg        1.16.9
ii  dpkg-dev    1.16.9
ii  file        5.11-2
ii  html2text   1.3.2a-15
ii  man-db      2.6.2-1
ii  perl        5.14.2-16
ii  po-debconf  1.0.16+nmu2

debhelper recommends no packages.

Versions of packages debhelper suggests:
ii  dh-make  0.61

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

Reply via email to