Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 828571 - equery depends doesn't warn about non-existent package
Summary: equery depends doesn't warn about non-existent package
Status: UNCONFIRMED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Enhancement/Feature Requests (show other bugs)
Hardware: All Linux
: Normal enhancement (vote)
Assignee: Portage Tools Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-12-08 13:54 UTC by Maxim P. Dementiev
Modified: 2021-12-28 21:33 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 Maxim P. Dementiev 2021-12-08 13:54:05 UTC
When I ask for
> equery d --all-packages --indirect --depth=1 abra-kadabra/simsalabim
equery doesn't warn that I'm requesting non-existent package.
I should check manually the existence of it.
Comment 1 Brian Dolbec (RETIRED) gentoo-dev 2021-12-28 21:33:12 UTC
This part of equery does a simple string search through the listed *DEPENDS of the pkgs.

This can be useful for scanning the tree for now obsolete pkg references in existing ebuilds.

Adding a check that ensures your search pattern is a valid pkg would slow the search down and add noise to the output when it is not desired.

But if you want to add the option to validate your query, you are welcome to submit your pull request for review and inclusion.  Currently there is no active development of the code.   I think this feature request would be a low priority for most of the devs.