emerge -av matplotlib wants to re-emerge dev-python/matplotlib-1.0.1-r1 as well as dev-python/pycxx-6.2.3-r2. However, issuing emerge -auvDN world or emerge -auvDN matplotlib does not pull pycxx. Issuing emerge -avD matplotlib does pull pycxx. It seems that rmoving the u flag results matplotlib wanting to pull in pycxx but doesn't get a newer version of matplotlib. Dependency issue? Reproducible: Always Steps to Reproduce: 1. emerge -av matplotlib 2. emerge -auv matplotlib 3. The result for using the -av switches is inconsistent with the result for using -auv switches. Actual Results: 1. emerge -av matplotlib [ebuild N ] dev-python/pycxx-6.2.3-r2 USE="-doc -examples" 0 kB [ebuild R ] dev-python/matplotlib-1.0.1-r1 USE="cairo fltk gtk latex wxwidgets -doc -examples -excel -qt4 -tk -traits" 0 kB Total: 2 packages (1 new, 1 reinstall), Size of downloads: 0 kB 2. Nothing to merge; would you like to auto-clean packages? [Yes/No] Expected Results: Both commands should result: [ebuild N ] dev-python/pycxx-6.2.3-r2 USE="-doc -examples" 0 kB [ebuild R ] dev-python/matplotlib-1.0.1-r1 USE="cairo fltk gtk latex wxwidgets -doc -examples -excel -qt4 -tk -traits" 0 kB
Hm that is confusing behavior... Please post your 'emerge --info' output as well.
$ ebuildvar DEPEND matplotlib-1.0.1-r1.ebuild | grep pycxx matplotlib-1.0.1-r1.ebuild : dev-python/pycxx It's clearly listed.
The dev-python/pycxx atom is only in DEPEND of matplotlib, which means that it's only a build-time dependency. You can make unnecessary build-time dependencies get pulled in by setting the following in make.conf: EMERGE_DEFAULT_OPTS="--with-bdeps=y" Also, see bug 150238, bug 274454, and mentions of --with-bdeps in the FAQ: http://www.gentoo.org/proj/en/portage/doc/faq.xml
*** This bug has been marked as a duplicate of bug 150238 ***