Bug 213910 - ports-mgmt/pkg: pkq query %q evaluates abi instead of arch
Summary: ports-mgmt/pkg: pkq query %q evaluates abi instead of arch
Status: New
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: freebsd-pkg mailing list
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-10-30 08:27 UTC by Stefan Ehmann
Modified: 2018-01-13 06:45 UTC (History)
2 users (show)

See Also:
bugzilla: maintainer-feedback? (pkg)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Stefan Ehmann 2016-10-30 08:27:20 UTC
PKG-QUERY(8) says in EVALUATION FORMAT/Variables:
%q Architecture of the package (type string)

Actually abi seems to be used instead of arch

$ pkg -v
1.9.2

$ pkg info -R adns | egrep "abi|arch"
abi = "FreeBSD:11:amd64";
arch = "freebsd:11:x86:64";

$ pkg query -e '%q = freebsd:11:x86:64' '%o: %q'
<no results>

$ pkg query -e '%q = FreeBSD:11:amd64' '%o: %q' | grep adns
dns/adns: freebsd:11:x86:64
Comment 1 w.schwarzenfeld freebsd_triage 2018-01-13 06:45:15 UTC
Maintainer feedback?