[GHC] #14381: Consider making ghc-pkg fill in abi-depends based on depends

GHC ghc-devs at haskell.org
Sun Jun 3 03:22:28 UTC 2018


#14381: Consider making ghc-pkg fill in abi-depends based on depends
-------------------------------------+-------------------------------------
        Reporter:  ezyang            |                Owner:  tdammers
            Type:  bug               |               Status:  patch
        Priority:  highest           |            Milestone:  8.4.3
       Component:  ghc-pkg           |              Version:  8.2.1
      Resolution:                    |             Keywords:
Operating System:  Unknown/Multiple  |         Architecture:
                                     |  Unknown/Multiple
 Type of failure:  None/Unknown      |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:                    |  Differential Rev(s):  Phab:D4159
       Wiki Page:                    |  Phab:D4729
-------------------------------------+-------------------------------------

Comment (by Ben Gamari <ben@…>):

 In [changeset:"1626fe600672d3dabcf95d11a6c16da5f5ec1068/ghc" 1626fe6/ghc]:
 {{{
 #!CommitTicketReference repository="ghc"
 revision="1626fe600672d3dabcf95d11a6c16da5f5ec1068"
 Handle abi-depends correctly in ghc-pkg

 When inferring the correct abi-depends, we now look at all the package
 databases in the stack, up to and including the current one, because
 these are the ones that the current package can legally depend on. While
 doing so, we will issue warnings:

 - In verbose mode, we warn about every package that declares
   abi-depends:, whether we actually end up overriding them with the
   inferred ones or not ("possibly broken abi-depends").

 - Otherwise, we only warn about packages whose declared abi-depends
   does not match what we inferred ("definitely broken abi-depends").

 Reviewers: bgamari

 Reviewed By: bgamari

 Subscribers: rwbarton, thomie, carter

 GHC Trac Issues: #14381

 Differential Revision: https://phabricator.haskell.org/D4729
 }}}

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


More information about the ghc-tickets mailing list