Package: libtsm-dev
Version: 4.3.0-1
X-Debbugs-CC: Sven Joachim <[email protected]>, Boyuan Yang <[email protected]>
Recently I ran "dpkg --verify" on my system, mainly to look for modified
conffiles. Surprisingly it reported a modified file
/usr/share/doc/libtsm-dev/changelog.Debian.gz (see also the debsums
error at the end of this report).
It turns out that /usr/share/doc/libtsm-dev is a symlink to libtsm4 on
my system but a directory in the package:
,----
| $ LANG=C ls -ld /usr/share/doc/libtsm*
| lrwxrwxrwx 1 root root 7 Apr 29 2022 /usr/share/doc/libtsm-dev -> libtsm4
| drwxr-xr-x 2 root root 4096 Apr 14 08:42 /usr/share/doc/libtsm4
| $ dpkg -L libtsm-dev | grep /usr/share/doc
| /usr/share/doc
| /usr/share/doc/libtsm-dev
| /usr/share/doc/libtsm-dev/changelog.Debian.gz
| /usr/share/doc/libtsm-dev/copyright
`----
In versions prior to 4.3.0-1, /usr/share/doc/libtsm-dev was a symlink to
libtsm4, but the override for dh_installdocs in debian/rules which made
this possible was inadvertently removed in commit 4d64a23de59d ("d/*:
Switch build system to meson").
To fix that problem, my proposal would be to reinstate the
dh_installdocs override in debian/rules from version 4.1.0-1 and
earlier, and bump the version in libtsm-dev.maintscript to 4.5.0 or
similar, so that on systems where /usr/share/doc/libtsm-dev is currently
a directory it gets converted back to a symlink (this assumes that
version 4.5.0-0.1 which is in git will be the next one that is
uploaded).
-- System Information:
Debian Release: forky/sid
APT prefers unstable
APT policy: (500, 'unstable'), (101, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Versions of packages libtsm-dev depends on:
ii libtsm4 4.4.3-0.1
libtsm-dev recommends no packages.
libtsm-dev suggests no packages.
-- no debconf information
-- debsums errors found:
debsums: changed file /usr/share/doc/libtsm-dev/changelog.Debian.gz (from
libtsm-dev:amd64 package)