<div dir="ltr">On Sat, 23 Nov 2019 04:18:43 +0100 Andreas Beckmann <<a href="mailto:anbe@debian.org">anbe@debian.org</a>> wrote:<br>> Package: libpetsc3.11-dev-examples<br>> Version: 3.11.4+dfsg1-3<br>> Severity: serious<br>> User: <a href="mailto:debian-qa@lists.debian.org">debian-qa@lists.debian.org</a><br>> Usertags: piuparts<br>> <br>> Hi,<br>> <br>> a test with piuparts revealed that your package uses files from<br>> /usr/share/doc in its maintainer scripts which is a violation of<br>> Policy 12.3: "Packages must not require the existence of any files in<br>> /usr/share/doc/ in order to function."<br>> <a href="https://www.debian.org/doc/debian-policy/ch-docs.html#additional-documentation">https://www.debian.org/doc/debian-policy/ch-docs.html#additional-documentation</a><br>> <br>> These files must be moved to /usr/share/$PACKAGE and may be symlinked<br>> from /usr/share/doc/$PACKAGE.<br>> <br>> This piuparts test prevents the installation of (most) files into<br>> /usr/share/doc with 'dpkg --path-exclude=...'.<br>> <br>> From the attached log (scroll to the bottom...):<br>> <br>>   Setting up python3 (3.7.5-1) ...<br>>   [Errno 2] No such file or directory: '/usr/share/doc/libpetsc3.11-dev-examples/examples/config/cmakegen.py'<br>>   [Errno 2] No such file or directory: '/usr/share/doc/libpetsc3.11-dev-examples/examples/config/example_template.py'<br>>   [Errno 2] No such file or directory: '/usr/share/doc/libpetsc3.11-dev-examples/examples/config/gmakegen.py'<br>>   [Errno 2] No such file or directory: '/usr/share/doc/libpetsc3.11-dev-examples/examples/config/gmakegentest.py'<br>>   [Errno 2] No such file or directory: '/usr/share/doc/libpetsc3.11-dev-examples/examples/config/report_tests.py'<br>>   [Errno 2] No such file or directory: '/usr/share/doc/libpetsc3.11-dev-examples/examples/config/testparse.py'<br>>   [Errno 2] No such file or directory: '/usr/share/doc/libpetsc3.11-dev-examples/examples/src/ksp/ksp/examples/tutorials/ex100.py'<br>>   [Errno 2] No such file or directory: '/usr/share/doc/libpetsc3.11-dev-examples/examples/src/ksp/ksp/examples/tutorials/example100.py'<br>>   [Errno 2] No such file or directory: '/usr/share/doc/libpetsc3.11-dev-examples/examples/src/ts/examples/tutorials/ex8.py'<br>>   [Errno 2] No such file or directory: '/usr/share/doc/libpetsc3.11-dev-examples/examples/src/ts/examples/tutorials/extchem.py'<br>>   error running python rtupdate hook libpetsc3.11-dev-examples<br>>   dpkg: error processing package python3 (--configure):<br>>    installed python3 package post-installation script subprocess returned error exit status 4<br>>   dpkg: dependency problems prevent configuration of libpetsc3.11-dev-examples:<br>>    libpetsc3.11-dev-examples depends on python3:any; however:<br>>     Package python3 is not configured yet.<br>>   <br>>   dpkg: error processing package libpetsc3.11-dev-examples (--configure):<br>>    dependency problems - leaving unconfigured<br>>   Processing triggers for libc-bin (2.29-3) ...<br>>   Errors were encountered while processing:<br>>    python3<br>>    libpetsc3.11-dev-examples<br>> <br><br><div>With this fix, there is no more issue with piuparts.<br>I have checked that the package pestc 3.11 can be installed on Ubuntu Eoan without problem<br><br>Hope it helps</div><div>Best<br>C</div></div>