*** setup configure Configuring storablevector-0.1.2... Flags chosen: splitbase=True Dependency QuickCheck ==1.*: using QuickCheck-1.2.0.0 Dependency base >=3: using base-4.2.0.2 Dependency bytestring ==0.9.*: using bytestring-0.9.1.7 Dependency random ==1.0.*: using random-1.0.0.2 Using Cabal-1.8.0.6 compiled by ghc-6.12 Using compiler: ghc-6.12.3 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/storablevector-0.1.2/ghc-6.12.3 Private binaries installed in: /usr/local/tmp/archive/install/libexec Data files installed in: /usr/local/tmp/archive/install/share/storablevector-0.1.2 Documentation installed in: /usr/local/tmp/archive/install/share/doc/storablevector-0.1.2 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 6.12.3 found on system at: /usr/local/bin/ghc Using ghc-pkg version 6.12.3 found on system at: /usr/local/bin/ghc-pkg Using greencard found on system at: /usr/local/tmp/archive/install/bin/greencard Using haddock version 2.8.1 found on system at: /usr/local/bin/haddock Using happy version 1.17 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 *** setup build Creating dist/build (and its parents) Creating dist/build/autogen (and its parents) Preprocessing library storablevector-0.1.2... Preprocessing executables for storablevector-0.1.2... Building storablevector-0.1.2... Building library... Creating dist/build (and its parents) /usr/local/bin/ghc --make -package-name storablevector-0.1.2 -hide-all-packages -fbuilding-cabal-package -i -idist/build -i. -idist/build/autogen -Idist/build/autogen -Idist/build -optP-DSLOW_FOREIGN_PTR -optP-include -optPdist/build/autogen/cabal_macros.h -odir dist/build -hidir dist/build -stubdir dist/build -package-id QuickCheck-1.2.0.0-b45b62f212754a0f637424080defc346 -package-id base-4.2.0.2-10bdacb430274706a59728e237e2bfb3 -package-id bytestring-0.9.1.7-e4f5efe6019d4771130f5cd8d3216b38 -package-id random-1.0.0.2-f4208c3677aeaaaf41e4d36309c0b4ff -O -Wall -funbox-strict-fields -XCPP -XForeignFunctionInterface Data.StorableVector Data.StorableVector.Base Data/StorableVector/Base.hs:55:7: Could not find module `Data.Generics': It is a member of the hidden package `syb-0.1.0.2'. Perhaps you need to add `syb' to the build-depends in your .cabal file. It is a member of the hidden package `base-3.0.3.2'. Perhaps you need to add `base' to the build-depends in your .cabal file. Use -v to see a list of the files searched for. *** Trying again with preferred-versions *** setup configure Configuring storablevector-0.1.2... Flags chosen: splitbase=True Dependency QuickCheck ==1.*: using QuickCheck-1.2.0.0 Dependency base ==3.*: using base-3.0.3.2 Dependency bytestring ==0.9.*: using bytestring-0.9.1.7 Dependency random ==1.0.*: using random-1.0.0.2 Using Cabal-1.8.0.6 compiled by ghc-6.12 Using compiler: ghc-6.12.3 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/storablevector-0.1.2/ghc-6.12.3 Private binaries installed in: /usr/local/tmp/archive/install/libexec Data files installed in: /usr/local/tmp/archive/install/share/storablevector-0.1.2 Documentation installed in: /usr/local/tmp/archive/install/share/doc/storablevector-0.1.2 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 6.12.3 found on system at: /usr/local/bin/ghc Using ghc-pkg version 6.12.3 found on system at: /usr/local/bin/ghc-pkg Using greencard found on system at: /usr/local/tmp/archive/install/bin/greencard Using haddock version 2.8.1 found on system at: /usr/local/bin/haddock Using happy version 1.17 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 *** setup haddock Running Haddock for storablevector-0.1.2... /usr/local/bin/haddock --use-contents=/package/storablevector-0.1.2 --built-in-themes --ghc-version Creating dist/build (and its parents) Creating dist/build/autogen (and its parents) Preprocessing library storablevector-0.1.2... Preprocessing executables for storablevector-0.1.2... Running hscolour for storablevector-0.1.2... Creating dist/doc/html/storablevector (and its parents) Creating dist/doc/html/storablevector/src (and its parents) /usr/local/bin/HsColour -print-css -odist/doc/html/storablevector/src/hscolour.css /usr/local/bin/HsColour -css -anchor -odist/doc/html/storablevector/src/Data-StorableVector.html Data/StorableVector.hs /usr/local/bin/HsColour -css -anchor -odist/doc/html/storablevector/src/Data-StorableVector-Base.html Data/StorableVector/Base.hs Warning: The documentation for the following packages are not installed. No links will be generated to these packages: base-3.0.3.2, ffi-1.0, rts-1.0 /usr/local/bin/ghc --print-libdir /usr/local/bin/ghc -E -cpp -x hs -optP-include -optPdist/build/autogen/cabal_macros.h -o dist/build/tmp14535/Data/StorableVector.hs Data/StorableVector.hs -Dlinux_BUILD_OS -Dlinux_HOST_OS -Di386_BUILD_ARCH -Di386_HOST_ARCH -DSLOW_FOREIGN_PTR -D__GLASGOW_HASKELL__=612 /usr/local/bin/ghc -E -cpp -x hs -optP-include -optPdist/build/autogen/cabal_macros.h -o dist/build/tmp14535/Data/StorableVector/Base.hs Data/StorableVector/Base.hs -Dlinux_BUILD_OS -Dlinux_HOST_OS -Di386_BUILD_ARCH -Di386_HOST_ARCH -DSLOW_FOREIGN_PTR -D__GLASGOW_HASKELL__=612 Creating dist/doc/html/storablevector/ (and its parents) /usr/local/bin/haddock --use-contents=/package/storablevector-0.1.2 --built-in-themes --prologue=dist/doc/html/storablevector/haddock-prolog14535.txt --dump-interface=dist/doc/html/storablevector/storablevector.haddock --optghc=-package-name --optghc=storablevector-0.1.2 --source-module=src/%{MODULE/./-}.html --source-entity=src/%{MODULE/./-}.html#%{NAME} --verbosity=1 --html --read-interface=/packages/archive/QuickCheck/1.2.0.0/doc/html,/usr/local/tmp/archive/install/share/doc/QuickCheck-1.2.0.0/html/QuickCheck.haddock --read-interface=/packages/archive/base/4.2.0.2/doc/html,/usr/local/share/doc/ghc/html/libraries/base-4.2.0.2/base.haddock --read-interface=/packages/archive/bytestring/0.9.1.7/doc/html,/usr/local/share/doc/ghc/html/libraries/bytestring-0.9.1.7/bytestring.haddock --read-interface=/packages/archive/ghc-prim/0.2.0.0/doc/html,/usr/local/share/doc/ghc/html/libraries/ghc-prim-0.2.0.0/ghc-prim.haddock --read-interface=/packages/archive/integer-gmp/0.2.0.1/doc/html,/usr/local/share/doc/ghc/html/libraries/integer-gmp-0.2.0.1/integer-gmp.haddock --read-interface=/packages/archive/old-locale/1.0.0.2/doc/html,/usr/local/share/doc/ghc/html/libraries/old-locale-1.0.0.2/old-locale.haddock --read-interface=/packages/archive/random/1.0.0.2/doc/html,/usr/local/share/doc/ghc/html/libraries/random-1.0.0.2/random.haddock --read-interface=/packages/archive/syb/0.1.0.2/doc/html,/usr/local/share/doc/ghc/html/libraries/syb-0.1.0.2/syb.haddock --read-interface=/packages/archive/time/1.1.4/doc/html,/usr/local/share/doc/ghc/html/libraries/time-1.1.4/time.haddock --odir=dist/doc/html/storablevector/ --title=storablevector-0.1.2: Fast, packed, strict storable arrays with a list interface like ByteString --optghc=-hide-all-packages --optghc=-fbuilding-cabal-package --optghc=-i --optghc=-idist/build --optghc=-i. --optghc=-idist/build/autogen --optghc=-Idist/build/autogen --optghc=-Idist/build --optghc=-optP-DSLOW_FOREIGN_PTR --optghc=-optP-include --optghc=-optPdist/build/autogen/cabal_macros.h --optghc=-odir --optghc=dist/build --optghc=-hidir --optghc=dist/build --optghc=-stubdir --optghc=dist/build --optghc=-package-id --optghc=QuickCheck-1.2.0.0-b45b62f212754a0f637424080defc346 --optghc=-package-id --optghc=base-3.0.3.2-260693a92016991a03206b5a55f6a411 --optghc=-package-id --optghc=bytestring-0.9.1.7-e4f5efe6019d4771130f5cd8d3216b38 --optghc=-package-id --optghc=random-1.0.0.2-f4208c3677aeaaaf41e4d36309c0b4ff --optghc=-O --optghc=-Wall --optghc=-funbox-strict-fields --optghc=-XCPP --optghc=-XForeignFunctionInterface -B/usr/local/lib/ghc-6.12.3 dist/build/tmp14535/Data/StorableVector.hs dist/build/tmp14535/Data/StorableVector/Base.hs Documentation created: dist/doc/html/storablevector/index.html Running Haddock for storablevector-0.1.2... /usr/local/bin/haddock --use-contents=/package/storablevector-0.1.2 --built-in-themes --ghc-version Creating dist/build (and its parents) Creating dist/build/autogen (and its parents) Preprocessing library storablevector-0.1.2... Preprocessing executables for storablevector-0.1.2... Warning: The documentation for the following packages are not installed. No links will be generated to these packages: base-3.0.3.2, ffi-1.0, rts-1.0 /usr/local/bin/ghc --print-libdir /usr/local/bin/ghc -E -cpp -x hs -optP-include -optPdist/build/autogen/cabal_macros.h -o dist/build/tmp14560/Data/StorableVector.hs Data/StorableVector.hs -Dlinux_BUILD_OS -Dlinux_HOST_OS -Di386_BUILD_ARCH -Di386_HOST_ARCH -DSLOW_FOREIGN_PTR -D__GLASGOW_HASKELL__=612 /usr/local/bin/ghc -E -cpp -x hs -optP-include -optPdist/build/autogen/cabal_macros.h -o dist/build/tmp14560/Data/StorableVector/Base.hs Data/StorableVector/Base.hs -Dlinux_BUILD_OS -Dlinux_HOST_OS -Di386_BUILD_ARCH -Di386_HOST_ARCH -DSLOW_FOREIGN_PTR -D__GLASGOW_HASKELL__=612 Creating dist/doc/html/storablevector/ (and its parents) /usr/local/bin/haddock --use-contents=/package/storablevector-0.1.2 --built-in-themes --prologue=dist/doc/html/storablevector/haddock-prolog14560.txt --dump-interface=dist/doc/html/storablevector/storablevector.haddock --optghc=-package-name --optghc=storablevector-0.1.2 --verbosity=1 --hoogle --read-interface=/usr/local/tmp/archive/install/share/doc/QuickCheck-1.2.0.0/html,/usr/local/tmp/archive/install/share/doc/QuickCheck-1.2.0.0/html/QuickCheck.haddock --read-interface=/usr/local/share/doc/ghc/html/libraries/base-4.2.0.2,/usr/local/share/doc/ghc/html/libraries/base-4.2.0.2/base.haddock --read-interface=/usr/local/share/doc/ghc/html/libraries/bytestring-0.9.1.7,/usr/local/share/doc/ghc/html/libraries/bytestring-0.9.1.7/bytestring.haddock --read-interface=/usr/local/share/doc/ghc/html/libraries/ghc-prim-0.2.0.0,/usr/local/share/doc/ghc/html/libraries/ghc-prim-0.2.0.0/ghc-prim.haddock --read-interface=/usr/local/share/doc/ghc/html/libraries/integer-gmp-0.2.0.1,/usr/local/share/doc/ghc/html/libraries/integer-gmp-0.2.0.1/integer-gmp.haddock --read-interface=/usr/local/share/doc/ghc/html/libraries/old-locale-1.0.0.2,/usr/local/share/doc/ghc/html/libraries/old-locale-1.0.0.2/old-locale.haddock --read-interface=/usr/local/share/doc/ghc/html/libraries/random-1.0.0.2,/usr/local/share/doc/ghc/html/libraries/random-1.0.0.2/random.haddock --read-interface=/usr/local/share/doc/ghc/html/libraries/syb-0.1.0.2,/usr/local/share/doc/ghc/html/libraries/syb-0.1.0.2/syb.haddock --read-interface=/usr/local/share/doc/ghc/html/libraries/time-1.1.4,/usr/local/share/doc/ghc/html/libraries/time-1.1.4/time.haddock --odir=dist/doc/html/storablevector/ --title=storablevector-0.1.2: Fast, packed, strict storable arrays with a list interface like ByteString --optghc=-hide-all-packages --optghc=-fbuilding-cabal-package --optghc=-i --optghc=-idist/build --optghc=-i. --optghc=-idist/build/autogen --optghc=-Idist/build/autogen --optghc=-Idist/build --optghc=-optP-DSLOW_FOREIGN_PTR --optghc=-optP-include --optghc=-optPdist/build/autogen/cabal_macros.h --optghc=-odir --optghc=dist/build --optghc=-hidir --optghc=dist/build --optghc=-stubdir --optghc=dist/build --optghc=-package-id --optghc=QuickCheck-1.2.0.0-b45b62f212754a0f637424080defc346 --optghc=-package-id --optghc=base-3.0.3.2-260693a92016991a03206b5a55f6a411 --optghc=-package-id --optghc=bytestring-0.9.1.7-e4f5efe6019d4771130f5cd8d3216b38 --optghc=-package-id --optghc=random-1.0.0.2-f4208c3677aeaaaf41e4d36309c0b4ff --optghc=-O --optghc=-Wall --optghc=-funbox-strict-fields --optghc=-XCPP --optghc=-XForeignFunctionInterface -B/usr/local/lib/ghc-6.12.3 dist/build/tmp14560/Data/StorableVector.hs dist/build/tmp14560/Data/StorableVector/Base.hs Documentation created: dist/doc/html/storablevector/storablevector.txt *** setup build Creating dist/build (and its parents) Creating dist/build/autogen (and its parents) Preprocessing library storablevector-0.1.2... Preprocessing executables for storablevector-0.1.2... Building storablevector-0.1.2... Building library... Creating dist/build (and its parents) /usr/local/bin/ghc --make -package-name storablevector-0.1.2 -hide-all-packages -fbuilding-cabal-package -i -idist/build -i. -idist/build/autogen -Idist/build/autogen -Idist/build -optP-DSLOW_FOREIGN_PTR -optP-include -optPdist/build/autogen/cabal_macros.h -odir dist/build -hidir dist/build -stubdir dist/build -package-id QuickCheck-1.2.0.0-b45b62f212754a0f637424080defc346 -package-id base-3.0.3.2-260693a92016991a03206b5a55f6a411 -package-id bytestring-0.9.1.7-e4f5efe6019d4771130f5cd8d3216b38 -package-id random-1.0.0.2-f4208c3677aeaaaf41e4d36309c0b4ff -O -Wall -funbox-strict-fields -XCPP -XForeignFunctionInterface Data.StorableVector Data.StorableVector.Base [1 of 2] Compiling Data.StorableVector.Base ( Data/StorableVector/Base.hs, dist/build/Data/StorableVector/Base.o ) Data/StorableVector/Base.hs:1:0: Warning: Module `Prelude' is deprecated: You are using the old package `base' version 3.x. Future GHC versions will not support base version 3.x. You should update your code to use the new base version 4.x. Data/StorableVector/Base.hs:53:0: Warning: The import of `Foreign.Concurrent' is redundant except perhaps to import instances from `Foreign.Concurrent' To import instances alone, use: import Foreign.Concurrent() Data/StorableVector/Base.hs:56:0: Warning: The import of `GHC.Ptr' is redundant except perhaps to import instances from `GHC.Ptr' To import instances alone, use: import GHC.Ptr() Data/StorableVector/Base.hs:161:0: Warning: Definition but no type signature for `toForeignPtr' Inferred type: toForeignPtr :: forall t. Vector t -> (ForeignPtr t, Int, Int) [2 of 2] Compiling Data.StorableVector ( Data/StorableVector.hs, dist/build/Data/StorableVector.o ) Data/StorableVector.hs:167:0: Warning: Module `Prelude' is deprecated: You are using the old package `base' version 3.x. Future GHC versions will not support base version 3.x. You should update your code to use the new base version 4.x. Data/StorableVector.hs:168:0: Warning: Module `Prelude' is deprecated: You are using the old package `base' version 3.x. Future GHC versions will not support base version 3.x. You should update your code to use the new base version 4.x. Data/StorableVector.hs:182:41: Warning: In the use of `bracket' (imported from Control.Exception, but defined in base:Control.OldException): Deprecated: "Future versions of base will not support the old exceptions style. Please switch to extensible exceptions." Data/StorableVector.hs:191:0: Warning: The import of `Handle, IOMode' from module `System.IO' is redundant Linking... /usr/bin/ar -r dist/build/libHSstorablevector-0.1.2.a dist/build/Data/StorableVector.o dist/build/Data/StorableVector/Base.o /usr/bin/ar: creating dist/build/libHSstorablevector-0.1.2.a /usr/bin/ld -x -r -o dist/build/HSstorablevector-0.1.2.o dist/build/Data/StorableVector.o dist/build/Data/StorableVector/Base.o Registering storablevector-0.1.2... /usr/local/bin/ghc-pkg update - --global --user --package-conf=dist/package.conf.inplace Building executable test... Creating dist/build/test (and its parents) Creating dist/build/test/test-tmp (and its parents) /usr/local/bin/ghc --make -o dist/build/test/test -hide-all-packages -fbuilding-cabal-package -package-conf dist/package.conf.inplace -i -idist/build/test/test-tmp -i. -itests -itests-2 -idist/build/autogen -Idist/build/autogen -Idist/build/test/test-tmp -optP-DSLOW_FOREIGN_PTR -optP-include -optPdist/build/autogen/cabal_macros.h -odir dist/build/test/test-tmp -hidir dist/build/test/test-tmp -stubdir dist/build/test/test-tmp -package-id QuickCheck-1.2.0.0-b45b62f212754a0f637424080defc346 -package-id base-3.0.3.2-260693a92016991a03206b5a55f6a411 -package-id bytestring-0.9.1.7-e4f5efe6019d4771130f5cd8d3216b38 -package-id random-1.0.0.2-f4208c3677aeaaaf41e4d36309c0b4ff -O -Wall -funbox-strict-fields -XCPP -XForeignFunctionInterface tests/tests.hs [1 of 5] Compiling Instances ( tests-2/Instances.hs, dist/build/test/test-tmp/Instances.o ) tests-2/Instances.hs:1:0: Warning: Module `Prelude' is deprecated: You are using the old package `base' version 3.x. Future GHC versions will not support base version 3.x. You should update your code to use the new base version 4.x. [2 of 5] Compiling Data.StorableVector.Base ( Data/StorableVector/Base.hs, dist/build/test/test-tmp/Data/StorableVector/Base.o ) Data/StorableVector/Base.hs:1:0: Warning: Module `Prelude' is deprecated: You are using the old package `base' version 3.x. Future GHC versions will not support base version 3.x. You should update your code to use the new base version 4.x. Data/StorableVector/Base.hs:53:0: Warning: The import of `Foreign.Concurrent' is redundant except perhaps to import instances from `Foreign.Concurrent' To import instances alone, use: import Foreign.Concurrent() Data/StorableVector/Base.hs:56:0: Warning: The import of `GHC.Ptr' is redundant except perhaps to import instances from `GHC.Ptr' To import instances alone, use: import GHC.Ptr() Data/StorableVector/Base.hs:161:0: Warning: Definition but no type signature for `toForeignPtr' Inferred type: toForeignPtr :: forall t. Vector t -> (ForeignPtr t, Int, Int) [3 of 5] Compiling Data.StorableVector ( Data/StorableVector.hs, dist/build/test/test-tmp/Data/StorableVector.o ) Data/StorableVector.hs:167:0: Warning: Module `Prelude' is deprecated: You are using the old package `base' version 3.x. Future GHC versions will not support base version 3.x. You should update your code to use the new base version 4.x. Data/StorableVector.hs:168:0: Warning: Module `Prelude' is deprecated: You are using the old package `base' version 3.x. Future GHC versions will not support base version 3.x. You should update your code to use the new base version 4.x. Data/StorableVector.hs:182:41: Warning: In the use of `bracket' (imported from Control.Exception, but defined in base:Control.OldException): Deprecated: "Future versions of base will not support the old exceptions style. Please switch to extensible exceptions." Data/StorableVector.hs:191:0: Warning: The import of `Handle, IOMode' from module `System.IO' is redundant [4 of 5] Compiling QuickCheckUtils ( tests/QuickCheckUtils.hs, dist/build/test/test-tmp/QuickCheckUtils.o ) tests/QuickCheckUtils.hs:178:9: No instance for (Functor ((->) X)) arising from the superclasses of an instance declaration at tests/QuickCheckUtils.hs:178:9-34 Possible fix: add an instance declaration for (Functor ((->) X)) In the instance declaration for `NatTrans ((->) X) ((->) X)' tests/QuickCheckUtils.hs:179:9: No instance for (Functor ((->) W)) arising from the superclasses of an instance declaration at tests/QuickCheckUtils.hs:179:9-34 Possible fix: add an instance declaration for (Functor ((->) W)) In the instance declaration for `NatTrans ((->) W) ((->) W)' tests/QuickCheckUtils.hs:180:9: No instance for (Functor ((->) Char)) arising from the superclasses of an instance declaration at tests/QuickCheckUtils.hs:180:9-40 Possible fix: add an instance declaration for (Functor ((->) Char)) In the instance declaration for `NatTrans ((->) Char) ((->) Char)' tests/QuickCheckUtils.hs:183:9: Could not deduce (Functor ((,) g), Functor ((,) f)) from the context (Model f g) arising from the superclasses of an instance declaration at tests/QuickCheckUtils.hs:183:9-45 Possible fix: add (Functor ((,) g), Functor ((,) f)) to the context of the instance declaration or add an instance declaration for (Functor ((,) g), Functor ((,) f)) In the instance declaration for `NatTrans ((,) f) ((,) g)'