[Pkg-haskell-maintainers] Bug#711596: Bug#711596: hoogle: postinst uses /usr/share/doc content (Policy 12.3)

Joachim Breitner nomeata at debian.org
Mon Jun 17 07:08:14 UTC 2013


Am Montag, den 17.06.2013, 02:06 +0100 schrieb Colin Watson:
> I'm not sure that moving the documentation to /usr/lib/ghc-doc/ (where
> the symlinks currently reside; ignoring the /usr/lib/ vs. /usr/share/
> question) and symlinking from /usr/share/doc/ would really be the right
> way to fix this.  People stripping /usr/share/doc/ probably don't want
> documentation and are not all that bothered about a few dangling
> symlinks.

yes, we should fix hoogle just like we fixed the ghc-doc trigger: Just
do nothing if the files from /usr/share/doc are no there.

> Noting the "invalid byte sequence" error visible in this log, there are
> two other ways to make this minimally work such that the postinst
> succeeds.  Making the keyword database exist is enough.  keyword.txt
> contains a single character not in ASCII, namely a zero-width space
> (U+200B) on line 260.  We could remove or replace that character; I'm
> not sure that's sensible.  Or we could run update-hoogle in the C.UTF-8
> locale, which these days is in libc-bin and therefore guaranteed to
> exist.  I'd lean towards that second option.  Anyone else?

There is a third option: Have upstream state that keyword.txt ought to
be always in UTF8-mode and use the appropriate, non-local-dependent file


Joachim "nomeata" Breitner
Debian Developer
  nomeata at debian.org | ICQ# 74513189 | GPG-Keyid: 4743206C
  JID: nomeata at joachim-breitner.de | http://people.debian.org/~nomeata

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part
URL: <http://lists.alioth.debian.org/pipermail/pkg-haskell-maintainers/attachments/20130617/27d026a9/attachment-0001.sig>

More information about the Pkg-haskell-maintainers mailing list