Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 509066 - media-libs/mesa-10.1.1 has missing ${PYTHON_DEPS} and dev-libs/libxml2[python,${PYTHON_USEDEP}] DEPEND
Summary: media-libs/mesa-10.1.1 has missing ${PYTHON_DEPS} and dev-libs/libxml2[python...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo X packagers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-04-29 13:52 UTC by Nikoli
Modified: 2014-04-29 19:12 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 Nikoli 2014-04-29 13:52:01 UTC
I have system with python-3.3 only, when i try to install mesa-10.1.1 emerge does not install python-2.7 because DEPEND does not have ${PYTHON_DEPS}.

Python team, pleas check if python-any-r1.eclass is used correctly and there are no other mistakes.
Comment 1 Nikoli 2014-04-29 14:48:51 UTC
checking for python2... /usr/bin/python2.7
checking python2.7 module: libxml2... no
configure: error: failed to find required module libxml2
Comment 2 Maxim Koltsov (RETIRED) gentoo-dev 2014-04-29 17:00:30 UTC
Simple diffing tells me that correct python-related code was misteriously removed:

-       $(python_gen_any_dep 'dev-libs/libxml2[python,${PYTHON_USEDEP}]')
 "
 
-python_check_deps() {
-       has_version --host-root "dev-libs/libxml2[python,${PYTHON_USEDEP}]"
-}
-

Seems like this should be reverted. @x11, please react :)
Comment 3 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2014-04-29 17:24:34 UTC
This seems to be the commit. I guess the ebuild was created on top of 'too new' git ebuild.

commit d25cf62e7b0306afba5a9020f4c14c0c7bde2951
Author: Matt Turner <mattst88@gmail.com>
Date:   Thu Mar 27 11:49:48 2014 -0700

    media-libs/mesa: Drop libxml2 dependency.
    
    Replaced upstream in 2de70fe23 with python's built-in ElementTree.
Comment 4 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2014-04-29 17:32:54 UTC
Reverted the change in 10.1.1:

+  29 Apr 2014; Michał Górny <mgorny@gentoo.org> mesa-10.1.1.ebuild:
+  Restore libxml2 dep that was removed prematurely, bug #509066.

and added missing ${PYTHON_DEPS} in 9999 (either of ${PYTHON_DEPS} or $(python_gen_any_dep ...) needs to be used).
Comment 5 Matt Turner gentoo-dev 2014-04-29 19:12:07 UTC
Thanks Michał!