Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 377959 - `emerge -auvDN dev-python/matplotlib' does not pull in dev-python/pycxx
Summary: `emerge -auvDN dev-python/matplotlib' does not pull in dev-python/pycxx
Status: RESOLVED DUPLICATE of bug 150238
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Core - Dependencies (show other bugs)
Hardware: All Linux
: Normal minor (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-08-06 09:21 UTC by Shai Vaingast
Modified: 2011-08-08 01:24 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 Shai Vaingast 2011-08-06 09:21:52 UTC
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
Comment 1 Wormo (RETIRED) gentoo-dev 2011-08-07 04:22:20 UTC
Hm that is confusing behavior... 

Please post your 'emerge --info' output as well.
Comment 2 Jeroen Roovers (RETIRED) gentoo-dev 2011-08-07 14:02:28 UTC
$ ebuildvar DEPEND matplotlib-1.0.1-r1.ebuild | grep pycxx
matplotlib-1.0.1-r1.ebuild :    dev-python/pycxx

It's clearly listed.
Comment 3 Zac Medico gentoo-dev 2011-08-08 01:21:40 UTC
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
Comment 4 Zac Medico gentoo-dev 2011-08-08 01:24:32 UTC

*** This bug has been marked as a duplicate of bug 150238 ***