Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 12 Aug 2023 11:32:49 -0700
From:      bob prohaska <fbsd@www.zefox.net>
To:        freebsd-arm@freebsd.org
Subject:   alpha-1 armv7 git failed: fatal: pack is corrupted (SHA1 mismatch)
Message-ID:  <ZNfQUUE3hlt6KEDF@www.zefox.net>

next in thread | raw e-mail | index | archive | help
It looks like something is amiss with git on armv7 alpha1:
Running
root@generic:/ # pkg install git-lite
seemed to work without error, and running
root@generic:/ # git clone -o freebsd https://git.FreeBSD.org/src.git /usr/src
Cloning into '/usr/src'...
started out appearing to work but ended badly:

root@generic:/ # git clone -o freebsd https://git.FreeBSD.org/src.git /usr/src
Cloning into '/usr/src'...
remote: Enumerating objects: 4323455, done.
remote: Counting objects: 100% (381285/381285), done.
remote: Compressing objects: 100% (28204/28204), done.
remote: Total 4323455 (delta 375529), reused 353081 (delta 353081), pack-reused 3942170
Receiving objects: 100% (4323455/4323455), 1.54 GiB | 1.01 MiB/s, done.
fatal: pack is corrupted (SHA1 mismatch)
fatal: fetch-pack: invalid index-pack output


I don't think this is something I could have screwed up, but
my talents occasionally surpass expectation 8-) I took no
special actions during the prompts and warnings following
pkg install git-lite but was rather surprised at the number 
of dependencies accompanying git-lite. 

This is a Pi2, v1.1, mechanical hard drive, command line only interface.
The disk has been laid out traditionally, with swapspace between root
and usr. Original contents of /usr were transplanted to the new partition
using cp -a, might that be a problem? 

Thanks for reading, 

bob prohaska




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?ZNfQUUE3hlt6KEDF>