Package: debhelper
Version: 12.7
Followup-For: Bug #943376

'dh_installman --verbose' shows the problem is in the handling of the
filename

 man-recode --to-code UTF-8 --suffix .dh-new 
debian/python3-dijitso/usr/share/man/man1/dijitso.1.gz

generates dijitso.1.dh-new (uncompressed) from dijitso.1.gz.

 rm -f debian/python3-dijitso/usr/share/man/man1/dijitso.1.gz

removes the original manpage.

 mv debian/python3-dijitso/usr/share/man/man1/dijitso.1.gz.dh-new 
debian/python3-dijitso/usr/share/man/man1/dijitso.1

Two problems here

1) assumes the converted file has the same name (with compression
suffix .gz) as the original, even though the dh-new file is
uncompressed.

2) Renames a file indicated by filename as compressed to a file indicated as
uncompressed. Although this is only a problem because of 1), since the
dh-new file is actually uncompressed.


Looks like the filename used in the mv step should have the
compression suffix removed.



-- System Information:
Debian Release: bullseye/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 5.3.0-1-amd64 (SMP w/4 CPU cores)
Kernel taint flags: TAINT_WARN, TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_AU:en (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages debhelper depends on:
ii  autotools-dev            20180224.1
ii  dh-autoreconf            19
ii  dh-strip-nondeterminism  1.6.1-1
ii  dpkg                     1.19.7
ii  dpkg-dev                 1.19.7
ii  dwz                      0.13-1
ii  file                     1:5.37-6
ii  libdebhelper-perl        12.7
ii  libdpkg-perl             1.19.7
ii  man-db                   2.9.0-1
ii  perl                     5.30.0-8
ii  po-debconf               1.0.21

debhelper recommends no packages.

Versions of packages debhelper suggests:
ii  dh-make  2.201902

-- no debconf information

Reply via email to