From nobody Sat Aug 12 18:32:49 2023 X-Original-To: freebsd-arm@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4RNTmk4sfqz4qNpm for ; Sat, 12 Aug 2023 18:32:54 +0000 (UTC) (envelope-from fbsd@www.zefox.net) Received: from www.zefox.net (www.zefox.net [50.1.20.27]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "www.zefox.com", Issuer "www.zefox.com" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4RNTmh2GYhz3c8Q for ; Sat, 12 Aug 2023 18:32:52 +0000 (UTC) (envelope-from fbsd@www.zefox.net) Authentication-Results: mx1.freebsd.org; dkim=none; spf=none (mx1.freebsd.org: domain of fbsd@www.zefox.net has no SPF policy when checking 50.1.20.27) smtp.mailfrom=fbsd@www.zefox.net; dmarc=none Received: from www.zefox.net (localhost [127.0.0.1]) by www.zefox.net (8.17.1/8.15.2) with ESMTPS id 37CIWoMk018385 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NO) for ; Sat, 12 Aug 2023 11:32:50 -0700 (PDT) (envelope-from fbsd@www.zefox.net) Received: (from fbsd@localhost) by www.zefox.net (8.17.1/8.15.2/Submit) id 37CIWouQ018384 for freebsd-arm@freebsd.org; Sat, 12 Aug 2023 11:32:50 -0700 (PDT) (envelope-from fbsd) Date: Sat, 12 Aug 2023 11:32:49 -0700 From: bob prohaska To: freebsd-arm@freebsd.org Subject: alpha-1 armv7 git failed: fatal: pack is corrupted (SHA1 mismatch) Message-ID: List-Id: Porting FreeBSD to ARM processors List-Archive: https://lists.freebsd.org/archives/freebsd-arm List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-arm@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-Spamd-Result: default: False [-1.07 / 15.00]; AUTH_NA(1.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_LONG(-0.99)[-0.993]; NEURAL_HAM_SHORT(-0.97)[-0.974]; MID_RHS_WWW(0.50)[]; WWW_DOT_DOMAIN(0.50)[]; MIME_GOOD(-0.10)[text/plain]; ASN(0.00)[asn:7065, ipnet:50.1.16.0/20, country:US]; MLMMJ_DEST(0.00)[freebsd-arm@freebsd.org]; R_SPF_NA(0.00)[no SPF record]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; R_DKIM_NA(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; RCVD_COUNT_TWO(0.00)[2]; MID_RHS_MATCH_FROM(0.00)[]; ARC_NA(0.00)[]; DMARC_NA(0.00)[zefox.net]; FROM_HAS_DN(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[freebsd-arm@freebsd.org]; TO_MATCH_ENVRCPT_ALL(0.00)[]; TO_DN_NONE(0.00)[]; RCVD_TLS_LAST(0.00)[] X-Spamd-Bar: - X-Rspamd-Queue-Id: 4RNTmh2GYhz3c8Q 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