*** setup configure Configuring hsndfile-0.1.1... Dependency array -any: using array-0.2.0.0 Dependency base -any: using base-4.1.0.0 Dependency carray -any: using carray-0.1.3 Dependency haskell98 -any: using haskell98-1.0.1.0 Using Cabal-1.6.0.1 compiled by ghc-6.8 Using compiler: ghc-6.10.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/hsndfile-0.1.1/ghc-6.10.2 Private binaries installed in: /usr/local/tmp/archive/install/libexec Data files installed in: /usr/local/tmp/archive/install/share/hsndfile-0.1.1 Documentation installed in: /usr/local/tmp/archive/install/share/doc/hsndfile-0.1.1 Using alex version 2.2 found on system at: /usr/bin/alex Using ar found on system at: /usr/bin/ar Using c2hs version 0.15.1 found on system at: /usr/local/bin/c2hs Using cpphs version 0.7 found on system at: /usr/bin/cpphs Using ffihugs found on system at: /usr/local/bin/ffihugs Using gcc version 4.3.3 found on system at: /usr/bin/gcc Using ghc version 6.10.2 found on system at: /usr/local/bin/ghc Using ghc-pkg version 6.10.2 found on system at: /usr/local/bin/ghc-pkg No greencard found Using haddock version 2.4.2 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.9 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 nhc98 found Using pkg-config version 0.22 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 hsndfile-0.1.1... Creating dist/build/Sound/File/Sndfile (and its parents) /usr/local/bin/c2hs --include=dist/build --cppopts=-D__GLASGOW_HASKELL__=610 --output-dir=dist/build --output=Sound/File/Sndfile/Interface.hs ./Sound/File/Sndfile/Interface.chs Building hsndfile-0.1.1... Building library... Creating dist/build (and its parents) /usr/local/bin/ghc -package-name hsndfile-0.1.1 --make -hide-all-packages -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 array-0.2.0.0 -package base-4.1.0.0 -package carray-0.1.3 -package haskell98-1.0.1.0 -O -Wall Sound.File.Sndfile C2HS Sound.File.Sndfile.Buffer Sound.File.Sndfile.Buffer.IOCArray Sound.File.Sndfile.Buffer.Storable Sound.File.Sndfile.Interface [1 of 6] Compiling C2HS ( C2HS.hs, dist/build/C2HS.o ) C2HS.hs:119:9: Warning: orphan instance: instance (Storable a) => Storable (Maybe a) C2HS.hs:66:21: Warning: Imported from `Monad' but not used: `when' C2HS.hs:74:0: Warning: Definition but no type signature for `withCStringLenIntConv' Inferred type: withCStringLenIntConv :: forall a b. (Integral b) => String -> ((Ptr CChar, b) -> IO a) -> IO a C2HS.hs:75:0: Warning: Definition but no type signature for `peekCStringLenIntConv' Inferred type: peekCStringLenIntConv :: forall t. (Integral t) => (Ptr CChar, t) -> IO String [2 of 6] Compiling Sound.File.Sndfile.Interface ( dist/build/Sound/File/Sndfile/Interface.hs, dist/build/Sound/File/Sndfile/Interface.o ) Sound/File/Sndfile/Interface.chs:7:26: Module `Control.Exception' does not export `catchDyn' Sound/File/Sndfile/Interface.chs:7:36: Module `Control.Exception' does not export `throwDyn' *** Trying again with preferred-versions *** setup configure Configuring hsndfile-0.1.1... Dependency array -any: using array-0.2.0.0 Dependency base -any && <4: using base-3.0.3.1 Dependency carray -any: using carray-0.1.3 Dependency haskell98 -any: using haskell98-1.0.1.0 Using Cabal-1.6.0.1 compiled by ghc-6.8 Using compiler: ghc-6.10.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/hsndfile-0.1.1/ghc-6.10.2 Private binaries installed in: /usr/local/tmp/archive/install/libexec Data files installed in: /usr/local/tmp/archive/install/share/hsndfile-0.1.1 Documentation installed in: /usr/local/tmp/archive/install/share/doc/hsndfile-0.1.1 Using alex version 2.2 found on system at: /usr/bin/alex Using ar found on system at: /usr/bin/ar Using c2hs version 0.15.1 found on system at: /usr/local/bin/c2hs Using cpphs version 0.7 found on system at: /usr/bin/cpphs Using ffihugs found on system at: /usr/local/bin/ffihugs Using gcc version 4.3.3 found on system at: /usr/bin/gcc Using ghc version 6.10.2 found on system at: /usr/local/bin/ghc Using ghc-pkg version 6.10.2 found on system at: /usr/local/bin/ghc-pkg No greencard found Using haddock version 2.4.2 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.9 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 nhc98 found Using pkg-config version 0.22 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 hsndfile-0.1.1... Building hsndfile-0.1.1... Building library... Creating dist/build (and its parents) /usr/local/bin/ghc -package-name hsndfile-0.1.1 --make -hide-all-packages -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 array-0.2.0.0 -package base-3.0.3.1 -package carray-0.1.3 -package haskell98-1.0.1.0 -O -Wall Sound.File.Sndfile C2HS Sound.File.Sndfile.Buffer Sound.File.Sndfile.Buffer.IOCArray Sound.File.Sndfile.Buffer.Storable Sound.File.Sndfile.Interface [1 of 6] Compiling C2HS ( C2HS.hs, dist/build/C2HS.o ) C2HS.hs:119:9: Warning: orphan instance: instance (Storable a) => Storable (Maybe a) C2HS.hs:66:21: Warning: Imported from `Monad' but not used: `when' C2HS.hs:74:0: Warning: Definition but no type signature for `withCStringLenIntConv' Inferred type: withCStringLenIntConv :: forall a b. (Integral b) => String -> ((Ptr CChar, b) -> IO a) -> IO a C2HS.hs:75:0: Warning: Definition but no type signature for `peekCStringLenIntConv' Inferred type: peekCStringLenIntConv :: forall t. (Integral t) => (Ptr CChar, t) -> IO String [2 of 6] Compiling Sound.File.Sndfile.Interface ( dist/build/Sound/File/Sndfile/Interface.hs, dist/build/Sound/File/Sndfile/Interface.o ) Sound/File/Sndfile/Interface.chs:9:0: Warning: Module `Data.Int' is imported, but nothing from it is used, except perhaps instances visible in `Data.Int' To suppress this warning, use: import Data.Int() Sound/File/Sndfile/Interface.chs:191:8: Warning: This binding for `frames' shadows the existing binding defined at Sound/File/Sndfile/Interface.chs:150:4 In a pattern binding in a 'do' expression Sound/File/Sndfile/Interface.chs:191:45: Warning: This binding for `ptr' shadows the existing binding bound at Sound/File/Sndfile/Interface.chs:190:9 In a lambda abstraction Sound/File/Sndfile/Interface.chs:192:8: Warning: This binding for `samplerate' shadows the existing binding defined at Sound/File/Sndfile/Interface.chs:151:4 In a pattern binding in a 'do' expression Sound/File/Sndfile/Interface.chs:192:45: Warning: This binding for `ptr' shadows the existing binding bound at Sound/File/Sndfile/Interface.chs:190:9 In a lambda abstraction Sound/File/Sndfile/Interface.chs:193:8: Warning: This binding for `channels' shadows the existing binding defined at Sound/File/Sndfile/Interface.chs:152:4 In a pattern binding in a 'do' expression Sound/File/Sndfile/Interface.chs:193:45: Warning: This binding for `ptr' shadows the existing binding bound at Sound/File/Sndfile/Interface.chs:190:9 In a lambda abstraction Sound/File/Sndfile/Interface.chs:194:8: Warning: This binding for `format' shadows the existing binding defined at Sound/File/Sndfile/Interface.chs:153:4 In a pattern binding in a 'do' expression Sound/File/Sndfile/Interface.chs:194:45: Warning: This binding for `ptr' shadows the existing binding bound at Sound/File/Sndfile/Interface.chs:190:9 In a lambda abstraction Sound/File/Sndfile/Interface.chs:195:8: Warning: This binding for `sections' shadows the existing binding defined at Sound/File/Sndfile/Interface.chs:154:4 In a pattern binding in a 'do' expression Sound/File/Sndfile/Interface.chs:195:45: Warning: This binding for `ptr' shadows the existing binding bound at Sound/File/Sndfile/Interface.chs:190:9 In a lambda abstraction Sound/File/Sndfile/Interface.chs:196:8: Warning: This binding for `seekable' shadows the existing binding defined at Sound/File/Sndfile/Interface.chs:155:4 In a pattern binding in a 'do' expression Sound/File/Sndfile/Interface.chs:196:45: Warning: This binding for `ptr' shadows the existing binding bound at Sound/File/Sndfile/Interface.chs:190:9 In a lambda abstraction Sound/File/Sndfile/Interface.chs:208:14: Warning: This binding for `ptr' shadows the existing binding bound at Sound/File/Sndfile/Interface.chs:206:9 In a lambda abstraction Sound/File/Sndfile/Interface.chs:209:14: Warning: This binding for `ptr' shadows the existing binding bound at Sound/File/Sndfile/Interface.chs:206:9 In a lambda abstraction Sound/File/Sndfile/Interface.chs:210:14: Warning: This binding for `ptr' shadows the existing binding bound at Sound/File/Sndfile/Interface.chs:206:9 In a lambda abstraction Sound/File/Sndfile/Interface.chs:211:14: Warning: This binding for `ptr' shadows the existing binding bound at Sound/File/Sndfile/Interface.chs:206:9 In a lambda abstraction Sound/File/Sndfile/Interface.chs:212:14: Warning: This binding for `ptr' shadows the existing binding bound at Sound/File/Sndfile/Interface.chs:206:9 In a lambda abstraction Sound/File/Sndfile/Interface.chs:213:14: Warning: This binding for `ptr' shadows the existing binding bound at Sound/File/Sndfile/Interface.chs:206:9 In a lambda abstraction Sound/File/Sndfile/Interface.chs:239:18: Warning: Defaulting the following constraint(s) to type `Integer' `Num b' arising from a use of `fromIntegral' at Sound/File/Sndfile/Interface.chs:239:18-29 In the first argument of `liftM', namely `fromIntegral' In the first argument of `($)', namely `liftM fromIntegral' In a stmt of a 'do' expression: code <- liftM fromIntegral $ sf_error handle Sound/File/Sndfile/Interface.chs:324:41: Warning: This binding for `frames' shadows the existing binding defined at Sound/File/Sndfile/Interface.chs:150:4 In the definition of `hSeek'' [3 of 6] Compiling Sound.File.Sndfile.Buffer ( Sound/File/Sndfile/Buffer.hs, dist/build/Sound/File/Sndfile/Buffer.o ) Sound/File/Sndfile/Buffer.hs:10:0: Warning: Module `C2HS' is imported, but nothing from it is used, except perhaps instances visible in `C2HS' To suppress this warning, use: import C2HS() Sound/File/Sndfile/Buffer.hs:20:23: Warning: This binding for `channels' shadows the existing binding imported from Sound.File.Sndfile.Interface at Sound/File/Sndfile/Buffer.hs:17:0-34 (defined at Sound/File/Sndfile/Interface.chs:152:4) In the definition of `checkSampleBounds' Sound/File/Sndfile/Buffer.hs:26:22: Warning: This binding for `channels' shadows the existing binding imported from Sound.File.Sndfile.Interface at Sound/File/Sndfile/Buffer.hs:17:0-34 (defined at Sound/File/Sndfile/Interface.chs:152:4) In the definition of `checkFrameBounds' [4 of 6] Compiling Sound.File.Sndfile.Buffer.IOCArray ( Sound/File/Sndfile/Buffer/IOCArray.hs, dist/build/Sound/File/Sndfile/Buffer/IOCArray.o ) Sound/File/Sndfile/Buffer/IOCArray.hs:32:9: Warning: orphan instance: instance MBuffer IOCArray Double IO Sound/File/Sndfile/Buffer/IOCArray.hs:41:9: Warning: orphan instance: instance MBuffer IOCArray Float IO Sound/File/Sndfile/Buffer/IOCArray.hs:27:13: Warning: Defaulting the following constraint(s) to type `Integer' `Integral b' arising from a use of `cIntConv' at Sound/File/Sndfile/Buffer/IOCArray.hs:27:13-27 In the second argument of `($)', namely `cIntConv result' In the expression: return $ cIntConv result In the expression: do size <- liftM rangeSize $ getBounds buffer checkBounds size (channels info) count result <- withIOCArray buffer $ \ ptr -> liftM fromIntegral $ ioFunc handle ptr (cIntConv count) checkHandle handle .... [5 of 6] Compiling Sound.File.Sndfile.Buffer.Storable ( Sound/File/Sndfile/Buffer/Storable.hs, dist/build/Sound/File/Sndfile/Buffer/Storable.o ) Sound/File/Sndfile/Buffer/Storable.hs:32:9: Warning: orphan instance: instance MBuffer StorableArray Double IO Sound/File/Sndfile/Buffer/Storable.hs:41:9: Warning: orphan instance: instance MBuffer StorableArray Float IO Sound/File/Sndfile/Buffer/Storable.hs:27:13: Warning: Defaulting the following constraint(s) to type `Integer' `Integral b' arising from a use of `cIntConv' at Sound/File/Sndfile/Buffer/Storable.hs:27:13-27 In the second argument of `($)', namely `cIntConv result' In the expression: return $ cIntConv result In the expression: do size <- liftM rangeSize $ getBounds buffer checkBounds size (channels info) count result <- withStorableArray buffer $ \ ptr -> liftM fromIntegral $ ioFunc handle ptr (cIntConv count) checkHandle handle .... [6 of 6] Compiling Sound.File.Sndfile ( Sound/File/Sndfile.hs, dist/build/Sound/File/Sndfile.o ) Linking... /usr/bin/ar q dist/build/libHShsndfile-0.1.1.a dist/build/Sound/File/Sndfile.o dist/build/C2HS.o dist/build/Sound/File/Sndfile/Buffer.o dist/build/Sound/File/Sndfile/Buffer/IOCArray.o dist/build/Sound/File/Sndfile/Buffer/Storable.o dist/build/Sound/File/Sndfile/Interface.o /usr/bin/ar: creating dist/build/libHShsndfile-0.1.1.a /usr/bin/ld -x -r -o dist/build/HShsndfile-0.1.1.o.tmp dist/build/Sound/File/Sndfile.o dist/build/C2HS.o dist/build/Sound/File/Sndfile/Buffer.o dist/build/Sound/File/Sndfile/Buffer/IOCArray.o dist/build/Sound/File/Sndfile/Buffer/Storable.o dist/build/Sound/File/Sndfile/Interface.o *** setup haddock Creating dist/doc/html/hsndfile (and its parents) Preprocessing library hsndfile-0.1.1... Running hscolour for hsndfile-0.1.1... Creating dist/doc/html/hsndfile/src (and its parents) /usr/local/bin/HsColour -print-css -odist/doc/html/hsndfile/src/hscolour.css /usr/local/bin/HsColour -css -anchor -odist/doc/html/hsndfile/src/Sound-File-Sndfile.html Sound/File/Sndfile.hs /usr/local/bin/HsColour -css -anchor -odist/doc/html/hsndfile/src/C2HS.html C2HS.hs /usr/local/bin/HsColour -css -anchor -odist/doc/html/hsndfile/src/Sound-File-Sndfile-Buffer.html Sound/File/Sndfile/Buffer.hs /usr/local/bin/HsColour -css -anchor -odist/doc/html/hsndfile/src/Sound-File-Sndfile-Buffer-IOCArray.html Sound/File/Sndfile/Buffer/IOCArray.hs /usr/local/bin/HsColour -css -anchor -odist/doc/html/hsndfile/src/Sound-File-Sndfile-Buffer-Storable.html Sound/File/Sndfile/Buffer/Storable.hs /usr/local/bin/HsColour -css -anchor -odist/doc/html/hsndfile/src/Sound-File-Sndfile-Interface.html dist/build/Sound/File/Sndfile/Interface.hs Creating dist/build/tmp (and its parents) Creating dist/doc/html/hsndfile (and its parents) Preprocessing library hsndfile-0.1.1... Running Haddock for hsndfile-0.1.1... Warning: The documentation for the following packages are not installed. No links will be generated to these packages: rts-1.0 /usr/local/bin/haddock --use-contents=http://hackage.haskell.org/cgi-bin/hackage-scripts/package/hsndfile-0.1.1 --ghc-version /usr/local/bin/ghc --print-libdir Creating dist/build (and its parents) Creating dist/build/autogen (and its parents) Preprocessing library hsndfile-0.1.1... /usr/local/bin/haddock --use-contents=http://hackage.haskell.org/cgi-bin/hackage-scripts/package/hsndfile-0.1.1 --html --odir=dist/doc/html/hsndfile --title=hsndfile-0.1.1: Haskell bindings for libsndfile --dump-interface=dist/doc/html/hsndfile/hsndfile.haddock --prologue=dist/hsndfile-0.1.1-haddock-prolog9594.txt --optghc=-package-name --optghc=hsndfile-0.1.1 --source-module=src/%{MODULE/./-}.html --source-entity=src/%{MODULE/./-}.html#%{NAME} --read-interface=http://hackage.haskell.org/packages/archive/array/0.2.0.0/doc/html,/usr/local/share/doc/ghc/libraries/array/array.haddock --read-interface=http://hackage.haskell.org/packages/archive/base/3.0.3.1/doc/html,/usr/local/share/doc/ghc/libraries/base/base.haddock --read-interface=http://hackage.haskell.org/packages/archive/base/4.1.0.0/doc/html,/usr/local/share/doc/ghc/libraries/base/base.haddock --read-interface=http://hackage.haskell.org/packages/archive/binary/0.5.0.1/doc/html,/usr/local/tmp/archive/install/share/doc/binary-0.5.0.1/html/binary.haddock --read-interface=http://hackage.haskell.org/packages/archive/bytestring/0.9.1.4/doc/html,/usr/local/share/doc/ghc/libraries/bytestring/bytestring.haddock --read-interface=http://hackage.haskell.org/packages/archive/carray/0.1.3/doc/html,/usr/local/tmp/archive/install/share/doc/carray-0.1.3/html/carray.haddock --read-interface=http://hackage.haskell.org/packages/archive/containers/0.2.0.1/doc/html,/usr/local/share/doc/ghc/libraries/containers/containers.haddock --read-interface=http://hackage.haskell.org/packages/archive/directory/1.0.0.3/doc/html,/usr/local/share/doc/ghc/libraries/directory/directory.haddock --read-interface=http://hackage.haskell.org/packages/archive/filepath/1.1.0.2/doc/html,/usr/local/share/doc/ghc/libraries/filepath/filepath.haddock --read-interface=http://hackage.haskell.org/packages/archive/ghc-prim/0.1.0.0/doc/html,/usr/local/share/doc/ghc/libraries/ghc-prim/ghc-prim.haddock --read-interface=http://hackage.haskell.org/packages/archive/haskell98/1.0.1.0/doc/html,/usr/local/share/doc/ghc/libraries/haskell98/haskell98.haddock --read-interface=http://hackage.haskell.org/packages/archive/integer/0.1.0.1/doc/html,/usr/local/share/doc/ghc/libraries/integer/integer.haddock --read-interface=http://hackage.haskell.org/packages/archive/old-locale/1.0.0.1/doc/html,/usr/local/share/doc/ghc/libraries/old-locale/old-locale.haddock --read-interface=http://hackage.haskell.org/packages/archive/old-time/1.0.0.2/doc/html,/usr/local/share/doc/ghc/libraries/old-time/old-time.haddock --read-interface=http://hackage.haskell.org/packages/archive/process/1.0.1.1/doc/html,/usr/local/share/doc/ghc/libraries/process/process.haddock --read-interface=http://hackage.haskell.org/packages/archive/random/1.0.0.1/doc/html,/usr/local/share/doc/ghc/libraries/random/random.haddock --read-interface=http://hackage.haskell.org/packages/archive/syb/0.1.0.1/doc/html,/usr/local/share/doc/ghc/libraries/syb/syb.haddock --read-interface=http://hackage.haskell.org/packages/archive/unix/2.3.2.0/doc/html,/usr/local/share/doc/ghc/libraries/unix/unix.haddock --hide=C2HS --hide=Sound.File.Sndfile.Buffer --hide=Sound.File.Sndfile.Buffer.IOCArray --hide=Sound.File.Sndfile.Buffer.Storable --hide=Sound.File.Sndfile.Interface -B/usr/local/lib/ghc-6.10.2/. --optghc=-hide-all-packages --optghc=-package --optghc=array-0.2.0.0 --optghc=-package --optghc=base-3.0.3.1 --optghc=-package --optghc=carray-0.1.3 --optghc=-package --optghc=haskell98-1.0.1.0 --optghc=-i --optghc=-Wall --optghc=-i. --optghc=-idist/build/autogen --optghc=-idist/build --optghc=-optP-include --optghc=-optPdist/build/autogen/cabal_macros.h --optghc=-odir --optghc=dist/build --optghc=-hidir --optghc=dist/build Sound.File.Sndfile C2HS Sound.File.Sndfile.Buffer Sound.File.Sndfile.Buffer.IOCArray Sound.File.Sndfile.Buffer.Storable Sound.File.Sndfile.Interface C2HS.hs:119:9: Warning: orphan instance: instance (Storable a) => Storable (Maybe a) Sound/File/Sndfile/Interface.chs:21:17: parse error on input `-- ^ Type for expressing sample counts.'