Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 729730 - dev-haskell/text-1.2.3.1 fails to compile: ‘fail’ is not a (visible) method of class ‘Monad’
Summary: dev-haskell/text-1.2.3.1 fails to compile: ‘fail’ is not a (visible) method ...
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: 2020-06-26 14:57 UTC by Agostino Sarubbo
Modified: 2020-08-03 07:11 UTC (History)
1 user (show)

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


Attachments
build.log (build.log,23.27 KB, text/plain)
2020-06-26 14:57 UTC, Agostino Sarubbo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Agostino Sarubbo gentoo-dev 2020-06-26 14:57:11 UTC
@@This is an auto-filed bug@@
Feel free to change the summary at your convenience.

Issue: dev-haskell/text fails to compile.
Discovered on: amd64

NOTE:
This machine uses a clang/LLVM toolchain.
If you think that this issue is strictly related to clang/LLVM please mention it in the summary and block bug 408963. If you need further logs, feel free to ask.
Comment 1 Agostino Sarubbo gentoo-dev 2020-06-26 14:57:17 UTC
Created attachment 646556 [details]
build.log

build log and emerge --info
Comment 2 Sergei Trofimovich (RETIRED) gentoo-dev 2020-06-26 17:16:30 UTC
"""
 * Prepending /usr/lib64/ghc-8.10.1 to LD_LIBRARY_PATH

[ 7 of 44] Compiling Data.Text.Internal.Read ( Data/Text/Internal/Read.hs, dist/build/Data/Text/Internal/Read.o, dist/build/Data/Text/Internal/Read.dyn_o )

[;1mData/Text/Internal/Read.hs:46:5: [;1m[31merror:[0m[0m[;1m[0m[0m[;1m
    ‘fail’ is not a (visible) method of class ‘Monad’[0m[0m
[;1m[34m   |[0m[0m
[;1m[34m46 |[0m[0m     [;1m[31mfail[0m[0m msg = P $ \_ -> Left msg
[;1m[34m   |[0m[0m[;1m[31m     ^^^^[0m[0m
[0m[0m[0m[ 8 of 44] Compiling Data.Text.Internal.Unsafe ( Data/Text/Internal/Unsafe.hs, dist/build/Data/Text/Internal/Unsafe.o, dist/build/Data/Text/Internal/Unsafe.dyn_o )
"""

We need newer 'text' release compatible with unkeyworded GHC.
Comment 3 Sergei Trofimovich (RETIRED) gentoo-dev 2020-08-03 07:11:53 UTC
Latest ~text is in tree now.