Package: ghc-doc Version: 7.6.3-2 Severity: serious User: [email protected] 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." http://www.debian.org/doc/debian-policy/ch-docs.html#s12.3 These files must be moved to /usr/share/$PACKAGE and may be symlinked from /usr/share/doc/$PACKAGE. This piuparts tests prevents the installation of (most) files into /usr/share/doc with 'dpkg --path-exclude=...'. >From the attached log (scroll to the bottom...): Selecting previously unselected package ghc-doc. (Reading database ... 11179 files and directories currently installed.) Unpacking ghc-doc (from .../ghc-doc_7.6.3-2_all.deb) ... Setting up ghc-doc (7.6.3-2) ... haddock: internal error: /usr/share/doc/ghc-doc/html/libraries/prologue.txt: openFile: does not exist (No such file or directory) dpkg: error processing ghc-doc (--configure): subprocess installed post-installation script returned error exit status 1 Errors were encountered while processing: ghc-doc Cheers, Andreas
ghc-doc_7.6.3-2.log.gz
Description: GNU Zip compressed data

