*** setup configure Configuring AutoForms-0.4.2... Dependency array -any: using array-0.3.0.2 Dependency base -any: using base-4.3.0.0 Dependency haskell98 -any: using haskell98-1.1.0.0 Dependency mtl -any: using mtl-2.0.1.0 Dependency syb-with-class >=0.4: using syb-with-class-0.6.1.1 Dependency template-haskell -any: using template-haskell-2.5.0.0 Dependency wx -any: using wx-0.12.1.6 Dependency wxcore -any: using wxcore-0.12.1.6 Warning: This package indirectly depends on multiple versions of the same package. This is highly likely to cause a compile failure. package wxdirect-0.12.1.3 requires containers-0.3.0.0 package wxcore-0.12.1.6 requires containers-0.3.0.0 package template-haskell-2.5.0.0 requires containers-0.4.0.0 package syb-with-class-0.6.1.1 requires containers-0.4.0.0 package wxdirect-0.12.1.3 requires time-1.1.4 package wxcore-0.12.1.6 requires time-1.2.0.3 package random-1.0.0.3 requires time-1.2.0.3 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/AutoForms-0.4.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/AutoForms-0.4.2 Documentation installed in: /usr/local/tmp/archive/install/share/doc/AutoForms-0.4.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 AutoForms-0.4.2... Building AutoForms-0.4.2... Building library... Creating dist/build (and its parents) /usr/local/bin/ghc --make -package-name AutoForms-0.4.2 -hide-all-packages -fbuilding-cabal-package -i -idist/build -isrc -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 array-0.3.0.2-197667a808e421fc275e1d8f73f58618 -package-id base-4.3.0.0-b91367e4fa5bd47d8e75958171ad21b7 -package-id haskell98-1.1.0.0-33d81b006391138251e570e36941ef21 -package-id mtl-2.0.1.0-53db6a067853ff76cc2a84d2eb4d3dbf -package-id syb-with-class-0.6.1.1-bde426bbab7cdcc08971ee6cb4f5a15a -package-id template-haskell-2.5.0.0-6e95d7384beccc84ec14f80c525af96c -package-id wx-0.12.1.6-2978032abfd5881ae7deee0440c079c2 -package-id wxcore-0.12.1.6-5f3525a1d61d69b022026c762f2f9e29 -O -Wall -XHaskell98 Graphics.UI.AF.PolyCommand Graphics.UI.AF.General Graphics.UI.AF.General.MySYB Graphics.UI.AF.WxFormAll Graphics.UI.AF.AFWx Graphics.UI.AF.WxForm Graphics.UI.AF.WxForm.WxList Graphics.UI.AF.WxForm.ComIO Graphics.UI.AF.CForm.CFormAll Graphics.UI.AF.CForm.CForm Graphics.UI.AF.CForm.CFormImplementation Control.Monad.RecursiveObserver Control.Monad.Unlift Graphics.UI.AF.General.AutoForm Graphics.UI.AF.General.CustomTypes Graphics.UI.AF.General.Dialog Graphics.UI.AF.General.EditFile Graphics.UI.AF.General.InstanceCreator Graphics.UI.AF.General.Misc Graphics.UI.AF.General.PriLabel Graphics.UI.AF.WxForm.GenericEC Graphics.UI.AF.WxForm.EditorComponent Graphics.UI.AF.WxForm.GUI Graphics.UI.AF.WxForm.WxConstants Graphics.UI.AF.WxForm.WxEnumeration Graphics.UI.AF.WxForm.WxFilePath Graphics.UI.AF.WxForm.WxFormImplementation Graphics.UI.AF.WxForm.WxM Graphics.UI.AF.WxForm.WxMaybe [ 1 of 29] Compiling Graphics.UI.AF.WxForm.WxConstants ( src/Graphics/UI/AF/WxForm/WxConstants.hs, dist/build/Graphics/UI/AF/WxForm/WxConstants.o ) src/Graphics/UI/AF/CForm/CFormImplementation.hs:1:12: Warning: -fglasgow-exts is deprecated: Use individual extensions instead src/Graphics/UI/AF/General/InstanceCreator.hs:4:12: Warning: -fglasgow-exts is deprecated: Use individual extensions instead src/Graphics/UI/AF/WxForm/WxFormImplementation.hs:2:27: Warning: -XPatternSignatures is deprecated: use -XScopedTypeVariables or pragma {-# LANGUAGE ScopedTypeVariables #-} instead src/Graphics/UI/AF/WxForm/WxList.hs:1:32: Warning: -XRecursiveDo is deprecated: use -XDoRec or pragma {-# LANGUAGE DoRec #-} instead [ 2 of 29] Compiling Control.Monad.Unlift ( src/Control/Monad/Unlift.hs, dist/build/Control/Monad/Unlift.o ) [ 3 of 29] Compiling Control.Monad.RecursiveObserver ( src/Control/Monad/RecursiveObserver.hs, dist/build/Control/Monad/RecursiveObserver.o ) [ 4 of 29] Compiling Graphics.UI.AF.General.PriLabel ( src/Graphics/UI/AF/General/PriLabel.hs, dist/build/Graphics/UI/AF/General/PriLabel.o ) [ 5 of 29] Compiling Graphics.UI.AF.WxForm.GUI ( src/Graphics/UI/AF/WxForm/GUI.hs, dist/build/Graphics/UI/AF/WxForm/GUI.o ) [ 6 of 29] Compiling Graphics.UI.AF.General.MySYB ( src/Graphics/UI/AF/General/MySYB.hs, dist/build/Graphics/UI/AF/General/MySYB.o ) [ 7 of 29] Compiling Graphics.UI.AF.General.InstanceCreator ( src/Graphics/UI/AF/General/InstanceCreator.hs, dist/build/Graphics/UI/AF/General/InstanceCreator.o ) [ 8 of 29] Compiling Graphics.UI.AF.General.AutoForm ( src/Graphics/UI/AF/General/AutoForm.hs, dist/build/Graphics/UI/AF/General/AutoForm.o ) src/Graphics/UI/AF/General/AutoForm.hs:154:8: Warning: A do-notation statement discarded a result of type comH (). Suppress this warning by saying "_ <- button "&Quit" (closeWindow)", or by using the flag -fno-warn-unused-do-bind src/Graphics/UI/AF/General/AutoForm.hs:155:8: Warning: A do-notation statement discarded a result of type comH (). Suppress this warning by saying "_ <- button "&Execute" (do { output <- (>>=) getValue commandInput (.) liftIO execute; mapM_ (appendValue outputArea) (($) map (\ x -> [x]) lines output) })", or by using the flag -fno-warn-unused-do-bind src/Graphics/UI/AF/General/AutoForm.hs:186:10: Warning: A do-notation statement discarded a result of type comH a. Suppress this warning by saying "_ <- addListener updateState comIO", or by using the flag -fno-warn-unused-do-bind [ 9 of 29] Compiling Graphics.UI.AF.General.CustomTypes ( src/Graphics/UI/AF/General/CustomTypes.hs, dist/build/Graphics/UI/AF/General/CustomTypes.o ) Loading package ghc-prim ... linking ... done. Loading package integer-gmp ... linking ... done. Loading package base ... linking ... done. Loading package array-0.3.0.2 ... linking ... done. Loading package stm-2.2.0.1 ... linking ... done. Loading package bytestring-0.9.1.8 ... linking ... done. Loading package containers-0.3.0.0 ... linking ... done. Loading package filepath-1.2.0.0 ... linking ... done. Loading package old-locale-1.0.0.2 ... linking ... done. Loading package old-time-1.0.0.6 ... linking ... done. Loading package unix-2.4.1.0 ... linking ... done. Loading package directory-1.1.0.0 ... linking ... done. Loading package parsec-2.1.0.1 ... linking ... done. Loading package time-1.2.0.3 ... linking ... done. Loading package time-1.1.4 ... GHCi runtime linker: fatal error: I found a duplicate definition for symbol get_current_timezone_seconds whilst processing object file /usr/local/tmp/archive/install/lib/time-1.1.4/ghc-7.0.1/HStime-1.1.4.o This could be caused by: * Loading two different object files which export the same symbol * Specifying the same object file twice on the GHCi command line * An incorrect `package.conf' entry, causing some object to be loaded twice. GHCi cannot safely continue in this situation. Exiting now. Sorry.