Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 512906 - app-portage/gentoolkit equery can't handle package names consisting of only digits
Summary: app-portage/gentoolkit equery can't handle package names consisti...
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Tools (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Portage Tools Team
Depends on:
Reported: 2014-06-10 19:48 UTC by Heiko Baums
Modified: 2015-03-28 10:49 UTC (History)
0 users

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


Note You need to log in before you can comment on or make changes to this bug.
Description Heiko Baums 2014-06-10 19:48:57 UTC
I've written an ebuild for the game "140" from the Humble Store. It's stored as /usr/local/portage/games-arcade/140/140-1389820765.ebuild.

When I try to look something up with equery like e.g. `equery belongs /usr/lib32/` I get this error message:

!!! Invalid CPV: 'games-arcade/140-1389820765'
 * Searching for /usr/lib32/ ...

When I uninstall 140 the equery command gives the correct, and expected result.

Portage and emerge don't have any issues with such a package name.

Even if my ebuild is not an official one and there's probably no official ebuild with such a package name, I think this should be fixed, anyway, since it's possible that there will be some other packages with names consisting of only digits in the future.

Reproducible: Always
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2014-06-10 20:24:14 UTC says it's legal.
Comment 2 Heiko Baums 2015-03-28 10:49:06 UTC
Just wanted to ask, if there is a chance to get this bug fixed in the not too remote future.

It's pretty annoying if you need to regularly unmerge a package just to run one simple equery and remerge it afterwards.