aboutsummaryrefslogtreecommitdiff
path: root/doc/bugs/git-annex_in_nixpkgs_fails_with_git-2.13.0.mdwn
blob: 53e12b5fceede90195b2d0c6d801283b54b3ab1f (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
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
### Please describe the problem.

Tests fail on Nix when git is upgraded to 2.13.


### What steps will reproduce the problem?

On NixOS or a system with Nix installed, check out nixpkgs ce8662e693b5756e8457d94bb1765d853310afdb, try to build git-annex (`nix-build -I . -A pkgs.gitAndTools.gitAnnex`).


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

git-annex 6.20170321 on Nix ce8662e6.


### Please provide any additional information below.

I ran a git bisect that concluded:

[[!format sh """
8 out of 285 tests failed (281.73s)
  (This could be due to a bug in git-annex, or an incompatibility
   with utilities, such as git, installed on this system.)
builder for ‘/nix/store/908y9923fnjmi87apji6q14smgc2rf3d-git-annex-6.20170321.drv’ failed with exit code 1
error: build of ‘/nix/store/908y9923fnjmi87apji6q14smgc2rf3d-git-annex-6.20170321.drv’ failed
ce8662e693b5756e8457d94bb1765d853310afdb is the first bad commit
commit ce8662e693b5756e8457d94bb1765d853310afdb
Author: Tim Steinbach <tim@nequissimus.com>
Date:   Tue May 9 21:57:24 2017 -0400

    git: 2.12.2 -> 2.13.0

:040000 040000 4155c091e7156a4e15cf073640e0be3c76b1b7f3 48ca917e5578b405cf8517e1f113433b2d076e15 M      pkgs
bisect run success
"""]]


[[!format sh """
    adjusted branch merge regression:                     Switched to branch 'adjusted/master(unlocked)'
[adjusted/master(unlocked) ca9719e] git-annex in .t/tmprepo39
 1 file changed, 1 insertion(+)
 create mode 100644 conflictor
From ../../.t/tmprepo40
 * [new branch]      git-annex  -> r2/git-annex
 * [new branch]      master     -> r2/master
To ../../.t/tmprepo40
 * [new branch]      git-annex -> synced/git-annex
 * [new branch]      master -> synced/master
Switched to branch 'adjusted/master(unlocked)'
[adjusted/master(unlocked) b29e8de] git-annex in .t/tmprepo40
 1 file changed, 1 insertion(+)
 create mode 100644 conflictor
merge: refs/heads/synced/master - not something we can merge
From ../../.t/tmprepo39
 * [new branch]      adjusted/master(unlocked) -> r1/adjusted/master(unlocked)
 * [new branch]      git-annex                 -> r1/git-annex
 * [new branch]      master                    -> r1/master
 * [new branch]      synced/master             -> r1/synced/master
merge: refs/remotes/r1/master - not something we can merge
merge: refs/remotes/r1/synced/master - not something we can merge
To ../../.t/tmprepo39
 * [new branch]      git-annex -> synced/git-annex
 ! [rejected]        master -> synced/master (non-fast-forward)
error: failed to push some refs to '../../.t/tmprepo39'
hint: Updates were rejected because a pushed branch tip is behind its remote
hint: counterpart. Check out this branch and integrate the remote changes
hint: (e.g. 'git pull ...') before pushing again.
hint: See the 'Note about fast-forwards' in 'git push --help' for details.
To ../../.t/tmprepo39
 ! [rejected]        master -> master (non-fast-forward)
error: failed to push some refs to '../../.t/tmprepo39'
hint: Updates were rejected because a pushed branch tip is behind its remote
hint: counterpart. Check out this branch and integrate the remote changes
hint: (e.g. 'git pull ...') before pushing again.
hint: See the 'Note about fast-forwards' in 'git push --help' for details.
  Pushing to r1 failed.
FAIL (2.32s)
"""]]


[[!format sh """
    conflict resolution (adjusted branch):                [master b0dd758] git-annex in .t/tmprepo44
 1 file changed, 1 insertion(+)
 create mode 100644 conflictor
[master 8295bae] git-annex in .t/tmprepo45
 1 file changed, 1 insertion(+)
 create mode 100644 conflictor
Switched to branch 'adjusted/master(unlocked)'
On branch master
nothing to commit, working tree clean
From ../../.t/tmprepo45
 * [new branch]      adjusted/master(unlocked) -> r2/adjusted/master(unlocked)
 * [new branch]      git-annex                 -> r2/git-annex
 * [new branch]      master                    -> r2/master
 * [new branch]      synced/master             -> r2/synced/master
Auto-merging conflictor
CONFLICT (add/add): Merge conflict in conflictor
Automatic merge failed; fix conflicts and then commit the result.
conflictor: needs merge
[master 14ffa24] git-annex automatic merge conflict fix
Already up-to-date.
To ../../.t/tmprepo45
   8295bae..14ffa24  master -> synced/master
 * [new branch]      git-annex -> synced/git-annex
On branch adjusted/master(unlocked)
nothing to commit, working tree clean
merge: refs/heads/synced/master - not something we can merge
From ../../.t/tmprepo44
 * [new branch]      git-annex     -> r1/git-annex
 * [new branch]      master        -> r1/master
 * [new branch]      synced/master -> r1/synced/master
merge: refs/remotes/r1/master - not something we can merge
merge: refs/remotes/r1/synced/master - not something we can merge
FAIL (2.34s)
"""]]

[[!format sh """
    adjusted branch merge regression:                     Switched to branch 'adjusted/master(unlocked)'
[adjusted/master(unlocked) 7ccad36] git-annex in .t/tmprepo39
 1 file changed, 1 insertion(+)
 create mode 100644 conflictor
From ../../.t/tmprepo40
 * [new branch]      git-annex  -> r2/git-annex
 * [new branch]      master     -> r2/master
To ../../.t/tmprepo40
 * [new branch]      git-annex -> synced/git-annex
 * [new branch]      master -> synced/master
Switched to branch 'adjusted/master(unlocked)'
[adjusted/master(unlocked) cfb04fd] git-annex in .t/tmprepo40
 1 file changed, 1 insertion(+)
 create mode 100644 conflictor
merge: refs/heads/synced/master - not something we can merge
From ../../.t/tmprepo39
 * [new branch]      adjusted/master(unlocked) -> r1/adjusted/master(unlocked)
 * [new branch]      git-annex                 -> r1/git-annex
 * [new branch]      master                    -> r1/master
 * [new branch]      synced/master             -> r1/synced/master
merge: refs/remotes/r1/master - not something we can merge
merge: refs/remotes/r1/synced/master - not something we can merge
To ../../.t/tmprepo39
 * [new branch]      git-annex -> synced/git-annex
 ! [rejected]        master -> synced/master (non-fast-forward)
error: failed to push some refs to '../../.t/tmprepo39'
hint: Updates were rejected because a pushed branch tip is behind its remote
hint: counterpart. Check out this branch and integrate the remote changes
hint: (e.g. 'git pull ...') before pushing again.
hint: See the 'Note about fast-forwards' in 'git push --help' for details.
To ../../.t/tmprepo39
 ! [rejected]        master -> master (non-fast-forward)
error: failed to push some refs to '../../.t/tmprepo39'
hint: Updates were rejected because a pushed branch tip is behind its remote
hint: counterpart. Check out this branch and integrate the remote changes
hint: (e.g. 'git pull ...') before pushing again.
hint: See the 'Note about fast-forwards' in 'git push --help' for details.
  Pushing to r1 failed.
FAIL (1.79s)
"""]]

[[!format sh """
    conflict resolution (adjusted branch):                [master ea63ee5] git-annex in .t/tmprepo44
 1 file changed, 1 insertion(+)
 create mode 120000 conflictor
[master 07d129c] git-annex in .t/tmprepo45
 1 file changed, 1 insertion(+)
 create mode 120000 conflictor
Switched to branch 'adjusted/master(unlocked)'
On branch master
nothing to commit, working tree clean
From ../../.t/tmprepo45
 * [new branch]      adjusted/master(unlocked) -> r2/adjusted/master(unlocked)
 * [new branch]      git-annex                 -> r2/git-annex
 * [new branch]      master                    -> r2/master
 * [new branch]      synced/master             -> r2/synced/master
Auto-merging conflictor
CONFLICT (add/add): Merge conflict in conflictor
Automatic merge failed; fix conflicts and then commit the result.
conflictor: needs merge
[master 5d5a674] git-annex automatic merge conflict fix
Already up-to-date.
To ../../.t/tmprepo45
   07d129c..5d5a674  master -> synced/master
 * [new branch]      git-annex -> synced/git-annex
On branch adjusted/master(unlocked)
nothing to commit, working tree clean
merge: refs/heads/synced/master - not something we can merge
From ../../.t/tmprepo44
 * [new branch]      git-annex     -> r1/git-annex
 * [new branch]      master        -> r1/master
 * [new branch]      synced/master -> r1/synced/master
merge: refs/remotes/r1/master - not something we can merge
merge: refs/remotes/r1/synced/master - not something we can merge
FAIL (1.35s)
"""]]

[[!format sh """
    adjusted branch merge regression:                     Switched to branch 'adjusted/master(unlocked)'
[adjusted/master(unlocked) 6601699] git-annex in .t/tmprepo39
 1 file changed, 1 insertion(+)
 create mode 100644 conflictor
From ../../.t/tmprepo40
 * [new branch]      git-annex  -> r2/git-annex
 * [new branch]      master     -> r2/master
To ../../.t/tmprepo40
 * [new branch]      git-annex -> synced/git-annex
 * [new branch]      master -> synced/master
Switched to branch 'adjusted/master(unlocked)'
[adjusted/master(unlocked) b37ecc1] git-annex in .t/tmprepo40
 1 file changed, 1 insertion(+)
 create mode 100644 conflictor
merge: refs/heads/synced/master - not something we can merge
From ../../.t/tmprepo39
 * [new branch]      adjusted/master(unlocked) -> r1/adjusted/master(unlocked)
 * [new branch]      git-annex                 -> r1/git-annex
 * [new branch]      master                    -> r1/master
 * [new branch]      synced/master             -> r1/synced/master
merge: refs/remotes/r1/master - not something we can merge
merge: refs/remotes/r1/synced/master - not something we can merge
To ../../.t/tmprepo39
 * [new branch]      git-annex -> synced/git-annex
 ! [rejected]        master -> synced/master (non-fast-forward)
error: failed to push some refs to '../../.t/tmprepo39'
hint: Updates were rejected because a pushed branch tip is behind its remote
hint: counterpart. Check out this branch and integrate the remote changes
hint: (e.g. 'git pull ...') before pushing again.
hint: See the 'Note about fast-forwards' in 'git push --help' for details.
To ../../.t/tmprepo39
 ! [rejected]        master -> master (non-fast-forward)
error: failed to push some refs to '../../.t/tmprepo39'
hint: Updates were rejected because a pushed branch tip is behind its remote
hint: counterpart. Check out this branch and integrate the remote changes
hint: (e.g. 'git pull ...') before pushing again.
hint: See the 'Note about fast-forwards' in 'git push --help' for details.
  Pushing to r1 failed.
FAIL (1.54s)
"""]]

[[!format sh """
    conflict resolution (adjusted branch):                [master dcd2368] git-annex in .t/tmprepo44
 1 file changed, 1 insertion(+)
 create mode 120000 conflictor
[master c933362] git-annex in .t/tmprepo45
 1 file changed, 1 insertion(+)
 create mode 120000 conflictor
Switched to branch 'adjusted/master(unlocked)'
On branch master
nothing to commit, working tree clean
From ../../.t/tmprepo45
 * [new branch]      adjusted/master(unlocked) -> r2/adjusted/master(unlocked)
 * [new branch]      git-annex                 -> r2/git-annex
 * [new branch]      master                    -> r2/master
 * [new branch]      synced/master             -> r2/synced/master
Auto-merging conflictor
CONFLICT (add/add): Merge conflict in conflictor
Automatic merge failed; fix conflicts and then commit the result.
conflictor: needs merge
[master 9f19aa7] git-annex automatic merge conflict fix
Already up-to-date.
To ../../.t/tmprepo45
   c933362..9f19aa7  master -> synced/master
 * [new branch]      git-annex -> synced/git-annex
On branch adjusted/master(unlocked)
nothing to commit, working tree clean
merge: refs/heads/synced/master - not something we can merge
From ../../.t/tmprepo44
 * [new branch]      git-annex     -> r1/git-annex
 * [new branch]      master        -> r1/master
 * [new branch]      synced/master -> r1/synced/master
merge: refs/remotes/r1/master - not something we can merge
merge: refs/remotes/r1/synced/master - not something we can merge
FAIL (1.44s)
"""]]

[[!format sh """
    adjusted branch merge regression:                     On branch master
nothing to commit, working tree clean
On branch master
nothing to commit, working tree clean
Already on 'adjusted/master(unlocked)'
[adjusted/master(unlocked) 70b8469] git-annex in .t/tmprepo39
 1 file changed, 1 insertion(+)
 create mode 100644 conflictor
From ../../.t/tmprepo40
 * [new branch]      annex/direct/master -> r2/annex/direct/master
 * [new branch]      git-annex           -> r2/git-annex
 * [new branch]      master              -> r2/master
To ../../.t/tmprepo40
 * [new branch]      git-annex -> synced/git-annex
 * [new branch]      master -> synced/master
Already on 'adjusted/master(unlocked)'
[adjusted/master(unlocked) 353957d] git-annex in .t/tmprepo40
 1 file changed, 1 insertion(+)
 create mode 100644 conflictor
merge: refs/heads/synced/master - not something we can merge
From ../../.t/tmprepo39
 * [new branch]      adjusted/master(unlocked) -> r1/adjusted/master(unlocked)
 * [new branch]      git-annex                 -> r1/git-annex
 * [new branch]      master                    -> r1/master
 * [new branch]      synced/master             -> r1/synced/master
merge: refs/remotes/r1/master - not something we can merge
merge: refs/remotes/r1/synced/master - not something we can merge
To ../../.t/tmprepo39
 * [new branch]      git-annex -> synced/git-annex
 ! [rejected]        master -> synced/master (non-fast-forward)
error: failed to push some refs to '../../.t/tmprepo39'
hint: Updates were rejected because a pushed branch tip is behind its remote
hint: counterpart. Check out this branch and integrate the remote changes
hint: (e.g. 'git pull ...') before pushing again.
hint: See the 'Note about fast-forwards' in 'git push --help' for details.
To ../../.t/tmprepo39
 ! [rejected]        master -> master (non-fast-forward)
error: failed to push some refs to '../../.t/tmprepo39'
hint: Updates were rejected because a pushed branch tip is behind its remote
hint: counterpart. Check out this branch and integrate the remote changes
hint: (e.g. 'git pull ...') before pushing again.
hint: See the 'Note about fast-forwards' in 'git push --help' for details.
  Pushing to r1 failed.
FAIL (1.87s)
"""]]

[[!format sh """
    conflict resolution (adjusted branch):                On branch master
nothing to commit, working tree clean
On branch master
nothing to commit, working tree clean
Already on 'adjusted/master(unlocked)'
From ../../.t/tmprepo45
 * [new branch]      adjusted/master(unlocked) -> r2/adjusted/master(unlocked)
 * [new branch]      git-annex                 -> r2/git-annex
 * [new branch]      master                    -> r2/master
 * [new branch]      synced/master             -> r2/synced/master
Auto-merging conflictor
CONFLICT (add/add): Merge conflict in conflictor
Automatic merge failed; fix conflicts and then commit the result.
conflictor: needs merge
To ../../.t/tmprepo45
   372f97c..cebbf06  annex/direct/master -> synced/master
 * [new branch]      git-annex -> synced/git-annex
On branch adjusted/master(unlocked)
nothing to commit, working tree clean
merge: refs/heads/synced/master - not something we can merge
From ../../.t/tmprepo44
 * [new branch]      annex/direct/master -> r1/annex/direct/master
 * [new branch]      git-annex           -> r1/git-annex
 * [new branch]      master              -> r1/master
 * [new branch]      synced/master       -> r1/synced/master
merge: refs/remotes/r1/master - not something we can merge
merge: refs/remotes/r1/synced/master - not something we can merge
FAIL (1.50s)
"""]]

[[!format sh """

"""]]

### 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)

git-annex is an essential building block in my digital life style! It keeps backups of all my precious family photos. I'm a big git-annex shill when I get the chance, especially to nix, guix and decentralized hacker types.

> Workaround is in [[!commit 9bcaef1ec496b4ffd3033ae5080949bd8cc3edd5]]. [[done]] --[[Joey]]