Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 30 Oct 2016 08:27:20 +0000
From:      bugzilla-noreply@freebsd.org
To:        pkg@FreeBSD.org
Subject:   [Bug 213910] ports-mgmt/pkg: pkq query %q evaluates abi instead of arch
Message-ID:  <bug-213910-32340@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D213910

            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@FreeBSD.org
          Reporter: shoesoft@gmx.net
             Flags: maintainer-feedback?(pkg@FreeBSD.org)
          Assignee: pkg@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 =3D "FreeBSD:11:amd64";
arch =3D "freebsd:11:x86:64";

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

$ pkg query -e '%q =3D FreeBSD:11:amd64' '%o: %q' | grep adns
dns/adns: freebsd:11:x86:64

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-213910-32340>