[GHC] #859: Highly misleading missing-package error message
GHC
trac at galois.com
Thu Aug 10 05:16:27 EDT 2006
#859: Highly misleading missing-package error message
-------------------------+--------------------------------------------------
Reporter: simonpj | Owner:
Type: bug | Status: new
Priority: normal | Milestone:
Component: Compiler | Version: 6.4.2
Severity: normal | Keywords:
Os: Unknown | Difficulty: Unknown
Architecture: Unknown |
-------------------------+--------------------------------------------------
GHC reports
{{{
ghc.exe: unknown package: ghc-6.5
}}}
But it's there all right:
{{{
sh-2.04$ ../utils/ghc-pkg/ghc-pkg-inplace list
c:/darcs/fc2/driver/package.conf.inplace:
Cabal-1.1.4, Win32-1.0, base-1.0, (ghc-6.5), haskell98-1.0,
rts-1.0, template-haskell-1.0
}}}
The real problem is revealed by using -v
{{{
...
package ghc-6.5 will be ignored due to missing dependencies:
Win32
...
ghc.exe: unknown package: ghc-6.5
}}}
So the culprit is that Win32 isn't there, not that ghc-6.5 isn't there.
The error message is jolly misleading.
There's nothing ghc/win32 specific about this. It's a bug in the package
machinery.
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/859>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the Glasgow-haskell-bugs
mailing list