[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#910218: libapache2-mod-proxy-uwsgi: copyright file missing after upgrade (policy 12.5)

Package: libapache2-mod-proxy-uwsgi
Version: 2.4.34-1
Severity: serious
User: debian-qa@lists.debian.org
Usertags: piuparts


a test with piuparts revealed that your package misses the copyright
file after an upgrade, which is a violation of Policy 12.5:

After the upgrade /usr/share/doc/$PACKAGE/ is just an empty directory.

This was observed on the following upgrade paths:

  stretch -> buster

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

0m43.3s ERROR: WARN: Inadequate results from running adequate!
  libapache2-mod-proxy-uwsgi: missing-copyright-file /usr/share/doc/libapache2-mod-proxy-uwsgi/copyright

  MISSING COPYRIGHT FILE: /usr/share/doc/libapache2-mod-proxy-uwsgi/copyright
  # ls -lad /usr/share/doc/libapache2-mod-proxy-uwsgi
  drwxr-xr-x 2 root root 40 Aug  2 15:26 /usr/share/doc/libapache2-mod-proxy-uwsgi
  # ls -la /usr/share/doc/libapache2-mod-proxy-uwsgi/
  total 0
  drwxr-xr-x   2 root root   40 Aug  2 15:26 .
  drwxr-xr-x 140 root root 2940 Aug  2 15:26 ..

Additional info may be available here:

Note that dpkg intentionally does not replace directories with symlinks
and vice versa, you need the maintainer scripts to do this.
See in particular the end of point 4 in

It is recommended to use the dpkg-maintscript-helper commands
'dir_to_symlink' and 'symlink_to_dir' (available since dpkg 1.17.14)
to perform the conversion, ideally using d/$PACKAGE.maintscript.
Do not forget to add 'Pre-Depends: ${misc:Pre-Depends}' in d/control.
See dpkg-maintscript-helper(1) and dh_installdeb(1) for details.



Attachment: libapache2-mod-proxy-uwsgi_2.4.34-1.log.gz
Description: application/gzip

Reply to: