Haddock problems with Haskell-Platform2012.2.0.0

Hi all. I installed ghc-7.4.1 and haskell-platform-2.12.2.0.0 on debian linux. I'm getting lots of complaints from 'ghc-pkg check', of the following form: ---- Warning: haddock-interfaces: /usr/pkg/share/doc/haskell- platform-2012.2.0.0/html/haskell-platform.haddock doesn't exist or isn't a file Warning: haddock-html: /usr/pkg/share/doc/haskell-platform-2012.2.0.0/ html doesn't exist or isn't a directory Warning: haddock-interfaces: /usr/pkg/share/doc/zlib-0.5.3.3/html/ zlib.haddock doesn't exist or isn't a file Warning: haddock-html: /usr/pkg/share/doc/zlib-0.5.3.3/html doesn't exist or isn't a directory ... ---- Any advice? -- ---- いとう かつとし cutsea110@gmail.com

ghc-pkg is warning about dangling references to missing documentation. Some of the packages on my (JustHub) distro do this: the Haskell Platform dummy package (as you report), and GLUT rather than zlib . AFAIK it is generally harmless (apart from the confusion). I would like to get rid of them soon on my distro (and no doubt the Debian people would like their packages to be warning free too). Chris -----Original Message----- From: glasgow-haskell-users-bounces@haskell.org [mailto:glasgow-haskell-users-bounces@haskell.org] On Behalf Of Katsutoshi Itoh Sent: 07 June 2012 23:26 To: glasgow-haskell-users@haskell.org Subject: Haddock problems with Haskell-Platform2012.2.0.0 Hi all. I installed ghc-7.4.1 and haskell-platform-2.12.2.0.0 on debian linux. I'm getting lots of complaints from 'ghc-pkg check', of the following form: ---- Warning: haddock-interfaces: /usr/pkg/share/doc/haskell- platform-2012.2.0.0/html/haskell-platform.haddock doesn't exist or isn't a file Warning: haddock-html: /usr/pkg/share/doc/haskell-platform-2012.2.0.0/ html doesn't exist or isn't a directory Warning: haddock-interfaces: /usr/pkg/share/doc/zlib-0.5.3.3/html/ zlib.haddock doesn't exist or isn't a file Warning: haddock-html: /usr/pkg/share/doc/zlib-0.5.3.3/html doesn't exist or isn't a directory ... ---- Any advice? -- ---- いとう かつとし cutsea110@gmail.com _______________________________________________ Glasgow-haskell-users mailing list Glasgow-haskell-users@haskell.org http://www.haskell.org/mailman/listinfo/glasgow-haskell-users

Thanks for your reply, Chris.
Do you know what the cause?
ghc? haskell-platform? debian? or my environment?
2012/6/8 Chris Dornan
ghc-pkg is warning about dangling references to missing documentation. Some of the packages on my (JustHub) distro do this: the Haskell Platform dummy package (as you report), and GLUT rather than zlib . AFAIK it is generally harmless (apart from the confusion).
I would like to get rid of them soon on my distro (and no doubt the Debian people would like their packages to be warning free too).
Chris
-----Original Message----- From: glasgow-haskell-users-bounces@haskell.org [mailto:glasgow-haskell-users-bounces@haskell.org] On Behalf Of Katsutoshi Itoh Sent: 07 June 2012 23:26 To: glasgow-haskell-users@haskell.org Subject: Haddock problems with Haskell-Platform2012.2.0.0
Hi all.
I installed ghc-7.4.1 and haskell-platform-2.12.2.0.0 on debian linux. I'm getting lots of complaints from 'ghc-pkg check', of the following form:
---- Warning: haddock-interfaces: /usr/pkg/share/doc/haskell- platform-2012.2.0.0/html/haskell-platform.haddock doesn't exist or isn't a file Warning: haddock-html: /usr/pkg/share/doc/haskell-platform-2012.2.0.0/ html doesn't exist or isn't a directory Warning: haddock-interfaces: /usr/pkg/share/doc/zlib-0.5.3.3/html/ zlib.haddock doesn't exist or isn't a file Warning: haddock-html: /usr/pkg/share/doc/zlib-0.5.3.3/html doesn't exist or isn't a directory ... ----
Any advice?
-- ---- いとう かつとし cutsea110@gmail.com
_______________________________________________ Glasgow-haskell-users mailing list Glasgow-haskell-users@haskell.org http://www.haskell.org/mailman/listinfo/glasgow-haskell-users
-- ---- いとう かつとし cutsea110@gmail.com

Hi, Am Freitag, den 08.06.2012, 08:55 +0100 schrieb Chris Dornan:
I would like to get rid of them soon on my distro (and no doubt the Debian people would like their packages to be warning free too).
actually in Debian it is quite common to install the -dev package, but not the -doc packages. Hence we have completely disabled the warning in Debian: http://patch-tracker.debian.org/patch/series/view/ghc/7.4.1-3/no-missing-had... Greetings, Joachim -- Joachim "nomeata" Breitner Debian Developer nomeata@debian.org | ICQ# 74513189 | GPG-Keyid: 4743206C JID: nomeata@joachim-breitner.de | http://people.debian.org/~nomeata

Thanks for your information.
I was able to understand I've seen the ticket.
The `ghc-pkg check' has checked the existing of haddock-interfaces and
haddock-html.
When we just install haskell-platform from tarball, these
documentations are not installed.
On the other hand, `ghc-pkg check' complains this situation.
The complains are just warning, but I feel these are inconsistent behavior.
But this has been fixed in debian, the haskell-platform is bad. isn't it?
2012/6/11 Joachim Breitner
Hi,
Am Freitag, den 08.06.2012, 08:55 +0100 schrieb Chris Dornan:
I would like to get rid of them soon on my distro (and no doubt the Debian people would like their packages to be warning free too).
actually in Debian it is quite common to install the -dev package, but not the -doc packages. Hence we have completely disabled the warning in Debian: http://patch-tracker.debian.org/patch/series/view/ghc/7.4.1-3/no-missing-had...
Greetings, Joachim
-- Joachim "nomeata" Breitner Debian Developer nomeata@debian.org | ICQ# 74513189 | GPG-Keyid: 4743206C JID: nomeata@joachim-breitner.de | http://people.debian.org/~nomeata
_______________________________________________ Glasgow-haskell-users mailing list Glasgow-haskell-users@haskell.org http://www.haskell.org/mailman/listinfo/glasgow-haskell-users
-- ---- いとう かつとし cutsea110@gmail.com
participants (3)
-
Chris Dornan
-
Joachim Breitner
-
Katsutoshi Itoh