Resolving dependencies... Configuring ObjectName-1.1.0.1... Configuring fixed-0.2.1.1... Building fixed-0.2.1.1... Building ObjectName-1.1.0.1... Installed ObjectName-1.1.0.1 Configuring half-0.2.2.3... Configuring mtl-2.2.1... Installed fixed-0.2.1.1 Building half-0.2.2.3... Building mtl-2.2.1... Configuring primitive-0.6.2.0... Installed half-0.2.2.3 Building primitive-0.6.2.0... Configuring primitive-0.6.1.0... Installed mtl-2.2.1 Building primitive-0.6.1.0... Configuring random-1.1... Installed primitive-0.6.2.0 Configuring stm-2.4.4.1... Installed primitive-0.6.1.0 Building random-1.1... Building stm-2.4.4.1... Configuring utf8-string-1.0.1.1... Installed stm-2.4.4.1 Configuring text-1.2.2.1... Installed random-1.1 Building utf8-string-1.0.1.1... Building text-1.2.2.1... Installed utf8-string-1.0.1.1 Configuring vector-0.11.0.0... Building vector-0.11.0.0... Configuring StateVar-1.1.0.4... Installed text-1.2.2.1 Building StateVar-1.1.0.4... Configuring tf-random-0.5... Installed StateVar-1.1.0.4 Building tf-random-0.5... Configuring Yampa-0.10.5... Installed tf-random-0.5 Building Yampa-0.10.5... Installed vector-0.11.0.0 Configuring OpenGLRaw-3.2.4.0... Building OpenGLRaw-3.2.4.0... Configuring hashable-1.2.5.0... Installed Yampa-0.10.5 Building hashable-1.2.5.0... Configuring QuickCheck-2.9.2... Installed hashable-1.2.5.0 Building QuickCheck-2.9.2... Installed QuickCheck-2.9.2 Configuring hashtables-1.2.1.0... Building hashtables-1.2.1.0... Configuring HCodecs-0.5... Installed hashtables-1.2.1.0 Building HCodecs-0.5... Installed HCodecs-0.5 Configuring gtk2hs-buildtools-0.13.2.1... Building gtk2hs-buildtools-0.13.2.1... Installed gtk2hs-buildtools-0.13.2.1 Configuring glib-0.13.4.1... Building glib-0.13.4.1... Configuring cairo-0.13.3.1... Installed glib-0.13.4.1 Building cairo-0.13.3.1... Installed cairo-0.13.3.1 Configuring gio-0.13.3.1... Building gio-0.13.3.1... Configuring pango-0.13.3.1... Installed gio-0.13.3.1 Building pango-0.13.3.1... Installed OpenGLRaw-3.2.4.0 Configuring GLURaw-2.0.0.3... Installed pango-0.13.3.1 Configuring gtk-0.14.6... Building GLURaw-2.0.0.3... Building gtk-0.14.6... Installed GLURaw-2.0.0.3 Configuring OpenGL-3.0.1.0... Building OpenGL-3.0.1.0... Installed OpenGL-3.0.1.0 Configuring OpenAL-1.7.0.4... Building OpenAL-1.7.0.4... Installed OpenAL-1.7.0.4 Installed gtk-0.14.6 Configuring glade-0.13.1... Building glade-0.13.1... Installed glade-0.13.1 Configuring YampaSynth-0.0.1... Building YampaSynth-0.0.1... Failed to install YampaSynth-0.0.1 Build log ( /home/builder/.cabal/logs/YampaSynth-0.0.1.log ): cabal: Entering directory '/tmp/cabal-tmp-18483/YampaSynth-0.0.1' Configuring YampaSynth-0.0.1... Building YampaSynth-0.0.1... Preprocessing executable 'yampasynth-wav' for YampaSynth-0.0.1... [1 of 5] Compiling SynthParams ( src/SynthParams.hs, dist/build/yampasynth-wav/yampasynth-wav-tmp/SynthParams.o ) src/SynthParams.hs:14:1: warning: [-Wunused-imports] The import of ‘Data.Word’ is redundant except perhaps to import instances from ‘Data.Word’ To import instances alone, use: import Data.Word() [2 of 5] Compiling SynthBasics ( src/SynthBasics.hs, dist/build/yampasynth-wav/yampasynth-wav-tmp/SynthBasics.o ) [3 of 5] Compiling Player.Wav ( src/Player/Wav.hs, dist/build/yampasynth-wav/yampasynth-wav-tmp/Player/Wav.o ) src/Player/Wav.hs:23:30: error: • Couldn't match expected type ‘Builder’ with actual type ‘Codec.ByteString.Builder.Builder’ NB: ‘Codec.ByteString.Builder.Builder’ is defined in ‘Codec.ByteString.Builder’ in package ‘HCodecs-0.5’ ‘Builder’ is defined in ‘Data.ByteString.Builder.Internal’ in package ‘bytestring-0.10.8.1’ • In the second argument of ‘($)’, namely ‘buildWav a’ In the second argument of ‘hPut’, namely ‘(toLazyByteString $ buildWav a)’ In a stmt of a 'do' block: hPut h (toLazyByteString $ buildWav a) src/Player/Wav.hs:27:36: error: • Couldn't match expected type ‘Builder’ with actual type ‘Codec.ByteString.Builder.Builder’ NB: ‘Codec.ByteString.Builder.Builder’ is defined in ‘Codec.ByteString.Builder’ in package ‘HCodecs-0.5’ ‘Builder’ is defined in ‘Data.ByteString.Builder.Internal’ in package ‘bytestring-0.10.8.1’ • In the second argument of ‘($)’, namely ‘buildSample ((fromSample s) :: Int16)’ In the second argument of ‘hPut’, namely ‘(toLazyByteString $ buildSample ((fromSample s) :: Int16))’ In a stmt of a 'do' block: hPut h (toLazyByteString $ buildSample ((fromSample s) :: Int16)) src/Player/Wav.hs:39:30: error: Variable not in scope: putWord32le :: Integer -> Builder src/Player/Wav.hs:41:30: error: Variable not in scope: putWord32le :: Integer -> Builder cabal: Leaving directory '/tmp/cabal-tmp-18483/YampaSynth-0.0.1' cabal: Error: some packages failed to install: YampaSynth-0.0.1 failed during the building phase. The exception was: ExitFailure 1