From nobody Sun Mar 05 16:08:08 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 4PV67n3Clfz3wdgC; Sun, 5 Mar 2023 16:08:21 +0000 (UTC) (envelope-from kevans@freebsd.org) Received: from smtp.freebsd.org (smtp.freebsd.org [IPv6:2610:1c1:1:606c::24b:4]) (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-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "smtp.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4PV67n2pByz4h1D; Sun, 5 Mar 2023 16:08:21 +0000 (UTC) (envelope-from kevans@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1678032501; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=XSASZwVpzp5DrgQARkSf7jIIwJciPoSxuutaLUt5AkI=; b=aYdx7cT4vbUJcyujBpkXxYNXYiFyYaWLdhSi6YiKi9cVrJ/XBwWBnjKtc+e8NJqE52r3ag KrLG78/CRG+Gsk4hQqTW/na0KE4GrGnt6g1USvswrhFb81lgyaNiQhBsm8Gpr/5gF2xC+e mFpRIkeeV5h78nzuEozz6yW4Ul/kqpUzLpx+8pu2dQrSKg+seSqBVO4QgU8naYMQw+Mf9e cJ0SprctySgfGu6h69TAaILNtURICxq1+OBjExjjaT+S9D9qQr0N2CveO2rrP10OJ3yNoB y0+mRaLFx1zuN2MR8hxE6yE2KhYPlFW5+UhpOxUDDultodnGsEc4j8u4MXVHAQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1678032501; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=XSASZwVpzp5DrgQARkSf7jIIwJciPoSxuutaLUt5AkI=; b=YTIBi6CQmEKkdPPqeY9WMhHPQtFgEfs3XS2qIABdSiOV6QDS+o5+so/CX4cYnkur1pB7Co Q7Gqghrpt+qVhdhJkATpvZwKwOOFwyIq+ha/7D0TClesF3vLUHWc/Bg6jL0JjcONAX/jc/ a8CM6/7shJINZb8fVX9WlmOw6nsBpLA5jwfDJbDsGz0LZIvxAwBjsAaSmjYXtXTc9TqqNV 8qywwl3gCDdkdYHlvSQXgBHKZGE0VbFgWWN7FkwTeiqx1xH6e0v8l3HhE7AQzgf56inOiP OY7qGBjhQXnWlq0WVmrd3eUFnLLp5UV3p/XPLqev5gyriHs0PIyQotGeZXelKQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1678032501; a=rsa-sha256; cv=none; b=ybtrQZtVemfPmU4eu9cr7GZ0E39vlujsm8fTcEm6FAzZiP5IPXtiuZVZw0Cj3JxcD71Ab0 ZQjKtCv59p8PE6cH6thCoW6oAKP0UDIw0hPRGw3TDdwiFCUu1xnWszmAAIwQtgidhRpmKi OEm9sUkO6h/PiFP88+21Ouvg4ibIWfyXH7Sym3RtNKFnyNPe5OLhSmGBj08XYgNCkLmv7i UOPIVs19OHIzQ93mHnhubyCBjbWVq1iiA39I2pIA2uFTPIgttn6ceI+n1txbXU5i7oqk/q xDHga8TfAv7Pup7F32KdHSYNDdWF3uVXzLX/sKMEMVGiyigytCU3GNLVs0AGLg== Received: from mail-qk1-f172.google.com (mail-qk1-f172.google.com [209.85.222.172]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1D4" (verified OK)) (Authenticated sender: kevans) by smtp.freebsd.org (Postfix) with ESMTPSA id 4PV67n1kGnzg7R; Sun, 5 Mar 2023 16:08:21 +0000 (UTC) (envelope-from kevans@freebsd.org) Received: by mail-qk1-f172.google.com with SMTP id bk39so2303625qkb.8; Sun, 05 Mar 2023 08:08:21 -0800 (PST) X-Gm-Message-State: AO0yUKWH3K9N4fcRzQPzrknZZkgnkjxw+YpgSPs4MLAnRJoI4tUc3u8t ljyvfKleTNf2XIHVIYxGkTwuuit8m2YeC1gKoA0= X-Google-Smtp-Source: AK7set9c/GZwoXZlCjK/zxAn7PS7DgM0fTybWmuuTjbKOcjep9VCCy6/3DH1nd5Okrj5fRXAkmcvLhHlFjZ36T8MHSA= X-Received: by 2002:ae9:f109:0:b0:742:76a6:8e90 with SMTP id k9-20020ae9f109000000b0074276a68e90mr2166891qkg.14.1678032500615; Sun, 05 Mar 2023 08:08:20 -0800 (PST) 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 References: <32d2e376-3f89-0588-316d-801d4cbf0b44@bluerosetech.com> <4DF870F0-89D5-45AA-B66C-93D2D1C0DD5E@nimnet.asn.au> In-Reply-To: <4DF870F0-89D5-45AA-B66C-93D2D1C0DD5E@nimnet.asn.au> From: Kyle Evans Date: Sun, 5 Mar 2023 10:08:08 -0600 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: How do I determine the ABI string used by pkg? To: Ian Smith Cc: Mel Pilgrim , questions@freebsd.org, ports@freebsd.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-ThisMailContainsUnwantedMimeParts: N On Sat, Mar 4, 2023 at 11:10=E2=80=AFPM Ian Smith wr= ote: > > 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. > > # 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): # pkg config ABI # pkg config ALTABI Thanks, Kyle Evans