Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 229859 - portageq command in dev-db/postgis
Summary: portageq command in dev-db/postgis
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: PgSQL Bugs
URL:
Whiteboard:
Keywords: InVCS
Depends on:
Blocks:
 
Reported: 2008-06-28 02:34 UTC by Tim Cera
Modified: 2009-03-07 06:31 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tim Cera 2008-06-28 02:34:21 UTC
The portageq command in dev-db/postgis should contain the category.

 portageq match / postgis

should be,

 portageq match / dev-db/postgis

Thanks, Tim
Comment 1 Jorge Manuel B. S. Vicetto (RETIRED) Gentoo Infrastructure gentoo-dev 2008-06-28 02:47:19 UTC
Please explain what you're trying to do and submit the output of portageq.
Are you complaining that portageq should require the use of <cat>/<pkg> to do the match or that it doesn't show the complete information for the installed package?
You should also add the output of emerge --info so that we know what portage version you're using.
Comment 2 Tim Cera 2008-06-28 12:42:53 UTC
Well, I don't use emerge. The dev-db/postgis ebuilds don't work with paludis because the category isn't included in the portageq command.  Verified that it does work by creating a new, edited ebuild in my local overlay.  See http://trac.pioto.org/paludis/ticket/606#comment:1 for more info.  Sorry, I should have included more info in the first post.

Kindest regards,
Tim
Comment 3 Carsten Lohrke (RETIRED) gentoo-dev 2008-06-28 16:27:32 UTC
According to ebuild(5) a base atom consists of $CATEGORY/$PACKAGE, so I'd say it is a valid bug. Maybe Portage should be stricter here.
Comment 4 Tim Cera 2008-06-28 17:30:34 UTC
This is a very rare situation, considering that 'qgrep' only found the following relevant references to 'portageq':

        for wxpy_pkg in $(portageq match "${ROOT}" '=dev-python/wxpython-2.6*'); do
        for wxpy_pkg in $(portageq match "${ROOT}" '=dev-python/wxpython-2.6*'); do
        tmp="$(portageq match / ${CATEGORY}/${PN})"
        tmp="$(portageq match / postgis | cut -d'.' -f2)"
        tmp="$(portageq match / postgis | cut -d'.' -f2)"
        tmp="$(portageq match / postgis | cut -d'.' -f2)"
        tmp="$(portageq match / postgis | cut -d'.' -f2)"
                stylesheet=$(portageq best_version / app-text/docbook-xsl-stylesheets)

The three other ebuilds use category/package.

Kindest regards,
Tim
Comment 5 Zac Medico gentoo-dev 2008-06-28 22:11:06 UTC
(In reply to comment #3)
> According to ebuild(5) a base atom consists of $CATEGORY/$PACKAGE, so I'd say
> it is a valid bug. Maybe Portage should be stricter here.

Thanks, this is now fixed in svn:

http://sources.gentoo.org/viewcvs.py/portage?rev=10835&view=rev
Comment 6 Zac Medico gentoo-dev 2009-03-07 06:31:33 UTC
I've fixed the postgis ebuilds.