Package: python3-rally-openstack
Version: 2.0.0-1
Severity: serious
User: debian...@lists.debian.org
Usertags: piuparts

Hi,

a test with piuparts revealed that your package uses files from
/usr/share/doc in its maintainer scripts which is a violation of
Policy 12.3: "Packages must not require the existence of any files in
/usr/share/doc/ in order to function."
https://www.debian.org/doc/debian-policy/ch-docs.html#additional-documentation

These files must be moved to /usr/share/$PACKAGE and may be symlinked
from /usr/share/doc/$PACKAGE.

This piuparts test prevents the installation of (most) files into
/usr/share/doc with 'dpkg --path-exclude=...'.

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

  Setting up python3 (3.9.1-1) ...
  [Errno 2] No such file or directory: 
'/usr/share/doc/python3-rally-openstack/rally-jobs/plugins/__init__.py'
  [Errno 2] No such file or directory: 
'/usr/share/doc/python3-rally-openstack/rally-jobs/plugins/fake_plugin.py'
  [Errno 2] No such file or directory: 
'/usr/share/doc/python3-rally-openstack/rally-jobs/plugins/rally_profile.py'
  [Errno 2] No such file or directory: 
'/usr/share/doc/python3-rally-openstack/rally-jobs/plugins/test_relative_import/__init__.py'
  [Errno 2] No such file or directory: 
'/usr/share/doc/python3-rally-openstack/rally-jobs/plugins/test_relative_import/zzz.py'
  error running python rtupdate hook python3-rally-openstack
  dpkg: error processing package python3 (--configure):
   installed python3 package post-installation script subprocess returned error 
exit status 4
  dpkg: dependency problems prevent configuration of python3-debtcollector:
   python3-debtcollector depends on python3:any; however:
    Package python3 is not configured yet.
[...]

Cheers,

Andreas

Attachment: python3-rally-openstack_2.0.0-1.log.gz
Description: application/gzip

Reply via email to