Sunday, November 23, 2014

EclipseFP 2.6.2 released!

I've just released EclipseFP 2.6.2. This is mainly a bug fixing release with a better handling of cabal sandboxes and related functionality. It wraps also an important change in scion-browser, which should now mean that Hoogle uses all the packages present in your sandbox, so should give better results.

Browse the release notes!

Install by pointing your eclipse to http://eclipsefp.sf.net/updates.

This release is brought to you by me, myself and I. I would love to see more people contribute, even if only to install the development versions to provide some testing before the release, or write some documentation. There's work that can be done on the Haskell side, on the Java side, etc. Contact me if you're not sure, or send me pull requests! The code is at https://github.com/JPMoresmau/eclipsefphttps://github.com/JPMoresmau/BuildWrapper and https://github.com/JPMoresmau/scion-class-browser.

Happy Haskell Hacking!!

5 comments:

Jp Ztem said...

I did try 2.6.2 but :

ExitFailure1...

Main errors I got:

Building graphviz-2999.6.0.0...
Failed to install graphviz-2999.6.0.0
Last 10 lines of the build log ( D:\Eclipse\eclipse\wkh\.metadata\.plugins\net.sf.eclipsefp.haskell.ui\sandbox\logs\graphviz-2999.6.0.0.log ):
(and originally defined in `Text.PrettyPrint.HughesPJ')

Data\GraphViz\Attributes.hs:1605:34:
Ambiguous occurrence `empty'
It could refer to either `Data.GraphViz.Types.Parsing.empty',
imported from `Data.GraphViz.Types.Parsing' at Data\GraphViz\Attributes.hs:146:1-34
(and originally defined in `Control.Applicative')
or `Data.GraphViz.Types.Printing.empty',
imported from `Data.GraphViz.Types.Printing' at Data\GraphViz\Attributes.hs:147:1-35
(and originally defined in `Text.PrettyPrint.HughesPJ')
...
Configuring SHA-1.6.4.1...
...
cabal.exe: Error: some packages failed to install:
Cabal-1.2.4.0 failed during the configure step. The exception was:
user error (
C:\Users\Jpg\AppData\Local\Temp\Cabal-1.2.4.0-6572\Cabal-1.2.4.0\Distribution\Version.hs:1:12:
Warning:
-fglasgow-exts is deprecated: Use individual extensions instead

C:\Users\Jpg\AppData\Local\Temp\Cabal-1.2.4.0-6572\Cabal-1.2.4.0\Distribution\Verbosity.hs:1:12:
Warning:
-fglasgow-exts is deprecated: Use individual extensions instead

C:\Users\Jpg\AppData\Local\Temp\Cabal-1.2.4.0-6572\Cabal-1.2.4.0\Distribution\Simple\Utils.hs:1:12:
Warning:
-fffi is deprecated: use -XForeignFunctionInterface or pragma {-# LANGUAGE
ForeignFunctionInterface #-} instead

C:\Users\Jpg\AppData\Local\Temp\Cabal-1.2.4.0-6572\Cabal-1.2.4.0\Distribution\Simple\LocalBuildInfo.hs:1:12:
Warning:
-fffi is deprecated: use -XForeignFunctionInterface or pragma {-# LANGUAGE
ForeignFunctionInterface #-} instead

C:\Users\Jpg\AppData\Local\Temp\Cabal-1.2.4.0-6572\Cabal-1.2.4.0\Distribution\Compat\RawSystem.hs:10:1:
Warning:
Module `System.Cmd' is deprecated: Use "System.Process" instead

C:\Users\Jpg\AppData\Local\Temp\Cabal-1.2.4.0-6572\Cabal-1.2.4.0\Distribution\Compat\TempFile.hs:60:44:
Could not deduce (GHC.Exception.Exception e0)
arising from a use of `try'
from the context (Show a1, Num a1)
bound by the inferred type of
findTempName :: (Show a1, Num a1) => a1 -> IO a
at
C:\Users\Jpg\AppData\Local\Temp\Cabal-1.2.4.0-6572\Cabal-1.2.4.0\Distribution\Compat\TempFile.hs:(55,5)-(60,64)
The type variable `e0' is ambiguous
Note: there are several potential instances:
instance GHC.Exception.Exception
Control.Exception.Base.NestedAtomically
-- Defined in `Control.Exception.Base'
instance GHC.Exception.Exception
Control.Exception.Base.NoMethodError
-- Defined in `Control.Exception.Base'
instance GHC.Exception.Exception
Control.Exception.Base.NonTermination
-- Defined in `Control.Exception.Base'
...plus 7 others
In the second argument of `finally', namely `try (removeFile path)'
In the expression: action path `finally` try (removeFile path)
In a stmt of a 'do' block:
if b then
findTempName (x + 1)
else
action path `finally` try (removeFile path)
)
Graphalyze-0.8.0.0 depends on graphviz-2999.6.0.0 which failed to install.
SourceGraph-0.1 depends on graphviz-2999.6.0.0 which failed to install.
graphviz-2999.6.0.0 failed during the building phase. The exception was:
ExitFailure 1

JP Moresmau said...

You don't need SourceGraph for all the rest to work, so don't worry if it doesn't install. I actually didn't want to include it in 2.6.2 but a bug makes it so that we try to install it, but just ignore that.

Jp Ztem said...

I went on but now I have (last lines, after a lot of downloads) :

cabal.exe: The following packages are likely to be broken by the reinstalls:
hlint-1.9.12
haskell-src-exts-1.16.0.1
stylish-haskell-0.5.11.0
hoogle-4.2.36
derive-2.5.18
Use --force-reinstalls if you want to install anyway.

What does that mean?

JP Moresmau said...

This means cabal was asked to reinstall a package on which all of these other packages depend. Check in your Haskell preferences if you have a path to buildwrapper and scion-browser, in which case you're good to go and just ignore that message.

Jp Ztem said...

I tried anew but I'm getting the same message and after that I get a "Not responding" EclipseFP. I think it's better to wait for a better released... Too bad for me, I used Eclipse-Scala without problem.