Re: alpha-1 armv7 git failed: fatal: pack is corrupted (SHA1 mismatch)
Date: Sun, 13 Aug 2023 19:45:12 UTC
On Aug 13, 2023, at 12:26, bob prohaska <fbsd@www.zefox.net> wrote: > On Sat, Aug 12, 2023 at 08:45:54PM -0700, Mark Millard wrote: >> >> You might need to use the ssh alternative if your >> context allows it: >> >> ssh://anongit@git.FreeBSD.org/src.git >> >> There was a time when git fetch proved unreliable >> in my context and I got around it via ssh use. It >> also took less time transferring. >> > Seemingly no dice: > > # git clone -o freebsd ssh://anongit@git.FreeBSD.org/src.git /usr/src > Cloning into '/usr/src'... > remote: Enumerating objects: 4323641, done. > remote: Counting objects: 100% (381285/381285), done. > remote: Compressing objects: 100% (28204/28204), done. > remote: Total 4323641 (delta 375529), reused 353081 (delta 353081), pack-reused 3942356 > Receiving objects: 100% (4323641/4323641), 1.54 GiB | 656.00 KiB/s, done. > fatal: pack is corrupted (SHA1 mismatch) > fatal: fetch-pack: invalid index-pack output > # > > I've added freebsd-current to the cc list 8-( > Wow. I'm going to suggest doing a clone (to a temporary place) on one or more different types of system, such as aarch64 or amd64. If, say, aarch64 works but armv7 does not, then the corruption may well be in some armv7 FreeBSD handling of data transfers, in places common to both https:// and ssh:// use. Note that, if you get a good clone, you can locally copy the tree over to the armv7 media. But that is not the point of my suggestion above. === Mark Millard marklmi at yahoo.com