Today I tried `darcs pull`ing the repo, but darcs told me the repo I was pulling looked unrelated to the repo I had. The last revision I had in my local repository was from Mon Feb 2 01:22:03 UTC 2009.
So I tried starting over and pulling a clean copy of the repos. No go on that either:
$ darcs get http://common-lisp.net/project/cffi/darcs/cffi/ cffi Unapplicable patch: Mon Jun 22 19:03:26 UTC 2009 Stelian Ionescu sionescu@common-lisp.net * Groveler: implement %INVOKE for ABCL. darcs: ./grovel/grovel.lisp: openBinaryFile: does not exist (No such file or directory)
$ darcs --version 2.2.0 (release)
I've also tried this on darcs 1.0.8.
Digging in a little bit, I rsync'ed the repos from common-lisp.net. The _darcs/inventory file includes only the last 17 changes. More frighteningly, one of the checkpoints in _darcs/checkpoints looks corrupt:
$ gunzip --verbose -c 20090616162007-28748-931df2ed8b38d5ad8b6df25ef6f71a9657193d6a.gz > 20090616162007-28748-931df2ed8b38d5ad8b6df25ef6f71a9657193d6a 20090616162007-28748-931df2ed8b38d5ad8b6df25ef6f71a9657193d6a.gz: gzip: 20090616162007-28748-931df2ed8b38d5ad8b6df25ef6f71a9657193d6a.gz: invalid compressed data--crc error
Correspondingly, the darcsweb interface on common-lisp.net only shows the last 17 changes.
I looked through the mailing list archives, but I didn't see where this had come up. Is this a known issue?
Thanks,
-- Travis
On Fri, 2009-08-07 at 14:49 +0000, Travis Cross wrote:
Today I tried `darcs pull`ing the repo, but darcs told me the repo I was pulling looked unrelated to the repo I had. The last revision I had in my local repository was from Mon Feb 2 01:22:03 UTC 2009.
So I tried starting over and pulling a clean copy of the repos. No go on that either:
$ darcs get http://common-lisp.net/project/cffi/darcs/cffi/ cffi Unapplicable patch: Mon Jun 22 19:03:26 UTC 2009 Stelian Ionescu sionescu@common-lisp.net
- Groveler: implement %INVOKE for ABCL.
darcs: ./grovel/grovel.lisp: openBinaryFile: does not exist (No such file or directory)
Sorry for that. Apparently, darcs optimize --checkpoint --compress is broken on c-l.net It's fixed now.
Digging in a little bit, I rsync'ed the repos from common-lisp.net. The _darcs/inventory file includes only the last 17 changes. More frighteningly, one of the checkpoints in _darcs/checkpoints looks corrupt:
$ gunzip --verbose -c 20090616162007-28748-931df2ed8b38d5ad8b6df25ef6f71a9657193d6a.gz > 20090616162007-28748-931df2ed8b38d5ad8b6df25ef6f71a9657193d6a 20090616162007-28748-931df2ed8b38d5ad8b6df25ef6f71a9657193d6a.gz: gzip: 20090616162007-28748-931df2ed8b38d5ad8b6df25ef6f71a9657193d6a.gz: invalid compressed data--crc error
http://bugs.darcs.net/issue844 Some versions of darcs misuse gzip, causing checksum corruption. The corrupt gzip files can be "fixed" by recalculating the CRC; the attached heal-darcs.sh shows one such solution.
This corruption affects many (most?) CL darcs repos. It usually doesn't affect darcs itself (which ignores the checksums) but often causes problems with other tools. I used to notify people of this issue, but now just run heal-darcs and hope mismatched checksums weren't actually valid.
- Daniel
On Fri, 2009-08-07 at 11:36 -0400, dherring@tentpost.com wrote:
This corruption affects many (most?) CL darcs repos. It usually doesn't affect darcs itself (which ignores the checksums) but often causes problems with other tools. I used to notify people of this issue, but now just run heal-darcs and hope mismatched checksums weren't actually valid.
your attachment seems to be empty