Bug#517514: .haddock files wrongly referenced in ghc-pkg database

2009-02-28 Thread Joachim Breitner
Package: ghc6
Version: 6.10.1+dfsg1-13
Severity: important

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hi Kaol,

I found a rather unfortunate issue...

As you can see here:

$ ghc-pkg field base haddock-interfaces
haddock-interfaces: /usr/lib/ghc-6.10.1/haddock/base/base.haddock
haddock-interfaces: /usr/lib/ghc-6.10.1/haddock/base/base.haddock
$ dpkg -L ghc6-doc|fgrep base.haddock
/usr/share/doc/ghc6-doc/libraries/base/base.haddock

the .haddock files in the latest ghc6 package are in the correct
package, but referenced wrongly in the ghc-pkg database. This means that
all newly built -doc packages have no links to entries from other
packages.

And as ghc6-doc’s postinst trigger also looks in the ghc-pkg list, no
packge from base will appear at
file:///usr/share/doc/ghc6-doc/libraries/index.html

This probably needs a fix in ghc6, and then a sourceful upload in every
already uploaded package to get the links in -doc right... :-(

Greetings,
Joachim


- -- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.28-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages ghc6 depends on:
ii  gcc  4:4.3.2-3   The GNU C compiler
ii  libc62.9-4   GNU C Library: Shared libraries
ii  libedit-dev  2.11~20080614-1 BSD editline and history libraries
ii  libedit2 2.11~20080614-1 BSD editline and history libraries
ii  libffi-dev   3.0.7-1 Foreign Function Interface library
ii  libffi5  3.0.7-1 Foreign Function Interface library
ii  libgmp3-dev  2:4.2.4+dfsg-2  Multiprecision arithmetic library 
ii  libgmp3c22:4.2.4+dfsg-2  Multiprecision arithmetic library
ii  libncurses5  5.7+20090221-1  shared libraries for terminal hand
ii  perl [perl5] 5.10.0-19   Larry Wall's Practical Extraction 

ghc6 recommends no packages.

Versions of packages ghc6 suggests:
ii  ghc6-doc 6.10.1+dfsg1-13 Documentation for the Glasgow Hask
ii  ghc6-prof6.10.1+dfsg1-13 Profiling libraries for the Glasgo
pn  haskell-doc  none  (no description available)

- -- no debconf information

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.9 (GNU/Linux)

iEYEARECAAYFAkmpFSwACgkQ9ijrk0dDIGxu1QCeNI0DdgoJXd2oQp6ChwRHt7DG
0iAAn28pCfaTfiO3WEMkpnD4NU+Prmev
=VaFS
-END PGP SIGNATURE-



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#517514: .haddock files wrongly referenced in ghc-pkg database

2009-02-28 Thread Joachim Breitner
Hi,

I spoke with kaol about this on IRC, but for the others and the record:

The problem only appears when ghc6 is upgraded from 6.10.1+dfsg1-11 to
6.10.1+dfsg1-13, because the paths to the .haddock files are not
adjusted in the ghc-pkg registry.

A work around is to purge ghc6 and re-install it. A proper fix will
probably be in  6.10.1+dfsg1-14.

Greetings,
Joachim


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


signature.asc
Description: Dies ist ein digital signierter Nachrichtenteil