*** setup configure Warning: ArrayRef.cabal: A package using 'cabal-version: >=1.2.3' must use section syntax. See the Cabal user guide for details. Warning: ArrayRef.cabal: A package using 'cabal-version: >=1.2.3' must use section syntax. See the Cabal user guide for details. Configuring ArrayRef-0.1.3.1... Dependency base >3 && <5: using base-4.3.0.0 Using Cabal-1.10.0.0 compiled by ghc-7.0 Using compiler: ghc-7.0.1 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/ArrayRef-0.1.3.1/ghc-7.0.1 Private binaries installed in: /usr/local/tmp/archive/install/libexec Data files installed in: /usr/local/tmp/archive/install/share/ArrayRef-0.1.3.1 Documentation installed in: /usr/local/tmp/archive/install/share/doc/ArrayRef-0.1.3.1 Using alex version 2.3.3 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/local/bin/cpphs Using ffihugs found on system at: /usr/local/bin/ffihugs Using gcc version 4.4.5 found on system at: /usr/bin/gcc Using ghc version 7.0.1 found on system at: /usr/local/bin/ghc Using ghc-pkg version 7.0.1 found on system at: /usr/local/bin/ghc-pkg No greencard found Using haddock version 2.8.0 found on system at: /usr/local/bin/haddock Using happy version 1.18.6 found on system at: /usr/local/bin/happy No hmake found Using hsc2hs version 0.67 found on system at: /usr/local/bin/hsc2hs Using hscolour version 1.17 found on system at: /usr/local/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.25 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 Warning: ArrayRef.cabal: A package using 'cabal-version: >=1.2.3' must use section syntax. See the Cabal user guide for details. Creating dist/build (and its parents) Creating dist/build/autogen (and its parents) Preprocessing library ArrayRef-0.1.3.1... Building ArrayRef-0.1.3.1... Building library... Creating dist/build (and its parents) /usr/local/bin/ghc --make -package-name ArrayRef-0.1.3.1 -hide-all-packages -fbuilding-cabal-package -i -idist/build -i. -idist/build/autogen -Idist/build/autogen -Idist/build -optP-include -optPdist/build/autogen/cabal_macros.h -odir dist/build -hidir dist/build -stubdir dist/build -package-id base-4.3.0.0-b91367e4fa5bd47d8e75958171ad21b7 -O -Wall -XHaskell98 -XCPP -XFlexibleContexts -XFlexibleInstances -XFunctionalDependencies -XKindSignatures -XForeignFunctionInterface -XMagicHash -XRankNTypes -XScopedTypeVariables -XTypeOperators -XTypeSynonymInstances -XUnboxedTuples -XUnliftedFFITypes Control.Concurrent.LockingBZ Control.Monad.STorIO Data.HasDefaultValue Data.Ref Data.SyntaxSugar Data.Unboxed Data.ArrayBZ.Boxed Data.ArrayBZ.Diff Data.ArrayBZ.Dynamic Data.ArrayBZ.IArray Data.ArrayBZ.IO Data.ArrayBZ.MArray Data.ArrayBZ.ST Data.ArrayBZ.Storable Data.ArrayBZ.Unboxed Data.ArrayBZ.Internals.Boxed Data.ArrayBZ.Internals.IArray Data.ArrayBZ.Internals.MArray Data.ArrayBZ.Internals.Unboxed Data.Ref.LazyST Data.Ref.Unboxed Data.Ref.Universal GHC.ArrBZ GHC.Unboxed [ 1 of 24] Compiling Data.ArrayBZ.Internals.IArray ( Data/ArrayBZ/Internals/IArray.hs, dist/build/Data/ArrayBZ/Internals/IArray.o ) Data/ArrayBZ/IO.hs:2:12: Warning: -#include and INCLUDE pragmas are deprecated: They no longer have any effect [ 2 of 24] Compiling Data.ArrayBZ.Internals.MArray ( Data/ArrayBZ/Internals/MArray.hs, dist/build/Data/ArrayBZ/Internals/MArray.o ) [ 3 of 24] Compiling Data.ArrayBZ.MArray ( Data/ArrayBZ/MArray.hs, dist/build/Data/ArrayBZ/MArray.o ) [ 4 of 24] Compiling Data.ArrayBZ.Storable ( Data/ArrayBZ/Storable.hs, dist/build/Data/ArrayBZ/Storable.o ) [ 5 of 24] Compiling Data.HasDefaultValue ( Data/HasDefaultValue.hs, dist/build/Data/HasDefaultValue.o ) [ 6 of 24] Compiling GHC.Unboxed ( GHC/Unboxed.hs, dist/build/GHC/Unboxed.o ) GHC/Unboxed.hs:23:1: Warning: Module `GHC.IOBase' is deprecated: use GHC.IO instead GHC/Unboxed.hs:23:1: Warning: The import of `GHC.IOBase' is redundant except perhaps to import instances from `GHC.IOBase' To import instances alone, use: import GHC.IOBase() GHC/Unboxed.hs:27:1: Warning: The import of `GHC.Float' is redundant except perhaps to import instances from `GHC.Float' To import instances alone, use: import GHC.Float() GHC/Unboxed.hs:109:23: Warning: Bindings containing unlifted types should use an outermost bang pattern: I# n# = fromIntegral n In an equation for `fromI#': fromI# n = n# where I# n# = fromIntegral n [ 7 of 24] Compiling Data.Unboxed ( Data/Unboxed.hs, dist/build/Data/Unboxed.o ) [ 8 of 24] Compiling Control.Monad.STorIO ( Control/Monad/STorIO.hs, dist/build/Control/Monad/STorIO.o ) [ 9 of 24] Compiling Data.Ref.Unboxed ( Data/Ref/Unboxed.hs, dist/build/Data/Ref/Unboxed.o ) [10 of 24] Compiling Data.Ref.Universal ( Data/Ref/Universal.hs, dist/build/Data/Ref/Universal.o ) [11 of 24] Compiling Data.Ref ( Data/Ref.hs, dist/build/Data/Ref.o ) [12 of 24] Compiling Data.Ref.LazyST ( Data/Ref/LazyST.hs, dist/build/Data/Ref/LazyST.o ) [13 of 24] Compiling Data.ArrayBZ.Internals.Unboxed ( Data/ArrayBZ/Internals/Unboxed.hs, dist/build/Data/ArrayBZ/Internals/Unboxed.o ) Data/ArrayBZ/Internals/Unboxed.hs:119:5: Warning: A do-notation statement discarded a result of type t1. Suppress this warning by saying "_ <- action marr", or by using the flag -fno-warn-unused-do-bind Data/ArrayBZ/Internals/Unboxed.hs:129:5: Warning: A do-notation statement discarded a result of type t3. Suppress this warning by saying "_ <- action marr", or by using the flag -fno-warn-unused-do-bind Data/ArrayBZ/Internals/Unboxed.hs:191:40: Warning: The universally quantified type variable `s' does not appear in the type `IOUArray i e' In the transformation rule freeze/IOUArray Data/ArrayBZ/Internals/Unboxed.hs:193:46: Warning: The universally quantified type variable `s' does not appear in the type `IOUArray i e' In the transformation rule unsafeFreeze/IOUArray [14 of 24] Compiling Data.ArrayBZ.Unboxed ( Data/ArrayBZ/Unboxed.hs, dist/build/Data/ArrayBZ/Unboxed.o ) [15 of 24] Compiling GHC.ArrBZ ( GHC/ArrBZ.hs, dist/build/GHC/ArrBZ.o ) GHC/ArrBZ.hs:81:23: Warning: Bindings containing unlifted types should use an outermost bang pattern: I# n# = fromIntegral n In an equation for `fromI#': fromI# n = n# where I# n# = fromIntegral n [16 of 24] Compiling Data.ArrayBZ.Internals.Boxed ( Data/ArrayBZ/Internals/Boxed.hs, dist/build/Data/ArrayBZ/Internals/Boxed.o ) Data/ArrayBZ/Internals/Boxed.hs:182:5: Warning: A do-notation statement discarded a result of type t1. Suppress this warning by saying "_ <- action marr", or by using the flag -fno-warn-unused-do-bind Data/ArrayBZ/Internals/Boxed.hs:192:5: Warning: A do-notation statement discarded a result of type t3. Suppress this warning by saying "_ <- action marr", or by using the flag -fno-warn-unused-do-bind [17 of 24] Compiling Data.ArrayBZ.IO ( Data/ArrayBZ/IO.hs, dist/build/Data/ArrayBZ/IO.o ) Data/ArrayBZ/IO.hs:64:21: `haFD' is not a (visible) field of constructor `Handle__' Data/ArrayBZ/IO.hs:64:30: `haBuffer' is not a (visible) field of constructor `Handle__' Data/ArrayBZ/IO.hs:64:44: `haIsStream' is not a (visible) field of constructor `Handle__' Data/ArrayBZ/IO.hs:65:13: Not in scope: data constructor `Buffer' Data/ArrayBZ/IO.hs:65:21: `bufBuf' is not a (visible) field of constructor `Buffer' Data/ArrayBZ/IO.hs:65:33: `bufWPtr' is not a (visible) field of constructor `Buffer' Data/ArrayBZ/IO.hs:65:44: `bufRPtr' is not a (visible) field of constructor `Buffer' Data/ArrayBZ/IO.hs:66:12: Not in scope: `bufferEmpty' Data/ArrayBZ/IO.hs:73:53: `bufWPtr' is not a (visible) constructor field name Data/ArrayBZ/IO.hs:73:64: `bufRPtr' is not a (visible) constructor field name Data/ArrayBZ/IO.hs:77:53: `bufRPtr' is not a (visible) constructor field name Data/ArrayBZ/IO.hs:86:28: Not in scope: type constructor or class `RawBuffer' Data/ArrayBZ/IO.hs:92:11: Not in scope: `readRawBuffer' Data/ArrayBZ/IO.hs:116:23: `haFD' is not a (visible) field of constructor `Handle__' Data/ArrayBZ/IO.hs:116:32: `haBuffer' is not a (visible) field of constructor `Handle__' Data/ArrayBZ/IO.hs:116:46: `haIsStream' is not a (visible) field of constructor `Handle__' Data/ArrayBZ/IO.hs:118:19: Not in scope: data constructor `Buffer' Data/ArrayBZ/IO.hs:118:27: `bufBuf' is not a (visible) field of constructor `Buffer' Data/ArrayBZ/IO.hs:118:43: `bufWPtr' is not a (visible) field of constructor `Buffer' Data/ArrayBZ/IO.hs:118:54: `bufSize' is not a (visible) field of constructor `Buffer' Data/ArrayBZ/IO.hs:126:45: `bufWPtr' is not a (visible) constructor field name Data/ArrayBZ/IO.hs:130:36: Not in scope: `flushWriteBuffer' Data/ArrayBZ/IO.hs:133:29: Not in scope: data constructor `Buffer' Data/ArrayBZ/IO.hs:133:37: `bufBuf' is not a (visible) field of constructor `Buffer' Data/ArrayBZ/IO.hs:133:49: `bufState' is not a (visible) field of constructor `Buffer' Data/ArrayBZ/IO.hs:133:58: Not in scope: data constructor `WriteBuffer' Data/ArrayBZ/IO.hs:134:37: `bufRPtr' is not a (visible) field of constructor `Buffer' Data/ArrayBZ/IO.hs:134:48: `bufWPtr' is not a (visible) field of constructor `Buffer' Data/ArrayBZ/IO.hs:134:63: `bufSize' is not a (visible) field of constructor `Buffer' Data/ArrayBZ/IO.hs:135:21: Not in scope: `flushWriteBuffer' Data/ArrayBZ/IO.hs:142:23: Not in scope: type constructor or class `RawBuffer' Data/ArrayBZ/IO.hs:142:43: Not in scope: type constructor or class `RawBuffer' Data/ArrayBZ/IO.hs:144:23: Not in scope: type constructor or class `RawBuffer' Data/ArrayBZ/IO.hs:144:36: Not in scope: type constructor or class `RawBuffer'