*** setup configure Configuring bitmap-0.0.1... Flags chosen: base4=True Dependency base ==4.*: using base-4.4.1.0 Dependency bytestring >=0.9: using bytestring-0.9.2.0 Using Cabal-1.12.0 compiled by ghc-7.2 Using compiler: ghc-7.2.2 Using install prefix: /usr/local/tmp/archive/install Binaries installed in: /usr/local/tmp/archive/install/bin Libraries installed in: /usr/local/tmp/archive/install/lib/bitmap-0.0.1/ghc-7.2.2 Private binaries installed in: /usr/local/tmp/archive/install/libexec Data files installed in: /usr/local/tmp/archive/install/share/bitmap-0.0.1 Documentation installed in: /usr/local/tmp/archive/install/share/doc/bitmap-0.0.1 Using alex version 2.3.5 found on system at: /usr/bin/alex Using ar found on system at: /usr/bin/ar Using c2hs version 0.16.0 found on system at: /usr/local/bin/c2hs Using cpphs version 1.11 found on system at: /usr/bin/cpphs Using ffihugs found on system at: /usr/local/bin/ffihugs Using gcc version 4.6 found on system at: /usr/bin/gcc Using ghc version 7.2.2 found on system at: /usr/local/bin/ghc Using ghc-pkg version 7.2.2 found on system at: /usr/local/bin/ghc-pkg No greencard found Using haddock version 2.9.4 found on system at: /usr/local/bin/haddock Using happy version 1.18.6 found on system at: /usr/bin/happy No hmake found Using hsc2hs version 0.67 found on system at: /usr/local/bin/hsc2hs Using hscolour version 1.19 found on system at: /usr/bin/HsColour Using hugs found on system at: /usr/local/bin/hugs No jhc found Using ld found on system at: /usr/bin/ld No lhc found No lhc-pkg found No nhc98 found Using pkg-config version 0.26 found on system at: /usr/bin/pkg-config Using ranlib found on system at: /usr/bin/ranlib Using strip found on system at: /usr/bin/strip Using tar found on system at: /bin/tar No uhc found *** setup build creating dist/build creating dist/build/autogen Building bitmap-0.0.1... Preprocessing library bitmap-0.0.1... Building library... creating dist/build /usr/local/bin/ghc --make -package-name bitmap-0.0.1 -hide-all-packages -fbuilding-cabal-package -i -idist/build -i. -idist/build/autogen -Idist/build/autogen -Idist/build -Icbits -optP-DBASE_VERSION=4 -optP-include -optPdist/build/autogen/cabal_macros.h -odir dist/build -hidir dist/build -stubdir dist/build -package-id base-4.4.1.0-1f81e4e7baf87af8ebbcf52b7bec2254 -package-id bytestring-0.9.2.0-6cd6a90f79cbe419ccff0712438db3e6 -O -XHaskell98 -XForeignFunctionInterface -XCPP -XScopedTypeVariables Data.Bitmap Data.Bitmap.Base Data.Bitmap.IO Data.Bitmap.Pure Data.Bitmap.Internal [1 of 5] Compiling Data.Bitmap.Internal ( Data/Bitmap/Internal.hs, dist/build/Data/Bitmap/Internal.o ) [2 of 5] Compiling Data.Bitmap.Base ( Data/Bitmap/Base.hs, dist/build/Data/Bitmap/Base.o ) [3 of 5] Compiling Data.Bitmap.IO ( Data/Bitmap/IO.hs, dist/build/Data/Bitmap/IO.o ) Data/Bitmap/IO.hs:940:1: Warning: SPECIALISE pragma for non-overloaded function `myPlusPtr' Data/Bitmap/IO.hs:941:1: Warning: SPECIALISE pragma for non-overloaded function `myPlusPtr' [4 of 5] Compiling Data.Bitmap.Pure ( Data/Bitmap/Pure.hs, dist/build/Data/Bitmap/Pure.o ) Data/Bitmap/Pure.hs:74:31: Ambiguous occurrence `unsafePerformIO' It could refer to either `Foreign.unsafePerformIO', imported from Foreign at Data/Bitmap/Pure.hs:50:1-14 or `System.IO.Unsafe.unsafePerformIO', imported from System.IO.Unsafe at Data/Bitmap/Pure.hs:60:1-23 Data/Bitmap/Pure.hs:84:44: Ambiguous occurrence `unsafePerformIO' It could refer to either `Foreign.unsafePerformIO', imported from Foreign at Data/Bitmap/Pure.hs:50:1-14 or `System.IO.Unsafe.unsafePerformIO', imported from System.IO.Unsafe at Data/Bitmap/Pure.hs:60:1-23 Data/Bitmap/Pure.hs:91:21: Ambiguous occurrence `unsafePerformIO' It could refer to either `Foreign.unsafePerformIO', imported from Foreign at Data/Bitmap/Pure.hs:50:1-14 or `System.IO.Unsafe.unsafePerformIO', imported from System.IO.Unsafe at Data/Bitmap/Pure.hs:60:1-23 Data/Bitmap/Pure.hs:95:29: Ambiguous occurrence `unsafePerformIO' It could refer to either `Foreign.unsafePerformIO', imported from Foreign at Data/Bitmap/Pure.hs:50:1-14 or `System.IO.Unsafe.unsafePerformIO', imported from System.IO.Unsafe at Data/Bitmap/Pure.hs:60:1-23 Data/Bitmap/Pure.hs:106:27: Ambiguous occurrence `unsafePerformIO' It could refer to either `Foreign.unsafePerformIO', imported from Foreign at Data/Bitmap/Pure.hs:50:1-14 or `System.IO.Unsafe.unsafePerformIO', imported from System.IO.Unsafe at Data/Bitmap/Pure.hs:60:1-23 Data/Bitmap/Pure.hs:117:41: Ambiguous occurrence `unsafePerformIO' It could refer to either `Foreign.unsafePerformIO', imported from Foreign at Data/Bitmap/Pure.hs:50:1-14 or `System.IO.Unsafe.unsafePerformIO', imported from System.IO.Unsafe at Data/Bitmap/Pure.hs:60:1-23 Data/Bitmap/Pure.hs:128:37: Ambiguous occurrence `unsafePerformIO' It could refer to either `Foreign.unsafePerformIO', imported from Foreign at Data/Bitmap/Pure.hs:50:1-14 or `System.IO.Unsafe.unsafePerformIO', imported from System.IO.Unsafe at Data/Bitmap/Pure.hs:60:1-23 Data/Bitmap/Pure.hs:132:29: Ambiguous occurrence `unsafePerformIO' It could refer to either `Foreign.unsafePerformIO', imported from Foreign at Data/Bitmap/Pure.hs:50:1-14 or `System.IO.Unsafe.unsafePerformIO', imported from System.IO.Unsafe at Data/Bitmap/Pure.hs:60:1-23 Data/Bitmap/Pure.hs:136:30: Ambiguous occurrence `unsafePerformIO' It could refer to either `Foreign.unsafePerformIO', imported from Foreign at Data/Bitmap/Pure.hs:50:1-14 or `System.IO.Unsafe.unsafePerformIO', imported from System.IO.Unsafe at Data/Bitmap/Pure.hs:60:1-23 Data/Bitmap/Pure.hs:147:34: Ambiguous occurrence `unsafePerformIO' It could refer to either `Foreign.unsafePerformIO', imported from Foreign at Data/Bitmap/Pure.hs:50:1-14 or `System.IO.Unsafe.unsafePerformIO', imported from System.IO.Unsafe at Data/Bitmap/Pure.hs:60:1-23 Data/Bitmap/Pure.hs:157:43: Ambiguous occurrence `unsafePerformIO' It could refer to either `Foreign.unsafePerformIO', imported from Foreign at Data/Bitmap/Pure.hs:50:1-14 or `System.IO.Unsafe.unsafePerformIO', imported from System.IO.Unsafe at Data/Bitmap/Pure.hs:60:1-23 Data/Bitmap/Pure.hs:175:37: Ambiguous occurrence `unsafePerformIO' It could refer to either `Foreign.unsafePerformIO', imported from Foreign at Data/Bitmap/Pure.hs:50:1-14 or `System.IO.Unsafe.unsafePerformIO', imported from System.IO.Unsafe at Data/Bitmap/Pure.hs:60:1-23 Data/Bitmap/Pure.hs:188:48: Ambiguous occurrence `unsafePerformIO' It could refer to either `Foreign.unsafePerformIO', imported from Foreign at Data/Bitmap/Pure.hs:50:1-14 or `System.IO.Unsafe.unsafePerformIO', imported from System.IO.Unsafe at Data/Bitmap/Pure.hs:60:1-23 Data/Bitmap/Pure.hs:201:43: Ambiguous occurrence `unsafePerformIO' It could refer to either `Foreign.unsafePerformIO', imported from Foreign at Data/Bitmap/Pure.hs:50:1-14 or `System.IO.Unsafe.unsafePerformIO', imported from System.IO.Unsafe at Data/Bitmap/Pure.hs:60:1-23 Data/Bitmap/Pure.hs:211:52: Ambiguous occurrence `unsafePerformIO' It could refer to either `Foreign.unsafePerformIO', imported from Foreign at Data/Bitmap/Pure.hs:50:1-14 or `System.IO.Unsafe.unsafePerformIO', imported from System.IO.Unsafe at Data/Bitmap/Pure.hs:60:1-23