Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 633540 - dev-haskell/cabal-1.24.2.0: Distribution/Version.hs:144:10: Duplicate instance declarations
Summary: dev-haskell/cabal-1.24.2.0: Distribution/Version.hs:144:10: Duplicate instanc...
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Gentoo's Haskell Language team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-10-05 08:47 UTC by Dominique Michel
Modified: 2017-10-05 11:28 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log (build.log,8.56 KB, text/plain)
2017-10-05 08:49 UTC, Dominique Michel
Details
environment file (environment,109.04 KB, text/plain)
2017-10-05 08:50 UTC, Dominique Michel
Details
output of emerge --info '=dev-haskell/cabal-1.24.2.0::gentoo' (emerge.info,19.03 KB, text/plain)
2017-10-05 08:57 UTC, Dominique Michel
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Dominique Michel 2017-10-05 08:47:53 UTC
# ghc-pkg recache 
# haskell-updater 
Running haskell-updater-1.2.10 using GHC 7.10.2 
  * Executable: /usr/bin/ghc 
  * Library directory: /usr/lib64/ghc-7.10.2 
  * Package manager (PM): portage 

Searching for packages installed with a different version of GHC. 

No old packages found! 

Searching for Haskell libraries with broken dependencies. 

No broken packages found! 


Nothing to build! 

# emerge --resume 
... 
>>> Configuring source in /var/tmp/portage/dev-haskell/cabal-1.24.2.0/work/Cabal-1.24.2.0 ... 
WARNING: cache is out of date: /usr/lib64/ghc-7.10.2/package.conf.d.initial/package.cache 
ghc will see an old view of this package db. Use 'ghc-pkg recache' to fix. 
WARNING: cache is out of date: /usr/lib64/ghc-7.10.2/package.conf.d.initial/package.cache 
ghc will see an old view of this package db. Use 'ghc-pkg recache' to fix. 
 * Using cabal-1.22.4.0. 
 * Prepending /usr/lib64/ghc-7.10.2 to LD_LIBRARY_PATH 
/usr/bin/ghc -package Cabal-1.22.4.0 --make /var/tmp/portage/dev-haskell/cabal-1.24.2.0/work/Cabal-1.24.2.0/Setup.hs -j3 +RTS -A256M -qb0 -RTS -threaded -dynamic -o setup 
[ 1 of 84] Compiling Distribution.Compat.MonadFail ( Distribution/Compat/MonadFail.hs, Distribution/Compat/MonadFail.o ) 
... 
[18 of 84] Compiling Distribution.Version ( Distribution/Version.hs, Distribution/Version.o ) 

Distribution/Version.hs:144:10: 
    Duplicate instance declarations: 
      instance Binary Version 
        -- Defined at Distribution/Version.hs:144:10 
      instance [safe] Binary Version 
        -- Defined in ‘binary-0.8.3.0:Data.Binary.Class’ 
[22 of 84] Compiling Language.Haskell.Extension ( Language/Haskell/Extension.hs, Language/Haskell/Extension.o ) 
... 
[24 of 84] Compiling Distribution.Version ( Distribution/Version.hs, Distribution/Version.o ) 

Distribution/Version.hs:144:10: 
    Duplicate instance declarations: 
      instance Binary Version 
        -- Defined at Distribution/Version.hs:144:10 
      instance [safe] Binary Version 
        -- Defined in ‘binary-0.8.3.0:Data.Binary.Class’ 
 * ERROR: dev-haskell/cabal-1.24.2.0::gentoo failed (configure phase): 
 *   compiling /var/tmp/portage/dev-haskell/cabal-1.24.2.0/work/Cabal-1.24.2.0/Setup.hs failed
Comment 1 Dominique Michel 2017-10-05 08:49:46 UTC
Created attachment 497716 [details]
build.log
Comment 2 Dominique Michel 2017-10-05 08:50:38 UTC
Created attachment 497718 [details]
environment file
Comment 3 Dominique Michel 2017-10-05 08:55:00 UTC
# emerge -pqv '=dev-haskell/cabal-1.24.2.0::gentoo'
[ebuild   R   ] dev-haskell/cabal-1.24.2.0  USE="-profile {-test}"
Comment 4 Dominique Michel 2017-10-05 08:57:09 UTC
Created attachment 497720 [details]
output of emerge --info '=dev-haskell/cabal-1.24.2.0::gentoo'