Bug#945339: libslepc3.11-dev-examples: postinst uses /usr/share/doc content (Policy 12.3): /usr/share/doc/libslepc3.11-dev-examples/examples/config/cmakegen.py
Andreas Beckmann
anbe at debian.org
Sat Nov 23 03:24:03 GMT 2019
Package: libslepc3.11-dev-examples
Version: 3.11.2+dfsg1-1
Severity: serious
User: debian-qa at 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.7.5-1) ...
[Errno 2] No such file or directory: '/usr/share/doc/libslepc3.11-dev-examples/examples/config/cmakegen.py'
error running python rtupdate hook libslepc3.11-dev-examples
dpkg: error processing package python3 (--configure):
installed python3 package post-installation script subprocess returned error exit status 4
dpkg: dependency problems prevent configuration of libslepc3.11-dev-examples:
libslepc3.11-dev-examples depends on python3:any; however:
Package python3 is not configured yet.
dpkg: error processing package libslepc3.11-dev-examples (--configure):
dependency problems - leaving unconfigured
Processing triggers for libc-bin (2.29-3) ...
Errors were encountered while processing:
python3
libslepc3.11-dev-examples
Cheers,
Andreas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: libslepc3.11-dev-examples_3.11.2+dfsg1-1.log.gz
Type: application/gzip
Size: 8034 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/debian-science-maintainers/attachments/20191123/db336703/attachment.gz>
More information about the debian-science-maintainers
mailing list