Package: pyqt6-examples
Version: 6.6.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.

Or in this case, probably just exclude the examples from the rtupdate
hook.

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.11.4-5+b1) ...
  [Errno 2] No such file or directory: 
'/usr/share/doc/pyqt6-examples/examples/designer/calculatorform/calculatorform.py'error
 running python rtupdate hook pyqt6-examples
  dpkg: error processing package python3 (--configure):
   installed python3 package post-installation script subprocess returned error 
exit status 4
 

Cheers,

Andreas

Attachment: pyqt6-examples_6.6.0-1.log.gz
Description: application/gzip

Reply via email to