Package: libuim-dev
Version: 1:1.8.6+gh20161003.0.d63dadd-7
Severity: serious
User: debian...@lists.debian.org
Usertags: piuparts

Hi,

a test with piuparts revealed that your package misses the copyright
file after an upgrade, which is a violation of Policy 12.5:
https://www.debian.org/doc/debian-policy/ch-docs.html#s-copyrightfile

After the upgrade /usr/share/doc/$PACKAGE/ is just an dangling symlink.

This was observed on the following upgrade paths:

  buster -> sid

>From the attached log (scroll to the bottom...):

0m22.1s ERROR: WARN: Inadequate results from running adequate!
  libuim-dev:amd64: broken-symlink /usr/share/doc/libuim-dev -> uim-common
  libuim-dev:amd64: missing-copyright-file /usr/share/doc/libuim-dev/copyright

  MISSING COPYRIGHT FILE: /usr/share/doc/libuim-dev/copyright
  # ls -lad /usr/share/doc/libuim-dev
  lrwxrwxrwx 1 root root 10 Aug 16 10:10 /usr/share/doc/libuim-dev -> uim-common
  # ls -la /usr/share/doc/libuim-dev/
  ls: cannot access '/usr/share/doc/libuim-dev/': No such file or directory


In a fresh sid installation, the symlink is different:

  /usr/share/doc/libuim-dev -> libuim8

Looking at the maintainer scripts, there is only a dpkg-maintscript-helper call
in the postinst, but missing from the other scripts.

Please use debian/$PACKAGE.maintscript to generate these commands
in all maintainer scripts where needed, see dh_installdeb(1) for details.
Not sure if this would be sufficient to fix this bug.


cheers,

Andreas

Attachment: libuim-dev_1:1.8.6+gh20161003.0.d63dadd-7+b1.log.gz
Description: application/gzip

Reply via email to