Resolving dependencies... Configuring base-orphans-0.7... Configuring Yampa-0.10.7... Building base-orphans-0.7... Building Yampa-0.10.7... Installed base-orphans-0.7 Configuring cabal-doctest-1.0.6... Building cabal-doctest-1.0.6... Installed cabal-doctest-1.0.6 Configuring cereal-0.5.5.0... Building cereal-0.5.5.0... Installed Yampa-0.10.7 Configuring data-inttrie-0.1.2... Building data-inttrie-0.1.2... Installed data-inttrie-0.1.2 Configuring fail-4.9.0.0... Building fail-4.9.0.0... Installed fail-4.9.0.0 Configuring reflection-2.1.3... Building reflection-2.1.3... Installed cereal-0.5.5.0 Configuring semigroups-0.18.4... Building semigroups-0.18.4... Installed semigroups-0.18.4 Configuring th-abstraction-0.2.6.0... Building th-abstraction-0.2.6.0... Installed reflection-2.1.3 Configuring transformers-compat-0.6.0.5... Building transformers-compat-0.6.0.5... Installed th-abstraction-0.2.6.0 Configuring void-0.7.2... Building void-0.7.2... Installed void-0.7.2 Configuring data-memocombinators-0.5.1... Building data-memocombinators-0.5.1... Installed transformers-compat-0.6.0.5 Configuring transformers-base-0.4.4... Building transformers-base-0.4.4... Installed data-memocombinators-0.5.1 Configuring tagged-0.8.5... Installed transformers-base-0.4.4 Configuring exceptions-0.8.3... Building tagged-0.8.5... Building exceptions-0.8.3... Installed tagged-0.8.5 Configuring contravariant-1.4.1... Installed exceptions-0.8.3 Configuring bytes-0.15.3... Building contravariant-1.4.1... Building bytes-0.15.3... Installed contravariant-1.4.1 Configuring distributive-0.5.3... Building distributive-0.5.3... Installed distributive-0.5.3 Configuring comonad-5.0.3... Installed bytes-0.15.3 Building comonad-5.0.3... Installed comonad-5.0.3 Configuring bifunctors-5.5.2... Building bifunctors-5.5.2... Installed bifunctors-5.5.2 Configuring profunctors-5.2.2... Configuring semigroupoids-5.2.2... Building profunctors-5.2.2... Building semigroupoids-5.2.2... Installed profunctors-5.2.2 Installed semigroupoids-5.2.2 Configuring free-5.0.1... Building free-5.0.1... Installed free-5.0.1 Configuring adjunctions-4.4... Building adjunctions-4.4... Installed adjunctions-4.4 Configuring kan-extensions-5.1... Building kan-extensions-5.1... Installed kan-extensions-5.1 Configuring lens-4.16... Building lens-4.16... Installed lens-4.16 Configuring linear-1.20.7... Building linear-1.20.7... Installed linear-1.20.7 Configuring sdl2-2.1.3.1... Building sdl2-2.1.3.1... Installed sdl2-2.1.3.1 Configuring yampa-sdl2-0.1.0.1... Building yampa-sdl2-0.1.0.1... Failed to install yampa-sdl2-0.1.0.1 Build log ( /home/builder/.cabal/logs/ghc-8.2.2/yampa-sdl2-0.1.0.1-GfGi2pI8SzpEhxHVCiQe6S.log ): cabal: Entering directory '/tmp/cabal-tmp-6303/yampa-sdl2-0.1.0.1' Configuring yampa-sdl2-0.1.0.1... Preprocessing library for yampa-sdl2-0.1.0.1.. Building library for yampa-sdl2-0.1.0.1.. [ 1 of 34] Compiling Data.Colour.CIE.Chromaticity ( src/Data/Colour/CIE/Chromaticity.hs, dist/build/Data/Colour/CIE/Chromaticity.o ) [ 2 of 34] Compiling Data.Colour.CIE.Illuminant ( src/Data/Colour/CIE/Illuminant.hs, dist/build/Data/Colour/CIE/Illuminant.o ) [ 3 of 34] Compiling Data.Colour.Chan ( src/Data/Colour/Chan.hs, dist/build/Data/Colour/Chan.o ) [ 4 of 34] Compiling Data.Colour.Internal ( src/Data/Colour/Internal.hs, dist/build/Data/Colour/Internal.o ) [ 5 of 34] Compiling Data.Colour.Matrix ( src/Data/Colour/Matrix.hs, dist/build/Data/Colour/Matrix.o ) [ 6 of 34] Compiling Data.Colour.RGB ( src/Data/Colour/RGB.hs, dist/build/Data/Colour/RGB.o ) [ 7 of 34] Compiling Data.Colour.RGBSpace.HSL ( src/Data/Colour/RGBSpace/HSL.hs, dist/build/Data/Colour/RGBSpace/HSL.o ) [ 8 of 34] Compiling Data.Colour.RGBSpace.HSV ( src/Data/Colour/RGBSpace/HSV.hs, dist/build/Data/Colour/RGBSpace/HSV.o ) [ 9 of 34] Compiling Data.Colour.SRGB.Linear ( src/Data/Colour/SRGB/Linear.hs, dist/build/Data/Colour/SRGB/Linear.o ) [10 of 34] Compiling Data.Colour.RGBSpace ( src/Data/Colour/RGBSpace.hs, dist/build/Data/Colour/RGBSpace.o ) [11 of 34] Compiling Data.Colour.SRGB ( src/Data/Colour/SRGB.hs, dist/build/Data/Colour/SRGB.o ) [12 of 34] Compiling Data.Colour ( src/Data/Colour.hs, dist/build/Data/Colour.o ) [13 of 34] Compiling Data.Colour.Names ( src/Data/Colour/Names.hs, dist/build/Data/Colour/Names.o ) [14 of 34] Compiling Data.Colour.CIE ( src/Data/Colour/CIE.hs, dist/build/Data/Colour/CIE.o ) [15 of 34] Compiling Paths_yampa_sdl2 ( dist/build/autogen/Paths_yampa_sdl2.hs, dist/build/Paths_yampa_sdl2.o ) [16 of 34] Compiling YampaSDL2.Animation ( src/YampaSDL2/Animation.hs, dist/build/YampaSDL2/Animation.o ) [17 of 34] Compiling YampaSDL2.Internal.AppInput ( src/YampaSDL2/Internal/AppInput.hs, dist/build/YampaSDL2/Internal/AppInput.o ) [18 of 34] Compiling YampaSDL2.Internal.AppOutput ( src/YampaSDL2/Internal/AppOutput.hs, dist/build/YampaSDL2/Internal/AppOutput.o ) [19 of 34] Compiling YampaSDL2.InputOutput ( src/YampaSDL2/InputOutput.hs, dist/build/YampaSDL2/InputOutput.o ) [20 of 34] Compiling YampaSDL2.Drawable.Rectangle ( src/YampaSDL2/Drawable/Rectangle.hs, dist/build/YampaSDL2/Drawable/Rectangle.o ) [21 of 34] Compiling YampaSDL2.Drawable.Image ( src/YampaSDL2/Drawable/Image.hs, dist/build/YampaSDL2/Drawable/Image.o ) [22 of 34] Compiling YampaSDL2.Drawable.Circle ( src/YampaSDL2/Drawable/Circle.hs, dist/build/YampaSDL2/Drawable/Circle.o ) src/YampaSDL2/Drawable/Circle.hs:56:67: error: Variable not in scope: e :: Int | 56 | SDL.P . fmap (toEnum) <$> (+ (V2 x y)) <$> rasterCircleFull e | ^ cabal: Leaving directory '/tmp/cabal-tmp-6303/yampa-sdl2-0.1.0.1' cabal: Error: some packages failed to install: yampa-sdl2-0.1.0.1-GfGi2pI8SzpEhxHVCiQe6S failed during the building phase. The exception was: ExitFailure 1