Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 282009 - --depclean changes (extends) dependency list
Summary: --depclean changes (extends) dependency list
Status: CONFIRMED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Core - Dependencies (show other bugs)
Hardware: x86 Linux
: High minor
Assignee: Portage team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-08-19 10:44 UTC by Sergey S. Starikoff
Modified: 2009-08-31 18: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 Sergey S. Starikoff 2009-08-19 10:44:20 UTC
The bug also may be called "problems with counting dependencies on virtual/perl-*".

During update basing on 17.08.2009 portage snapshot I've caught the following bug:

"emerge -uDN world" finished successfully.
Rerun of this command find nothing to do.

But running "emerge --depclean" finished with the following error:
Calculating dependencies... done!
 * Dependencies could not be completely resolved due to
 * the following required packages not being installed:
 * 
 *   virtual/perl-Package-Constants pulled in by:
 *     perl-core/Archive-Tar-1.40
 * 
 * Have you forgotten to run `emerge --update --newuse --deep world` prior
 * to depclean? It may be necessary to manually uninstall packages that no longer
 * exist in the portage tree since it may not be possible to satisfy their
 * dependencies.  Also, be aware of the --with-bdeps option that is documented
 * in `man emerge`.


"emerge -s" showed, that the package "virtual/perl-Package-Constants" is not installed.

Reproducible: Always

Actual Results:  
"emerge --depclean" failes to run after update

Expected Results:  
"emerge --depclean" worked normally

executing "emerge -av1 virtual/perl-Package-Constants" fixed the dependency collision and after executing it "emerge --depclean" worked normally.


Previously I've caught the similiar error also with virtual/perl-* package.
Comment 1 Zac Medico gentoo-dev 2009-08-19 10:55:16 UTC
(In reply to comment #0)
> The bug also may be called "problems with counting dependencies on
> virtual/perl-*".

This is a side-effect from the behavior described in bug #239006, comment #4.

That behavior will not be supported anymore in EAPI 3, since it conflicts with the implementation details of the new SLOT operator dependencies (bug #273625) which require that that those dependencies be locked to a specific SLOT value at build time (and saved in *DEPEND of the installed package).
Comment 2 Christopher Byrne 2009-08-19 21:05:33 UTC
I ran into the same problem, however by running:

emerge -auvDN --with-bdeps y --complete-graph world

portage detected and installed the "missing" pieces and "emerge --depclean" worked properly after that. 
Comment 3 Sebastian Koehler 2009-08-31 18:03:39 UTC
emerge -auvDN --with-bdeps y --complete-graph world worked for me, too. Thanks, Salah