aboutsummaryrefslogtreecommitdiff
path: root/doc/forum/Building_git-annex-3.20121112-19309.mdwn
blob: 68d5e32050567c44d77c5d130d126b9792b9e9bc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
Hi,

I have Problems building git-annex-3.20121112-19309, I rceive the following error:

...
  Loading object (static) dist/build/git-annex/git-annex-tmp/Utility/libmounts.o ... done
  final link ... done

  Assistant/Alert.hs:66:30:
      Warning: default newline style has changed, using an explicit $newline is recommended

  Assistant/Alert.hs:69:31:
      Warning: default newline style has changed, using an explicit $newline is recommended
  [157 of 279] Compiling Assistant.Types.DaemonStatus ( Assistant/Types/DaemonStatus.hs, dist/build/git-annex/git-annex-tmp/Assistant/Types/DaemonStatus.o )
  [158 of 279] Compiling Assistant.Monad  ( Assistant/Monad.hs, dist/build/git-annex/git-annex-tmp/Assistant/Monad.o )

  Assistant/Monad.hs:86:16:
      Couldn't match expected type `Assistant a'
                  with actual type `Reader AssistantData a'
      Expected type: (AssistantData -> a) -> Assistant a
        Actual type: (AssistantData -> a) -> Reader AssistantData a
      In the expression: reader
      In an equation for `getAssistant': getAssistant = reader

  Assistant/Monad.hs:93:15:
      Couldn't match expected type `Assistant t0'
                  with actual type `Reader r0 a0'
      In the return type of a call of `reader'
      In a stmt of a 'do' block: st <- reader threadState
      In the expression:
        do { st <- reader threadState;
             liftIO $ runThreadState st a }

  Assistant/Monad.hs:99:14:
      Couldn't match expected type `Assistant t0'
                  with actual type `Reader r0 a0'
      In the return type of a call of `reader'
      In a stmt of a 'do' block: d <- reader id
      In the expression:
        do { d <- reader id;
             liftIO $ io $ runAssistant d a }

  Assistant/Monad.hs:105:14:
      Couldn't match expected type `Assistant t0'
                  with actual type `Reader r0 a0'
      In the return type of a call of `reader'
      In a stmt of a 'do' block: d <- reader id
      In the expression:
        do { d <- reader id;
             return $ runAssistant d a }

  Assistant/Monad.hs:110:14:
      Couldn't match expected type `Assistant t0'
                  with actual type `Reader r0 a0'
      In the return type of a call of `reader'
      In a stmt of a 'do' block: d <- reader id
      In the expression:
        do { d <- reader id;
             return $ \ v -> runAssistant d $ a v }

  Assistant/Monad.hs:115:14:
      Couldn't match expected type `Assistant t0'
                  with actual type `Reader r0 a0'
      In the return type of a call of `reader'
      In a stmt of a 'do' block: d <- reader id
      In the expression:
        do { d <- reader id;
             return $ \ v1 v2 -> runAssistant d (a v1 v2) }

  Assistant/Monad.hs:120:12:
      Couldn't match expected type `Assistant a0'
                  with actual type `Reader r0 a1'
      In the return type of a call of `reader'
      In the first argument of `(>>=)', namely `reader v'
      In the expression: reader v >>= liftIO . io
  cabal: Error: some packages failed to install:
  git-annex-3.20121112 failed during the building phase. The exception was:
  ExitFailure 1