Closed GoogleCodeExporter closed 9 years ago
What steps will reproduce the problem? 1. Install GHC 7.0.1 2. Delete .cabal, .ghc_pkg, .capri and start from clean invironment 3. Install capri and other needed binaries/libraries via cabal 4. run make on the root directory of the trellys code Configuring trellys-core-0.0... Preprocessing library trellys-core-0.0... Preprocessing executables for trellys-core-0.0... Building trellys-core-0.0... [ 1 of 11] Compiling Language.Trellys.Options ( Language/Trellys/Options.hs, dist/build/Language/Trellys/Options.o ) [ 2 of 11] Compiling Language.Trellys.LayoutToken ( Language/Trellys/LayoutToken.hs, dist/build/Language/Trellys/LayoutToken.o ) [ 3 of 11] Compiling Language.Trellys.GenericBind ( Language/Trellys/GenericBind.hs, dist/build/Language/Trellys/GenericBind.o ) Loading package ghc-prim ... linking ... done. Loading package integer-gmp ... linking ... done. Loading package base ... linking ... done. Loading package bytestring-0.9.1.9 ... linking ... done. Loading package transformers-0.2.2.0 ... linking ... done. Loading package mtl-2.0.1.0 ... linking ... done. Loading package syb-0.3 ... linking ... done. Loading package parsec-3.1.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 array-0.3.0.2 ... linking ... done. Loading package containers-0.4.0.0 ... linking ... done. Loading package pretty-1.0.1.2 ... linking ... done. Loading package template-haskell ... linking ... done. Loading package RepLib-0.3.1 ... linking ... done. Loading package ffi-1.0 ... linking ... done. [ 4 of 11] Compiling Language.Trellys.Syntax ( Language/Trellys/Syntax.hs, dist/build/Language/Trellys/Syntax.o ) [ 5 of 11] Compiling Language.Trellys.Parser ( Language/Trellys/Parser.hs, dist/build/Language/Trellys/Parser.o ) [ 6 of 11] Compiling Language.Trellys.PrettyPrint ( Language/Trellys/PrettyPrint.hs, dist/build/Language/Trellys/PrettyPrint.o ) [ 7 of 11] Compiling Language.Trellys.Error ( Language/Trellys/Error.hs, dist/build/Language/Trellys/Error.o ) [ 8 of 11] Compiling Language.Trellys.Environment ( Language/Trellys/Environment.hs, dist/build/Language/Trellys/Environment.o ) [ 9 of 11] Compiling Language.Trellys.TypeMonad ( Language/Trellys/TypeMonad.hs, dist/build/Language/Trellys/TypeMonad.o ) Language/Trellys/TypeMonad.hs:24:10: Duplicate instance declarations: instance MonadIO m => MonadIO (FreshMT m) -- Defined at Language/Trellys/TypeMonad.hs:24:10-41 instance [overlap ok] MonadIO m => MonadIO (FreshMT m) -- Defined in Generics.RepLib.Bind.Fresh cabal: Error: some packages failed to install: trellys-core-0.0 failed during the building phase. The exception was: ExitFailure 1 ln -fs `pwd`/.capri/install/bin/trellys test
Original issue reported on code.google.com by kya...@gmail.com on 23 Jan 2011 at 3:38
kya...@gmail.com
Someone just fixed it.
Original comment by kya...@gmail.com on 23 Jan 2011 at 3:49
Original issue reported on code.google.com by
kya...@gmail.com
on 23 Jan 2011 at 3:38