Closed vlatkoB closed 10 years ago
I didn't have GHC 7.8, now I do. Are you sure it's GHC 7.8.3? That hasn't been released yet. There were a few issues with BuildWrapper and GHC 7.8, so you can take BuildWrapper from source and try. I ran into https://ghc.haskell.org/trac/ghc/ticket/8376 which seems to be fixed recently, that's why there's -dynamic in the ghc-options. So, more precisely, the temp directory is not remove because dynamic-cabal fails. And dynamic-cabal fails because it's doesn't find Cabal-1.20 in the package database. Make sure there is only one ghc and one ghc-pkg in your path, and that Cabal-1.20 is a in package database ghc-pkg can see.
GHC package is from https://launchpad.net/~hvr/+archive/ghc?field.series_filter=precise. It's marked as 7.8.3, but I just saw that it is in fact 7.8.2.20140609-1, so my fault. Sorry.
This title problem is solved now, as I installed cabal 1.18.0.4, and uninstalled 1.20.0.2. Good old cabal version glitch. Hadn't occurred to me as BW wasn't complaining about it.
Could EclipseFP check Installed Version and Library Version (from Prefs) and warn if they are not compatible for BW?
Now for cabal I have "Installed Version" 1.18.0.4 and "Library Version" 1.18.1.3. There is no cabal-install 1.18.1.3. After 1.18.0.4 comes 1.20.0.0. BW is version 0.8.6.
Do you think this (small) difference might cause some other issues (which I haven't reported yet)?
EDIT: This also solved WorkSheet not evaluating. :-)
I told you, I got Cabal 1.20 and it's working fine. What you have are path issues and not cabal version mismatch. EclipseFP used to warn if the version of cabal didn't match the version GHC was built with, but that's gone, since BuildWrapper 0.8.x use dynamic-cabal, we don't have the issue anymore. A I said, I installed GHC 7.8.2 with Cabal 1.18, upgraded cabal to 1.20, ensure everything was correct in my PATH, and everything is working fine.
Now it works fine for me too. Maybe the problem was that I installed 1.20 directly, through PPA, and not through cabal.
So, if anyone encounters this issue, first install 1.18, and than update to newer cabal. (And set it in prefs).
Hello,
My system: GHC 7.8.3, Cabal 1.20.0.2, Ubuntu 12.04, EclipseFP 2.6.0
In BW console for a project I see several od these:
buildwrapper: Left over temporary directory not removed: /tmp/dynamic-cabal.18 <command line>: cannot satisfy -package Cabal-1.20.0.0 (use -v for more information)
Number in/tmp/dynamic-cabal.18
changes from 0 to 20, as I noticed.Best regards,
vlatko