[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


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=213910

            Bug ID: 213910
           Summary: ports-mgmt/pkg: pkq query %q evaluates abi instead of
                    arch
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: pkg at FreeBSD.org
          Reporter: shoesoft at gmx.net
             Flags: maintainer-feedback?(pkg at FreeBSD.org)
          Assignee: pkg at FreeBSD.org

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

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-pkg mailing list