main: "man 7 pkg" still only list /bin/sh in "Default ABI is determined from . . ."
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 15 Jul 2021 23:21:57 UTC
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/arm64.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.] === Mark Millard marklmi at yahoo.com ( dsl-only.net went away in early 2018-Mar)