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
|
[[!comment format=mdwn
username="madalu"
avatar="http://cdn.libravatar.org/avatar/c00d4aa29fd053f08a2ef35531592914"
subject="Reproduction of bug with "pure" stack build"
date="2017-10-09T15:43:16Z"
content="""
I am able to reproduce this bug with an entirely local stack build (i.e., no global haskell installs) on arch linux. To make sure I began with a clean build, I removed local directories (rm -r ~/.ghc, rm -r ~/.stack, rm -r ~/.cabal) and then uninstalled all arch linux haskell packages (including ghc and ghc-libs). I downloaded the standalone stack and then ran stack clean, stack setup, stack install in a cloned git-annex repo.
git-annex-version
git-annex version: 6.20171009-g92577980f
build flags: Assistant Webapp Pairing Testsuite S3(multipartupload)(storageclasses) WebDAV Inotify ConcurrentOutput TorrentParser Feeds Quvi
dependency versions: aws-0.16 bloomfilter-2.0.1.0 cryptonite-0.21 DAV-1.3.1 feed-0.3.12.0 ghc-8.0.2 http-client-0.5.6.1 persistent-sqlite-2.6.2 torrent-10000.1.1 uuid-1.3.13 yesod-1.4.5
key/value backends: SHA256E SHA256 SHA512E SHA512 SHA224E SHA224 SHA384E SHA384 SHA3_256E SHA3_256 SHA3_512E SHA3_512 SHA3_224E SHA3_224 SHA3_384E SHA3_384 SKEIN256E SKEIN256 SKEIN512E SKEIN512 SHA1E SHA1 MD5E MD5 WORM URL
remote types: git gcrypt p2p S3 bup directory rsync web bittorrent webdav tahoe glacier ddar hook external
local repository version: 5
supported repository versions: 3 5 6
upgrade supported from repository versions: 0 1 2 3 4 5
operating system: linux x86_64
Here is the debug information:
git annex --verbose --debug copy -t box test.txt
[2017-10-09 10:37:02.174210625] read: git [\"--git-dir=.git\",\"--work-tree=.\",\"--literal-pathspecs\",\"show-ref\",\"git-annex\"]
[2017-10-09 10:37:02.1773328] process done ExitSuccess
[2017-10-09 10:37:02.177437562] read: git [\"--git-dir=.git\",\"--work-tree=.\",\"--literal-pathspecs\",\"show-ref\",\"--hash\",\"refs/heads/git-annex\"]
[2017-10-09 10:37:02.179955262] process done ExitSuccess
[2017-10-09 10:37:02.18033415] read: git [\"--git-dir=.git\",\"--work-tree=.\",\"--literal-pathspecs\",\"log\",\"refs/heads/git-annex..4c46223e7ccc1c3569fc43e3dbfe1c89fdf9a628\",\"--pretty=%H\",\"-n1\"]
[2017-10-09 10:37:02.18512832] process done ExitSuccess
[2017-10-09 10:37:02.185946927] chat: git [\"--git-dir=.git\",\"--work-tree=.\",\"--literal-pathspecs\",\"cat-file\",\"--batch\"]
[2017-10-09 10:37:02.186427574] chat: git [\"--git-dir=.git\",\"--work-tree=.\",\"--literal-pathspecs\",\"cat-file\",\"--batch-check=%(objectname) %(objecttype) %(objectsize)\"]
[2017-10-09 10:37:02.209479037] read: git [\"--git-dir=.git\",\"--work-tree=.\",\"--literal-pathspecs\",\"ls-files\",\"--cached\",\"-z\",\"--\",\"test.txt\"] copy test.txt
[2017-10-09 10:37:02.222741576] chat: gpg [\"--quiet\",\"--trust-model\",\"always\",\"--decrypt\"]
[2017-10-09 10:37:02.31191458] process done ExitSuccess
(checking box...) [2017-10-09 10:37:02.355350066] getProps 90a/d4d/GPGHMACSHA1--53636e5e7a50bc58eae478ddc260bb5abd899d03/GPGHMACSHA1--53636e5e7a50bc58eae478ddc260bb5abd899d03
(to box...)
[2017-10-09 10:37:03.30749556] chat: gpg [\"--quiet\",\"--trust-model\",\"always\",\"--batch\",\"--passphrase-fd\",\"19\",\"--symmetric\",\"--force-mdc\",\"--no-textmode\"]
[2017-10-09 10:37:03.361698513] getProps .
[2017-10-09 10:37:33.376085151] mkCol .
[2017-10-09 10:37:34.066994173] process done ExitSuccess
DAV failure: Status {statusCode = 405, statusMessage = \"Method Not Allowed\"} \"<?xml version=\\"1.0\\" encoding=\\"utf-8\\"?>\n<d:error xmlns:d=\\"DAV:\\" xmlns:s=\\"http://sabredav.org/ns\\">\n <s:exception>Sabre_DAV_Exception_MethodNotAllowed</s:exception>\n <s:message>The resource you tried to create already exists</s:message>\n</d:error>\n\" HTTP request: \"MKCOL\" \"/dav/mystuff/annex/.\" failed
[2017-10-09 10:37:34.069044148] process done ExitSuccess
[2017-10-09 10:37:34.069370655] process done ExitSuccess
git-annex: copy: 1 failed
"""]]
|