Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 653428 - [haskell overlay] dev-haskell/testing-feat does not compile: Ambiguous occurrence ‘<>’
Summary: [haskell overlay] dev-haskell/testing-feat does not compile: Ambiguous occurr...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo's Haskell Language team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-04-17 17:59 UTC by Hans de Graaff
Modified: 2018-04-21 22:15 UTC (History)
0 users

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


Attachments
build.log (build.log,7.30 KB, text/plain)
2018-04-17 17:59 UTC, Hans de Graaff
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Hans de Graaff gentoo-dev Security 2018-04-17 17:59:35 UTC
Created attachment 527872 [details]
build.log

[4 of 9] Compiling Test.Feat.Enumerate ( Test/Feat/Enumerate.hs, dist/build/Test/Feat/Enumerate.o )

Test/Feat/Enumerate.hs:172:30: error:
    Ambiguous occurrence ‘<>’
    It could refer to either ‘Data.Semigroup.<>’,
                             imported from ‘Data.Semigroup’ at Test/Feat/Enumerate.hs:48:1-21
                          or ‘Data.Monoid.<>’,
                             imported from ‘Data.Monoid’ at Test/Feat/Enumerate.hs:51:1-18

Test/Feat/Enumerate.hs:179:14: error:
    Ambiguous occurrence ‘<>’
    It could refer to either ‘Data.Semigroup.<>’,
                             imported from ‘Data.Semigroup’ at Test/Feat/Enumerate.hs:48:1-21
                          or ‘Data.Monoid.<>’,
                             imported from ‘Data.Monoid’ at Test/Feat/Enumerate.hs:51:1-18
Comment 1 Hans de Graaff gentoo-dev Security 2018-04-19 18:53:32 UTC
It turns out that this is specific to the version currently in the haskell overlay, most likely due to https://github.com/gentoo-haskell/gentoo-haskell/commit/c611c1a8648da1eea5bb0520a824a5a3affdbf59

The version in the gentoo tree compiles fine for me.

Using dev-lang/ghc-8.0.2.
Comment 2 Sergei Trofimovich (RETIRED) gentoo-dev 2018-04-21 22:15:30 UTC
Sorry about the breakage. Fixed as:
    https://github.com/gentoo-haskell/gentoo-haskell/commit/4ed93e512f8403be4f7d8977c0bbef0d10de9bf8