libraries\Cabal\Cabal\Distribution\Version.hs:99:1: Warning: Orphan instance: instance Data Version "/usr/ghc-7.6.3/bin/ghc.exe" -hisuf hi -osuf o -h [...] l/Cabal/dist-boot/build/Distribution/ModuleName.o "/usr/ghc-7.6.3/bin/ghc.exe" -hisuf hi -osuf o -h [...] abal/Cabal/dist-boot/build/Distribution/Package.o "/usr/ghc-7.6.3/bin/ghc.exe" -hisuf hi -osuf o -h [...] Cabal/dist-boot/build/Distribution/Simple/Utils.o "/usr/ghc-7.6.3/bin/ghc.exe" -hisuf hi -osuf o -h [...] Cabal/dist-boot/build/Distribution/ModuleExport.o "/usr/ghc-7.6.3/bin/ghc.exe" -hisuf hi -osuf o -h [...] abal/dist-boot/build/Language/Haskell/Extension.o "/usr/ghc-7.6.3/bin/ghc.exe" -hisuf hi -osuf o -h [...] abal/Cabal/dist-boot/build/Distribution/License.o "/usr/ghc-7.6.3/bin/ghc.exe" -hisuf hi -osuf o -h [...] bal/Cabal/dist-boot/build/Distribution/Compiler.o "/usr/ghc-7.6.3/bin/ghc.exe" -hisuf hi -osuf o -hcsuf hc -static -H32m -O -package-db libraries/bootstrapping.conf -package-name Cabal-1.21.1.0 -hide-all-packages -i -ilibraries [...] boot/build -stubdir libraries/Cabal/Cabal/dist-boot/build -c libraries/Cabal/Cabal/./Distribution/ParseUtils.hs -o libraries/Cabal/Cabal/dist-boot/build/Distribution/ParseUtils.o "/usr/ghc-7.6.3/bin/ghc.exe" -hisuf hi -osuf o -hcsuf hc -static -H32m -O -package-db libraries/bootstrapping.conf -package-name Cabal-1.21.1.0 -hide-all-packages -i -ilibraries/Cabal/Cabal/. -ilibraries/Cabal/Cabal/dist-boot/build -ilibraries/Cabal/Cabal/dist-boot/build/autogen -Ilibraries/Cabal/Cabal/dist-boot/build -Ilibraries/Cabal/Cabal/dist-boot/build/autogen -Ilibraries/Cabal/Cabal/. -optP-include -optPlibraries/Cabal/Cabal/dist-boot/build/autogen/cabal_macros.h -package array-0.4.0.1 -package base-4.6.0.1 -package bytestring-0.10.0.2 -package containers-0.5.0.0 -package deepseq-1.3.0.1 -package directory-1.2.0.1 -package filepath-1.3.0.1 -package pretty-1.1.1.0 -package process-1.1.0.2 -package time-1.4.0.1 -Wall -fno-ignore-asserts -fwarn-tabs -XHaskell98 -XCPP -no-user-package-db -rtsopts -odir libraries/Cabal/Cabal/dist-boot/build -hidir libraries/Cabal/Cabal/dist-boot/build -stubdir libraries/Cabal/Cabal/dist-boot/build -c libraries/Cabal/Cabal/./Distribution/InstalledPackageInfo.hs -o libraries/Cabal/Cabal/dist-boot/build/Distribution/InstalledPackageInfo.o "/usr/ghc-7.6.3/bin/ghc.exe" -hisuf hi -osuf o -hcsuf hc -static -H32m -O -package-db libraries/bootstrapping.conf -package-name Cabal-1.21.1.0 -hide-all-packages -i -ilibraries/Cabal/Cabal/. -ilibraries/Cabal/Cabal/dist-boot/build -ilibraries/Cabal/Cabal/dist-boot/build/autogen -Ilibraries/Cabal/Cabal/dist-boot/build -Ilibraries/Cabal/Cabal/dist-boot/build/autogen -Ilibraries/Cabal/Cabal/. -optP-include -optPlibraries/Cabal/Cabal/dist-boot/build/autogen/cabal_macros.h -package array-0.4.0.1 -package base-4.6.0.1 -package bytestring-0.10.0.2 -package containers-0.5.0.0 -package deepseq-1.3.0.1 -package directory-1.2.0.1 -package filepath-1.3.0.1 -package pretty-1.1.1.0 -package process-1.1.0.2 -package time-1.4.0.1 -Wall -fno-ignore-asserts -fwarn-tabs -XHaskell98 -XCPP -no-user-package-db -rtsopts -odir libraries/Cabal/Cabal/dist-boot/build -hidir libraries/Cabal/Cabal/dist-boot/build -stubdir libraries/Cabal/Cabal/dist-boot/build -c libraries/Cabal/Cabal/./Distribution/Simple/PackageIndex.hs -o libraries/Cabal/Cabal/dist-boot/build/Distribution/Simple/PackageIndex.o "/usr/ghc-7.6.3/bin/ghc.exe" -hisuf hi -osuf o -hcsuf hc -static -H32m -O -package-db libraries/bootstrapping.conf -package-name bin-package-db-0.0.0.0 -hide-all-packages -i -ilibraries/bin-package-db/. -ilibraries/bin-package-db/dist-boot/build -ilibraries/bin-package-db/dist-boot/build/autogen -Ilibraries/bin-package-db/dist-boot/build -Ilibraries/bin-package-db/dist-boot/build/autogen -Ilibraries/bin-package-db/. -optP-include -optPlibraries/bin-package-db/dist-boot/build/autogen/cabal_macros.h -package base-4.6.0.1 -package binary-0.7.1.0 -package bytestring-0.10.0.2 -package directory-1.2.0.1 -package filepath-1.3.0.1 -XHaskell2010 -no-user-package-db -rtsopts -odir libraries/bin-package-db/dist-boot/build -hidir libraries/bin-package-db/dist-boot/build -stubdir libraries/bin-package-db/dist-boot/build -c libraries/bin-package-db/./GHC/PackageDb.hs -o libraries/bin-package-db/dist-boot/build/GHC/PackageDb.o libraries\bin-package-db\GHC\PackageDb.hs:264:11: Not in scope: `catchIO' Perhaps you meant one of these: `catch' (imported from Control.Exception), `catches' (imported from Control.Exception) libraries\bin-package-db\GHC\PackageDb.hs:269:34: Not in scope: `newFile' libraries\bin-package-db\GHC\PackageDb.hs:272:20: Not in scope: `throwIOIO' Perhaps you meant `throwIO' (imported from Control.Exception) libraries/bin-package-db/ghc.mk:3: recipe for target 'libraries/bin-package-db/dist-boot/build/GHC/PackageDb.o' failed make[1]: *** [libraries/bin-package-db/dist-boot/build/GHC/PackageDb.o] Error 1 Makefile:71: recipe for target 'all' failed make: *** [all] Error 2