-
Notifications
You must be signed in to change notification settings - Fork 11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
buildwrapper-0.7.2: build error #13
Comments
Hackage indicates that it builds fine on GHC 7.6, which version of GHC do you have? |
That may be my issue. I currently have 7.4.1 on my machine. |
Does the code pushed in 787a937 solve your issue? We still use unqualified catch but for GHC 7.4 we hide catch from Prelude? |
Yep, that seems to have fixed it so it builds. Thanks! |
Uploaded 0.7.3 to Hackage. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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 either
Prelude.catch',imported from
Prelude' at src-exe/Language/Haskell/BuildWrapper/CMD.hs:13:8-40 (and originally defined in
System.IO.Error')or
Control.Exception.Base.catch', imported from
Control.Exception.Base' at src-exe/Language/Haskell/BuildWrapper/CMD.hs:27:32-36cabal: 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.
The text was updated successfully, but these errors were encountered: