[GHC] #15866: libiserv's version number is hard-coded

GHC ghc-devs at haskell.org
Tue Nov 6 14:46:01 UTC 2018


#15866: libiserv's version number is hard-coded
-------------------------------------+-------------------------------------
           Reporter:  RyanGlScott    |             Owner:  (none)
               Type:  bug            |            Status:  new
           Priority:  normal         |         Milestone:
          Component:  Compiler       |           Version:  8.6.1
           Keywords:                 |  Operating System:  Unknown/Multiple
       Architecture:                 |   Type of failure:  Other
  Unknown/Multiple                   |
          Test Case:                 |        Blocked By:
           Blocking:                 |   Related Tickets:
Differential Rev(s):                 |         Wiki Page:
-------------------------------------+-------------------------------------
 I recently discovered that GHC 8.6.2 was shipped with `libiserv-8.6.1`.
 Yes, you read that correctly—8.6.1, not 8.6.2. I was baffled at how this
 could possibly happen until I realized that we hard-code the version
 number for `libiserv` directly in its `.cabal` file.

 Needless to say, this is quite easy to forget to update. Let's let
 `autoconf` do the hard work for us and use `@ProjectVersionMunged@`
 instead.

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


More information about the ghc-tickets mailing list