Resolving dependencies... Configuring mtl-2.2.1... Building mtl-2.2.1... Installed mtl-2.2.1 Configuring BNFC-2.6.0.1... Failed to install BNFC-2.6.0.1 Build log ( /home/builder/.cabal/logs/BNFC-2.6.0.1.log ): cabal: Entering directory '/tmp/cabal-tmp-5740/BNFC-2.6.0.1' Configuring BNFC-2.6.0.1... cabal: The field 'build-depends: BNFC' refers to a library which is defined within the same package. To use this feature the package must specify at least 'cabal-version: >= 1.8'. cabal: Leaving directory '/tmp/cabal-tmp-5740/BNFC-2.6.0.1' cabal: Error: some packages failed to install: BNFC-2.6.0.1 failed during the configure step. The exception was: ExitFailure 1