jgoerzen/hpodder — Issue #6: Hackage package needs updating
Author: seanh
Created: 2011-11-04 09:28:43+00:00
State: open

`cabal install hpodder` fails on OSX Lion with:

cabal: Error: some packages failed to install:
hpodder-1.1.5 failed during the building phase. The exception was:
ExitFailure 1

and this exception:

```
Commands/SetStatus.hs:59:33:
Ambiguous type variable `e0' in the constraint:
(E.Exception e0) arising from a use of `E.catch'
Probable fix: add a type signature that fixes these type variable(s)
In the expression:
E.catch
(E.evaluate (read x))
(\ _
-> fail
$ "Invalid status supplied; use one of: " ++ possibleStatuses)
In a case alternative:
Just x
-> E.catch
(E.evaluate (read x))
(\ _
-> fail
$ "Invalid status supplied; use one of: " ++
possibleStatuses)
In a stmt of a 'do' expression:
newstatus <- case lookup "status" args of {
Just x
-> E.catch
(E.evaluate (read x))
(\ _
-> fail
$ "Invalid status supplied; use
one of: " ++ possibleStatuses)
Nothing
-> fail
"setstatus: --status required; see
hpodder setstatus --help" }
```

Apparently the exceptions API changed in GHC 6.10 and the hpodder package hasn't been updated, but the latest source on GitHub has been updated and works,