Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 567248 - dev-vcs/qbzr-0.23.0: USE_PYTHON variable contains invalid value
Summary: dev-vcs/qbzr-0.23.0: USE_PYTHON variable contains invalid value
Status: RESOLVED DUPLICATE of bug 593150
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: AMD64 Linux
: Normal major (vote)
Assignee: bazaar+obsolete
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-12-01 13:03 UTC by Andrew Petelin
Modified: 2017-02-17 14:18 UTC (History)
1 user (show)

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


Attachments
emerge --info (emerge.info,6.12 KB, text/plain)
2015-12-01 13:05 UTC, Andrew Petelin
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Andrew Petelin 2015-12-01 13:03:15 UTC
qbzr installation fails:

>>> Compiling source in /var/tmp/portage/dev-vcs/qbzr-0.23.0/work/qbzr ...
 * ERROR: dev-vcs/qbzr-0.23.0::gentoo failed (compile phase):
 *   USE_PYTHON variable contains invalid value '3.4'
 * 
 * Call stack:
 *     ebuild.sh, line   93:  Called src_compile
 *   environment, line 5032:  Called distutils_src_compile
 *   environment, line 1210:  Called python_execute_function 'distutils_building'
 *   environment, line 3319:  Called _python_calculate_PYTHON_ABIS
 *   environment, line  543:  Called die
 * The specific snippet of code:
 *                       die "USE_PYTHON variable contains invalid value '${PYTHON_ABI}'";

----

# grep PYTHON /etc/portage/make.conf
USE_PYTHON="2.7 3.4"
# eix -e python
[I] dev-lang/python
...
     Installed versions:  2.7.10-r1(2.7)(12:24:05 PM 11/18/2015)(gdbm ipv6 ncurses readline sqlite ssl threads wide-unicode xml -berkdb -build -doc -examples -hardened -tk -wininst ELIBC="-uclibc") 3.4.3(3.4)(02:32:56 PM 09/28/2015)(gdbm ipv6 ncurses readline sqlite ssl threads xml -build -examples -hardened -tk -wininst ELIBC="-uclibc")

Reproducible: Always
Comment 1 Andrew Petelin 2015-12-01 13:05:16 UTC
Created attachment 418284 [details]
emerge --info
Comment 2 Michael Palimaka (kensington) gentoo-dev 2015-12-06 18:02:18 UTC
This is caused by qbzr-0.23.0 using the old python eclass which doesn't support python 3.4 and later.

@bazaar, is it OK to stabilise 0.23.1 (which is ported to the newer eclass) and then remove old?
Comment 3 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2017-02-17 14:18:15 UTC

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