summaryrefslogtreecommitdiff
path: root/doc/bugs/4.20130227_won__39__t_build_on_OS_X_Lion__44___because_testpack_won__39__t_build.mdwn
blob: 5acc4d5690427a3d9e846f632b78741be001f832 (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
What steps will reproduce the problem?

install from a git checkout of tag 4.20130227; error comes up at the "cabal install" stage.


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

Expected successful install; got:


    git-annex.branchable.com$ cabal install --bindir=$HOME/bin
    Resolving dependencies...
    Configuring testpack-2.1.2...
    Building testpack-2.1.2...
    Preprocessing library testpack-2.1.2...
    [1 of 3] Compiling Test.QuickCheck.Instances ( src/Test/QuickCheck/Instances.hs, dist/build/Test/QuickCheck/Instances.o )
    [2 of 3] Compiling Test.QuickCheck.Tools ( src/Test/QuickCheck/Tools.hs, dist/build/Test/QuickCheck/Tools.o )
    
    src/Test/QuickCheck/Tools.hs:33:9:
        Warning: Fields of `MkResult' not initialised: abort
        In the expression:
          MkResult
            {ok = Just (expected == actual), expect = True,
             interrupted = False,
             reason = "Result: expected "
                      ++ show expected ++ ", got " ++ show actual,
             stamp = [], callbacks = []}
        In an equation for `@=?':
            expected @=? actual
              = MkResult
                  {ok = Just (expected == actual), expect = True,
                   interrupted = False,
                   reason = "Result: expected "
                            ++ show expected ++ ", got " ++ show actual,
                   stamp = [], callbacks = []}
    [3 of 3] Compiling Test.HUnit.Tools ( src/Test/HUnit/Tools.hs, dist/build/Test/HUnit/Tools.o )
    
    src/Test/HUnit/Tools.hs:131:57:
        `maxDiscard' is not a (visible) constructor field name
    
    src/Test/HUnit/Tools.hs:177:40: Not in scope: `maxDiscard'
    Failed to install testpack-2.1.2
    cabal: Error: some packages failed to install:
    git-annex-4.20130227 depends on testpack-2.1.2 which failed to install.
    testpack-2.1.2 failed during the building phase. The exception was:
    ExitFailure 1
    git-annex.branchable.com$ 


What version of git-annex are you using? On what operating system?

trying to compile git checkout of 4.20130227 on OS X Lion.

Please provide any additional information below.


> removed dependency on testpack [[done]] --[[Joey]]