[xmonad] xmonad: xmonad-extras 0.12 fails to build

Brent Yorgey byorgey at gmail.com
Thu Apr 9 14:04:22 UTC 2015


It looks like XMonad.Actions.Volume defines an operator (<*), but as of
base-4.8 an operator with that name has been added to the Prelude.  The fix
would be to either (1) rename the operator in XMonad.Actions.Volume, or (2)
hide the operator from Prelude and tell everyone who wants to use
XMonad.Actions.Volume.(<*) that they need to hide it from Prelude too.

xmonad-extras is not officially a part of the xmonad project; you should
contact the maintainers listed at
http://hackage.haskell.org/package/xmonad-extras .

-Brent

On Mon, Apr 6, 2015 at 11:45 PM Dave Macias <davama at gmail.com> wrote:

> This is my first time posting here so i hope im doing this right.
> Just updated ghc to 7.10.1 and had to rebuild xmonad, xmonad-contrib, and
> xmobar.
> I also use xmonad-extras but it failed during the build. I tried using
> cabal and also from source but both give same output:
>
> $ cabal install xmonad-extras
>
> Resolving dependencies...
> Configuring xmonad-extras-0.12...
> Building xmonad-extras-0.12...
> Failed to install xmonad-extras-0.12
> Build log ( /home/dvmacias/.cabal/logs/xmonad-extras-0.12.log ):
> Configuring xmonad-extras-0.12...
> Building xmonad-extras-0.12...
> Preprocessing library xmonad-extras-0.12...
> [1 of 2] Compiling XMonad.Util.WindowPropertiesRE (
> XMonad/Util/WindowPropertiesRE.hs,
> dist/build/XMonad/Util/WindowPropertiesRE.o )
> [2 of 2] Compiling XMonad.Actions.Volume ( XMonad/Actions/Volume.hs,
> dist/build/XMonad/Actions/Volume.o )
>
> XMonad/Actions/Volume.hs:173:23:
>     Ambiguous occurrence ‘<*’
>     It could refer to either ‘XMonad.Actions.Volume.<*’,
>                              defined at XMonad/Actions/Volume.hs:66:4
>                           or ‘Prelude.<*’,
>                              imported from ‘Prelude’ at
> XMonad/Actions/Volume.hs:15:8-28
>                              (and originally defined in ‘GHC.Base’)
>
> XMonad/Actions/Volume.hs:173:43:
>     Ambiguous occurrence ‘<*’
>     It could refer to either ‘XMonad.Actions.Volume.<*’,
>                              defined at XMonad/Actions/Volume.hs:66:4
>                           or ‘Prelude.<*’,
>                              imported from ‘Prelude’ at
> XMonad/Actions/Volume.hs:15:8-28
>                              (and originally defined in ‘GHC.Base’)
>
> XMonad/Actions/Volume.hs:200:62:
>     Ambiguous occurrence ‘<*’
>     It could refer to either ‘XMonad.Actions.Volume.<*’,
>                              defined at XMonad/Actions/Volume.hs:66:4
>                           or ‘Prelude.<*’,
>                              imported from ‘Prelude’ at
> XMonad/Actions/Volume.hs:15:8-28
>                              (and originally defined in ‘GHC.Base’)
>
> XMonad/Actions/Volume.hs:215:32:
>     Ambiguous occurrence ‘<*’
>     It could refer to either ‘XMonad.Actions.Volume.<*’,
>                              defined at XMonad/Actions/Volume.hs:66:4
>                           or ‘Prelude.<*’,
>                              imported from ‘Prelude’ at
> XMonad/Actions/Volume.hs:15:8-28
>                              (and originally defined in ‘GHC.Base’)
>
> XMonad/Actions/Volume.hs:225:58:
>     Ambiguous occurrence ‘<*’
>
>     It could refer to either ‘XMonad.Actions.Volume.<*’,
>                              defined at XMonad/Actions/Volume.hs:66:4
>                           or ‘Prelude.<*’,
>                              imported from ‘Prelude’ at
> XMonad/Actions/Volume.hs:15:8-28
>                              (and originally defined in ‘GHC.Base’)
> cabal: Error: some packages failed to install:
> xmonad-extras-0.12 failed during the building phase. The exception was:
> ExitFailure 1
>
>
> I got to look at the log but it just has what i pasted above. System is
> Arch 3.19.2-1-ARCH
>
> Any input is appreciated.
> Thanks
> dave
> _______________________________________________
> xmonad mailing list
> xmonad at haskell.org
> http://mail.haskell.org/cgi-bin/mailman/listinfo/xmonad
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/xmonad/attachments/20150409/f84d9024/attachment.html>


More information about the xmonad mailing list