Summary: | sys-apps/portage-2.2.10: does not satisfy PYTHON_TARGETS="python2_7" ? | ||
---|---|---|---|
Product: | Portage Development | Reporter: | Martin Mokrejš <mmokrejs> |
Component: | Unclassified | Assignee: | Portage team <dev-portage> |
Status: | RESOLVED OBSOLETE | ||
Severity: | normal | CC: | python |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Martin Mokrejš
2014-03-26 14:24:38 UTC
You have PYTHON_TARGETS="python2_7 python3_3" so unless you have entries in package.use for gentoolkit, portage and setuptools that turn off python 2.7 target, I don't know why the python2_7 target is not showing in the use flags for both those packages. Please check /etc/portage/package.use for any entries for those packages. (In reply to Brian Dolbec from comment #1) > You have PYTHON_TARGETS="python2_7 python3_3" so unless you have entries in > package.use for gentoolkit, portage and setuptools that turn off python 2.7 > target, I don't know why the python2_7 target is not showing in the use > flags for both those packages. > > Please check /etc/portage/package.use for any entries for those packages. None of them in /etc/portage/* . Please provide the output of: "emerge -uNpd app-portage/gentoolkit &> debug.log" I placed it at http://195.113.57.32/~mmokrejs/debug.log.bz2 Any news? # emerge -uN portage-utils eselect-python python-updater portage ... Calculating dependencies... done! [ebuild N ] sys-apps/gentoo-functions-0.3 [ebuild U ] app-portage/portage-utils-0.53 [0.41] USE="nls%*" [ebuild U ] app-admin/eselect-python-20140125 [20111108] [ebuild U ] app-admin/python-updater-0.12 [0.11] WARNING: One or more updates have been skipped due to a dependency conflict: sys-apps/portage:0 (sys-apps/portage-2.2.10::gentoo, ebuild scheduled for merge) conflicts with sys-apps/portage[python_targets_python2_7(-),python_targets_python3_2(-),-python_single_target_python2_6(-),-python_single_target_python2_7(-),-python_single_target_python3_2(-),-python_single_target_python3_3(-)] required by (app-portage/gentoolkit-dev-0.2.8.3-r1::gentoo, installed) (sys-apps/portage-2.2.10::gentoo, ebuild scheduled for merge) conflicts with sys-apps/portage[python_targets_python2_7(-),python_targets_python3_2(-),-python_single_target_python2_6(-),-python_single_target_python2_7(-),-python_single_target_python3_2(-),-python_single_target_python3_3(-),-python_single_target_pypy2_0(-)] required by (app-admin/webapp-config-1.52::gentoo, installed) Potential dupe of #488776? Just to re-cap: <quote> # eselect news read 6 2012-11-06-PYTHON_TARGETS-deployment Title PYTHON_TARGETS deployment Author Michał Górny <mgorny@gentoo.org> Posted 2012-11-06 Revision 1 Recently, a few new Python eclasses have been deployed. As ebuilds migrate, the way they support multiple Python implementations will change. The previous method built Python modules for Python implementations selected through `eselect python'. The new method uses the PYTHON_TARGETS USE flags to explicitly name the implementations the modules shall be built for. If you are running a modern system with only Python 2.7 & 3.2 installed, then you don't have to do anything. The defaults will simply fit you, and let you keep your system up-to-date when new Python versions are deployed. However, if you'd like to use another set of Python implementations, you will need to set PYTHON_TARGETS in your make.conf file appropriately. This variable names the enabled implementations in the standard way common to all USE_EXPAND variables. </quote> # grep PYTHON_TARGETS /etc/portage/make.conf # So, I should be at 'defaults'. # emerge -1pv dev-python/python-exec These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild R ] dev-lang/python-exec-2.0.1-r1:2 PYTHON_TARGETS="(jython2_5) (jython2_7) (pypy*) (python2_6) (python2_7) (python3_2) (python3_3) (python3_4*) (-pypy2_0%*)" 0 kB [ebuild R ] dev-lang/python-exec-0.3.1-r1 PYTHON_TARGETS="(jython2_5) (jython2_7) (pypy*) (python2_6) (python2_7) (python3_2) (python3_3) (python3_4*) (-pypy2_0%*)" 0 kB [ebuild R ] dev-python/python-exec-10000.2:2 PYTHON_TARGETS="(jython2_5) (jython2_7) (pypy%*) (python2_6) (python2_7) (python3_2) (python3_3) (python3_4%*) (-pypy2_0%*)" 0 kB Total: 3 packages (3 reinstalls), Size of downloads: 0 kB # cat >> /etc/portage/make.conf PYTHON_TARGETS="python2_7 python3_2" PYTHON_SINGLE_TARGET="python2_7" ^D # # env-update # python-updater * Starting Python Updater... * Main active version of Python: 2.7 * Active version of Python 2: 2.7 * Active version of Python 3: 3.2 * Globally supported Python ABIs in installed repositories: * gentoo: 2.4 2.5 2.6 2.7 3.1 3.2 3.3 2.5-jython 2.7-jython 2.7-pypy-1.7 2.7-pypy-1.8 2.7-pypy-1.9 2.7-pypy-2.0 * gentoo-haskell: 2.4 2.5 2.6 2.7 3.1 3.2 3.3 2.5-jython 2.7-jython 2.7-pypy-1.7 2.7-pypy-1.8 2.7-pypy-1.9 2.7-pypy-2.0 * science: 2.4 2.5 2.6 2.7 3.1 3.2 3.3 2.5-jython 2.7-jython 2.7-pypy-1.7 2.7-pypy-1.8 2.7-pypy-1.9 2.7-pypy-2.0 * x-layman: 2.4 2.5 2.6 2.7 3.1 3.2 3.3 2.5-jython 2.7-jython 2.7-pypy-1.7 2.7-pypy-1.8 2.7-pypy-1.9 2.7-pypy-2.0 * x-portage: 2.4 2.5 2.6 2.7 3.1 3.2 3.3 2.5-jython 2.7-jython 2.7-pypy-1.7 2.7-pypy-1.8 2.7-pypy-1.9 2.7-pypy-2.0 * Adding to list: dev-libs/libgamin:0 * emerge -Dv1 --keep-going dev-libs/libgamin:0 WARNING: One or more repositories have missing repo_name entries: /var/lib/layman/profiles/repo_name NOTE: Each repo_name entry should be a plain text file containing a unique name for the repository on the first line. * IMPORTANT: 12 news items need reading for repository 'gentoo'. * Use eselect news to read news items. These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild U ] dev-libs/libgamin-0.1.10-r5 [0.1.10-r4] USE="python -debug -static-libs" ABI_X86="(64) -32 (-x32)" PYTHON_TARGETS="python2_7%* -python2_6%" 0 kB Total: 1 package (1 upgrade), Size of downloads: 0 kB # Since now everythng will probably work fine: # emerge -pv gentoolkit These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild N ] virtual/python-argparse-1 PYTHON_TARGETS="python2_7 python3_2 -pypy -python2_6 -python3_3 -python3_4" 0 kB [ebuild U ] app-portage/gentoolkit-0.3.0.9-r1 [0.3.0.8-r2] PYTHON_TARGETS="python2_7 python3_2 -pypy% -python2_6 -python3_3 (-pypy2_0%)" 3,120 kB Total: 2 packages (1 upgrade, 1 new), Size of downloads: 3,120 kB In summary, I think the PYTHON_TARGETS defaults do not work. |