From nobody Sat Dec 09 18:02:01 2023 X-Original-To: freebsd-hackers@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 4SnbSG0yDnz53781 for ; Sat, 9 Dec 2023 18:02:06 +0000 (UTC) (envelope-from dan@langille.org) Received: from wout1-smtp.messagingengine.com (wout1-smtp.messagingengine.com [64.147.123.24]) (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 did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4SnbSF5mzJz4MtZ for ; Sat, 9 Dec 2023 18:02:05 +0000 (UTC) (envelope-from dan@langille.org) Authentication-Results: mx1.freebsd.org; none Received: from compute6.internal (compute6.nyi.internal [10.202.2.47]) by mailout.west.internal (Postfix) with ESMTP id 6EE81320090C; Sat, 9 Dec 2023 13:02:03 -0500 (EST) Received: from mailfrontend2 ([10.202.2.163]) by compute6.internal (MEProxy); Sat, 09 Dec 2023 13:02:03 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=langille.org; h= cc:cc:content-transfer-encoding:content-type:content-type:date :date:from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:sender:subject:subject:to:to; s=fm1; t= 1702144922; x=1702231322; bh=nCZOJLmLqmAUeB4gOaQcH3Jy2J0sTMU5w1S RlVYHlCE=; b=jS3ZMOnuNdgAZqqYjWuJnwfuSyZSHBtFXucr8ftB+ZBIIkTOGm8 bFAAEnB+KQJibawKNXqRKBFOPekRJJXXYeZZ0Yc/O/CEAnpC7tSp05Wm6g13881D UIqpbFtW1By9NRvxP0Nz4p/iOzk0XxhBQ2WiQ5XzTLrMseqX7ofHFJaK85bg6Uvq zUOyhBDX1RsJRKs060nexUqyFgVFQuA4NjRhwgIArZnzXpH5NY6N4kx/A2S8hLL3 TNFltt1YyRQcVPJ9PsRDPO2By4pRIo+BXtF1L1B0m8XDWhnVhsm9yPTiDQNogRBn pbpDBmex+Tk4jDVIJ9JiQcQJSSkZAR9aFmw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:content-type:date:date:feedback-id:feedback-id :from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:sender:subject:subject:to:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm1; t= 1702144922; x=1702231322; bh=nCZOJLmLqmAUeB4gOaQcH3Jy2J0sTMU5w1S RlVYHlCE=; b=fFE331U4qie3HycMU9V36Dht1AmZDHCB7Hvk+AjCPYEADIcHw1G skMCY0Tr16QLVOH3jlD6qZChkyTGJ8XW+9rwQeed8LKO2RACHAg5LwuTUcK3Csjw KBkUBL/Dw4tOXUSQ8MGIEbnylU5AiSKr0dzHLya/tDWRxh41bFm4XcVnjyGdqf8+ BvW0u8C2rOsd+jmY70ELP31xhFwwUvLiU5vW9BBXtasp2jsUQYgsUY67M4Kina2C AKlckLj5HyFakOKSwttbc5E+khyVR34xTGnasSvPHQWv7eatpiLGSvhEcYvGfu0R jgGCk/grQNryAcHMLaDW3gn1Qk+VlxuMBBw== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvkedrudekkedguddtkecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmd enucfjughrpegtggfuhfgjffevgffkfhfvofesthhqmhdthhdtvdenucfhrhhomhepffgr nhcunfgrnhhgihhllhgvuceouggrnheslhgrnhhgihhllhgvrdhorhhgqeenucggtffrrg htthgvrhhnpeetteeikeeiieffudetieevjeduudevudeugefggeelgeffhfdthefhtddu gfehtdenucffohhmrghinhepuggrnhgprghtpghlrghnghhilhhlvgdrohhrghdpfhhrvg gvsghsugdrohhrghdpghhithhhuhgsrdgtohhmnecuvehluhhsthgvrhfuihiivgeptden ucfrrghrrghmpehmrghilhhfrhhomhepuggrnheslhgrnhhgihhllhgvrdhorhhg X-ME-Proxy: Feedback-ID: ifbf9424e:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Sat, 9 Dec 2023 13:02:02 -0500 (EST) Content-Type: text/plain; charset=us-ascii List-Id: Technical discussions relating to FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-hackers List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-hackers@freebsd.org Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3696.120.41.1.4\)) Subject: Re: list of valid ABI combinations From: Dan Langille In-Reply-To: Date: Sat, 9 Dec 2023 13:02:01 -0500 Cc: FreeBSD Hackers Content-Transfer-Encoding: quoted-printable Message-Id: <66207714-4BF4-4E3D-98CF-F2F70B5B6973@langille.org> References: <6BD2CBAF-7ADC-4ADC-B8F0-1280FECEC155.ref@yahoo.com> <6BD2CBAF-7ADC-4ADC-B8F0-1280FECEC155@yahoo.com> To: Mark Millard X-Mailer: Apple Mail (2.3696.120.41.1.4) X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:29838, ipnet:64.147.123.0/24, country:US] X-Spamd-Bar: ---- X-Rspamd-Queue-Id: 4SnbSF5mzJz4MtZ > On Dec 9, 2023, at 12:48 PM, Mark Millard wrote: >=20 > On Dec 7, 2023, at 09:44, Dan Langille wrote: >=20 >> On Thu, Dec 7, 2023, at 10:03 AM, Mark Millard wrote: >>> Dan Langille wrote on >>> Date: Thu, 07 Dec 2023 13:22:28 UTC : >>>=20 >>>> . . . >>>> My goal is to automatically maintain this table, from which = FreshPorts fetches package information: >>>>=20 >>>> freshports.dev=3D# select * from abi order by name; >>>> id | name | active=20 >>>> ----+----------------------+-------- >>>> 9 | FreeBSD:12:aarch64 | t >>>> 1 | FreeBSD:12:amd64 | t >>>> 15 | FreeBSD:12:armv6 | t >>>> 16 | FreeBSD:12:armv7 | t >>>> 8 | FreeBSD:12:i386 | t >>>> 18 | FreeBSD:12:mips64 | t >>>> 19 | FreeBSD:12:powerpc64 | t >>>> 2 | FreeBSD:13:aarch64 | t >>>> 11 | FreeBSD:13:amd64 | t >>>> 20 | FreeBSD:13:armv6 | t >>>> 21 | FreeBSD:13:armv7 | t >>>> 10 | FreeBSD:13:i386 | t >>>> 23 | FreeBSD:13:mips64 | t >>>> 24 | FreeBSD:13:powerpc64 | t >>>> 34 | FreeBSD:13:riscv64 | t >>>> 26 | FreeBSD:14:aarch64 | t >>>> 27 | FreeBSD:14:amd64 | t >>>> 28 | FreeBSD:14:armv6 | t >>>> 29 | FreeBSD:14:armv7 | t >>>> 30 | FreeBSD:14:i386 | t >>>> 32 | FreeBSD:14:mips64 | t >>>> 33 | FreeBSD:14:powerpc64 | t >>>> 35 | FreeBSD:14:riscv64 | t >>>> 54 | FreeBSD:15:aarch64 | t >>>> 47 | FreeBSD:15:amd64 | t >>>> 48 | FreeBSD:15:armv6 | t >>>> 49 | FreeBSD:15:armv7 | t >>>> 50 | FreeBSD:15:i386 | t >>>> 51 | FreeBSD:15:mips64 | t >>>> 52 | FreeBSD:15:powerpc64 | t >>>> 53 | FreeBSD:15:riscv64 | t >>>> (31 rows) >>>> . . . >>>=20 >>> The name list in the middle (/bin/sh context): >>>=20 >>> # fetch https://pkg.freebsd.org/index.html >>> index.html 3606 B 103 = MBps 00s >>>=20 >>> # 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 >>>=20 >>> 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. >>>=20 >>> Hopefully this can help. >>=20 >> I think it's fantastic. I've added it to = https://github.com/FreshPorts/freshports/issues/505 >>=20 >>> 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. >>=20 >> No worries about database issues. Those I can resolve. It's what you = did that I can't often find an easy solution. >=20 > I'll note that tier 3 and unsupported are subject to (possibly) = temporary > removal of ports-package files as a matter of resource management. = Such > would be unlikely to lead to removal from: >=20 > https://pkg.freebsd.org/index.html >=20 > during that temporary time. >=20 > See: >=20 > = https://lists.freebsd.org/archives/freebsd-git/2023-December/000217.html >=20 > for an example that started yesterday for: FreeBSD:14:armv6 > It was for helping deal with running low on some mirrors' free storage > space until FreeBSD:12:* files are generally removed after the end of > the year. >=20 >=20 > Note: >=20 > = https://lists.freebsd.org/archives/freebsd-git/2023-December/000218.html >=20 > is about possibly doing similarly with the FreeBSD:15:powerpc = package-base > files as well, for the same reason. I do not know if they would = actually > do such package-base removals. All that sounds good. Stuff going away, coming in, that's all OK. My use case: to know what ABI to check for. This isn't necessarily that = it will find it... but that FreshPorts knows that FreeBSD:15:* is now = being built. Or that FreeBSD:11:* is no longer a thing, for example. This is me wanting to avoid doing anything manual. The approach: = FreshPorts just does stuff and nobody has to prod it along. --=20 Dan Langille dan@langille.org