Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 646662

Summary: [haskell overlay] dev-haskell/transformers-0.4.3.0 - Control/Monad/Trans/Error.hs:69:10: error: Duplicate instance declarations: instance MonadPlus IO
Product: Gentoo Linux Reporter: Alessandro Di Federico <ale>
Component: Current packagesAssignee: Gentoo's Haskell Language team <haskell>
Status: CONFIRMED ---    
Severity: normal CC: ale
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: build.log

Description Alessandro Di Federico 2018-02-05 13:18:15 UTC
Created attachment 517868 [details]
build.log

dev-haskell/transformers-0.4.3.0 fails to build with dev-lang/ghc-8.0.2 with the attached error message.

Control/Monad/Trans/Error.hs:69:10: error:
    Duplicate instance declarations:
      instance MonadPlus IO
        -- Defined at Control/Monad/Trans/Error.hs:69:10
      instance MonadPlus IO -- Defined in ‘GHC.Base’

Control/Monad/Trans/Error.hs:73:10: error:
    Duplicate instance declarations:
      instance Alternative IO
        -- Defined at Control/Monad/Trans/Error.hs:73:10
      instance Alternative IO -- Defined in ‘GHC.Base’
Comment 1 Sergei Trofimovich (RETIRED) gentoo-dev 2018-05-12 21:55:02 UTC
ghc-8.0.2 comes with transformers-0.5.2.0. Your system should use those. Do you know what holds old transformers back for you?