aboutsummaryrefslogtreecommitdiff
path: root/doc/bugs/Build_failure_with_feed___62____61___1.0.0.0.mdwn
blob: 2b7bc53de240356643a3c212580dfd3977c39bd4 (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
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
### Please describe the problem.
git-annex cannot build with feed 1.0.0.0, which was uploaded to Hackage on Sat Aug 26 23:56:18 UTC 2017 by AdamBergmark.

### What steps will reproduce the problem?
Try to build git-annex with cabal install in a cabal sandbox.

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

### Please provide any additional information below.

[[!format sh """
[416 of 562] Compiling Command.ImportFeed ( Command/ImportFeed.hs, dist/dist-sandbox-b4eb11e/build/git-annex/git-annex-tmp/Command/ImportFeed.o )

Command/ImportFeed.hs:139:61: error:
    • Couldn't match type ‘Data.Text.Internal.Text’ with ‘[Char]’
      Expected type: URLString
        Actual type: Text.Atom.Feed.URI
    • In the first argument of ‘Enclosure’, namely ‘enclosureurl’
      In the second argument of ‘($)’, namely ‘Enclosure enclosureurl’
      In the second argument of ‘($)’, namely
        ‘ToDownload f u i $ Enclosure enclosureurl’

Command/ImportFeed.hs:142:49: error:
    • Couldn't match type ‘Data.Text.Internal.Text’ with ‘[Char]’
      Expected type: URLString
        Actual type: Data.Text.Internal.Text
    • In the first argument of ‘quviSupported’, namely ‘link’
      In the first argument of ‘ifM’, namely ‘(quviSupported link)’
      In the expression:
        ifM
          (quviSupported link)
          (return $ Just $ ToDownload f u i $ QuviLink link, return Nothing)

Command/ImportFeed.hs:143:71: error:
    • Couldn't match type ‘Data.Text.Internal.Text’ with ‘[Char]’
      Expected type: URLString
        Actual type: Data.Text.Internal.Text
    • In the first argument of ‘QuviLink’, namely ‘link’
      In the second argument of ‘($)’, namely ‘QuviLink link’
      In the second argument of ‘($)’, namely
        ‘ToDownload f u i $ QuviLink link’

Command/ImportFeed.hs:214:54: error:
    • Couldn't match type ‘[Char]’ with ‘Data.Text.Internal.Text’
      Expected type: S.Set Data.Text.Internal.Text
        Actual type: S.Set ItemId
    • In the second argument of ‘S.member’, namely ‘(knownitems cache)’
      In the expression: S.member itemid (knownitems cache)
      In a case alternative:
          Just (_, itemid) -> S.member itemid (knownitems cache)

Command/ImportFeed.hs:279:42: error:
    • Couldn't match type ‘Data.Text.Internal.Text’ with ‘[Char]’
      Expected type: Maybe [Char]
        Actual type: Maybe Text.RSS.Syntax.DateString
    • In the second argument of ‘(<$>)’, namely
        ‘getItemPublishDateString itm’
      In the expression: replace "/" "-" <$> getItemPublishDateString itm
      In a case alternative:
          _ -> replace "/" "-" <$> getItemPublishDateString itm

Command/ImportFeed.hs:293:44: error:
    • Couldn't match type ‘Data.Text.Internal.Text’ with ‘[Char]’
      Expected type: String
        Actual type: Data.Text.Internal.Text
    • In the first argument of ‘toMetaValue’, namely ‘itemid’
      In the second argument of ‘($)’, namely ‘toMetaValue itemid’
      In the second argument of ‘M.singleton’, namely
        ‘(S.singleton $ toMetaValue itemid)’

Command/ImportFeed.hs:299:26: error:
    • Couldn't match type ‘Data.Text.Internal.Text’ with ‘[Char]’
      Expected type: Maybe String
        Actual type: Maybe Data.Text.Internal.Text
    • In the expression: feedtitle
      In the expression: [feedtitle]
      In the expression: ("feedtitle", [feedtitle])

Command/ImportFeed.hs:300:26: error:
    • Couldn't match type ‘Data.Text.Internal.Text’ with ‘[Char]’
      Expected type: Maybe String
        Actual type: Maybe Data.Text.Internal.Text
    • In the expression: itemtitle
      In the expression: [itemtitle]
      In the expression: ("itemtitle", [itemtitle])

Command/ImportFeed.hs:301:27: error:
    • Couldn't match type ‘Data.Text.Internal.Text’ with ‘[Char]’
      Expected type: Maybe String
        Actual type: Maybe Data.Text.Internal.Text
    • In the expression: feedauthor
      In the expression: [feedauthor]
      In the expression: ("feedauthor", [feedauthor])

Command/ImportFeed.hs:302:27: error:
    • Couldn't match type ‘Data.Text.Internal.Text’ with ‘[Char]’
      Expected type: Maybe String
        Actual type: Maybe Data.Text.Internal.Text
    • In the expression: itemauthor
      In the expression: [itemauthor]
      In the expression: ("itemauthor", [itemauthor])

Command/ImportFeed.hs:303:28: error:
    • Couldn't match type ‘Data.Text.Internal.Text’ with ‘[Char]’
      Expected type: Maybe String
        Actual type: Maybe Data.Text.Internal.Text
    • In the expression: getItemSummary $ item i
      In the expression: [getItemSummary $ item i]
      In the expression: ("itemsummary", [getItemSummary $ item i])

Command/ImportFeed.hs:304:32: error:
    • Couldn't match type ‘Data.Text.Internal.Text’ with ‘[Char]’
      Expected type: Maybe String
        Actual type: Maybe Data.Text.Internal.Text
    • In the expression: getItemDescription $ item i
      In the expression: [getItemDescription $ item i]
      In the expression:
        ("itemdescription", [getItemDescription $ item i])

Command/ImportFeed.hs:305:27: error:
    • Couldn't match type ‘Data.Text.Internal.Text’ with ‘[Char]’
      Expected type: Maybe String
        Actual type: Maybe Data.Text.Internal.Text
    • In the expression: getItemRights $ item i
      In the expression: [getItemRights $ item i]
      In the expression: ("itemrights", [getItemRights $ item i])

Command/ImportFeed.hs:306:23: error:
    • Couldn't match type ‘Data.Text.Internal.Text’ with ‘[Char]’
      Expected type: Maybe String
        Actual type: Maybe Data.Text.Internal.Text
    • In the expression: snd <$> getItemId (item i)
      In the expression: [snd <$> getItemId (item i)]
      In the expression: ("itemid", [snd <$> getItemId (item i)])

Command/ImportFeed.hs:307:22: error:
    • Couldn't match type ‘Data.Text.Internal.Text’ with ‘[Char]’
      Expected type: Maybe String
        Actual type: Maybe Data.Text.Internal.Text
    • In the expression: itemtitle
      In the expression: [itemtitle, feedtitle]
      In the expression: ("title", [itemtitle, feedtitle])

Command/ImportFeed.hs:307:33: error:
    • Couldn't match type ‘Data.Text.Internal.Text’ with ‘[Char]’
      Expected type: Maybe String
        Actual type: Maybe Data.Text.Internal.Text
    • In the expression: feedtitle
      In the expression: [itemtitle, feedtitle]
      In the expression: ("title", [itemtitle, feedtitle])

Command/ImportFeed.hs:308:23: error:
    • Couldn't match type ‘Data.Text.Internal.Text’ with ‘[Char]’
      Expected type: Maybe String
        Actual type: Maybe Data.Text.Internal.Text
    • In the expression: itemauthor
      In the expression: [itemauthor, feedauthor]
      In the expression: ("author", [itemauthor, feedauthor])

Command/ImportFeed.hs:308:35: error:
    • Couldn't match type ‘Data.Text.Internal.Text’ with ‘[Char]’
      Expected type: Maybe String
        Actual type: Maybe Data.Text.Internal.Text
    • In the expression: feedauthor
      In the expression: [itemauthor, feedauthor]
      In the expression: ("author", [itemauthor, feedauthor])
cabal: Leaving directory '.'
cabal: Error: some packages failed to install:
git-annex-6.20170818-ATXJn9dQzZj9avYQidLOBq failed during the building phase.
The exception was:
ExitFailure 1
"""]]

Full build log is here:
https://gist.githubusercontent.com/anonymous/dcc8d9823bd50b7fca10d5cf8961e75d/raw/c6500526bbad0a94e067816b1af2c9e8717a3419/08.cabal

### Have you had any luck using git-annex before? (Sometimes we get tired of reading bug reports all day and a lil' positive end note does wonders)
Yes!

> I fixed this last week, in [[!commit ee2f096e3ba3aea24445ff2093b426b68e000cc2]]. [[done]]