Ticket #744 (closed bug: fixed)

Opened 7 years ago

Last modified 4 years ago

ghc-pkg lies about location of haddock-interfaces and haddock-html

Reported by: avatar@… Owned by: panne
Priority: normal Milestone: 6.6.1
Component: Documentation Version: 6.4.1
Keywords: Cc:
Operating System: Linux Architecture: Unknown/Multiple
Type of failure: Difficulty: Easy (less than 1 hour)
Test Case: N/A Blocked By:
Blocking: Related Tickets:

Description

I installed ghc from ghc-6.4.1-1.i386.rpm. This places the haddock interfaces and haddock-documenation into /usr/share/doc/ghc-6.4.1/libraries. However

ghc-pkg field base haddock-interfaces /usr/share/ghc-6.4.1/html/libraries/base/base.haddock

which is wrong. (had to modify package.conf by hand)

Cheers,

Misha

Additional info:

SuSE 10 > uname -a Linux avatar 2.6.13-15.8-default #1 Tue Feb 7 11:07:24 UTC 2006 i686 i686 i386 GNU/Linux > ghc -v

Glasgow Haskell Compiler, Version 6.4.1, for Haskell 98, compiled by GHC version 6.4.1 Using package config file: /usr/lib/ghc-6.4.1/package.conf Using package config file: /home/avatar/.ghc/i386-linux-6.4.1/package.conf Hsc static flags: -static

Change History

Changed 7 years ago by simonmar

  • milestone set to 6.4.3

Changed 7 years ago by dcoutts@…

The current Gentoo ghc ebuilds work around this bug like so:

make all datadir="/usr/share/doc/${PF}" || die "make failed"
# the explicit datadir is required to make the haddock entries
# in the package.conf file point to the right place ...

See:  http://haskell.org/~gentoo/gentoo-haskell/portage/dev-lang/ghc/

Changed 7 years ago by igloo

  • testcase set to N/A

Changed 7 years ago by simonmar

  • milestone changed from 6.4.3 to 6.6.1

Changed 6 years ago by panne

  • owner set to panne
  • status changed from new to assigned
  • architecture changed from x86 to Multiple

Changed 6 years ago by panne

  • status changed from assigned to closed
  • resolution set to fixed

Changed 5 years ago by simonmar

  • architecture changed from Multiple to Unknown/Multiple

Changed 4 years ago by simonmar

  • difficulty changed from Easy (1 hr) to Easy (less than 1 hour)
Note: See TracTickets for help on using tickets.