[debhelper-devel] Bug#808603: debhelper: dh_installmanpages is broken

Niko Tyni ntyni at debian.org
Mon Dec 21 12:40:58 UTC 2015


Package: debhelper
Version: 9.20151220
Severity: serious

It looks like 
 https://anonscm.debian.org/cgit/debhelper/debhelper.git/commit/?id=1bd369cc52115fd179a46d6f8d9af6e9f126ffa8

broke dh_installmanpages, which has
    @allpackages=getpackages('');

The new code handles a missing argument but not an empty one.

+   my ($type) = @_;
+   $type //= 'both';

This made at least four packages FTBFS, see
 #808592 #808590 #808589 #808588

  dh_installmanpages
  dh_installmanpages: This program is deprecated, switch to dh_installman.
  dh_installmanpages: getpackages: First argument must be one of "arch", "indep" or "both"
  debian/rules:35: recipe for target 'binary-arch' failed

Not sure which side to fix so I'm leaving it to you.  

codesearch.debian.net reports no other hits for getpackages("") or
getpackages('') FWIW.
-- 
Niko Tyni   ntyni at debian.org




More information about the debhelper-devel mailing list