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

Bug 419387

Summary: x11-misc/xmobar-0.14 fails to build with USE=timezone
Product: Gentoo Linux Reporter: Marco Paolone <marcopaolone>
Component: Current packagesAssignee: Gentoo's Haskell Language team <haskell>
Status: RESOLVED FIXED    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: xmonad-0.14 build.log
emerge --info

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!