Summary: | dev-python/matplotlib-1.2.0 - Fails to emerge with doc USE flag even if python2.7 is eselected. | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Juergen Rose <rose> |
Component: | Current packages | Assignee: | Python Gentoo Team <python> |
Status: | RESOLVED CANTFIX | ||
Severity: | normal | CC: | grozin, guillaume.horel, proteuss, tomwij |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Juergen Rose
2012-12-01 11:50:02 UTC
> * Building of docs with python3 currently **FAILS**
> * Docs can be built effectively with python2.
> * eselect python2 and recommence emerge
Have you done that?
1. Do `eselect python list` and see which number is a Python 2 version.
2. Then do `eselect python set X` where X is the number you just found.
3. Try to `emerge matplotlib` again and let us know whether it is resolved.
> root@caiman:/usr/src(111)# eselect python list
>Available Python interpreters:
> [1] python2.7 *
> [2] python3.2
Ugh, should have read the title and bug better, saw it upon a page refresh.
Assigned the bug to the maintaining herd.
'USE_PYTHON="2.7" emerge -v1 matplotlib' works. This is dealt with in the edited added line if [[ "$(python_get_version --major)" == '3' ]] && use doc; then. The setup by upstream basically lacks robust. On brief inspection it's apparent that the build has added python3 support to the main 'package' matplotlib, but in the doc folder for building the docs, well it just isn't there. Just remember that at this point in time, distuitls-r1 and its cohorts are just over the horizon, so the eclasses directing how the ebuilds build are soon up for migration to the new. Currently, the python distutils combo make for a default selection and use of 1 python2 and 1 python3 on a std emerge matplotlib, irresepective of what use flag may be set, if (as most systems would have) /etc/make.conf lists 2 python versions under PYTHON_ABIS=. eerror "eselect python2 and recommence emerge" started out as eerror "select USE_PYTHON=2.7 and recommence emerge" and mb I should have left it at that. Since only python2 builds docs, for USE=doc emerge matplotlib, 99% of users will need prepend USE_PYTHON="2.7, and all will be well. Hence * Docs can be built effectively with python2. CANTFIX seems the closest, explained more than adequately above |