Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 634576 - sys-apps/portage: emerge could fail faster when given arguments for packages that don't exist
Summary: sys-apps/portage: emerge could fail faster when given arguments for packages ...
Status: CONFIRMED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Core - Interface (emerge) (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 155723
  Show dependency tree
 
Reported: 2017-10-17 20:40 UTC by Zac Medico
Modified: 2020-03-18 10:47 UTC (History)
3 users (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 Zac Medico gentoo-dev 2017-10-17 20:40:24 UTC
Currently, emerge can get very far into the dependency calculation before realizing that it has been given one or more arguments for packages that don't exist. It would be better to fail faster.
Comment 1 Zac Medico gentoo-dev 2017-10-17 20:52:51 UTC
We want to detect the packages that don't exist in the depgraph._select_files method, around here:

> 	if "/" in x.split(":")[0]:
> 		args.append(AtomArg(arg=x, atom=Atom(x, allow_repo=True),
> 			root_config=root_config))
> 		continue
> 	expanded_atoms = self._dep_expand(root_config, x)