Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 512906 - app-portage/gentoolkit 0.3.0.9-r1: equery can't handle package names consisting of only digits
Summary: app-portage/gentoolkit 0.3.0.9-r1: equery can't handle package names consisti...
Status: UNCONFIRMED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Tools (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Portage Tools Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
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: ---


Attachments

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/libjpeg.so.62` I get this error message:

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

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
http://devmanual.gentoo.org/ebuild-writing/file-format/index.html 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.