
Hi all, I'm just trying to install some of the games from the game list (on the wiki) so that I have something to look at. I tried the ones which have cabal packages as I assumed that would be easy. Every one I tried so far has failed to install. Below are two of the quickest failures. Any comments are appreciated. Is there something I'm generally not getting? Or are there just various problems with installing possibly-old packages? abram@whitehead:~$ cabal install shu-thing Resolving dependencies... Configuring Shu-thing-1.1.1... Building Shu-thing-1.1.1... Preprocessing executable 'shu-thing' for Shu-thing-1.1.1... [1 of 1] Compiling Main ( Shu-thing.hs, dist/build/shu-thing/shu- thing-tmp/Main.o ) Shu-thing.hs:4:27: Module `Control.Exception' does not export `Exception(ExitException)' cabal: Error: some packages failed to install: Shu-thing-1.1.1 failed during the building phase. The exception was: ExitFailure 1 === abram@whitehead:~$ cabal install spaceInvaders Resolving dependencies... Configuring HGL-3.2.0.0... Building HGL-3.2.0.0... Preprocessing library HGL-3.2.0.0... [ 1 of 27] Compiling Graphics.HGL.Internals.Flag ( Graphics/HGL/Internals/Flag. hs, dist/build/Graphics/HGL/Internals/Flag.o ) [ 2 of 27] Compiling Graphics.HGL.Internals.Utilities ( Graphics/HGL/Internals/Utilities.hs, dist/build/Graphics/HGL/Internals/Utilities.o ) Graphics/HGL/Internals/Utilities.hs:33:31: Expecting one more argument to `E.Exception' In the type signature for `safeTry': safeTry :: IO a -> IO (Either E.Exception a) cabal: Error: some packages failed to install: HGL-3.2.0.0 failed during the building phase. The exception was: ExitFailure 1 -- Abram Demski http://lo-tho.blogspot.com/

On 01/10/2013 03:02 AM, Abram Demski wrote:
Hi all,
I'm just trying to install some of the games from the game list (on the wiki) so that I have something to look at. I tried the ones which have cabal packages as I assumed that would be easy. Every one I tried so far has failed to install. Below are two of the quickest failures. Any comments are appreciated. Is there something I'm generally not getting? Or are there just various problems with installing possibly-old packages?
abram@whitehead:~$ cabal install shu-thing Resolving dependencies... Configuring Shu-thing-1.1.1... Building Shu-thing-1.1.1... Preprocessing executable 'shu-thing' for Shu-thing-1.1.1... [1 of 1] Compiling Main ( Shu-thing.hs, dist/build/shu-thing/shu- thing-tmp/Main.o )
Shu-thing.hs:4:27: Module `Control.Exception' does not export `Exception(ExitException)' cabal: Error: some packages failed to install: Shu-thing-1.1.1 failed during the building phase. The exception was: ExitFailure 1
===
abram@whitehead:~$ cabal install spaceInvaders Resolving dependencies... Configuring HGL-3.2.0.0... Building HGL-3.2.0.0... Preprocessing library HGL-3.2.0.0... [ 1 of 27] Compiling Graphics.HGL.Internals.Flag ( Graphics/HGL/Internals/Flag. hs, dist/build/Graphics/HGL/Internals/Flag.o ) [ 2 of 27] Compiling Graphics.HGL.Internals.Utilities ( Graphics/HGL/Internals/Utilities.hs, dist/build/Graphics/HGL/Internals/Utilities.o )
Graphics/HGL/Internals/Utilities.hs:33:31: Expecting one more argument to `E.Exception' In the type signature for `safeTry': safeTry :: IO a -> IO (Either E.Exception a)
cabal: Error: some packages failed to install: HGL-3.2.0.0 failed during the building phase. The exception was: ExitFailure 1
-- Abram Demski http://lo-tho.blogspot.com/
_______________________________________________ Beginners mailing list Beginners@haskell.org http://www.haskell.org/mailman/listinfo/beginners What version of ghc and cabal are you using? shu-thing builds on ghc-6.8 and failed on ghc-7.*. Package probably broken and need to be updated, due to changes in other packages.
-- Best regards, Sergey Bushnyak

On Wed, Jan 9, 2013 at 11:37 PM, Sergey Bushnyak < sergey.bushnyak@sigrlami.eu> wrote:
Shu-thing.hs:4:27: Module `Control.Exception' does not export `Exception(ExitException)' cabal: Error: some packages failed to install: Shu-thing-1.1.1 failed during the building phase. The exception was: ExitFailure 1
What version of ghc and cabal are you using? shu-thing builds on ghc-6.8 and failed on ghc-7.*. Package probably broken and need to be updated, due to changes in other packages.
The other package that changed is base; it's still using old-style exceptions. I thought someone was going to package up old-exceptions and put it on hackage for backward compatibility, but I don't see it there. Same with the other package they tried to install. -- brandon s allbery kf8nh sine nomine associates allbery.b@gmail.com ballbery@sinenomine.net unix, openafs, kerberos, infrastructure, xmonad http://sinenomine.net

On 01/10/2013 06:48 AM, Brandon Allbery wrote:
On Wed, Jan 9, 2013 at 11:37 PM, Sergey Bushnyak
mailto:sergey.bushnyak@sigrlami.eu> wrote: Shu-thing.hs:4:27: Module `Control.Exception' does not export `Exception(ExitException)' cabal: Error: some packages failed to install: Shu-thing-1.1.1 failed during the building phase. The exception was: ExitFailure 1
What version of ghc and cabal are you using? shu-thing builds on ghc-6.8 and failed on ghc-7.*. Package probably broken and need to be updated, due to changes in other packages.
The other package that changed is base; it's still using old-style exceptions. I thought someone was going to package up old-exceptions and put it on hackage for backward compatibility, but I don't see it there. Same with the other package they tried to install.
-- brandon s allbery kf8nh sine nomine associates allbery.b@gmail.com mailto:allbery.b@gmail.com ballbery@sinenomine.net mailto:ballbery@sinenomine.net unix, openafs, kerberos, infrastructure, xmonad http://sinenomine.net Isn't it better to send patch with corrections to maintainer?
-- Best regards, Sergey Bushnyak

On Thu, Jan 10, 2013 at 12:12 AM, Sergey Bushnyak < sergey.bushnyak@sigrlami.eu> wrote:
Isn't it better to send patch with corrections to maintainer?
It is, but if the packages haven't been updated for new-style exceptions by now, they're probably effectively unmaintained. Do you want to take over maintainership? -- brandon s allbery kf8nh sine nomine associates allbery.b@gmail.com ballbery@sinenomine.net unix, openafs, kerberos, infrastructure, xmonad http://sinenomine.net

On 01/10/2013 04:37 PM, Brandon Allbery wrote:
On Thu, Jan 10, 2013 at 12:12 AM, Sergey Bushnyak
mailto:sergey.bushnyak@sigrlami.eu> wrote: Isn't it better to send patch with corrections to maintainer?
It is, but if the packages haven't been updated for new-style exceptions by now, they're probably effectively unmaintained. Do you want to take over maintainership?
-- brandon s allbery kf8nh sine nomine associates allbery.b@gmail.com mailto:allbery.b@gmail.com ballbery@sinenomine.net mailto:ballbery@sinenomine.net unix, openafs, kerberos, infrastructure, xmonad http://sinenomine.net I don't want to take over maintainership, area of my interest is slightly different and not covering games at all. Recently, I stumbled at this kind of problem by myself. I wrote to maintainer, submit patch and it's work now for new ghc.
The thing we should talk here, that cabal shouldn't even show package in install list, that don't builds on users current compiler. This information can be seen at hackage, but there still a lot of work is going on new hackage, which would be more accurate continuous integration portal. In this situation I always get sources and correct by myself. Maintainership policy is very controversial subject and discussed regularly in community. -- Best regards, Sergey Bushnyak

Yea, I'm using a 7.* version... ok, thanks!
On Wed, Jan 9, 2013 at 8:37 PM, Sergey Bushnyak wrote: On 01/10/2013 03:02 AM, Abram Demski wrote: Hi all, I'm just trying to install some of the games from the game list (on the
wiki) so that I have something to look at. I tried the ones which have
cabal packages as I assumed that would be easy. Every one I tried so far
has failed to install. Below are two of the quickest failures. Any comments
are appreciated. Is there something I'm generally not getting? Or are there
just various problems with installing possibly-old packages? abram@whitehead:~$ cabal install shu-thing
Resolving dependencies...
Configuring Shu-thing-1.1.1...
Building Shu-thing-1.1.1...
Preprocessing executable 'shu-thing' for Shu-thing-1.1.1...
[1 of 1] Compiling Main ( Shu-thing.hs,
dist/build/shu-thing/shu-
thing-tmp/Main.o ) Shu-thing.hs:4:27:
Module
`Control.Exception'
does not export
`Exception(ExitException)'
cabal: Error: some packages failed to install:
Shu-thing-1.1.1 failed during the building phase. The exception was:
ExitFailure 1 === abram@whitehead:~$ cabal install spaceInvaders
Resolving dependencies...
Configuring HGL-3.2.0.0...
Building HGL-3.2.0.0...
Preprocessing library HGL-3.2.0.0...
[ 1 of 27] Compiling Graphics.HGL.Internals.Flag (
Graphics/HGL/Internals/Flag.
hs, dist/build/Graphics/HGL/Internals/Flag.o )
[ 2 of 27] Compiling Graphics.HGL.Internals.Utilities (
Graphics/HGL/Internals/Utilities.hs,
dist/build/Graphics/HGL/Internals/Utilities.o ) Graphics/HGL/Internals/Utilities.hs:33:31:
Expecting one more argument to `E.Exception'
In the type signature for `safeTry':
safeTry :: IO a -> IO (Either E.Exception a) cabal: Error: some packages failed to install:
HGL-3.2.0.0 failed during the building phase. The exception was:
ExitFailure 1 --
Abram Demski
http://lo-tho.blogspot.com/ _______________________________________________
Beginners mailing listBeginners@haskell.orghttp://www.haskell.org/mailman/listinfo/beginners What version of ghc and cabal are you using? shu-thing builds on ghc-6.8
and failed on ghc-7.*. Package probably broken and need to be updated, due
to changes in other packages. --
Best regards,
Sergey Bushnyak --
Abram Demski
http://lo-tho.blogspot.com/
participants (3)
-
Abram Demski
-
Brandon Allbery
-
Sergey Bushnyak