Re: git for armv7

From: Mark Millard <marklmi_at_yahoo.com>
Date: Mon, 08 May 2023 05:18:40 UTC
On May 6, 2023, at 17:55, bob prohaska <fbsd@www.zefox.net> wrote:

> 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. 
> 

Places to go to see build status include:

https://www.freshports.org/devel/libunwind/
(FreeBSD:14:aarch64 20211201_2)

https://www.freshports.org/devel/git/
(FreeBSD:14:aarch64 2.40.0)

Hovering over the likes of "2.40.0"
shows dates, such as a "repo build date"
of 2023-May-01 13:08. That would be:
( looking on https://pkg-status.freebsd.org/?all=1&type=package )

p519c178336e5_scb3c414f2f
Started: Tue, 25 Apr 2023 03:04:56 GMT
Elapsed: 154:14:09 (about 6.4 days)

But that is not the time of updating the
distribution server(s) that you happen to
use.

FYI:
build of devel/git | git-2.40.0 ended at Tue Apr 25 17:48:23 UTC 2023
(so fairly early in the bulk build)

It looks reasonable to be checking for
git, git-lite, or git-tiny on a regular
basis at this point.

===
Mark Millard
marklmi at yahoo.com