From nobody Sun Mar 05 17:49:27 2023 X-Original-To: questions@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 4PV8Ns3b2Tz3wkDK for ; Sun, 5 Mar 2023 17:49:49 +0000 (UTC) (envelope-from smithi@nimnet.asn.au) Received: from h1.out3.mxs.au (h1.out3.mxs.au [110.232.143.237]) (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 4PV8Nr5wDcz3QCJ for ; Sun, 5 Mar 2023 17:49:48 +0000 (UTC) (envelope-from smithi@nimnet.asn.au) Authentication-Results: mx1.freebsd.org; none Received: from s121.syd3.hostingplatform.net.au (s121.syd3.hostingplatform.net.au [103.27.34.4]) by out3.mxs.au (Halon) with ESMTPS id 16c32cb7-bb7e-11ed-8896-00163c573069; Mon, 06 Mar 2023 04:49:34 +1100 (AEDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=nimnet.asn.au; s=default; h=Message-ID:From:CC:To:Subject: Content-Transfer-Encoding:Content-Type:MIME-Version:References:In-Reply-To: Date:Sender:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help: List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=EOQnxjH9zKHnaGp8CmNHXPdFTw63+MY/K1fuWAo6jzk=; b=wfD7Qm7PH/OIg2PxQlivnfWJnn FjqaE1wubqgYukR8FAeisLv/Xfj6jF7suIoBMbAkmAAz92LZ6KAicLp57qN3HWkAqbsFGj5prMGdG tzeA+6g6NlWOf4TWfILgQ/yJcd3X0d7f+vfiStp6zF/cXYDFMLy8ydhiCkjMtYx4saHwXuqDmnoTU 6nCi+zovgpK3mEIJyD6Sdfe6MtVCur4LvbdY1bPhQRTSzWOR+7YCXmahrRyPGIjWViz2EiaHz+V93 aW7wgd9IVSdLLhE2Ok2rm3N4WvJGr6W3P249tthHWca6qqvcH7AfFDcLVqKSGEqMnwl1eZ8tWrUh4 6T6Ea9oQ==; Received: from [1.144.247.25] (port=47511 helo=Galaxy-J5-Pro) by s121.syd3.hostingplatform.net.au with esmtpsa (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.96) (envelope-from ) id 1pYsUH-001zeN-2H; Mon, 06 Mar 2023 04:49:33 +1100 Date: Mon, 06 Mar 2023 04:49:27 +1100 User-Agent: K-9 Mail for Android In-Reply-To: References: <32d2e376-3f89-0588-316d-801d4cbf0b44@bluerosetech.com> <4DF870F0-89D5-45AA-B66C-93D2D1C0DD5E@nimnet.asn.au> List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Subject: Re: How do I determine the ABI string used by pkg? To: Kyle Evans CC: Mel Pilgrim ,questions@freebsd.org From: Ian Smith Message-ID: X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - s121.syd3.hostingplatform.net.au X-AntiAbuse: Original Domain - freebsd.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - nimnet.asn.au X-Get-Message-Sender-Via: s121.syd3.hostingplatform.net.au: authenticated_id: smithi@nimnet.asn.au X-Authenticated-Sender: s121.syd3.hostingplatform.net.au: smithi@nimnet.asn.au X-Source: X-Source-Args: X-Source-Dir: X-Rspamd-Queue-Id: 4PV8Nr5wDcz3QCJ X-Spamd-Bar: ---- X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:45638, ipnet:110.232.140.0/22, country:AU] X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-ThisMailContainsUnwantedMimeParts: N On 6 March 2023 3:08:08 am AEDT, Kyle Evans wrote: > On Sat, Mar 4, 2023 at 11:10=E2=80=AFPM Ian Smith > wrote: > > > > On 2 March 2023 6:50:13 pm AEDT, Mel Pilgrim > wrote: > > > I need to determine the ABI string pkg uses on a given system, > and > > > need to do so when there are no pkgs installed=2E > > > > # pkg -N -vv | grep ABI > > > > gets you ABI and ALTABI; the former is the amd64 form, the latter > > x86:64 > Note the more concising spelling of this if you know the names (or > need it for, say, scripting): >=20 > # pkg config ABI > # pkg config ALTABI Quite so, but it needs 'pkg -N config' if no packages are installed, or it= 'll attempt to bootstrap pkg*=2Epkg, according to pkg(7)=2E cheers, Ian