Resolving dependencies... [1 of 1] Compiling Main ( /tmp/llvm-base-3.2.0.2-24018/llvm-base-3.2.0.2/Setup.hs, /tmp/llvm-base-3.2.0.2-24018/llvm-base-3.2.0.2/dist/setup/Main.o ) Loading package ghc-prim ... linking ... done. Loading package integer-gmp ... linking ... done. Loading package base ... linking ... done. Loading package array-0.4.0.1 ... linking ... done. Loading package deepseq-1.3.0.1 ... linking ... done. Loading package containers-0.5.0.0 ... linking ... done. Loading package filepath-1.3.0.1 ... linking ... done. Loading package old-locale-1.0.0.5 ... linking ... done. Loading package time-1.4.0.1 ... linking ... done. Loading package bytestring-0.10.0.2 ... linking ... done. Loading package unix-2.6.0.1 ... linking ... done. Loading package directory-1.2.0.1 ... linking ... done. Loading package old-time-1.1.0.1 ... linking ... done. Loading package pretty-1.1.1.0 ... linking ... done. Loading package process-1.1.0.2 ... linking ... done. Loading package Cabal-1.16.0.3 ... linking ... done. Loading package template-haskell ... linking ... done. Linking /tmp/llvm-base-3.2.0.2-24018/llvm-base-3.2.0.2/dist/setup/setup ... Configuring llvm-base-3.2.0.2... configure: WARNING: unrecognized options: --with-gcc checking for g++... g++ checking whether the C++ compiler works... yes checking for C++ compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C++ compiler... yes checking whether g++ accepts -g... yes checking for llvm-config... /usr/bin/llvm-config Target platform inferred as: x86_64-unknown-linux found LLVM version 3.0 checking for library containing LLVMModuleCreateWithName... -lLLVM-3.0 checking how to run the C++ preprocessor... g++ -E checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking llvm-c/Core.h usability... yes checking llvm-c/Core.h presence... yes checking for llvm-c/Core.h... yes checking llvm/ADT/StringRef.h usability... yes checking llvm/ADT/StringRef.h presence... yes checking for llvm/ADT/StringRef.h... yes checking for llvm/Support/DynamicLibrary.h... yes checking for LLVMModuleCreateWithName in -lLLVMCore... yes configure: creating ./config.status config.status: creating llvm-base.buildinfo config.status: creating include/hs_llvm_config.h configure: WARNING: unrecognized options: --with-gcc Building llvm-base-3.2.0.2... Preprocessing library llvm-base-3.2.0.2... cc1: warning: command line option ‘-Woverloaded-virtual’ is valid for C++/ObjC++ but not for C [enabled by default] cc1: warning: command line option ‘-Woverloaded-virtual’ is valid for C++/ObjC++ but not for C [enabled by default] /usr/bin/ld: warning: libffi.so.5, needed by /usr/lib/gcc/x86_64-linux-gnu/4.7/../../../x86_64-linux-gnu/libLLVM-3.0.so, may conflict with libffi.so.6 cc1: warning: command line option ‘-Woverloaded-virtual’ is valid for C++/ObjC++ but not for C [enabled by default] cc1: warning: command line option ‘-Woverloaded-virtual’ is valid for C++/ObjC++ but not for C [enabled by default] /usr/bin/ld: warning: libffi.so.5, needed by /usr/lib/gcc/x86_64-linux-gnu/4.7/../../../x86_64-linux-gnu/libLLVM-3.0.so, may conflict with libffi.so.6 cc1: warning: command line option ‘-Woverloaded-virtual’ is valid for C++/ObjC++ but not for C [enabled by default] cc1: warning: command line option ‘-Woverloaded-virtual’ is valid for C++/ObjC++ but not for C [enabled by default] /usr/bin/ld: warning: libffi.so.5, needed by /usr/lib/gcc/x86_64-linux-gnu/4.7/../../../x86_64-linux-gnu/libLLVM-3.0.so, may conflict with libffi.so.6 cc1: warning: command line option ‘-Woverloaded-virtual’ is valid for C++/ObjC++ but not for C [enabled by default] cc1: warning: command line option ‘-Woverloaded-virtual’ is valid for C++/ObjC++ but not for C [enabled by default] /usr/bin/ld: warning: libffi.so.5, needed by /usr/lib/gcc/x86_64-linux-gnu/4.7/../../../x86_64-linux-gnu/libLLVM-3.0.so, may conflict with libffi.so.6 cc1: warning: command line option ‘-Woverloaded-virtual’ is valid for C++/ObjC++ but not for C [enabled by default] cc1: warning: command line option ‘-Woverloaded-virtual’ is valid for C++/ObjC++ but not for C [enabled by default] /usr/bin/ld: warning: libffi.so.5, needed by /usr/lib/gcc/x86_64-linux-gnu/4.7/../../../x86_64-linux-gnu/libLLVM-3.0.so, may conflict with libffi.so.6 cc1: warning: command line option ‘-Woverloaded-virtual’ is valid for C++/ObjC++ but not for C [enabled by default] cc1: warning: command line option ‘-Woverloaded-virtual’ is valid for C++/ObjC++ but not for C [enabled by default] /usr/bin/ld: warning: libffi.so.5, needed by /usr/lib/gcc/x86_64-linux-gnu/4.7/../../../x86_64-linux-gnu/libLLVM-3.0.so, may conflict with libffi.so.6 cc1: warning: command line option ‘-Woverloaded-virtual’ is valid for C++/ObjC++ but not for C [enabled by default] Linker.hsc:9:27: fatal error: llvm-c/Linker.h: No such file or directory compilation terminated. compiling dist/build/LLVM/FFI/Linker_hsc_make.c failed (exit code 1) command was: /usr/bin/gcc -c dist/build/LLVM/FFI/Linker_hsc_make.c -o dist/build/LLVM/FFI/Linker_hsc_make.o -fno-stack-protector -Wl,--hash-size=31 -Wl,--reduce-memory-overheads -D__GLASGOW_HASKELL__=706 -Dlinux_BUILD_OS -Dlinux_HOST_OS -Dx86_64_BUILD_ARCH -Dx86_64_HOST_ARCH -I/usr/lib/llvm-3.0/include -Iinclude -I/usr/lib/llvm-3.0/include -DNDEBUG -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -g -O2 -fomit-frame-pointer -fPIC -I/usr/lib/llvm-3.0/include -DNDEBUG -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -g -O2 -fomit-frame-pointer -fno-exceptions -fPIC -Woverloaded-virtual -Wcast-qual -I/usr/lib/llvm-3.0/include -DNDEBUG -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -DTARGET=X86 -DHS_LLVM_VERSION=300 -Idist/build/autogen -include dist/build/autogen/cabal_macros.h -Idist/build/autogen -include dist/build/autogen/cabal_macros.h -I/usr/local/lib/ghc-7.6.3/base-4.6.0.1/include -Idist/build/autogen -include dist/build/autogen/cabal_macros.h -Idist/build/autogen -include dist/build/autogen/cabal_macros.h -Idist/build/autogen -include dist/build/autogen/cabal_macros.h -I/usr/local/lib/ghc-7.6.3/include -Idist/build/autogen -include dist/build/autogen/cabal_macros.h -I/usr/local/lib/ghc-7.6.3/include/ Failed to install llvm-base-3.2.0.2 Configuring syb-0.4.1... Building syb-0.4.1... Preprocessing library syb-0.4.1... [ 1 of 16] Compiling Data.Generics.Basics ( src/Data/Generics/Basics.hs, dist/build/Data/Generics/Basics.o ) [ 2 of 16] Compiling Generics.SYB.Basics ( src/Generics/SYB/Basics.hs, dist/build/Generics/SYB/Basics.o ) [ 3 of 16] Compiling Data.Generics.Instances ( src/Data/Generics/Instances.hs, dist/build/Data/Generics/Instances.o ) [ 4 of 16] Compiling Generics.SYB.Instances ( src/Generics/SYB/Instances.hs, dist/build/Generics/SYB/Instances.o ) [ 5 of 16] Compiling Data.Generics.Aliases ( src/Data/Generics/Aliases.hs, dist/build/Data/Generics/Aliases.o ) [ 6 of 16] Compiling Data.Generics.Schemes ( src/Data/Generics/Schemes.hs, dist/build/Data/Generics/Schemes.o ) [ 7 of 16] Compiling Generics.SYB.Schemes ( src/Generics/SYB/Schemes.hs, dist/build/Generics/SYB/Schemes.o ) [ 8 of 16] Compiling Data.Generics.Text ( src/Data/Generics/Text.hs, dist/build/Data/Generics/Text.o ) [ 9 of 16] Compiling Generics.SYB.Text ( src/Generics/SYB/Text.hs, dist/build/Generics/SYB/Text.o ) [10 of 16] Compiling Data.Generics.Twins ( src/Data/Generics/Twins.hs, dist/build/Data/Generics/Twins.o ) [11 of 16] Compiling Generics.SYB.Twins ( src/Generics/SYB/Twins.hs, dist/build/Generics/SYB/Twins.o ) [12 of 16] Compiling Data.Generics.Builders ( src/Data/Generics/Builders.hs, dist/build/Data/Generics/Builders.o ) [13 of 16] Compiling Generics.SYB.Builders ( src/Generics/SYB/Builders.hs, dist/build/Generics/SYB/Builders.o ) [14 of 16] Compiling Generics.SYB.Aliases ( src/Generics/SYB/Aliases.hs, dist/build/Generics/SYB/Aliases.o ) [15 of 16] Compiling Data.Generics ( src/Data/Generics.hs, dist/build/Data/Generics.o ) [16 of 16] Compiling Generics.SYB ( src/Generics/SYB.hs, dist/build/Generics/SYB.o ) In-place registering syb-0.4.1... Running Haddock for syb-0.4.1... Running hscolour for syb-0.4.1... Preprocessing library syb-0.4.1... Preprocessing library syb-0.4.1... Haddock coverage: 100% ( 2 / 2) in 'Data.Generics.Basics' 100% ( 2 / 2) in 'Generics.SYB.Basics' 100% ( 1 / 1) in 'Data.Generics.Instances' 100% ( 1 / 1) in 'Generics.SYB.Instances' 96% ( 43 / 45) in 'Data.Generics.Aliases' 100% ( 19 / 19) in 'Data.Generics.Schemes' 100% ( 2 / 2) in 'Generics.SYB.Schemes' 100% ( 6 / 6) in 'Data.Generics.Text' 100% ( 2 / 2) in 'Generics.SYB.Text' 100% ( 16 / 16) in 'Data.Generics.Twins' 100% ( 2 / 2) in 'Generics.SYB.Twins' 100% ( 3 / 3) in 'Data.Generics.Builders' 100% ( 2 / 2) in 'Generics.SYB.Builders' 100% ( 2 / 2) in 'Generics.SYB.Aliases' 100% ( 8 / 8) in 'Data.Generics' 100% ( 2 / 2) in 'Generics.SYB' Documentation created: dist/doc/html/syb/index.html Installing library in /srv/hackage/var/build/tmp-install/lib/x86_64-linux-ghc-7.6.3/syb-0.4.1 Registering syb-0.4.1... Installed syb-0.4.1 Configuring type-level-0.2.4... Building type-level-0.2.4... Preprocessing library type-level-0.2.4... [1 of 8] Compiling Data.TypeLevel.Num.Reps ( src/Data/TypeLevel/Num/Reps.hs, dist/build/Data/TypeLevel/Num/Reps.o ) [2 of 8] Compiling Data.TypeLevel.Num.Sets ( src/Data/TypeLevel/Num/Sets.hs, dist/build/Data/TypeLevel/Num/Sets.o ) [3 of 8] Compiling Data.TypeLevel.Num.Aliases.TH ( src/Data/TypeLevel/Num/Aliases/TH.hs, dist/build/Data/TypeLevel/Num/Aliases/TH.o ) [4 of 8] Compiling Data.TypeLevel.Num.Aliases ( src/Data/TypeLevel/Num/Aliases.hs, dist/build/Data/TypeLevel/Num/Aliases.o ) Loading package ghc-prim ... linking ... done. Loading package integer-gmp ... linking ... done. Loading package base ... linking ... done. Loading package array-0.4.0.1 ... linking ... done. Loading package deepseq-1.3.0.1 ... linking ... done. Loading package containers-0.5.0.0 ... linking ... done. Loading package pretty-1.1.1.0 ... linking ... done. Loading package template-haskell ... linking ... done. Loading package syb-0.4.1 ... linking ... done. src/Data/TypeLevel/Num/Aliases.hs:24:1: Warning: The import of `Data.TypeLevel.Num.Reps' is redundant except perhaps to import instances from `Data.TypeLevel.Num.Reps' To import instances alone, use: import Data.TypeLevel.Num.Reps() [5 of 8] Compiling Data.TypeLevel.Bool ( src/Data/TypeLevel/Bool.hs, dist/build/Data/TypeLevel/Bool.o ) [6 of 8] Compiling Data.TypeLevel.Num.Ops ( src/Data/TypeLevel/Num/Ops.hs, dist/build/Data/TypeLevel/Num/Ops.o ) [7 of 8] Compiling Data.TypeLevel.Num ( src/Data/TypeLevel/Num.hs, dist/build/Data/TypeLevel/Num.o ) [8 of 8] Compiling Data.TypeLevel ( src/Data/TypeLevel.hs, dist/build/Data/TypeLevel.o ) In-place registering type-level-0.2.4... Running Haddock for type-level-0.2.4... Running hscolour for type-level-0.2.4... Preprocessing library type-level-0.2.4... Preprocessing library type-level-0.2.4... dist/build/tmp-24018/src/Data/TypeLevel/Num/Aliases.hs:24:1: Warning: The import of `Data.TypeLevel.Num.Reps' is redundant except perhaps to import instances from `Data.TypeLevel.Num.Reps' To import instances alone, use: import Data.TypeLevel.Num.Reps() Haddock coverage: 100% ( 13 / 13) in 'Data.TypeLevel.Num.Reps' 100% ( 6 / 6) in 'Data.TypeLevel.Num.Sets' 67% ( 2 / 3) in 'Data.TypeLevel.Num.Aliases.TH' 0% ( 1 /28431) in 'Data.TypeLevel.Num.Aliases' 95% ( 21 / 22) in 'Data.TypeLevel.Bool' 97% ( 68 / 70) in 'Data.TypeLevel.Num.Ops' 100% ( 5 / 5) in 'Data.TypeLevel.Num' 100% ( 3 / 3) in 'Data.TypeLevel' Warning: Data.TypeLevel.Num.Reps: could not find link destinations for: Data.TypeLevel.Num.Ops.CS Warning: Data.TypeLevel.Num.Sets: could not find link destinations for: Data.TypeLevel.Num.Sets.PosI Data.TypeLevel.Num.Sets.NatI Warning: Data.TypeLevel.Bool: could not find link destinations for: Data.TypeLevel.Bool.BoolI Warning: Data.TypeLevel.Num.Ops: could not find link destinations for: Data.TypeLevel.Num.Ops.IsZero Data.TypeLevel.Num.Ops.Succ' Data.TypeLevel.Num.Ops.Add' Data.TypeLevel.Num.Ops.DivMod' Data.TypeLevel.Num.Ops.LogBaseF' Data.TypeLevel.Num.Ops.IsPowOf' Data.TypeLevel.Num.Ops.CS Data.TypeLevel.Num.Ops.Max' Data.TypeLevel.Num.Ops.GCD' Documentation created: dist/doc/html/type-level/index.html Installing library in /srv/hackage/var/build/tmp-install/lib/x86_64-linux-ghc-7.6.3/type-level-0.2.4 Registering type-level-0.2.4... Installed type-level-0.2.4 cabal: Error: some packages failed to install: llvm-3.2.0.1 depends on llvm-base-3.2.0.2 which failed to install. llvm-base-3.2.0.2 failed during the building phase. The exception was: ExitFailure 1