Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 484906 - app-emulation/spice-0.12.3-r1 - ERROR: app-emulation/spice-0.12.3-r1::gentoo failed (setup phase): No supported Python implementation installed.
Summary: app-emulation/spice-0.12.3-r1 - ERROR: app-emulation/spice-0.12.3-r1::gentoo ...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Python Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-09-14 14:12 UTC by Denis de La Fortelle
Modified: 2013-09-16 08:04 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge --info output (emerge-info.txt,5.34 KB, text/plain)
2013-09-14 14:12 UTC, Denis de La Fortelle
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Denis de La Fortelle 2013-09-14 14:12:51 UTC
Created attachment 358644 [details]
emerge --info output

from elogv:

INFO: setup                                                                   │
│Package:    app-emulation/spice-0.12.3-r1                                     │
│Repository: gentoo                                                            │
│Maintainer: dev-zero@gentoo.org virtualization@gentoo.org                     │
│USE:        amd64 elibc_glibc kernel_linux userland_GNU                       │
│FEATURES:   installsources preserve-libs sandbox splitdebug userpriv          │
│usersandbox                                                                   │
│ERROR: setup                                                                  │
│No Python implementation found for the build. This is usually                 │
│a bug in the ebuild. Please report it to bugs.gentoo.org                      │
│along with the build log.                                                     │
│ERROR: app-emulation/spice-0.12.3-r1::gentoo failed (setup phase):            │
│  No supported Python implementation installed.                               │
│                                                                              │
│Call stack:                                                                   │
│               ebuild.sh, line  93:  Called pkg_setup                         │
│  spice-0.12.3-r1.ebuild, line  64:  Called python-any-r1_pkg_setup           │
│    python-any-r1.eclass, line 252:  Called die                               │
│The specific snippet of code:                                                 │
│        die "No supported Python implementation installed."                   │

Following the python trail, I found that the command:
emerge -uavDN @world
didn't found anything, but the command:
emerge -upv pyparsing
did find the update to 2.0.1.
After updating pyparsing, the spice update went like a charm.
Solved for me, but looks strange to me ...
Comment 1 Doug Goldstein (RETIRED) gentoo-dev 2013-09-16 01:27:31 UTC
The python herd explained that this is something to due with their stabilization process. I'll punt it over to them for some more details.
Comment 2 Mike Gilbert gentoo-dev 2013-09-16 02:39:32 UTC
The ${PYTHON_USEDEP} part of the has_version check fails if you have an older version of pyparsing installed. I modified it to depend on a version of pyparsing which exports the python_targets use flags.

+  16 Sep 2013; Mike Gilbert <floppym@gentoo.org> spice-0.12.3-r1.ebuild,
+  spice-0.12.4.ebuild:
+  Require a python-r1 compatible version of dev-python/pyparsing, bug 484906.
Comment 3 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2013-09-16 08:04:51 UTC
By the way, I feel like python_check_deps() in any-r1 was a bad idea. We can't enforce any impl from PYTHON_COMPAT to happen in the dep. So unless we get something like:

  dev-python/foo[python_targets_X|python_targets_Y|python_targets_Z]

in EAPI, python-single-r1 seems like a better solution.