Resolving dependencies... Configuring primitive-0.6.2.0... Configuring random-1.1... Building primitive-0.6.2.0... Building random-1.1... Installed random-1.1 Installed primitive-0.6.2.0 Configuring tf-random-0.5... Building tf-random-0.5... Installed tf-random-0.5 Configuring QuickCheck-2.9.2... Building QuickCheck-2.9.2... Installed QuickCheck-2.9.2 Configuring BitSyntax-0.3... Building BitSyntax-0.3... Failed to install BitSyntax-0.3 Build log ( /home/builder/.cabal/logs/BitSyntax-0.3.log ): cabal: Entering directory '/tmp/cabal-tmp-5500/BitSyntax-0.3' [1 of 1] Compiling Main ( /tmp/cabal-tmp-5500/BitSyntax-0.3/dist/setup/setup.hs, /tmp/cabal-tmp-5500/BitSyntax-0.3/dist/setup/Main.o ) Linking /tmp/cabal-tmp-5500/BitSyntax-0.3/dist/setup/setup ... Configuring BitSyntax-0.3... Warning: No 'build-type' specified. If you do not need a custom Setup.hs or ./configure script then use 'build-type: Simple'. Building BitSyntax-0.3... Preprocessing library BitSyntax-0.3... Data/BitSyntax.hs:1:16: warning: -fth is deprecated: use -XTemplateHaskell or pragma {-# LANGUAGE TemplateHaskell #-} instead Data/BitSyntax.hs:1:16: warning: -ffi is deprecated: use -XForeignFunctionInterface or pragma {-# LANGUAGE ForeignFunctionInterface #-} instead [1 of 1] Compiling Data.BitSyntax ( Data/BitSyntax.hs, dist/build/Data/BitSyntax.o ) Data/BitSyntax.hs:67:1: error: Failed to load interface for ‘Data.ByteString’ It is a member of the hidden package ‘bytestring-0.10.8.1’. Perhaps you need to add ‘bytestring’ to the build-depends in your .cabal file. Use -v to see a list of the files searched for. cabal: Leaving directory '/tmp/cabal-tmp-5500/BitSyntax-0.3' cabal: Error: some packages failed to install: BitSyntax-0.3 failed during the building phase. The exception was: ExitFailure 1