-
Notifications
You must be signed in to change notification settings - Fork 11
Description
Here's the build error output, received each time I tried to build from 'cabal install buildwrapper':
...[Snip]...
[2 of 3] Compiling Language.Haskell.BuildWrapper.CMD ( src-exe/Language/Haskell/BuildWrapper/CMD.hs, dist/build/buildwrapper/buildwrapper-tmp/Language/Haskell/BuildWrapper/CMD.o )
src-exe/Language/Haskell/BuildWrapper/CMD.hs:178:72:
Ambiguous occurrence catch' It could refer to eitherPrelude.catch',
imported from Prelude' at src-exe/Language/Haskell/BuildWrapper/CMD.hs:13:8-40 (and originally defined inSystem.IO.Error')
or Control.Exception.Base.catch', imported fromControl.Exception.Base' at src-exe/Language/Haskell/BuildWrapper/CMD.hs:27:32-36
cabal: Error: some packages failed to install:
buildwrapper-0.7.2 failed during the building phase. The exception was:
ExitFailure 1
I downloaded source and added in 'Control.Exception.Base.catch' in lieu of just catch on line 178, which allowed it to build fine. I'm too new with haskell to be confident that this is the desired behaviour, so I'm punting to someone more familiar with this project to verify/commit/otherwise fix. (or let me know what I may have been doing wrong in the first place)
This is built on a #!-linux (waldorf) box (wheezy-based 64-bit linux distro). Hope this helps.
Thanks.