Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 444596

Summary: emerge --info [non-existent-atom] should fail
Product: Portage Development Reporter: Jeroen Roovers (RETIRED) <jer>
Component: Core - Interface (emerge)Assignee: Portage team <dev-portage>
Status: RESOLVED FIXED    
Severity: enhancement Keywords: InVCS
Priority: Normal    
Version: 2.1   
Hardware: All   
OS: Linux   
See Also: https://bugs.gentoo.org/show_bug.cgi?id=446358
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 445274    

Description Jeroen Roovers (RETIRED) gentoo-dev 2012-11-24 17:39:14 UTC
emerge --info [this-is-not-a-valid-atom] currently outputs as if the invalid atom has not been included. Since this leads incomplete output, bug wrangling then requires extra steps on both parts to get the required information (viz. the equivalent of `emerge -vpq [atom]'). It should instead recognise that the atom is invalid and output an error and nothing else.
Comment 2 Zac Medico gentoo-dev 2012-11-24 22:09:32 UTC
Now enhanced with search for similar names:

http://git.overlays.gentoo.org/gitweb/?p=proj/portage.git;a=commit;h=372d0e0dced3f94ba619e722e8a87f0256d52aea
Comment 3 Zac Medico gentoo-dev 2012-11-29 23:54:41 UTC
This is fixed in 2.1.11.32 and 2.2.0_alpha143.