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

Bug 735866

Summary: dev-haskell/enumerator-0.4.20 fails to compile
Product: Gentoo Linux Reporter: Agostino Sarubbo <ago>
Component: Current packagesAssignee: Gentoo's Haskell Language team <haskell>
Status: RESOLVED FIXED    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: build.log

Description Agostino Sarubbo gentoo-dev 2020-08-04 06:36:13 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: dev-haskell/enumerator-0.4.20 fails to compile.
Discovered on: amd64 (internal ref: tinderbox)

NOTE:
This machine uses a clang/LLVM toolchain.
If you think that this issue is strictly related to clang/LLVM please block bug 408963. If you think that this issue is strictly related to the LLD linker, please block bug 731004.
Comment 1 Agostino Sarubbo gentoo-dev 2020-08-04 06:36:19 UTC
Created attachment 652866 [details]
build.log

build log and emerge --info
Comment 2 Sergei Trofimovich (RETIRED) gentoo-dev 2020-08-04 21:19:12 UTC
> [;1mlib/Data/Enumerator/Internal.hs:74:10: [;1m[31merror:[0m[0m[;1m[0m[0m[;1m
>    • No instance for (Semigroup (Stream a))
>        arising from the superclasses of an instance declaration
>    • In the instance declaration for ‘Monoid (Stream a)’[0m[0m

Needs a tweak for newer ghc.
Comment 3 Larry the Git Cow gentoo-dev 2020-08-04 21:20:26 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cc7132bd3ce1c2a4622c71e7585c0290a8ada077

commit cc7132bd3ce1c2a4622c71e7585c0290a8ada077
Author:     Sergei Trofimovich <slyfox@gentoo.org>
AuthorDate: 2020-08-04 21:20:17 +0000
Commit:     Sergei Trofimovich <slyfox@gentoo.org>
CommitDate: 2020-08-04 21:20:17 +0000

    dev-haskell/enumerator: tweak for ghc-8.8
    
    Reported-by: Agostino Sarubbo
    Closes: https://bugs.gentoo.org/735866
    Package-Manager: Portage-3.0.1, Repoman-2.3.23
    Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>

 dev-haskell/enumerator/enumerator-0.4.20.ebuild     |  8 ++++++--
 .../enumerator/files/enumerator-0.4.20-ghc84.patch  | 21 +++++++++++++++++++++
 2 files changed, 27 insertions(+), 2 deletions(-)