Bug 247455 - ports-mgmt/pkg incorrectly states it uses /bin/sh for ABI its actually /usr/bin/uname
Summary: ports-mgmt/pkg incorrectly states it uses /bin/sh for ABI its actually /usr/b...
Status: Closed Overcome By Events
Alias: None
Product: Documentation
Classification: Unclassified
Component: Manual Pages (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: freebsd-pkg (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-06-21 07:44 UTC by dewayne
Modified: 2020-07-17 07:16 UTC (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description dewayne 2020-06-21 07:44:49 UTC
From the man page for pkg.conf, 
     ABI: string      The ABI of the package you want to install.  Default:
                      derived from the ABI of the /bin/sh binary.

it is actually
/usr/ports/ports-mgmt/pkg/work/pkg-1.13.2/libpkg/pkg_elf.c:#define _PATH_UNAME "/usr/bin/uname"
Comment 1 Pau Amma 2020-07-11 03:52:12 UTC
Looks like https://github.com/freebsd/pkg/commit/f75bda13dfc7aeb0f7eb44986295f45e89bf09f9#diff-287ef8c2a2b3678bf1b8a5a14e9374be fixed it upstream in February, and pkg is currently (in latest) 1.14.5, which is more recent than the version you have in your ports tree (1.13.2).