*** setup configure setup/setup configure --ghc --user --prefix=/usr/local/tmp/archive/install --haddock-option=--use-contents=/package/ProbabilityMonads-0.1.0 --haddock-option=--built-in-themes --verbose Configuring ProbabilityMonads-0.1.0... Warning: No 'build-type' specified. If you do not need a custom Setup.hs or ./configure script then use 'build-type: Simple'. Dependency MaybeT -any: using MaybeT-0.1.2 Dependency MonadRandom -any: using MonadRandom-0.1.5 Dependency base -any: using base-4.2.0.2 Dependency mtl -any: using mtl-1.1.1.0 Using Cabal-1.8.0.2 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/ProbabilityMonads-0.1.0/ghc-6.12.3 Private binaries installed in: /usr/local/tmp/archive/install/libexec Data files installed in: /usr/local/tmp/archive/install/share/ProbabilityMonads-0.1.0 Documentation installed in: /usr/local/tmp/archive/install/share/doc/ProbabilityMonads-0.1.0 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 setup/setup build --verbose Creating dist/build (and its parents) Creating dist/build/autogen (and its parents) Preprocessing library ProbabilityMonads-0.1.0... Building ProbabilityMonads-0.1.0... Building library... Creating dist/build (and its parents) /usr/local/bin/ghc --make -package-name ProbabilityMonads-0.1.0 -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 MaybeT-0.1.2-480641a81a5be6dd7e2b0f3623bab693 -package-id MonadRandom-0.1.5-ed3ff9d02529db69df8248a75572ce35 -package-id base-4.2.0.2-10bdacb430274706a59728e237e2bfb3 -package-id mtl-1.1.1.0-d036dc304ce29f3ccf77920ec7880651 -O -Wall -fno-warn-orphans -O Data.Probability.Base Data.Probability Data.Probability.Rational Control.Monad.MonoidValue Control.Monad.Distribution.Base Control.Monad.Distribution Control.Monad.Distribution.Rational [1 of 7] Compiling Control.Monad.MonoidValue ( Control/Monad/MonoidValue.hs, dist/build/Control/Monad/MonoidValue.o ) [2 of 7] Compiling Data.Probability.Base ( Data/Probability/Base.hs, dist/build/Data/Probability/Base.o ) [3 of 7] Compiling Data.Probability ( Data/Probability.hs, dist/build/Data/Probability.o ) [4 of 7] Compiling Control.Monad.Distribution.Base ( Control/Monad/Distribution/Base.hs, dist/build/Control/Monad/Distribution/Base.o ) Control/Monad/Distribution/Base.hs:183:0: Illegal instance declaration for `BayesDist (MaybeT (Rand g))' (All instance types must be of the form (T a1 ... an) where a1 ... an are type *variables*, and each type variable appears at most once in the instance head. Use -XFlexibleInstances if you want to disable this.) In the instance declaration for `BayesDist (MaybeT (Rand g))' Control/Monad/Distribution/Base.hs:184:0: Illegal instance declaration for `BayesDist (MaybeT (RandT g m))' (All instance types must be of the form (T a1 ... an) where a1 ... an are type *variables*, and each type variable appears at most once in the instance head. Use -XFlexibleInstances if you want to disable this.) In the instance declaration for `BayesDist (MaybeT (RandT g m))' Control/Monad/Distribution/Base.hs:186:0: Illegal instance declaration for `MonadPlus (MaybeT (Rand g))' (All instance types must be of the form (T a1 ... an) where a1 ... an are type *variables*, and each type variable appears at most once in the instance head. Use -XFlexibleInstances if you want to disable this.) In the instance declaration for `MonadPlus (MaybeT (Rand g))' Control/Monad/Distribution/Base.hs:190:0: Illegal instance declaration for `MonadPlus (MaybeT (RandT g m))' (All instance types must be of the form (T a1 ... an) where a1 ... an are type *variables*, and each type variable appears at most once in the instance head. Use -XFlexibleInstances if you want to disable this.) In the instance declaration for `MonadPlus (MaybeT (RandT g m))' Control/Monad/Distribution/Base.hs:242:0: Illegal instance declaration for `Dist (MVT p [])' (All instance types must be of the form (T a1 ... an) where a1 ... an are type *variables*, and each type variable appears at most once in the instance head. Use -XFlexibleInstances if you want to disable this.) In the instance declaration for `Dist (MVT p [])' Control/Monad/Distribution/Base.hs:247:0: Illegal instance declaration for `Show (MVT p [] a)' (All instance types must be of the form (T a1 ... an) where a1 ... an are type *variables*, and each type variable appears at most once in the instance head. Use -XFlexibleInstances if you want to disable this.) In the instance declaration for `Show (MVT p [] a)' Control/Monad/Distribution/Base.hs:257:0: Illegal instance declaration for `BayesDist (MaybeT (MVT p []))' (All instance types must be of the form (T a1 ... an) where a1 ... an are type *variables*, and each type variable appears at most once in the instance head. Use -XFlexibleInstances if you want to disable this.) In the instance declaration for `BayesDist (MaybeT (MVT p []))' Control/Monad/Distribution/Base.hs:259:0: Illegal instance declaration for `MonadPlus (MaybeT (MVT p []))' (All instance types must be of the form (T a1 ... an) where a1 ... an are type *variables*, and each type variable appears at most once in the instance head. Use -XFlexibleInstances if you want to disable this.) In the instance declaration for `MonadPlus (MaybeT (MVT p []))' *** Trying again with preferred-versions *** setup configure setup/setup configure --ghc --user --prefix=/usr/local/tmp/archive/install --haddock-option=--use-contents=/package/ProbabilityMonads-0.1.0 --haddock-option=--built-in-themes --constraint=base<4 --constraint=parsec<3 --constraint=QuickCheck<2 --verbose Configuring ProbabilityMonads-0.1.0... Warning: No 'build-type' specified. If you do not need a custom Setup.hs or ./configure script then use 'build-type: Simple'. Dependency MaybeT -any: using MaybeT-0.1.2 Dependency MonadRandom -any: using MonadRandom-0.1.5 Dependency base <4: using base-3.0.3.2 Dependency mtl -any: using mtl-1.1.1.0 Using Cabal-1.8.0.2 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/ProbabilityMonads-0.1.0/ghc-6.12.3 Private binaries installed in: /usr/local/tmp/archive/install/libexec Data files installed in: /usr/local/tmp/archive/install/share/ProbabilityMonads-0.1.0 Documentation installed in: /usr/local/tmp/archive/install/share/doc/ProbabilityMonads-0.1.0 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 setup/setup haddock --verbose --html-location=/packages/archive/$pkg/$version/doc/html --hyperlink-source Running Haddock for ProbabilityMonads-0.1.0... /usr/local/bin/haddock --use-contents=/package/ProbabilityMonads-0.1.0 --built-in-themes --ghc-version Creating dist/build (and its parents) Creating dist/build/autogen (and its parents) Preprocessing library ProbabilityMonads-0.1.0... Running hscolour for ProbabilityMonads-0.1.0... Creating dist/doc/html/ProbabilityMonads (and its parents) Creating dist/doc/html/ProbabilityMonads/src (and its parents) /usr/local/bin/HsColour -print-css -odist/doc/html/ProbabilityMonads/src/hscolour.css /usr/local/bin/HsColour -css -anchor -odist/doc/html/ProbabilityMonads/src/Data-Probability-Base.html Data/Probability/Base.hs /usr/local/bin/HsColour -css -anchor -odist/doc/html/ProbabilityMonads/src/Data-Probability.html Data/Probability.hs /usr/local/bin/HsColour -css -anchor -odist/doc/html/ProbabilityMonads/src/Data-Probability-Rational.html Data/Probability/Rational.hs /usr/local/bin/HsColour -css -anchor -odist/doc/html/ProbabilityMonads/src/Control-Monad-MonoidValue.html Control/Monad/MonoidValue.hs /usr/local/bin/HsColour -css -anchor -odist/doc/html/ProbabilityMonads/src/Control-Monad-Distribution-Base.html Control/Monad/Distribution/Base.hs /usr/local/bin/HsColour -css -anchor -odist/doc/html/ProbabilityMonads/src/Control-Monad-Distribution.html Control/Monad/Distribution.hs /usr/local/bin/HsColour -css -anchor -odist/doc/html/ProbabilityMonads/src/Control-Monad-Distribution-Rational.html Control/Monad/Distribution/Rational.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 copy Data/Probability/Base.hs to dist/build/tmp24442/Data/Probability/Base.hs copy Data/Probability.hs to dist/build/tmp24442/Data/Probability.hs copy Data/Probability/Rational.hs to dist/build/tmp24442/Data/Probability/Rational.hs copy Control/Monad/MonoidValue.hs to dist/build/tmp24442/Control/Monad/MonoidValue.hs copy Control/Monad/Distribution/Base.hs to dist/build/tmp24442/Control/Monad/Distribution/Base.hs copy Control/Monad/Distribution.hs to dist/build/tmp24442/Control/Monad/Distribution.hs copy Control/Monad/Distribution/Rational.hs to dist/build/tmp24442/Control/Monad/Distribution/Rational.hs Creating dist/doc/html/ProbabilityMonads/ (and its parents) /usr/local/bin/haddock --use-contents=/package/ProbabilityMonads-0.1.0 --built-in-themes --prologue=dist/doc/html/ProbabilityMonads/haddock-prolog24442.txt --dump-interface=dist/doc/html/ProbabilityMonads/ProbabilityMonads.haddock --optghc=-package-name --optghc=ProbabilityMonads-0.1.0 --source-module=src/%{MODULE/./-}.html --source-entity=src/%{MODULE/./-}.html#%{NAME} --verbosity=1 --html --read-interface=/packages/archive/MaybeT/0.1.2/doc/html,/usr/local/tmp/archive/install/share/doc/MaybeT-0.1.2/html/MaybeT.haddock --read-interface=/packages/archive/MonadRandom/0.1.5/doc/html,/usr/local/tmp/archive/install/share/doc/MonadRandom-0.1.5/html/MonadRandom.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/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/mtl/1.1.1.0/doc/html,/usr/local/tmp/archive/install/share/doc/mtl-1.1.1.0/html/mtl.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/ProbabilityMonads/ --title=ProbabilityMonads-0.1.0: Probability distribution monads. --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-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=MaybeT-0.1.2-480641a81a5be6dd7e2b0f3623bab693 --optghc=-package-id --optghc=MonadRandom-0.1.5-ed3ff9d02529db69df8248a75572ce35 --optghc=-package-id --optghc=base-3.0.3.2-260693a92016991a03206b5a55f6a411 --optghc=-package-id --optghc=mtl-1.1.1.0-d036dc304ce29f3ccf77920ec7880651 --optghc=-O --optghc=-Wall --optghc=-fno-warn-orphans --optghc=-O -B/usr/local/lib/ghc-6.12.3 dist/build/tmp24442/Data/Probability/Base.hs dist/build/tmp24442/Data/Probability.hs dist/build/tmp24442/Data/Probability/Rational.hs dist/build/tmp24442/Control/Monad/MonoidValue.hs dist/build/tmp24442/Control/Monad/Distribution/Base.hs dist/build/tmp24442/Control/Monad/Distribution.hs dist/build/tmp24442/Control/Monad/Distribution/Rational.hs dist/build/tmp24442/Control/Monad/Distribution/Base.hs:183:0: Illegal instance declaration for `BayesDist (MaybeT (Rand g))' (All instance types must be of the form (T a1 ... an) where a1 ... an are type *variables*, and each type variable appears at most once in the instance head. Use -XFlexibleInstances if you want to disable this.) In the instance declaration for `BayesDist (MaybeT (Rand g))' dist/build/tmp24442/Control/Monad/Distribution/Base.hs:184:0: Illegal instance declaration for `BayesDist (MaybeT (RandT g m))' (All instance types must be of the form (T a1 ... an) where a1 ... an are type *variables*, and each type variable appears at most once in the instance head. Use -XFlexibleInstances if you want to disable this.) In the instance declaration for `BayesDist (MaybeT (RandT g m))' dist/build/tmp24442/Control/Monad/Distribution/Base.hs:186:0: Illegal instance declaration for `MonadPlus (MaybeT (Rand g))' (All instance types must be of the form (T a1 ... an) where a1 ... an are type *variables*, and each type variable appears at most once in the instance head. Use -XFlexibleInstances if you want to disable this.) In the instance declaration for `MonadPlus (MaybeT (Rand g))' dist/build/tmp24442/Control/Monad/Distribution/Base.hs:190:0: Illegal instance declaration for `MonadPlus (MaybeT (RandT g m))' (All instance types must be of the form (T a1 ... an) where a1 ... an are type *variables*, and each type variable appears at most once in the instance head. Use -XFlexibleInstances if you want to disable this.) In the instance declaration for `MonadPlus (MaybeT (RandT g m))' dist/build/tmp24442/Control/Monad/Distribution/Base.hs:242:0: Illegal instance declaration for `Dist (MVT p [])' (All instance types must be of the form (T a1 ... an) where a1 ... an are type *variables*, and each type variable appears at most once in the instance head. Use -XFlexibleInstances if you want to disable this.) In the instance declaration for `Dist (MVT p [])' dist/build/tmp24442/Control/Monad/Distribution/Base.hs:247:0: Illegal instance declaration for `Show (MVT p [] a)' (All instance types must be of the form (T a1 ... an) where a1 ... an are type *variables*, and each type variable appears at most once in the instance head. Use -XFlexibleInstances if you want to disable this.) In the instance declaration for `Show (MVT p [] a)' dist/build/tmp24442/Control/Monad/Distribution/Base.hs:257:0: Illegal instance declaration for `BayesDist (MaybeT (MVT p []))' (All instance types must be of the form (T a1 ... an) where a1 ... an are type *variables*, and each type variable appears at most once in the instance head. Use -XFlexibleInstances if you want to disable this.) In the instance declaration for `BayesDist (MaybeT (MVT p []))' dist/build/tmp24442/Control/Monad/Distribution/Base.hs:259:0: Illegal instance declaration for `MonadPlus (MaybeT (MVT p []))' (All instance types must be of the form (T a1 ... an) where a1 ... an are type *variables*, and each type variable appears at most once in the instance head. Use -XFlexibleInstances if you want to disable this.) In the instance declaration for `MonadPlus (MaybeT (MVT p []))' Warning: Control.Monad.MonoidValue: mvMonoid is exported separately but will be documented under MV. Consider exporting it together with its parent(s) for code clarity. Warning: Control.Monad.MonoidValue: mvValue is exported separately but will be documented under MV. Consider exporting it together with its parent(s) for code clarity. Warning: Control.Monad.MonoidValue: runMVT is exported separately but will be documented under MVT. Consider exporting it together with its parent(s) for code clarity. Warning: Data.Probability.Base: prob is exported separately but will be documented under Probability. Consider exporting it together with its parent(s) for code clarity. Warning: Data.Probability.Base: fromProb is exported separately but will be documented under Probability. Consider exporting it together with its parent(s) for code clarity. Warning: Data.Probability.Base: pnot is exported separately but will be documented under Probability. Consider exporting it together with its parent(s) for code clarity. Warning: Data.Probability.Base: padd is exported separately but will be documented under Probability. Consider exporting it together with its parent(s) for code clarity. Warning: Data.Probability.Base: pmul is exported separately but will be documented under Probability. Consider exporting it together with its parent(s) for code clarity.