Comment #11 on issue 301 by jan2ary: Build failure during install http://code.google.com/p/yi-editor/issues/detail?id=301
Still getting error while building from cabal repository. I have installed haskell-platform under ubuntu karmic. Cabal repository updated with 'cabal update'. Yi/Prelude.hs:182:9: Duplicate instance declarations: instance Category Accessor.T -- Defined at Yi/Prelude.hs:182:9-38 instance Category Accessor.T -- Defined in data-accessor-0.2.1:Data.Accessor.Private cabal: Error: some packages failed to install: yi-0.6.1 failed during the building phase. The exception was: exit: ExitFailure 1 And while building from trunk I'm getting: $ darcs pull Pulling from "http://code.haskell.org/yi"... No remote changes to pull in! $ cabal clean $ cabal configure --user --prefix=$HOME Resolving dependencies... Configuring yi-0.6.1... Warning: This package indirectly depends on multiple versions of the same package. This is highly likely to cause a compile failure. package dyre-0.8.0 requires binary-0.5 package yi-0.6.1 requires binary-0.5.0.2 package pureMD5-1.0.0.3 requires binary-0.5.0.2 package pointedlist-0.3.5 requires binary-0.5.0.2 package regex-posix-0.72.0.3 requires bytestring-0.9.1.4 package regex-base-0.72.0.2 requires bytestring-0.9.1.4 package cautious-file-0.1.5 requires bytestring-0.9.1.4 package binary-0.5 requires bytestring-0.9.1.4 package yi-0.6.1 requires bytestring-0.9.1.5 package vty-4.0.0.1 requires bytestring-0.9.1.5 package utf8-string-0.3.5 requires bytestring-0.9.1.5 package regex-tdfa-1.1.2 requires bytestring-0.9.1.5 package regex-base-0.93.1 requires bytestring-0.9.1.5 package pureMD5-1.0.0.3 requires bytestring-0.9.1.5 package binary-0.5.0.2 requires bytestring-0.9.1.5 package regex-posix-0.72.0.3 requires regex-base-0.72.0.2 package regex-compat-0.71.0.1 requires regex-base-0.72.0.2 package yi-0.6.1 requires regex-base-0.93.1 package regex-tdfa-1.1.2 requires regex-base-0.93.1 $ cabal build Preprocessing library yi-0.6.1... Preprocessing executables for yi-0.6.1... Building yi-0.6.1... [ 1 of 117] Compiling System.FriendlyPath ( src/System/FriendlyPath.hs, dist/build/System/FriendlyPath.o ) [ 2 of 117] Compiling Shim.ProjectContent ( src/Shim/ProjectContent.hs, dist/build/Shim/ProjectContent.o ) [ 3 of 117] Compiling Parser.Incremental ( src/Parser/Incremental.hs, dist/build/Parser/Incremental.o ) [ 4 of 117] Compiling Data.Trie ( src/Data/Trie.hs, dist/build/Data/Trie.o ) [ 5 of 117] Compiling Data.DelayList ( src/Data/DelayList.hs, dist/build/Data/DelayList.o ) [ 6 of 117] Compiling Data.Rope ( src/Data/Rope.hs, dist/build/Data/Rope.o ) src/Data/Rope.hs:202:31: Couldn't match expected type `bytestring-0.9.1.4:Data.ByteString.Lazy.Internal.ByteString' against inferred type `LB.ByteString' In the second argument of `($)', namely `toLazyByteString r' In the expression: writeFileL f $ toLazyByteString r In the definition of `writeFile': writeFile f r = writeFileL f $ toLazyByteString r -- You received this message because you are listed in the owner or CC fields of this issue, or because you starred this issue. You may adjust your issue notification preferences at: http://code.google.com/hosting/settings --~--~---------~--~----~------------~-------~--~----~ Yi development mailing list yi-devel@googlegroups.com http://groups.google.com/group/yi-devel -~----------~----~----~----~------~----~------~--~---