Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 649668 - sys-apps/portage: emerge spends time calculating dependencies even if later will die due to ambiguous name
Summary: sys-apps/portage: emerge spends time calculating dependencies even if later w...
Status: CONFIRMED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Core - Dependencies (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-03-05 18:11 UTC by Pacho Ramos
Modified: 2020-03-12 15:03 UTC (History)
1 user (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 Pacho Ramos gentoo-dev 2018-03-05 18:11:42 UTC
I have seen that emerge spends time calculating dependencies for later dying with:
# emerge tree
Calculating dependencies |

  
[ Results for search key : tree ]
*  app-text/tree
      Latest version available: 1.7.0
      Latest version installed: [ Not Installed ]
      Size of files: 46 KiB
      Homepage:      http://mama.indstate.edu/users/ice/tree/
      Description:   Lists directories recursively, and produces an indented listing of files
      License:       GPL-2

*  dev-cpp/tree
      Latest version available: 2.81
      Latest version installed: [ Not Installed ]
      Size of files: 1.140 KiB
      Homepage:      http://www.aei.mpg.de/~peekas/tree/
      Description:   An STL-like tree class
      License:       || ( GPL-2 GPL-3 )

[ Applications found : 4 ]

!!! The short ebuild name "tree" is ambiguous. Please specify
!!! one of the above fully-qualified ebuild names instead.

... done!

Wouldn't it be possible to die earlier? As soon as detecting that there are more than one package with the same name :/, otherwise it is spending time calculating dependencies that later it won't use for anything

Thanks a lot