[GHC] #11023: ghci and ghc-pkg disagree about what's exposed

GHC ghc-devs at haskell.org
Wed Oct 28 18:47:06 UTC 2015


#11023: ghci and ghc-pkg disagree about what's exposed
-------------------------------------+-------------------------------------
        Reporter:  dmwit             |                Owner:
            Type:  bug               |               Status:  new
        Priority:  normal            |            Milestone:
       Component:  Package system    |              Version:  7.10.2
      Resolution:                    |             Keywords:
Operating System:  Unknown/Multiple  |         Architecture:
                                     |  Unknown/Multiple
 Type of failure:  None/Unknown      |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:                    |  Differential Rev(s):
       Wiki Page:                    |
-------------------------------------+-------------------------------------

Comment (by dmwit):

 According to ghc-pkg, the only two packages that are hidden are
 vector-0.11.0.0 (in the user database) and ghc-7.10.2 (in the global
 database). Neither of those appear in the dependency tree of
 vector-0.10.12.3, which is:

 {{{
 vector-0.10.12.3
 ├── base-4.8.1.0
 │   ├── ghc-prim-0.4.0.0
 │   │   └── builtin_rts
 │   └── integer-gmp-1.0.0.0
 │       └── ghc-prim-0.4.0.0
 │           └── builtin_rts
 ├── deepseq-1.4.1.1
 │   ├── array-0.5.1.0
 │   │   └── base-4.8.1.0
 │   │       ├── ghc-prim-0.4.0.0
 │   │       │   └── builtin_rts
 │   │       └── integer-gmp-1.0.0.0
 │   │           └── ghc-prim-0.4.0.0
 │   │               └── builtin_rts
 │   └── base-4.8.1.0
 │       ├── ghc-prim-0.4.0.0
 │       │   └── builtin_rts
 │       └── integer-gmp-1.0.0.0
 │           └── ghc-prim-0.4.0.0
 │               └── builtin_rts
 ├── ghc-prim-0.4.0.0
 │   └── builtin_rts
 └── primitive-0.6
     ├── base-4.8.1.0
     │   ├── ghc-prim-0.4.0.0
     │   │   └── builtin_rts
     │   └── integer-gmp-1.0.0.0
     │       └── ghc-prim-0.4.0.0
     │           └── builtin_rts
     ├── ghc-prim-0.4.0.0
     │   └── builtin_rts
     └── transformers-0.4.2.0
         └── base-4.8.1.0
             ├── ghc-prim-0.4.0.0
             │   └── builtin_rts
             └── integer-gmp-1.0.0.0
                 └── ghc-prim-0.4.0.0
                     └── builtin_rts
 }}}

 I also ran ghc-pkg check just to make sure no packages were broken; the
 only report is an unrelated complaint about haddocks for the nats package.

--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/11023#comment:2>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler


More information about the ghc-tickets mailing list