Resolving dependencies... Configuring hs-GeoIP-0.2... Building hs-GeoIP-0.2... Failed to install hs-GeoIP-0.2 Build log ( /home/builder/.cabal/logs/hs-GeoIP-0.2.log ): cabal: Entering directory '/tmp/cabal-tmp-11848/hs-GeoIP-0.2' Configuring hs-GeoIP-0.2... Building hs-GeoIP-0.2... Preprocessing library hs-GeoIP-0.2... In file included from /usr/include/string.h:32:0, from /usr/include/GeoIP.h:44, from GeoIP.hsc:41: GeoIP.hsc: In function ‘main’: /opt/ghc/8.0.2/lib/ghc-8.0.1.20161018/template-hsc.h:72:24: error: ‘GeoIPRecord’ has no member named ‘accuracy_radius’ (long) offsetof (t, f)); ^ GeoIP.hsc:90:5: note: in expansion of macro ‘hsc_peek’ compiling dist/build/Data/Geolocation/GeoIP_hsc_make.c failed (exit code 1) command was: /usr/bin/gcc -c dist/build/Data/Geolocation/GeoIP_hsc_make.c -o dist/build/Data/Geolocation/GeoIP_hsc_make.o -fno-stack-protector -fno-stack-protector -D__GLASGOW_HASKELL__=800 -Dlinux_BUILD_OS=1 -Dx86_64_BUILD_ARCH=1 -Dlinux_HOST_OS=1 -Dx86_64_HOST_ARCH=1 -Idist/build/autogen -include dist/build/autogen/cabal_macros.h -I/opt/ghc/8.0.2/lib/ghc-8.0.1.20161018/bytestring-0.10.8.1/include -I/opt/ghc/8.0.2/lib/ghc-8.0.1.20161018/base-4.9.0.0/include -I/opt/ghc/8.0.2/lib/ghc-8.0.1.20161018/integer-gmp-1.0.0.1/include -I/opt/ghc/8.0.2/lib/ghc-8.0.1.20161018/include -I/opt/ghc/8.0.2/lib/ghc-8.0.1.20161018/include/ cabal: Leaving directory '/tmp/cabal-tmp-11848/hs-GeoIP-0.2' cabal: Error: some packages failed to install: hs-GeoIP-0.2 failed during the building phase. The exception was: ExitFailure 1