Status: New
Owner: ----
Labels: Type-Defect Priority-Medium

New issue 315 by ghammond: Cannot cabal install Yi on Debian
http://code.google.com/p/yi-editor/issues/detail?id=315

What steps will reproduce the problem?
1. cabal install yi
2.
3.

What is the expected output? What do you see instead?


hammo...@yulia:~$ cabal install yi
Resolving dependencies...
Configuring yi-0.6.2.3...
Preprocessing library yi-0.6.2.3...
Preprocessing executables for yi-0.6.2.3...
Building yi-0.6.2.3...
[ 1 of 116] Compiling Shim.ProjectContent ( src/Shim/ProjectContent.hs, dist/build/Shim/ProjectContent.o ) [ 2 of 116] Compiling Yi.Char.Unicode ( src/Yi/Char/Unicode.hs, dist/build/Yi/Char/Unicode.o ) [ 3 of 116] Compiling Data.Trie ( src/Data/Trie.hs, dist/build/Data/Trie.o ) [ 4 of 116] Compiling Yi.Keymap.Completion ( src/Yi/Keymap/Completion.hs, dist/build/Yi/Keymap/Completion.o ) [ 5 of 116] Compiling Yi.Monad ( src/Yi/Monad.hs, dist/build/Yi/Monad.o ) [ 6 of 116] Compiling Parser.Incremental ( src/Parser/Incremental.hs, dist/build/Parser/Incremental.o )

src/Parser/Incremental.hs:19:0:
    Warning: The import of `Data.List' is redundant
               except perhaps to import instances from `Data.List'
             To import instances alone, use: import Data.List()
[ 7 of 116] Compiling System.FriendlyPath ( src/System/FriendlyPath.hs, dist/build/System/FriendlyPath.o ) [ 8 of 116] Compiling Yi.Debug ( src/Yi/Debug.hs, dist/build/Yi/Debug.o ) [ 9 of 116] Compiling Shim.Utils ( src/Shim/Utils.hs, dist/build/Shim/Utils.o )

src/Shim/Utils.hs:51:2:
Warning: A do-notation statement discarded a result of type GHC.IO.Exception.ExitCode.
             Suppress this warning by saying "_ <- waitForProcess pid",
             or by using the flag -fno-warn-unused-do-bind
[ 10 of 116] Compiling Shim.CabalInfo ( src/Shim/CabalInfo.hs, dist/build/Shim/CabalInfo.o )

src/Shim/CabalInfo.hs:5:0:
    Warning: Module `Control.OldException' is deprecated:
Future versions of base will not support the old exceptions style. Please switch to extensible exceptions.

src/Shim/CabalInfo.hs:5:0:
    Warning: In the use of `CE.try'
             (imported from Control.OldException):
Deprecated: "Future versions of base will not support the old exceptions style. Please switch to extensible exceptions."

src/Shim/CabalInfo.hs:5:0:
    Warning: In the use of type constructor or class `CE.Exception'
             (imported from Control.OldException):
Deprecated: "Future versions of base will not support the old exceptions style. Please switch to extensible exceptions." [ 11 of 116] Compiling Data.DelayList ( src/Data/DelayList.hs, dist/build/Data/DelayList.o ) [ 12 of 116] Compiling Paths_yi ( dist/build/autogen/Paths_yi.hs, dist/build/Paths_yi.o ) [ 13 of 116] Compiling Yi.String ( src/Yi/String.hs, dist/build/Yi/String.o ) [ 14 of 116] Compiling Data.Rope ( src/Data/Rope.hs, dist/build/Data/Rope.o ) [ 15 of 116] Compiling Data.Prototype ( src/Data/Prototype.hs, dist/build/Data/Prototype.o ) [ 16 of 116] Compiling Yi.UI.Common[boot] ( src/Yi/UI/Common.hs-boot, dist/build/Yi/UI/Common.o-boot ) [ 17 of 116] Compiling Yi.Editor[boot] ( src/Yi/Editor.hs-boot, dist/build/Yi/Editor.o-boot ) [ 18 of 116] Compiling Yi.Prelude ( src/Yi/Prelude.hs, dist/build/Yi/Prelude.o )

src/Yi/Prelude.hs:45:0:
Warning: `<$' is exported by `module Control.Applicative' and `Functor(..)' [ 19 of 116] Compiling Yi.Event ( src/Yi/Event.hs, dist/build/Yi/Event.o ) [ 20 of 116] Compiling Yi.Style ( src/Yi/Style.hs, dist/build/Yi/Style.o ) [ 21 of 116] Compiling Yi.Style.Library ( src/Yi/Style/Library.hs, dist/build/Yi/Style/Library.o ) [ 22 of 116] Compiling Yi.Buffer.Basic ( src/Yi/Buffer/Basic.hs, dist/build/Yi/Buffer/Basic.o )
Loading package ghc-prim ... linking ... done.
Loading package integer-gmp ... linking ... done.
Loading package base ... linking ... done.
Loading package array-0.3.0.0 ... linking ... done.
Loading package bytestring-0.9.1.5 ... linking ... done.
Loading package containers-0.3.0.0 ... linking ... done.
Loading package mtl-1.1.0.2 ... linking ... done.
Loading package syb-0.1.0.2 ... linking ... done.
Loading package base-3.0.3.2 ... linking ... done.
Loading package parallel-1.1.0.1 ... linking ... done.
Loading package parsec-2.1.0.1 ... linking ... done.
Loading package extensible-exceptions-0.1.1.1 ... linking ... done.
Loading package terminfo-0.3.1.2 ... linking ... done.
Loading package unix-2.4.0.0 ... linking ... done.
Loading package utf8-string-0.3.4 ... linking ... done.
Loading package Boolean-0.0.1 ... linking ... done.
Loading package MemoTrie-0.4.7 ... linking ... done.
Loading package vector-space-0.5.9 ... linking ... done.
Loading package vty-4.2.1.0 ... linking ... done.
Loading package unix-compat-0.1.2.1 ... linking ... done.
Loading package split-0.1.2 ... linking ... done.
Loading package rosezipper-0.1 ... linking ... done.
Loading package regex-base-0.93.1 ... linking ... done.
Loading package regex-tdfa-1.1.3 ... linking ... done.
Loading package binary-0.5.0.2 ... linking ... done.
Loading package cereal-0.2 ... linking ... done.
Loading package pureMD5-1.1.0.0 ... linking ... done.
Loading package transformers-0.2.1.0 ... linking ... done.
Loading package monads-fd-0.1.0.1 ... linking ... done.
Loading package pretty-1.0.1.1 ... linking ... done.
Loading package template-haskell ... linking ... done.
Loading package fclabels-0.4.2.1 ... linking ... done.
Loading package pointedlist-0.4.0 ... linking ... done.
Loading package MonadCatchIO-mtl-0.3.0.1 ... linking ... done.
Loading package filepath-1.1.0.3 ... linking ... done.
Loading package old-locale-1.0.0.2 ... linking ... done.
Loading package old-time-1.0.0.3 ... linking ... done.
Loading package directory-1.0.1.0 ... linking ... done.
Loading package process-1.0.1.2 ... linking ... done.
Loading package Cabal-1.8.0.2 ... linking ... done.
Loading package ghc-binary-0.5.0.2 ... linking ... done.
Loading package bin-package-db-0.0.0.0 ... linking ... done.
Loading package hpc-0.5.0.4 ... linking ... done.
Loading package ghc-6.12.1 ... linking ... done.
Loading package ghc-mtl-1.0.1.0 ... linking ... done.
Loading package ghc-paths-0.1.0.6 ... linking ... done.
Loading package time-1.1.4 ... linking ... done.
Loading package random-1.0.0.2 ... linking ... done.
Loading package haskell98 ... linking ... done.
Loading package haskell-src-1.0.1.3 ... linking ... done.
Loading package hint-0.3.2.3 ... linking ... done.
Loading package fingertree-0.0.1.0 ... linking ... done.
Loading package executable-path-0.0.2 ... linking ... done.
Loading package io-storage-0.3 ... linking ... done.
Loading package regex-posix-0.94.1 ... linking ... done.
Loading package regex-compat-0.92 ... linking ... done.
Loading package xdg-basedir-0.2 ... linking ... done.
Loading package dyre-0.8.3 ... linking ... done.
Loading package dlist-0.5 ... linking ... done.
Loading package cpphs-1.11 ... linking ... done.
Loading package haskell-src-exts-1.9.0 ... linking ... done.
Loading package uniplate-1.5.1 ... linking ... done.
Loading package derive-2.3.0.2 ... linking ... done.
Loading package data-accessor-0.2.1.4 ... linking ... done.
Loading package utility-ht-0.0.5.1 ... linking ... done.
Loading package data-accessor-template-0.2.1.5 ... linking ... done.
Loading package data-accessor-monads-fd-0.2.0.2 ... linking ... done.
Loading package cautious-file-0.1.5 ... linking ... done.
Loading package QuickCheck-2.1.0.3 ... linking ... done.
Loading package Diff-0.1.2 ... linking ... done.
[ 23 of 116] Compiling Yi.KillRing ( src/Yi/KillRing.hs, dist/build/Yi/KillRing.o ) [ 24 of 116] Compiling Yi.Regex ( src/Yi/Regex.hs, dist/build/Yi/Regex.o ) [ 25 of 116] Compiling Yi.Dynamic ( src/Yi/Dynamic.hs, dist/build/Yi/Dynamic.o ) [ 26 of 116] Compiling Yi.Region ( src/Yi/Region.hs, dist/build/Yi/Region.o ) [ 27 of 116] Compiling Yi.Window ( src/Yi/Window.hs, dist/build/Yi/Window.o ) [ 28 of 116] Compiling Yi.Syntax ( src/Yi/Syntax.hs, dist/build/Yi/Syntax.o ) [ 29 of 116] Compiling Yi.Buffer.Implementation ( src/Yi/Buffer/Implementation.hs, dist/build/Yi/Buffer/Implementation.o ) [ 30 of 116] Compiling Yi.Buffer.Undo ( src/Yi/Buffer/Undo.hs, dist/build/Yi/Buffer/Undo.o ) [ 31 of 116] Compiling Yi.Interact ( src/Yi/Interact.hs, dist/build/Yi/Interact.o ) [ 32 of 116] Compiling Yi.Keymap[boot] ( src/Yi/Keymap.hs-boot, dist/build/Yi/Keymap.o-boot ) [ 33 of 116] Compiling Yi.Buffer.Misc ( src/Yi/Buffer/Misc.hs, dist/build/Yi/Buffer/Misc.o ) [ 34 of 116] Compiling Yi.Buffer.Region ( src/Yi/Buffer/Region.hs, dist/build/Yi/Buffer/Region.o ) [ 35 of 116] Compiling Yi.Buffer.Normal ( src/Yi/Buffer/Normal.hs, dist/build/Yi/Buffer/Normal.o ) [ 36 of 116] Compiling Yi.Buffer.HighLevel ( src/Yi/Buffer/HighLevel.hs, dist/build/Yi/Buffer/HighLevel.o ) [ 37 of 116] Compiling Yi.Buffer.Indent ( src/Yi/Buffer/Indent.hs, dist/build/Yi/Buffer/Indent.o ) [ 38 of 116] Compiling Yi.Buffer ( src/Yi/Buffer.hs, dist/build/Yi/Buffer.o ) [ 39 of 116] Compiling Yi.Config ( src/Yi/Config.hs, dist/build/Yi/Config.o ) [ 40 of 116] Compiling Yi.Editor ( src/Yi/Editor.hs, dist/build/Yi/Editor.o )

src/Yi/Editor.hs:134:12: Not in scope: `PL.focusA'

src/Yi/Editor.hs:309:17: Not in scope: `PL.focusA'

src/Yi/Editor.hs:454:10: Not in scope: `PL.focusA'

src/Yi/Editor.hs:515:10: Not in scope: `PL.focusA'

src/Yi/Editor.hs:515:22: Not in scope: `PL.focusA'

src/Yi/Editor.hs:551:35: Not in scope: `PL.move'

src/Yi/Editor.hs:552:45: Not in scope: `PL.move'

src/Yi/Editor.hs:588:46: Not in scope: `PL.move'

src/Yi/Editor.hs:589:46: Not in scope: `PL.move'
cabal: Error: some packages failed to install:
yi-0.6.2.3 failed during the building phase. The exception was:
ExitFailure 1
hammo...@yulia:~$



Please provide relevant version information:

What version of Yi are you using? 0.6.2.3 (from Hackage)
What version of GHC? 6.12.1
What version of Cabal? 0.8.2 using library 1.8.0.2
What operating system/version? Debian Squeeze/Sid kernel 2.6.32-5

If you generated it (--debug) please provide your .yi.dbg file

Please provide any additional information below.


--
Yi development mailing list
[email protected]
http://groups.google.com/group/yi-devel

Reply via email to