[GHC] #14558: Unable to parse integer-gmp's Cabal file

GHC ghc-devs at haskell.org
Fri Dec 8 14:09:09 UTC 2017


#14558: Unable to parse integer-gmp's Cabal file
-------------------------------------+-------------------------------------
        Reporter:  taylorfausak      |                Owner:  hvr
            Type:  task              |               Status:  new
        Priority:  normal            |            Milestone:
       Component:  Core Libraries    |              Version:  8.2.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 mgsloan):

 @simonpj The versions of the library in GHC and the version in Hackage are
 not currently consistent.  If I download ghc-8.2.1 from
 https://www.haskell.org/ghc/download_ghc_8_2_1.html and unpack it, the
 cabal file at `libraries/integer-gmp/integer-gmp.cabal` has `build-
 depends: ghc-prim`.  However, the cabal file on hackage has `build-
 depends: ghc-prim ^>= 0.5.1.0`.

 It seems quite illogical that the versions of the packages would match,
 but their metadata would be different.  It also is extremely puzzling why
 a new and experimental Cabal syntax feature, which is essentially syntax
 sugar, is being used in a core package.  In the general case, usage of
 this operator will break builds for anyone using older versions of build
 tools, whether it is stack or cabal.

 So, I would not say that the discrepancy has been resolved.

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


More information about the ghc-tickets mailing list