From nobody Tue Mar 07 17:09:51 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 4PWMPw4pM9z3wP7v; Tue, 7 Mar 2023 17:09:56 +0000 (UTC) (envelope-from dan@langille.org) Received: from out5-smtp.messagingengine.com (out5-smtp.messagingengine.com [66.111.4.29]) (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 4PWMPv4BnLz4MMQ; Tue, 7 Mar 2023 17:09:55 +0000 (UTC) (envelope-from dan@langille.org) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=langille.org header.s=fm1 header.b=BHUe1qP6; dkim=pass header.d=messagingengine.com header.s=fm1 header.b=WgnAfTKX; spf=pass (mx1.freebsd.org: domain of dan@langille.org designates 66.111.4.29 as permitted sender) smtp.mailfrom=dan@langille.org; dmarc=pass (policy=none) header.from=langille.org Received: from compute2.internal (compute2.nyi.internal [10.202.2.46]) by mailout.nyi.internal (Postfix) with ESMTP id C80E45C0164; Tue, 7 Mar 2023 12:09:53 -0500 (EST) Received: from mailfrontend1 ([10.202.2.162]) by compute2.internal (MEProxy); Tue, 07 Mar 2023 12:09:53 -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= 1678208993; x=1678295393; bh=KoTPnBcLWnz+brM08ZG55yRwZEiSpglyT+c U/0ZHTlU=; b=BHUe1qP66LF1i7d7jIuMble4AV2RxBVLhFe4rIk8hnlo0gXMfpJ kKgBJCdKyHa30zVRXnhQ1IpTGiwD7u62WC+8TRmKq02EXcupzSy88jOvB3AUpVUu fb3Sqa/sz6l34+cFafDS/LAxadW8OsYL54hSQX0W41Crmd2NNeOsWV6oTjlp4/v6 CbrqCr5bccfERhkIaOhXfgxRMZOzBWq/TYYRkrvUXi4o8A4RK0Tb539wpqHdTWwG 362BqQZQDnzOjUuRa8EZ1JFcCPoyFU7JMCFbp/bva1JeTH8UDGUApLsastArU2Rx nQxjjumNkMUqtXTC3bx1Qha4E9zzrzt3Kow== 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= 1678208993; x=1678295393; bh=KoTPnBcLWnz+brM08ZG55yRwZEiSpglyT+c U/0ZHTlU=; b=WgnAfTKXhZASX8Dl6TDrEYijyv//hxE0FX+bWmO8CW3w4Jb1wot dw/xOpGy545JfCiUJmNeNFUHQBtRszkETBy3OMzlvpk1tmJvQ98pAO5Pz4v87pjT ICyPXS/b7Chhry/z6QnvFdJGt7uKw3c5DA6byBksWGgIlpoxmubhCHOMmMTZDqDp 8//Op6/dyq3UGHChSV7X2vfBC8Rldhd2kfSShftOtNkZEQnPIgURLPjP47/M0Ya4 19wMm4q4wz+INwhHtzJSGFppn19KqTtccO1D1zy2+3nY8maeWJWbFYxI3tb/IemV RFidwpeIM9Dt1P+0gS9A7vpa0XBFJFVWC7w== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvhedrvddutddgleduucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpefuvfevfhfhkffffgggjggtgfesth ejredttdefjeenucfhrhhomhepffgrnhcunfgrnhhgihhllhgvuceouggrnheslhgrnhhg ihhllhgvrdhorhhgqeenucggtffrrghtthgvrhhnpeeggeetteejveeftddtudelvdette evudegvdduhfdtueetvdefieeifefhveeiheenucffohhmrghinheplhgrnhhgihhllhgv rdhorhhgnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomh epuggrnheslhgrnhhgihhllhgvrdhorhhg X-ME-Proxy: Feedback-ID: ifbf9424e:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Tue, 7 Mar 2023 12:09:53 -0500 (EST) Subject: Re: How do I determine the ABI string used by pkg? To: Mel Pilgrim Cc: ports@freebsd.org, questions@freebsd.org References: <32d2e376-3f89-0588-316d-801d4cbf0b44@bluerosetech.com> <20230306075622.xfzs33fmflc2vmtb@aniel.nours.eu> From: Dan Langille Message-ID: <257260d9-1812-3ce5-5d9a-907e2b1ec13e@langille.org> Date: Tue, 7 Mar 2023 12:09:51 -0500 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.16; rv:52.0) Gecko/20100101 PostboxApp/7.0.59 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 In-Reply-To: <20230306075622.xfzs33fmflc2vmtb@aniel.nours.eu> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-US X-Spamd-Result: default: False [-4.10 / 15.00]; SUBJECT_ENDS_QUESTION(1.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; DWL_DNSWL_LOW(-1.00)[messagingengine.com:dkim]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-0.999]; DMARC_POLICY_ALLOW(-0.50)[langille.org,none]; R_SPF_ALLOW(-0.20)[+ip4:66.111.4.29]; R_DKIM_ALLOW(-0.20)[langille.org:s=fm1,messagingengine.com:s=fm1]; MIME_GOOD(-0.10)[text/plain]; RCVD_IN_DNSWL_LOW(-0.10)[66.111.4.29:from]; FROM_EQ_ENVFROM(0.00)[]; ASN(0.00)[asn:19151, ipnet:66.111.4.0/24, country:US]; RCVD_TLS_LAST(0.00)[]; MLMMJ_DEST(0.00)[ports@freebsd.org,questions@freebsd.org]; MIME_TRACE(0.00)[0:+]; TO_MATCH_ENVRCPT_SOME(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; FREEFALL_USER(0.00)[dan]; ARC_NA(0.00)[]; DKIM_TRACE(0.00)[langille.org:+,messagingengine.com:+]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; RCVD_COUNT_THREE(0.00)[4]; RCVD_VIA_SMTP_AUTH(0.00)[] X-Rspamd-Queue-Id: 4PWMPv4BnLz4MMQ X-Spamd-Bar: ---- X-ThisMailContainsUnwantedMimeParts: N Baptiste Daroussin wrote on 3/6/23 2:56 AM: > On Wed, Mar 01, 2023 at 11:50:13PM -0800, 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. > pkg config ABI > pkg config ALTABI When run in a freshly-created jail: [r730-01 dvl ~] % sudo jexec empty_tester root@:/ # pkg config ABI FreeBSD:13:amd64 root@:/ # pkg config ALTABI freebsd:13:x86:64 root@:/ # Mel: I think this is what you wanted to get? -- Dan Langille dan@langille.org : https://langille.org/