Warning: The install command is a part of the legacy v1 style of cabal usage. Please switch to using either the new project style and the new-install command or the legacy v1-install alias as new-style projects will become the default in the next version of cabal-install. Please file a bug if you cannot replicate a working v1- use case with the new-style commands. For more information, see: https://wiki.haskell.org/Cabal/NewBuild Resolving dependencies... Starting mmsyn3-0.1.4.0 Starting mmsyn5-0.4.2.2 Starting primitive-0.7.0.0 Building mmsyn5-0.4.2.2 Building mmsyn3-0.1.4.0 Building primitive-0.7.0.0 Completed mmsyn5-0.4.2.2 Completed mmsyn3-0.1.4.0 Completed primitive-0.7.0.0 Starting vector-0.12.0.3 Building vector-0.12.0.3 Completed vector-0.12.0.3 Starting mmsyn2-0.1.7.0 Building mmsyn2-0.1.7.0 Completed mmsyn2-0.1.7.0 Starting mmsyn6ukr-0.6.2.0 Building mmsyn6ukr-0.6.2.0 Completed mmsyn6ukr-0.6.2.0 Starting mmsyn7s-0.1.1.0 Building mmsyn7s-0.1.1.0 Completed mmsyn7s-0.1.1.0 Starting mmsyn7h-0.4.0.2 Building mmsyn7h-0.4.0.2 Failed to install mmsyn7h-0.4.0.2 Build log ( /home/builder/.cabal/logs/ghc-8.6.3/mmsyn7h-0.4.0.2-7EY7LqpXHzL9Ne0qCCXknu.log ): cabal: Entering directory '/tmp/cabal-tmp-31143/mmsyn7h-0.4.0.2' Configuring mmsyn7h-0.4.0.2... Preprocessing executable 'mmsyn7h' for mmsyn7h-0.4.0.2.. Building executable 'mmsyn7h' for mmsyn7h-0.4.0.2.. : warning: [-Wmissing-home-modules] These modules are needed for compilation but not listed in your .cabal file's other-modules: MMSyn7h [1 of 2] Compiling MMSyn7h ( MMSyn7h.hs, dist/build/mmsyn7h/mmsyn7h-tmp/MMSyn7h.o ) MMSyn7h.hs:72:25: error: The last statement in a 'do' block must be an expression _ <- readProcessWithExitCode (fromJust . showE $ "sox") [nameSF ++ snd ws, "-t", "waveaudio", "-d"] "" >> return () | 72 | _ <- readProcessWithExitCode (fromJust . showE $ "sox") [nameSF ++ snd ws, "-t", "waveaudio", "-d"] "" >> return () | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ MMSyn7h.hs:75:32: error: The last statement in a 'do' block must be an expression _ <- readProcessWithExitCode (fromJust . showE $ "play") [nameSF ++ snd ws] "" >> return () | 75 | _ <- readProcessWithExitCode (fromJust . showE $ "play") [nameSF ++ snd ws] "" >> return () | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cabal: Leaving directory '/tmp/cabal-tmp-31143/mmsyn7h-0.4.0.2' cabal: Error: some packages failed to install: mmsyn7h-0.4.0.2-7EY7LqpXHzL9Ne0qCCXknu failed during the building phase. The exception was: ExitFailure 1