Error installing leksah-server with ghc 7.6.3 on ubuntu 14.04
codygman opened this issue · 2 comments
codygman commented
cody@cody-XPS-L521X:~$ cabal install -j leksah-server
Resolving dependencies...
Configuring leksah-server-0.14.0.0...
Building leksah-server-0.14.0.0...
Failed to install leksah-server-0.14.0.0
Build log ( /home/cody/.cabal/logs/leksah-server-0.14.0.0.log ):
Configuring leksah-server-0.14.0.0...
Building leksah-server-0.14.0.0...
Preprocessing library leksah-server-0.14.0.0...
[ 1 of 15] Compiling Paths_leksah_server ( dist/build/autogen/Paths_leksah_server.hs, dist/build/Paths_leksah_server.o )
[ 2 of 15] Compiling IDE.Utils.Server ( src/IDE/Utils/Server.hs, dist/build/IDE/Utils/Server.o )
[ 3 of 15] Compiling IDE.Core.CTypes ( src/IDE/Core/CTypes.hs, dist/build/IDE/Core/CTypes.o )
[ 4 of 15] Compiling IDE.Core.Serializable ( src/IDE/Core/Serializable.hs, dist/build/IDE/Core/Serializable.o )
[ 5 of 15] Compiling IDE.StrippedPrefs ( src/IDE/StrippedPrefs.hs, dist/build/IDE/StrippedPrefs.o )
[ 6 of 15] Compiling IDE.Utils.Tool ( src/IDE/Utils/Tool.hs, dist/build/IDE/Utils/Tool.o )
[ 7 of 15] Compiling IDE.Utils.VersionUtils ( src/IDE/Utils/VersionUtils.hs, dist/build/IDE/Utils/VersionUtils.o )
[ 8 of 15] Compiling IDE.Utils.Utils ( src/IDE/Utils/Utils.hs, dist/build/IDE/Utils/Utils.o )
[ 9 of 15] Compiling IDE.Utils.FileUtils ( src/IDE/Utils/FileUtils.hs, dist/build/IDE/Utils/FileUtils.o )
[10 of 15] Compiling IDE.Metainfo.SourceDB ( src/IDE/Metainfo/SourceDB.hs, dist/build/IDE/Metainfo/SourceDB.o )
[11 of 15] Compiling IDE.Utils.GHCUtils ( src/IDE/Utils/GHCUtils.hs, dist/build/IDE/Utils/GHCUtils.o )
[12 of 15] Compiling IDE.Metainfo.InterfaceCollector ( src/IDE/Metainfo/InterfaceCollector.hs, dist/build/IDE/Metainfo/InterfaceCollector.o )
[13 of 15] Compiling IDE.Metainfo.WorkspaceCollector ( src/IDE/Metainfo/WorkspaceCollector.hs, dist/build/IDE/Metainfo/WorkspaceCollector.o )
src/IDE/Metainfo/WorkspaceCollector.hs:576:29-32:
Couldn't match type `[Char]' with `Text'
Expected type: Text
Actual type: String
In the dscName' field of a record
In the second argument of `($)', namely
`RealDescr
{dscName' = name,
dscMbTypeStr' = Just
(BS.pack ("instance " ++ (showSDocUnqual dflags $ ppr typ))),
dscMbModu' = Just pm, dscMbLocation' = srcSpanToLocation loc,
dscMbComment' = toComment mbComment [],
dscTypeHint' = InstanceDescr other, dscExported' = True}'
In the expression:
Real
$ RealDescr
{dscName' = name,
dscMbTypeStr' = Just
(BS.pack ("instance " ++ (showSDocUnqual dflags $ ppr typ))),
dscMbModu' = Just pm, dscMbLocation' = srcSpanToLocation loc,
dscMbComment' = toComment mbComment [],
dscTypeHint' = InstanceDescr other, dscExported' = True}
src/IDE/Metainfo/WorkspaceCollector.hs:581:43-47:
Couldn't match type `[Char]' with `Text'
Expected type: [Text]
Actual type: [String]
In the first argument of `InstanceDescr', namely `other'
In the dscTypeHint' field of a record
In the second argument of `($)', namely
`RealDescr
{dscName' = name,
dscMbTypeStr' = Just
(BS.pack ("instance " ++ (showSDocUnqual dflags $ ppr typ))),
dscMbModu' = Just pm, dscMbLocation' = srcSpanToLocation loc,
dscMbComment' = toComment mbComment [],
dscTypeHint' = InstanceDescr other, dscExported' = True}'
cabal: Error: some packages failed to install:
leksah-server-0.14.0.0 failed during the building phase. The exception was:
ExitFailure 1
cody@cody-XPS-L521X:~$ cat /etc/issue
Ubuntu 14.04.1 LTS \n \l
cody@cody-XPS-L521X:~$ uname -a
Linux cody-XPS-L521X 3.13.0-35-generic #62-Ubuntu SMP Fri Aug 15 01:58:42 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux
cody@cody-XPS-L521X:~$ ghc --version
The Glorious Glasgow Haskell Compilation System, version 7.6.3
cody@cody-XPS-L521X:~$
mwerbos commented
I have the same issue under Linux Mint 16 with GHC 7.6.3.
hamishmack commented
This should be fixed by leksah-server 0.14.0.1 (now on hackage)