[GHC] #13375: ghc-pkg "cache is out of date" message breaks testsuite

GHC ghc-devs at haskell.org
Thu May 11 15:25:26 UTC 2017


#13375: ghc-pkg "cache is out of date" message breaks testsuite
-------------------------------------+-------------------------------------
        Reporter:  bgamari           |                Owner:  (none)
            Type:  bug               |               Status:  patch
        Priority:  highest           |            Milestone:  8.2.1
       Component:  ghc-pkg           |              Version:  8.0.1
      Resolution:                    |             Keywords:
Operating System:  Unknown/Multiple  |         Architecture:
                                     |  Unknown/Multiple
 Type of failure:  Other             |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:                    |  Differential Rev(s):  Phab:D3569
       Wiki Page:                    |
-------------------------------------+-------------------------------------

Comment (by marinelli):

 Wouldn't it be better to rebuild it? We'll certainly obtain a
 package.cache file that is consistent.

 We could use something like this after that for-loop in ghc.mk:

 {{{
 "$(INSTALLED_GHC_PKG_REAL)" --global-package-db
 "$(INSTALLED_PACKAGE_CONF)" recache
 }}}

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


More information about the ghc-tickets mailing list