Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 419387 - x11-misc/xmobar-0.14 fails to build with USE=timezone
Summary: x11-misc/xmobar-0.14 fails to build with USE=timezone
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: Normal normal (vote)
Assignee: Gentoo's Haskell Language team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-06-02 17:59 UTC by Marco Paolone
Modified: 2012-06-27 21:11 UTC (History)
0 users

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


Attachments
xmonad-0.14 build.log (build.log,5.20 KB, text/plain)
2012-06-02 17:59 UTC, Marco Paolone
Details
emerge --info (emerge.info,6.67 KB, text/plain)
2012-06-02 17:59 UTC, Marco Paolone
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Marco Paolone 2012-06-02 17:59:22 UTC
Created attachment 313947 [details]
xmonad-0.14 build.log

Building xmobar-0.14 with USE="timezone" fails with the following error:

src/Plugins/DateZone.hs:1:13:
    Unsupported extension: DoAndIfThenElse

Looking around, this extension should require >=dev-lang/ghc-7.4.1 [1].


[1] http://www.haskell.org/ghc/docs/7.4.1/html/libraries/doc-index-All.html
Comment 1 Marco Paolone 2012-06-02 17:59:55 UTC
Created attachment 313949 [details]
emerge --info
Comment 2 Sergei Trofimovich (RETIRED) gentoo-dev 2012-06-27 21:11:46 UTC
(In reply to comment #0)
> Created attachment 313947 [details]
> xmonad-0.14 build.log
> 
> Building xmobar-0.14 with USE="timezone" fails with the following error:
> 
> src/Plugins/DateZone.hs:1:13:
>     Unsupported extension: DoAndIfThenElse
> 
> Looking around, this extension should require >=dev-lang/ghc-7.4.1 [1].
> 
> 
> [1] http://www.haskell.org/ghc/docs/7.4.1/html/libraries/doc-index-All.html

Yeah, it's one of haskell2010 features (ghc-7+).
I've raised lower bound unconditionally:

> 27 Jun 2012; Sergei Trofimovich <slyfox@gentoo.org> xmobar-0.14.ebuild:
> Raise lower bound to require ghc-7 (bug #419387 by Marco Paolone).

THanks for the report!