#3168: Unhelpful error message about "hidden" packages
---------------------------------+------------------------------------------
Reporter: simonpj | Owner:
Type: bug | Status: closed
Priority: normal | Milestone: 6.12.1
Component: Compiler | Version: 6.10.2
Severity: normal | Resolution: fixed
Keywords: | Difficulty: Easy (1 hr)
Testcase: | Os: Unknown/Multiple
Architecture: Unknown/Multiple |
---------------------------------+------------------------------------------
Changes (by igloo):
* status: new => closed
* resolution: => fixed
Comment:
Now fixed:
{{{
$ ./Setup build
Preprocessing library pretty-1.0.1.0...
Building pretty-1.0.1.0...
Text/PrettyPrint/HughesPJ.hs:217:7:
Could not find module `System.Directory':
It is a member of the hidden package `directory-1.0.0.2'.
Perhaps you need to add `directory' to the build-depends in your
.cabal file.
Use -v to see a list of the files searched for.
}}}
You only get this extra cabal hint if `-fbuilding-cabal-package` is
passed, and Cabal HEAD now passes this to GHC.
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/3168#comment:3>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs