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:   maintainer-feedback requested: [Bug 213910] ports-mgmt/pkg: pkq query %q evaluates abi instead of arch
Message-ID:  <bug-213910-32340-v4xkMhvHYD@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-213910-32340@https.bugs.freebsd.org/bugzilla/>
References:  <bug-213910-32340@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
Stefan Ehmann <shoesoft@gmx.net> has reassigned Bugzilla Automation
<bugzilla@FreeBSD.org>'s request for maintainer-feedback to pkg@FreeBSD.org:
Bug 213910: ports-mgmt/pkg: pkq query %q evaluates abi instead of arch
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D213910



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



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