Re: git for armv7

From: bob prohaska <fbsd_at_www.zefox.net>
Date: Sun, 07 May 2023 00:55:26 UTC
On Sat, May 06, 2023 at 12:45:55PM -0700, Mark Millard wrote:
> bob prohaska <fbsd_at_www.zefox.net> wrote on
> Date: Sat, 06 May 2023 18:43:52 UTC :
> 
> > Pkg search git now reports
> > pkg: repository FreeBSD contains packages for wrong OS version: FreeBSD:14:armv7
> > when run from a -current host which identifies itself as:
> > FreeBSD www.zefox.com 14.0-CURRENT FreeBSD 14.0-CURRENT #22 main-1d35493e46: Tue Apr 18 06:23:00 PDT 2023 bob@www.zefox.com:/usr/obj/usr/src/arm.armv7/sys/GENERIC arm 

It looks as if I did catch the server at a bad time. A re-run of 
pkg search now produces different results. Long list, but no git 
(without hyphenated qualifiers).
> 
> What does:
> 
> # pkg info pkg
> 
> report? 
bob@www:~ % pkg info pkg
pkg-1.19.1_1
Name           : pkg
Version        : 1.19.1_1
Installed on   : Mon Mar 13 11:14:54 2023 PDT
Origin         : ports-mgmt/pkg
Architecture   : FreeBSD:14:armv7
Prefix         : /usr/local
Categories     : ports-mgmt
Licenses       : BSD2CLAUSE
Maintainer     : pkg@FreeBSD.org
WWW            : https://github.com/freebsd/pkg
Comment        : Package manager
Options        :
	DOCS           : on
Shared Libs provided:
	libpkg.so.4
Annotations    :
	FreeBSD_version: 1400081
	repo_type      : binary
	repository     : FreeBSD
Flat size      : 30.1MiB
Description    :
Package management tool

WWW: https://github.com/freebsd/pkg




> What does:
> 
> # more /usr/local/etc/pkg/repos/FreeBSD.conf
> 
> report? 
b@www:~ % more /usr/local/etc/pkg/repos/FreeBSD.conf
FreeBSD: {
        enabled: yes 
}


> What does:
> 
> # more /usr/local/etc/pkg/repos/custom.conf
> 
> report? 

bob@www:~ % more /usr/local/etc/pkg/repos/custom.conf
custom: {
        url: "file:///usr/local/poudriere/data/packages/main-default/",
        enabled: no 
}

> What does:
> 
> # more /etc/pkg/FreeBSD.conf
> 
> report?
> 

bob@www:~ % more /etc/pkg/FreeBSD.conf
# $FreeBSD$
#
# To disable this repository, instead of modifying or removing this file,
# create a /usr/local/etc/pkg/repos/FreeBSD.conf file:
#
#   mkdir -p /usr/local/etc/pkg/repos
#   echo "FreeBSD: { enabled: no }" > /usr/local/etc/pkg/repos/FreeBSD.conf
#

FreeBSD: {
  url: "pkg+http://pkg.FreeBSD.org/${ABI}/latest",
  mirror_type: "srv",
  signature_type: "fingerprints",
  fingerprints: "/usr/share/keys/pkg",
  enabled: yes
}


> > At this point -current and 14 seem likely to be quite close.
> 
> 14 has not branched yet: 14.0-CURRENT is all there is for 14.
> There is no other CURRENT (main).
> 
> The issue goes in some other direction.
> 
> > Can pkg be persuaded to install the available version as an
> > experiment?
> 
> Figuring that out may require figuring out why the
> "wrong OS version: FreeBSD:14:armv7" was generated.

Given the non-repeat of the message which motivated my
question it seems best to simply wait. Hopefully some
sort of "git-lite" will become part of base, as with
svn. 

Thanks for replying, apologies for the noise!

bob prohaska