Re: list of valid ABI combinations

From: Dan Langille <dan_at_langille.org>
Date: Mon, 11 Dec 2023 00:58:41 UTC
On Sun, Dec 10, 2023, at 7:27 PM, Mark Millard wrote:
> On Dec 9, 2023, at 10:02, Dan Langille <dan@langille.org> wrote:
>
>>>>> 
>>>>> . . .
>>>> 
>>>> The name list in the middle (/bin/sh context):
>>>> 
>>>> # fetch https://pkg.freebsd.org/index.html
>>>> index.html                                            3606  B  103 MBps    00s
>>>> 
>>>> # grep FreeBSD: index.html | sed -e 's@.*\(FreeBSD:[^ <]*\).*@\1@' | sort
>>>> FreeBSD:12:aarch64
>>>> FreeBSD:12:amd64
>>>> FreeBSD:12:armv6
>>>> FreeBSD:12:armv7
>>>> FreeBSD:12:i386
>>>> FreeBSD:13:aarch64
>>>> FreeBSD:13:amd64
>>>> FreeBSD:13:armv6
>>>> FreeBSD:13:armv7
>>>> FreeBSD:13:i386
>>>> FreeBSD:13:powerpc
>>>> FreeBSD:13:powerpc64
>>>> FreeBSD:13:powerpc64le
>>>> FreeBSD:14:aarch64
>>>> FreeBSD:14:amd64
>>>> FreeBSD:14:armv6
>>>> FreeBSD:14:armv7
>>>> FreeBSD:14:i386
>>>> FreeBSD:14:powerpc
>>>> FreeBSD:14:powerpc64
>>>> FreeBSD:14:powerpc64le
>>>> FreeBSD:15:aarch64
>>>> FreeBSD:15:amd64
>>>> FreeBSD:15:armv6
>>>> FreeBSD:15:armv7
>>>> FreeBSD:15:i386
>>>> FreeBSD:15:powerpc
>>>> FreeBSD:15:powerpc64
>>>> FreeBSD:15:powerpc64le
>
> The below is mostly about what I currently see in the packages
> tables (ABI/latest/quarterly) that I've just looked at.
>
> I do not see FreeBSD:15:powerpc64le showing on on FreshPorts yet.
> But https://pkg.freebsd.org/FreeBSD:15:powerpc64le/latest/ is
> populated with data from 2023-Nov-29 (as  shown in my web browser)
> and the above list shows FreeBSD:15:powerpc64le .

It should be here by about 0105 today:

freshports.org=> insert into abi (name) values ('FreeBSD:15:powerpc64le');
INSERT 0 1

FYI, I have not implemented this script[1] because I've been preoccupied
by ports which get their versions from Mk/bsd.default-versions.mk : so far,
lang/go has been implemented.

1 - https://github.com/FreshPorts/freshports/issues/508
2 - https://github.com/FreshPorts/freshports/issues/509

> FreeBSD:14:powerpc64le and FreeBSD:13:powerpc64le are similar but
> the more up to date data are in (2023-Dec dates):
> https://pkg.freebsd.org/FreeBSD:14:powerpc64le/quarterly/
> and:
> https://pkg.freebsd.org/FreeBSD:13:powerpc64le/quarterly/
> ( as documented on https://pkg.freebsd.org/ ).

I think you're saying they aren't covered by FreeBSD either.

I've added them in. They should appear at the same time.

> FreeBSD:14:powerpc and FreeBSD:13:powerpc (32-bit powerpc)
> are similar but the more up to date data are in (2023-Dec and
> 2023-Nov dates):
> https://pkg.freebsd.org/FreeBSD:14:powerpc/quarterly/
> and:
> https://pkg.freebsd.org/FreeBSD:13:powerpc/quarterly/
> ( as documented on https://pkg.freebsd.org/ ).

Both added.

>
> By contrast, FreeBSD:15:powerpc has no data in:
> https://pkg.freebsd.org/FreeBSD:15:powerpc/latest/
> so its not showing may be as expected. (Not documented on
> https://pkg.freebsd.org/ as being empty.)

Also added.

> The various FreeBSD:*:mips64 still show up (version numbers
> being "-") but are not in the list above.

I suspect mips was added for 13 and 14 because the ABI for 12 existed.

> There are also FreeBSD:12:mips , FreeBSD:13:mips , and
> FreeBSD:14:mips (32-bit mips) showing (version numbers being "-").
> (No 32 bit mips shown for FreeBSD:15:* .)

I think you're saying remove mips. :)

> I also see odd popup status results for some cells with version
> numbers showing. Take, for example, devel/llvm17:
> FreeBSD:15:powerpc64 two "17.0.1" entries have popups that report:
>
> QUOTE
> repo not found
> never imported
> 2023-12-1-0 23:00 - last checked by FreshPorts
> END QUOTE
>
> I'd expect that sort of thing for the version number being just "-"
> but there is a version number showing.

I'm not sure. I have opened: https://github.com/FreshPorts/freshports/issues/511

> I'm not sure if some of this might be expected or not.

Never am I. :)

Thank you.

>
>>>> 
>>>> There might be issues at times with https://pkg.freebsd.org/index.html not
>>>> being in sync. As far as I can tell, that page is manually maintained.
>>>> 
>>>> Hopefully this can help.
>>> 
>>> I think it's fantastic. I've added it to https://github.com/FreshPorts/freshports/issues/505
>>> 
>>>> I've no clue about the id column as the list changes, for example
>>>> when the FreeBSD:12:* disappear sometime after the end of the year.
>>> 
>>> No worries about database issues. Those I can resolve.  It's what you did that I can't often find an easy solution.
>> . . .
>
>
>
> ===
> Mark Millard
> marklmi at yahoo.com

-- 
  Dan Langille
  dan@langille.org