Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 15 Jul 2021 16:21:57 -0700
From:      Mark Millard via freebsd-toolchain <freebsd-toolchain@freebsd.org>
To:        FreeBSD Toolchain <freebsd-toolchain@freebsd.org>
Cc:        bob prohaska <fbsd@www.zefox.net>
Subject:   main: "man 7 pkg" still only list /bin/sh in "Default ABI is determined from . . ."
Message-ID:  <78FADCEA-9DFA-4CB6-94F7-18EF7910B423@yahoo.com>
References:  <78FADCEA-9DFA-4CB6-94F7-18EF7910B423.ref@yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help
QUOTE
     ABI                This defines the ABI for the package to be =
installed.
                        Default ABI is determined from /bin/sh.
END QUOTE

As far as I know /usr/bin/uname is used, with /bin/sh only
as a fall-back.

That "man 7 pkg" output is from:

# uname -apKU
FreeBSD FBSDmacch 14.0-CURRENT FreeBSD 14.0-CURRENT #10 =
main-n247756-348c41d1815d-dirty: Mon Jul  5 10:23:55 PDT 2021     =
root@CA72_16Gp_ZFS:/usr/obj/BUILDs/main-CA72-nodbg-clang/usr/main-src/arm6=
4.aarch64/sys/GENERIC-NODBG-CA72  arm64 aarch64 1400025 1400025

I did not look for other examples of only /bin/sh being
listed. But I do know that "man 5 pkg.conf" lists both
and notes the fall-back status.

[Bob P.: This illustrates why -DNO_CLEAN builds leaving
/usr/bin/uname and/or /bin/sh in an old state can mess
up pkg's installation behavior --or other programs that
do similarly and, say, find a 1400019 when a 1400025 is
required, and so reject the installation.]

=3D=3D=3D
Mark Millard
marklmi at yahoo.com
( dsl-only.net went
away in early 2018-Mar)




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?78FADCEA-9DFA-4CB6-94F7-18EF7910B423>