Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 275483 - Portage pretends it is calculating dependencies when it is looking for the package
Summary: Portage pretends it is calculating dependencies when it is looking for the pa...
Status: RESOLVED INVALID
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Core (show other bugs)
Hardware: All Linux
: High minor (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-06-26 13:05 UTC by Alexandre Nuno Milheiro
Modified: 2009-06-26 13:53 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 Alexandre Nuno Milheiro 2009-06-26 13:05:21 UTC
When portage outputs the message "Calculating dependencies" it is in fact looking for the package ebuild

Reproducible: Always

Steps to Reproduce:
1. execute:
emerge -p non-existent-ebuild
emerge -p gcc
Actual Results:  
emerge -p nonexistentpackage ; emerge -p portage

These are the packages that would be merged, in order:

Calculating dependencies... done!

emerge: there are no ebuilds to satisfy "nonexistentpackage".


These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild   R   ] sys-apps/portage-2.1.6.13 


Expected Results:  
emerge -p nonexistentpackage ; emerge -p portage

Looking for the ebuild for this package... done!

emerge: there are no ebuilds to satisfy "nonexistentpackage".


Looking for the ebuild for this package... done!

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild   R   ] sys-apps/portage-2.1.6.13
Comment 1 Sebastian Luther (few) 2009-06-26 13:53:32 UTC
emerge can't know at which ebuilds it needs look at at the beginning. You give it a atom and it calculates which packages are needed for it. At this moment it looks for ebuilds. If it finds one, it reads the ebuild, calculates which packages are needed for it and then reads the ebuilds for the needed packages. Reading ebuilds and calculating dependencies aren't two separated processes.