Description
I tried with ghc 7.10.3 ,but got failed with testLoop dependency on centos 6.x
ghc --version
The Glorious Glasgow Haskell Compilation System, version 7.10.3
Configuring testloop-0.1.1.0...
Building testloop-0.1.1.0...
Failed to install testloop-0.1.1.0
Build log ( /home/xxx/HaskellKoans/.cabal-sandbox/logs/testloop-0.1.1.0.log ):
Configuring testloop-0.1.1.0...
Building testloop-0.1.1.0...
Preprocessing library testloop-0.1.1.0...
[1 of 6] Compiling System.TestLoop.Internal.Signal ( src/System/TestLoop/Internal/Signal.hs, dist/dist-sandbox-b3073e5/build/System/TestLoop/Internal/Signal.o )
[2 of 6] Compiling System.TestLoop.Util ( src/System/TestLoop/Util.hs, dist/dist-sandbox-b3073e5/build/System/TestLoop/Util.o )
[3 of 6] Compiling System.TestLoop.Internal.Types ( src/System/TestLoop/Internal/Types.hs, dist/dist-sandbox-b3073e5/build/System/TestLoop/Internal/Types.o )
[4 of 6] Compiling System.TestLoop.Internal.Watcher ( src/System/TestLoop/Internal/Watcher.hs, dist/dist-sandbox-b3073e5/build/System/TestLoop/Internal/Watcher.o )
[5 of 6] Compiling System.TestLoop.Internal.Cabal ( src/System/TestLoop/Internal/Cabal.hs, dist/dist-sandbox-b3073e5/build/System/TestLoop/Internal/Cabal.o )
[6 of 6] Compiling System.TestLoop ( src/System/TestLoop.hs, dist/dist-sandbox-b3073e5/build/System/TestLoop.o )
src/System/TestLoop.hs:47:23:
Couldn't match type FS.FilePath' with
[Char]'
Expected type: FilePath
Actual type: FS.FilePath
In the second argument of treeExtExists', namely
(FS.decodeString path)'
In a stmt of a 'do' block:
treeExtExists
manager
(FS.decodeString path)
"hs"
(reloadTestSuite moduleName modulePath paths)
src/System/TestLoop.hs:49:23:
Couldn't match type [Char]' with
FS.FilePath'
Expected type: FilePath -> IO ()
Actual type: FS.FilePath -> IO ()
In the fourth argument of treeExtExists', namely
(reloadTestSuite moduleName modulePath paths)'
In a stmt of a 'do' block:
treeExtExists
manager
(FS.decodeString path)
"hs"
(reloadTestSuite moduleName modulePath paths)
Installed vector-0.11.0.0
Configuring scientific-0.3.4.9...
Installed unordered-containers-0.2.7.1
Configuring semigroups-0.18.2...
Building scientific-0.3.4.9...
Building semigroups-0.18.2...
Installed scientific-0.3.4.9
Configuring attoparsec-0.13.0.2...
Building attoparsec-0.13.0.2...
Installed semigroups-0.18.2
Configuring QuickCheck-2.9.1...
Building QuickCheck-2.9.1...
Installed QuickCheck-2.9.1
Configuring quickcheck-io-0.1.3...
Building quickcheck-io-0.1.3...
Installed quickcheck-io-0.1.3
Configuring hspec-core-2.2.3...
Building hspec-core-2.2.3...
Installed hspec-core-2.2.3
Configuring hspec-2.2.3...
Building hspec-2.2.3...
Installed hspec-2.2.3
Installed attoparsec-0.13.0.2
cabal: Error: some packages failed to install:
testloop-0.1.1.0 failed during the building phase. The exception was:
ExitFailure 1
setup-koans: [ERROR]cabal install --only-dependencies failed.
the error log file as follows
/HaskellKoans/.cabal-sandbox/logs/testloop-0.1.1.0.log
Configuring testloop-0.1.1.0...
Building testloop-0.1.1.0...
Preprocessing library testloop-0.1.1.0...
[1 of 6] Compiling System.TestLoop.Internal.Signal ( src/System/TestLoop/Internal/Signal.hs, dist/dist-sandbox-b3073e5/build/System/TestLoop/Internal/Signal.o )
[2 of 6] Compiling System.TestLoop.Util ( src/System/TestLoop/Util.hs, dist/dist-sandbox-b3073e5/build/System/TestLoop/Util.o )
[3 of 6] Compiling System.TestLoop.Internal.Types ( src/System/TestLoop/Internal/Types.hs, dist/dist-sandbox-b3073e5/build/System/TestLoop/Internal/Types.o )
[4 of 6] Compiling System.TestLoop.Internal.Watcher ( src/System/TestLoop/Internal/Watcher.hs, dist/dist-sandbox-b3073e5/build/System/TestLoop/Internal/Watcher.o )
[5 of 6] Compiling System.TestLoop.Internal.Cabal ( src/System/TestLoop/Internal/Cabal.hs, dist/dist-sandbox-b3073e5/build/System/TestLoop/Internal/Cabal.o )
[6 of 6] Compiling System.TestLoop ( src/System/TestLoop.hs, dist/dist-sandbox-b3073e5/build/System/TestLoop.o )
src/System/TestLoop.hs:47:23:
Couldn't match type FS.FilePath' with
[Char]'
Expected type: FilePath
Actual type: FS.FilePath
In the second argument of treeExtExists', namely
(FS.decodeString path)'
In a stmt of a 'do' block:
treeExtExists
manager
(FS.decodeString path)
"hs"
(reloadTestSuite moduleName modulePath paths)
src/System/TestLoop.hs:49:23:
Couldn't match type [Char]' with
FS.FilePath'
Expected type: FilePath -> IO ()
Actual type: FS.FilePath -> IO ()
In the fourth argument of treeExtExists', namely
(reloadTestSuite moduleName modulePath paths)'
In a stmt of a 'do' block:
treeExtExists
manager
(FS.decodeString path)
"hs"
(reloadTestSuite moduleName modulePath paths)