#2421: HSQL build reports exposed module as hidden, and fails
----------------------------------+-----------------------------------------
Reporter: volker-wysk | Owner:
Type: bug | Status: new
Priority: normal | Component: None
Version: 6.8.2 | Severity: normal
Keywords: modules, exposure | Testcase:
Architecture: x86 | Os: Linux
----------------------------------+-----------------------------------------
Hello. I'm trying to install hsql-1.7, and it needs some library "old-
time", which appears to be hidden. However, when exposing this library.
the compiler and the HSQL build script disagree on whether old-time is
exposed.
Configure works:
/tmp/hsql-1.7 $ runghc Setup.lhs configure
Configuring hsql-1.7...
Warning: No license-file field.
Exposing old-time succeeds:
/tmp/hsql-1.7 $ sudo bash
/tmp/hsql-1.7 % ghc-pkg expose old-time
Saving old package config file... done.
Writing new package config file... done.
/tmp/hsql-1.7 % ghc-pkg describe old-time | egrep exposed
exposed: True
exposed-modules: System.Time
But the build process somehow gets the idea that old-time is hidden:
/tmp/hsql-1.7 % runghc Setup.lhs build
Preprocessing library hsql-1.7...
Building hsql-1.7...
Database/HSQL.hsc:66:7:
Could not find module `System.Time':
it is a member of package old-time-1.0.0.0, which is hidden
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/2421>
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