[GHC] #11023: ghci and ghc-pkg disagree about what's exposed
GHC
ghc-devs at haskell.org
Tue Oct 27 00:57:02 UTC 2015
#11023: ghci and ghc-pkg disagree about what's exposed
-------------------------------------+-------------------------------------
Reporter: dmwit | Owner:
Type: bug | Status: new
Priority: normal | Milestone:
Component: Package | Version: 7.10.2
system |
Keywords: | Operating System: Unknown/Multiple
Architecture: | Type of failure: None/Unknown
Unknown/Multiple |
Test Case: | Blocked By:
Blocking: | Related Tickets:
Differential Rev(s): | Wiki Page:
-------------------------------------+-------------------------------------
I have installed vector-0.10.12.3 and vector-0.11.0.0. At some point, I
had hidden both from the package database; however, I later used ghc-pkg
expose to mark one as visible again. Now I seem to be in a strange state
where ghci and ghc-pkg disagree about what is hidden:
{{{
% ghci-7.10.2
GHCi, version 7.10.2: http://www.haskell.org/ghc/ :? for help
Prelude> :m +Data.Vector.Unboxed
<no location info>:
Could not find module ‘Data.Vector.Unboxed’
It is a member of the hidden package
‘vector-0.11.0.0 at vecto_3jMaUrldidp1bqsrn0qsS2’.
It is a member of the hidden package
‘vector-0.10.12.3 at vecto_1COyUuV1LrA1IjYnWfJnbs’.
Prelude>
Leaving GHCi.
% ghc-pkg-7.10.2 list vector | cat
/usr/local/lib/ghc-7.10.2/package.conf.d:
(no packages)
/home/dmwit/.ghc/x86_64-linux-7.10.2/package.conf.d:
vector-0.10.12.3
(vector-0.11.0.0)
% ghc-pkg-7.10.2 describe vector-0.10.12.3 | grep 'key:\|exposed:'
key: vecto_1COyUuV1LrA1IjYnWfJnbs
exposed: True
}}}
I have tried reproducing this with other packages in a handful of ways and
failed; so I can't give instructions for reproducing. But I am happy to
perform any diagnostics you can think of.
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/11023>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list