*** setup configure Configuring iconv-0.4.0.2... Flags chosen: bytestring_in_base=False Dependency base <2.0 || >=2.2: using base-4.3.0.0 Dependency bytestring >=0.9: using bytestring-0.9.1.8 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/iconv-0.4.0.2/ghc-7.0.1 Private binaries installed in: /usr/local/tmp/archive/install/libexec Data files installed in: /usr/local/tmp/archive/install/share/iconv-0.4.0.2 Documentation installed in: /usr/local/tmp/archive/install/share/doc/iconv-0.4.0.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 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 Creating dist/build (and its parents) Creating dist/build/autogen (and its parents) Preprocessing library iconv-0.4.0.2... Building iconv-0.4.0.2... Building library... Creating dist/build (and its parents) /usr/local/bin/ghc --make -package-name iconv-0.4.0.2 -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 -package-id bytestring-0.9.1.8-2e812324817b74c7c5038e2cb74d96a9 -O -fvia-C -Wall -XHaskell98 -XCPP -XForeignFunctionInterface Codec.Text.IConv Codec.Text.IConv.Internal [1 of 2] Compiling Codec.Text.IConv.Internal ( Codec/Text/IConv/Internal.hs, dist/build/Codec/Text/IConv/Internal.o ) on the commandline: Warning: The -fvia-C flag will be removed in a future GHC release Codec/Text/IConv/Internal.hs:91:16: Warning: This binding for `inBuffer' shadows the existing binding defined at Codec/Text/IConv/Internal.hs:162:5 Codec/Text/IConv/Internal.hs:92:16: Warning: This binding for `inOffset' shadows the existing binding defined at Codec/Text/IConv/Internal.hs:163:5 Codec/Text/IConv/Internal.hs:93:16: Warning: This binding for `inLength' shadows the existing binding defined at Codec/Text/IConv/Internal.hs:164:5 Codec/Text/IConv/Internal.hs:114:3: Warning: This binding for `outBuffer' shadows the existing binding defined at Codec/Text/IConv/Internal.hs:166:5 Codec/Text/IConv/Internal.hs:130:17: Warning: This binding for `outBuffer' shadows the existing binding defined at Codec/Text/IConv/Internal.hs:166:5 Codec/Text/IConv/Internal.hs:131:17: Warning: This binding for `outOffset' shadows the existing binding defined at Codec/Text/IConv/Internal.hs:167:5 Codec/Text/IConv/Internal.hs:132:17: Warning: This binding for `outLength' shadows the existing binding defined at Codec/Text/IConv/Internal.hs:168:5 Codec/Text/IConv/Internal.hs:272:27: Warning: This binding for `iconv' shadows the existing binding defined at Codec/Text/IConv/Internal.hs:310:1 Codec/Text/IConv/Internal.hs:311:17: Warning: This binding for `inBuffer' shadows the existing binding defined at Codec/Text/IConv/Internal.hs:162:5 Codec/Text/IConv/Internal.hs:312:17: Warning: This binding for `inOffset' shadows the existing binding defined at Codec/Text/IConv/Internal.hs:163:5 Codec/Text/IConv/Internal.hs:313:17: Warning: This binding for `inLength' shadows the existing binding defined at Codec/Text/IConv/Internal.hs:164:5 Codec/Text/IConv/Internal.hs:314:17: Warning: This binding for `inTotal' shadows the existing binding defined at Codec/Text/IConv/Internal.hs:165:5 Codec/Text/IConv/Internal.hs:315:17: Warning: This binding for `outBuffer' shadows the existing binding defined at Codec/Text/IConv/Internal.hs:166:5 Codec/Text/IConv/Internal.hs:316:17: Warning: This binding for `outOffset' shadows the existing binding defined at Codec/Text/IConv/Internal.hs:167:5 Codec/Text/IConv/Internal.hs:317:17: Warning: This binding for `outLength' shadows the existing binding defined at Codec/Text/IConv/Internal.hs:168:5 Codec/Text/IConv/Internal.hs:318:17: Warning: This binding for `outFree' shadows the existing binding defined at Codec/Text/IConv/Internal.hs:169:5 [2 of 2] Compiling Codec.Text.IConv ( Codec/Text/IConv.hs, dist/build/Codec/Text/IConv.o ) Codec/Text/IConv.hs:152:30: Not in scope: data constructor `Exception.IOException'