bos/aeson — Issue #55: cabal install problems on OSX
Author: btv
Created: 2011-12-20 19:52:25+00:00
State: open

I tried to install version .4, here is the build log and the error. I'm not sure if I did anything wrong, but I'm happy to help solve the problem. I did do a cabal update before trying the installation. The other tricky thing is that I believe I'm running the 64bit version on OSX.

bverdier-mbp:~ bverdier$ ghc --version
The Glorious Glasgow Haskell Compilation System, version 7.0.3

bverdier-mbp:~ bverdier$ sudo cabal install aeson
Password:
Resolving dependencies...
Configuring text-0.11.1.9...
Preprocessing library text-0.11.1.9...
Preprocessing test suites for text-0.11.1.9...
Building text-0.11.1.9...
: cannot satisfy -package-id deepseq-1.1.0.2-0465f803f7d27d264907e7e03e72a71f
(use -v for more information)
cabal: Error: some packages failed to install:
aeson-0.3.2.12 depends on text-0.11.1.9 which failed to install.
blaze-builder-0.3.0.1 depends on text-0.11.1.9 which failed to install.
blaze-textual-0.2.0.4 depends on text-0.11.1.9 which failed to install.
double-conversion-0.2.0.1 depends on text-0.11.1.9 which failed to install.
hashable-1.1.2.1 depends on text-0.11.1.9 which failed to install.
text-0.11.1.9 failed during the building phase. The exception was:
ExitFailure 1
unordered-containers-0.1.4.3 depends on text-0.11.1.9 which failed to install.
bverdier-mbp:~ bverdier$ sudo cabal update
Downloading the latest package list from hackage.haskell.org
bverdier-mbp:~ bverdier$ sudo cabal install aeson
Resolving dependencies...
Configuring attoparsec-0.9.1.2...
Preprocessing library attoparsec-0.9.1.2...
Building attoparsec-0.9.1.2...
[1 of 9] Compiling Data.Attoparsec.Zepto ( Data/Attoparsec/Zepto.hs, dist/build/Data/Attoparsec/Zepto.o )
[2 of 9] Compiling Data.Attoparsec.Internal.Types ( Data/Attoparsec/Internal/Types.hs, dist/build/Data/Attoparsec/Internal/Types.o )
[3 of 9] Compiling Data.Attoparsec.Number ( Data/Attoparsec/Number.hs, dist/build/Data/Attoparsec/Number.o )
[4 of 9] Compiling Data.Attoparsec.FastSet ( Data/Attoparsec/FastSet.hs, dist/build/Data/Attoparsec/FastSet.o )
[5 of 9] Compiling Data.Attoparsec.Combinator ( Data/Attoparsec/Combinator.hs, dist/build/Data/Attoparsec/Combinator.o )
[6 of 9] Compiling Data.Attoparsec.Internal ( Data/Attoparsec/Internal.hs, dist/build/Data/Attoparsec/Internal.o )
[7 of 9] Compiling Data.Attoparsec ( Data/Attoparsec.hs, dist/build/Data/Attoparsec.o )
[8 of 9] Compiling Data.Attoparsec.Char8 ( Data/Attoparsec/Char8.hs, dist/build/Data/Attoparsec/Char8.o )
[9 of 9] Compiling Data.Attoparsec.Lazy ( Data/Attoparsec/Lazy.hs, dist/build/Data/Attoparsec/Lazy.o )
[1 of 9] Compiling Data.Attoparsec.Zepto ( Data/Attoparsec/Zepto.hs, dist/build/Data/Attoparsec/Zepto.p_o )
[2 of 9] Compiling Data.Attoparsec.Internal.Types ( Data/Attoparsec/Internal/Types.hs, dist/build/Data/Attoparsec/Internal/Types.p_o )
[3 of 9] Compiling Data.Attoparsec.Number ( Data/Attoparsec/Number.hs, dist/build/Data/Attoparsec/Number.p_o )
[4 of 9] Compiling Data.Attoparsec.FastSet ( Data/Attoparsec/FastSet.hs, dist/build/Data/Attoparsec/FastSet.p_o )
[5 of 9] Compiling Data.Attoparsec.Combinator ( Data/Attoparsec/Combinator.hs, dist/build/Data/Attoparsec/Combinator.p_o )
[6 of 9] Compiling Data.Attoparsec.Internal ( Data/Attoparsec/Internal.hs, dist/build/Data/Attoparsec/Internal.p_o )
[7 of 9] Compiling Data.Attoparsec ( Data/Attoparsec.hs, dist/build/Data/Attoparsec.p_o )
[8 of 9] Compiling Data.Attoparsec.Char8 ( Data/Attoparsec/Char8.hs, dist/build/Data/Attoparsec/Char8.p_o )
[9 of 9] Compiling Data.Attoparsec.Lazy ( Data/Attoparsec/Lazy.hs, dist/build/Data/Attoparsec/Lazy.p_o )
Registering attoparsec-0.9.1.2...
Running Haddock for attoparsec-0.9.1.2...
Preprocessing library attoparsec-0.9.1.2...
Warning: The documentation for the following packages are not installed. No
links will be generated to these packages: ffi-1.0, rts-1.0
haddock coverage for dist/build/tmp73532/Data/Attoparsec/Zepto.hs: 7/7 100%
haddock coverage for dist/build/tmp73532/Data/Attoparsec/Internal/Types.hs: 4/11 36%
haddock coverage for dist/build/tmp73532/Data/Attoparsec/Number.hs: 2/2 100%
haddock coverage for dist/build/tmp73532/Data/Attoparsec/FastSet.hs: 9/13 69%
haddock coverage for dist/build/tmp73532/Data/Attoparsec/Combinator.hs: 13/13 100%
haddock coverage for dist/build/tmp73532/Data/Attoparsec/Internal.hs: 38/41 93%
haddock coverage for dist/build/tmp73532/Data/Attoparsec.hs: 48/49 98%
haddock coverage for dist/build/tmp73532/Data/Attoparsec/Char8.hs: 67/68 99%
haddock coverage for dist/build/tmp73532/Data/Attoparsec/Lazy.hs: 9/9 100%
Documentation created: dist/doc/html/attoparsec/index.html
Installing library in
/Users/bverdier/Library/Haskell/ghc-7.0.3/lib/attoparsec-0.9.1.2/lib
Registering attoparsec-0.9.1.2...
Configuring blaze-builder-0.3.0.1...
Preprocessing library blaze-builder-0.3.0.1...
Building blaze-builder-0.3.0.1...
[ 1 of 13] Compiling Blaze.ByteString.Builder.Internal.Types ( Blaze/ByteString/Builder/Internal/Types.hs, dist/build/Blaze/ByteString/Builder/Internal/Types.o )
[ 2 of 13] Compiling Blaze.ByteString.Builder.Internal.Write ( Blaze/ByteString/Builder/Internal/Write.hs, dist/build/Blaze/ByteString/Builder/Internal/Write.o )
[ 3 of 13] Compiling Blaze.ByteString.Builder.Internal.Buffer ( Blaze/ByteString/Builder/Internal/Buffer.hs, dist/build/Blaze/ByteString/Builder/Internal/Buffer.o )
[ 4 of 13] Compiling Blaze.ByteString.Builder.Internal.UncheckedShifts ( Blaze/ByteString/Builder/Internal/UncheckedShifts.hs, dist/build/Blaze/ByteString/Builder/Internal/UncheckedShifts.o )
[ 5 of 13] Compiling Blaze.ByteString.Builder.Internal ( Blaze/ByteString/Builder/Internal.hs, dist/build/Blaze/ByteString/Builder/Internal.o )
[ 6 of 13] Compiling Blaze.ByteString.Builder.Char.Utf8 ( Blaze/ByteString/Builder/Char/Utf8.hs, dist/build/Blaze/ByteString/Builder/Char/Utf8.o )
[ 7 of 13] Compiling Blaze.ByteString.Builder.ByteString ( Blaze/ByteString/Builder/ByteString.hs, dist/build/Blaze/ByteString/Builder/ByteString.o )
[ 8 of 13] Compiling Blaze.ByteString.Builder.Word ( Blaze/ByteString/Builder/Word.hs, dist/build/Blaze/ByteString/Builder/Word.o )

Blaze/ByteString/Builder/Word.hs:100:1:
Warning: The import of `GHC.Word' is redundant
except perhaps to import instances from `GHC.Word'
To import instances alone, use: import GHC.Word()
[ 9 of 13] Compiling Blaze.ByteString.Builder.Char8 ( Blaze/ByteString/Builder/Char8.hs, dist/build/Blaze/ByteString/Builder/Char8.o )
[10 of 13] Compiling Blaze.ByteString.Builder.HTTP ( Blaze/ByteString/Builder/HTTP.hs, dist/build/Blaze/ByteString/Builder/HTTP.o )
[11 of 13] Compiling Blaze.ByteString.Builder.Int ( Blaze/ByteString/Builder/Int.hs, dist/build/Blaze/ByteString/Builder/Int.o )
[12 of 13] Compiling Blaze.ByteString.Builder ( Blaze/ByteString/Builder.hs, dist/build/Blaze/ByteString/Builder.o )
[13 of 13] Compiling Blaze.ByteString.Builder.Html.Utf8 ( Blaze/ByteString/Builder/Html/Utf8.hs, dist/build/Blaze/ByteString/Builder/Html/Utf8.o )
[ 1 of 13] Compiling Blaze.ByteString.Builder.Internal.Types ( Blaze/ByteString/Builder/Internal/Types.hs, dist/build/Blaze/ByteString/Builder/Internal/Types.p_o )
[ 2 of 13] Compiling Blaze.ByteString.Builder.Internal.Write ( Blaze/ByteString/Builder/Internal/Write.hs, dist/build/Blaze/ByteString/Builder/Internal/Write.p_o )
[ 3 of 13] Compiling Blaze.ByteString.Builder.Internal.Buffer ( Blaze/ByteString/Builder/Internal/Buffer.hs, dist/build/Blaze/ByteString/Builder/Internal/Buffer.p_o )
[ 4 of 13] Compiling Blaze.ByteString.Builder.Internal.UncheckedShifts ( Blaze/ByteString/Builder/Internal/UncheckedShifts.hs, dist/build/Blaze/ByteString/Builder/Internal/UncheckedShifts.p_o )
[ 5 of 13] Compiling Blaze.ByteString.Builder.Internal ( Blaze/ByteString/Builder/Internal.hs, dist/build/Blaze/ByteString/Builder/Internal.p_o )
[ 6 of 13] Compiling Blaze.ByteString.Builder.Char.Utf8 ( Blaze/ByteString/Builder/Char/Utf8.hs, dist/build/Blaze/ByteString/Builder/Char/Utf8.p_o )
[ 7 of 13] Compiling Blaze.ByteString.Builder.ByteString ( Blaze/ByteString/Builder/ByteString.hs, dist/build/Blaze/ByteString/Builder/ByteString.p_o )
[ 8 of 13] Compiling Blaze.ByteString.Builder.Word ( Blaze/ByteString/Builder/Word.hs, dist/build/Blaze/ByteString/Builder/Word.p_o )

Blaze/ByteString/Builder/Word.hs:100:1:
Warning: The import of `GHC.Word' is redundant
except perhaps to import instances from `GHC.Word'
To import instances alone, use: import GHC.Word()
[ 9 of 13] Compiling Blaze.ByteString.Builder.Char8 ( Blaze/ByteString/Builder/Char8.hs, dist/build/Blaze/ByteString/Builder/Char8.p_o )
[10 of 13] Compiling Blaze.ByteString.Builder.HTTP ( Blaze/ByteString/Builder/HTTP.hs, dist/build/Blaze/ByteString/Builder/HTTP.p_o )
[11 of 13] Compiling Blaze.ByteString.Builder.Int ( Blaze/ByteString/Builder/Int.hs, dist/build/Blaze/ByteString/Builder/Int.p_o )
[12 of 13] Compiling Blaze.ByteString.Builder ( Blaze/ByteString/Builder.hs, dist/build/Blaze/ByteString/Builder.p_o )
[13 of 13] Compiling Blaze.ByteString.Builder.Html.Utf8 ( Blaze/ByteString/Builder/Html/Utf8.hs, dist/build/Blaze/ByteString/Builder/Html/Utf8.p_o )
Registering blaze-builder-0.3.0.1...
Running Haddock for blaze-builder-0.3.0.1...
Preprocessing library blaze-builder-0.3.0.1...
Warning: The documentation for the following packages are not installed. No
links will be generated to these packages: ffi-1.0, rts-1.0
haddock coverage for dist/build/tmp73532/Blaze/ByteString/Builder/Internal/Types.hs: 4/15 27%
haddock coverage for dist/build/tmp73532/Blaze/ByteString/Builder/Internal/Write.hs: 24/26 92%
haddock coverage for dist/build/tmp73532/Blaze/ByteString/Builder/Internal/Buffer.hs: 22/22 100%
haddock coverage for dist/build/tmp73532/Blaze/ByteString/Builder/Internal/UncheckedShifts.hs: 1/4 25%
haddock coverage for dist/build/tmp73532/Blaze/ByteString/Builder/Internal.hs: 21/31 68%
haddock coverage for dist/build/tmp73532/Blaze/ByteString/Builder/Char/Utf8.hs: 9/9 100%
haddock coverage for dist/build/tmp73532/Blaze/ByteString/Builder/ByteString.hs: 12/12 100%
haddock coverage for dist/build/tmp73532/Blaze/ByteString/Builder/Word.hs: 43/43 100%
haddock coverage for dist/build/tmp73532/Blaze/ByteString/Builder/Char8.hs: 9/9 100%
haddock coverage for dist/build/tmp73532/Blaze/ByteString/Builder/HTTP.hs: 4/4 100%
haddock coverage for dist/build/tmp73532/Blaze/ByteString/Builder/Int.hs: 43/43 100%
haddock coverage for dist/build/tmp73532/Blaze/ByteString/Builder.hs: 21/23 91%
haddock coverage for dist/build/tmp73532/Blaze/ByteString/Builder/Html/Utf8.hs: 10/10 100%
Documentation created: dist/doc/html/blaze-builder/index.html
Installing library in
/Users/bverdier/Library/Haskell/ghc-7.0.3/lib/blaze-builder-0.3.0.1/lib
Registering blaze-builder-0.3.0.1...
Downloading blaze-textual-0.2.0.5...
Configuring blaze-textual-0.2.0.5...
Preprocessing library blaze-textual-0.2.0.5...
Preprocessing test suites for blaze-textual-0.2.0.5...
Building blaze-textual-0.2.0.5...
[1 of 4] Compiling Blaze.Text.Int ( Blaze/Text/Int.hs, dist/build/Blaze/Text/Int.o )
[2 of 4] Compiling Blaze.Text.Double.Native ( Blaze/Text/Double/Native.hs, dist/build/Blaze/Text/Double/Native.o )
[3 of 4] Compiling Blaze.Text.Double ( Blaze/Text/Double.hs, dist/build/Blaze/Text/Double.o )
[4 of 4] Compiling Blaze.Text ( Blaze/Text.hs, dist/build/Blaze/Text.o )
[1 of 4] Compiling Blaze.Text.Int ( Blaze/Text/Int.hs, dist/build/Blaze/Text/Int.p_o )
[2 of 4] Compiling Blaze.Text.Double.Native ( Blaze/Text/Double/Native.hs, dist/build/Blaze/Text/Double/Native.p_o )
[3 of 4] Compiling Blaze.Text.Double ( Blaze/Text/Double.hs, dist/build/Blaze/Text/Double.p_o )
[4 of 4] Compiling Blaze.Text ( Blaze/Text.hs, dist/build/Blaze/Text.p_o )
Registering blaze-textual-0.2.0.5...
Running Haddock for blaze-textual-0.2.0.5...
Preprocessing library blaze-textual-0.2.0.5...
Preprocessing test suites for blaze-textual-0.2.0.5...
Warning: The documentation for the following packages are not installed. No
links will be generated to these packages: ffi-1.0, rts-1.0
haddock coverage for dist/build/tmp73532/Blaze/Text/Int.hs: 0/4 0%
haddock coverage for dist/build/tmp73532/Blaze/Text/Double/Native.hs: 0/3 0%
haddock coverage for dist/build/tmp73532/Blaze/Text/Double.hs: 0/3 0%
haddock coverage for dist/build/tmp73532/Blaze/Text.hs: 0/4 0%
Documentation created: dist/doc/html/blaze-textual/index.html
Installing library in
/Users/bverdier/Library/Haskell/ghc-7.0.3/lib/blaze-textual-0.2.0.5/lib
Registering blaze-textual-0.2.0.5...
Configuring hashable-1.1.2.1...
Preprocessing library hashable-1.1.2.1...
Preprocessing test suites for hashable-1.1.2.1...
Building hashable-1.1.2.1...
[1 of 1] Compiling Data.Hashable ( Data/Hashable.hs, dist/build/Data/Hashable.o )
[1 of 1] Compiling Data.Hashable ( Data/Hashable.hs, dist/build/Data/Hashable.p_o )
Registering hashable-1.1.2.1...
Running Haddock for hashable-1.1.2.1...
Preprocessing library hashable-1.1.2.1...
Preprocessing test suites for hashable-1.1.2.1...
Warning: The documentation for the following packages are not installed. No
links will be generated to these packages: ffi-1.0, rts-1.0
haddock coverage for dist/build/tmp73532/Data/Hashable.hs: 10/10 100%
Documentation created: dist/doc/html/hashable/index.html
Installing library in
/Users/bverdier/Library/Haskell/ghc-7.0.3/lib/hashable-1.1.2.1/lib
Registering hashable-1.1.2.1...
Downloading unordered-containers-0.1.4.5...
Configuring unordered-containers-0.1.4.5...
Preprocessing library unordered-containers-0.1.4.5...
Preprocessing test suites for unordered-containers-0.1.4.5...
Building unordered-containers-0.1.4.5...
[1 of 8] Compiling Data.FullList.Lazy ( Data/FullList/Lazy.hs, dist/build/Data/FullList/Lazy.o )
[2 of 8] Compiling Data.HashMap.Common ( Data/HashMap/Common.hs, dist/build/Data/HashMap/Common.o )
[3 of 8] Compiling Data.FullList.Strict ( Data/FullList/Strict.hs, dist/build/Data/FullList/Strict.o )
[4 of 8] Compiling Data.HashMap.Lazy ( Data/HashMap/Lazy.hs, dist/build/Data/HashMap/Lazy.o )
[5 of 8] Compiling Data.HashMap.Strict ( Data/HashMap/Strict.hs, dist/build/Data/HashMap/Strict.o )
[6 of 8] Compiling Data.HashSet ( Data/HashSet.hs, dist/build/Data/HashSet.o )
[7 of 8] Compiling Data.HashMap.Lazy.Internal ( Data/HashMap/Lazy/Internal.hs, dist/build/Data/HashMap/Lazy/Internal.o )
[8 of 8] Compiling Data.HashMap.Strict.Internal ( Data/HashMap/Strict/Internal.hs, dist/build/Data/HashMap/Strict/Internal.o )
[1 of 8] Compiling Data.FullList.Lazy ( Data/FullList/Lazy.hs, dist/build/Data/FullList/Lazy.p_o )
[2 of 8] Compiling Data.HashMap.Common ( Data/HashMap/Common.hs, dist/build/Data/HashMap/Common.p_o )
[3 of 8] Compiling Data.FullList.Strict ( Data/FullList/Strict.hs, dist/build/Data/FullList/Strict.p_o )
[4 of 8] Compiling Data.HashMap.Lazy ( Data/HashMap/Lazy.hs, dist/build/Data/HashMap/Lazy.p_o )
[5 of 8] Compiling Data.HashMap.Strict ( Data/HashMap/Strict.hs, dist/build/Data/HashMap/Strict.p_o )
[6 of 8] Compiling Data.HashSet ( Data/HashSet.hs, dist/build/Data/HashSet.p_o )
[7 of 8] Compiling Data.HashMap.Lazy.Internal ( Data/HashMap/Lazy/Internal.hs, dist/build/Data/HashMap/Lazy/Internal.p_o )
[8 of 8] Compiling Data.HashMap.Strict.Internal ( Data/HashMap/Strict/Internal.hs, dist/build/Data/HashMap/Strict/Internal.p_o )
Registering unordered-containers-0.1.4.5...
Running Haddock for unordered-containers-0.1.4.5...
Preprocessing library unordered-containers-0.1.4.5...
Preprocessing test suites for unordered-containers-0.1.4.5...
Warning: The documentation for the following packages are not installed. No
links will be generated to these packages: ffi-1.0, rts-1.0
haddock coverage for dist/build/tmp73532/Data/FullList/Lazy.hs: 10/26 38%
haddock coverage for dist/build/tmp73532/Data/HashMap/Common.hs: 18/21 86%
haddock coverage for dist/build/tmp73532/Data/FullList/Strict.hs: 8/21 38%
haddock coverage for dist/build/tmp73532/Data/HashMap/Lazy.hs: 39/39 100%
haddock coverage for dist/build/tmp73532/Data/HashMap/Strict.hs: 39/39 100%
haddock coverage for dist/build/tmp73532/Data/HashSet.hs: 26/26 100%
haddock coverage for dist/build/tmp73532/Data/HashMap/Lazy/Internal.hs: 3/3 100%
haddock coverage for dist/build/tmp73532/Data/HashMap/Strict/Internal.hs: 3/3 100%
Documentation created: dist/doc/html/unordered-containers/index.html
Installing library in
/Users/bverdier/Library/Haskell/ghc-7.0.3/lib/unordered-containers-0.1.4.5/lib
Registering unordered-containers-0.1.4.5...
Downloading aeson-0.4.0.0...
Configuring aeson-0.4.0.0...
Preprocessing library aeson-0.4.0.0...
Preprocessing test suites for aeson-0.4.0.0...
Building aeson-0.4.0.0...
: cannot satisfy -package-id mtl-2.0.1.0-5b7a9cce5565d8cc8721ba4f95becf1b
(use -v for more information)
Updating documentation index /Users/bverdier/Library/Haskell/doc/index.html
cabal: Error: some packages failed to install:
aeson-0.4.0.0 failed during the building phase. The exception was:
ExitFailure 1