Package: python3-mapscript Version: 8.0.1-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.11.2-1+b1) ... [Errno 2] No such file or directory: '/usr/share/doc/python3-mapscript/examples/__init__.py'error running python rtupdate hook python3-mapscript dpkg: error processing package python3 (--configure): installed python3 package post-installation script subprocess returned error exit status 4 Setting up libgdal32 (3.6.4+dfsg-1) ... dpkg: dependency problems prevent configuration of python3-mapscript: python3-mapscript depends on python3 (<< 3.12); however: Package python3 is not configured yet. In this case it's probably sufficient to exclude the examples from the hook. Cheers, Andreas
python3-mapscript_8.0.1-1.log.gz
Description: application/gzip