maintainer-feedback requested: [Bug 213910] ports-mgmt/pkg: pkq query %q evaluates abi instead of arch

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sun Oct 30 08:27:21 UTC 2016


Stefan Ehmann <shoesoft at gmx.net> has reassigned Bugzilla Automation
<bugzilla at FreeBSD.org>'s request for maintainer-feedback to pkg at FreeBSD.org:
Bug 213910: ports-mgmt/pkg: pkq query %q evaluates abi instead of arch
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=213910



--- Description ---
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


More information about the freebsd-pkg mailing list