Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 569984

Summary: sys-power/phctool-0.5.2.2-r2: PYTHON(): Failure of extraction of locally active version of Python
Product: Gentoo Linux Reporter: Erik Zeek <zeekec>
Component: Current packagesAssignee: Michael Weber (RETIRED) <xmw>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: emerge --info '=sys-power/phctool-0.5.2.2-r2::gentoo'

Description Erik Zeek 2015-12-28 15:22:43 UTC
Created attachment 421000 [details]
emerge --info '=sys-power/phctool-0.5.2.2-r2::gentoo'

* Package:    sys-power/phctool-0.5.2.2-r2
 * Repository: gentoo
 * Maintainer: xmw@gentoo.org
 * USE:        abi_x86_64 amd64 elibc_glibc kernel_linux policykit userland_GNU
 * FEATURES:   preserve-libs sandbox splitdebug userpriv usersandbox
Traceback (most recent call last):
  File "/usr/lib64/python2.7/site-packages/enum/__init__.py", line 371, in __getattr__
    return cls._member_map_[name]
KeyError: '_convert'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/usr/lib64/python3.5/platform.py", line 117, in <module>
    import sys, os, re, subprocess
  File "/usr/lib64/python3.5/subprocess.py", line 364, in <module>
    import signal
  File "/usr/lib64/python3.5/signal.py", line 8, in <module>
    _IntEnum._convert(
  File "/usr/lib64/python2.7/site-packages/enum/__init__.py", line 373, in __getattr__
    raise AttributeError(name)
AttributeError: _convert
 * ERROR: sys-power/phctool-0.5.2.2-r2::gentoo failed (setup phase):
 *   PYTHON(): Failure of extraction of locally active version of Python
 * 
 * Call stack:
 *                   ebuild.sh, line 133:  Called pkg_setup
 *   phctool-0.5.2.2-r2.ebuild, line  31:  Called python_pkg_setup
 *               python.eclass, line 428:  Called PYTHON '--ABI'
 *               python.eclass, line 1916:  Called die
 * The specific snippet of code:
 *                              die "${FUNCNAME}(): Failure of extraction of locally active version of Python"
 * 
 * If you need support, post the output of `emerge --info '=sys-power/phctool-0.5.2.2-r2::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=sys-power/phctool-0.5.2.2-r2::gentoo'`.
 * The complete build log is located at '/var/log/portage/sys-power:phctool-0.5.2.2-r2:20151228-151050.log.gz'.
 * The ebuild environment file is located at '/gentoo/tmp/portage/sys-power/phctool-0.5.2.2-r2/temp/die.env'.
 * Working directory: '/usr/lib64/python2.7/site-packages'
 * S: '/gentoo/tmp/portage/sys-power/phctool-0.5.2.2-r2/work/0.5.2-2/phctool'
Comment 1 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2017-02-19 23:23:56 UTC

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