Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 516588 - sys-apps/razercfg-0.26 - No supported Python implementation in PYTHON_SINGLE_TARGET.
Summary: sys-apps/razercfg-0.26 - No supported Python implementation in PYTHON_SINGLE_...
Status: RESOLVED DUPLICATE of bug 472932
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-07-07 07:35 UTC by Anton Bolshakov
Modified: 2016-06-11 20:41 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 Anton Bolshakov 2014-07-07 07:35:28 UTC
* Package:    sys-apps/razercfg-0.26
 * Repository: gentoo
 * Maintainer: joker@gentoo.org
 * USE:        abi_x86_64 amd64 elibc_glibc kernel_linux pm-utils python_targets_python3_3 qt4 userland_GNU
 * FEATURES:   preserve-libs sandbox userpriv usersandbox
 * No Python implementation selected for the build. Please set
 * the PYTHON_SINGLE_TARGET variable in your make.conf to one
 * of the following values:
 * 
 * python3_2 python3_3

 * ERROR: sys-apps/razercfg-0.26::gentoo failed (setup phase):
 *   No supported Python implementation in PYTHON_SINGLE_TARGET.
 * 
 * Call stack:
 *                 ebuild.sh, line  93:  Called pkg_setup
 *                 ebuild.sh, line 317:  Called python-single-r1_pkg_setup
 *   python-single-r1.eclass, line 261:  Called python_setup
 *   python-single-r1.eclass, line 251:  Called die
 * The specific snippet of code:
 *              die "No supported Python implementation in PYTHON_SINGLE_TARGET."
 * 
 * If you need support, post the output of `emerge --info '=sys-apps/razercfg-0.26::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=sys-apps/razercfg-0.26::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/sys-apps/razercfg-0.26/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/sys-apps/razercfg-0.26/temp/die.env'.
 * Working directory: '/usr/lib64/portage/pym'
 * S: '/var/tmp/portage/sys-apps/razercfg-0.26/work/razercfg-0.26



emerge --info '=sys-apps/razercfg-0.26::gentoo'
Portage 2.2.8-r1 (hardened/linux/amd64, gcc-4.7.3, glibc-2.17, 3.14.5-hardened-r2 x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-3.14.5-hardened-r2-x86_64-Intel-R-_Core-TM-_i5-3320M_CPU_@_2.60GHz-with-gentoo-2.2
KiB Mem:     7980628 total,   2682716 free
KiB Swap:    4194300 total,   4194236 free
Timestamp of tree: Mon, 07 Jul 2014 05:00:01 +0000
ld GNU ld (GNU Binutils) 2.23.2
app-shells/bash:          4.2_p45
dev-java/java-config:     2.2.0
dev-lang/python:          2.7.6, 3.3.3
dev-util/cmake:           2.8.12.2
dev-util/pkgconfig:       0.28-r1
sys-apps/baselayout:      2.2
sys-apps/openrc:          0.12.4::pentoo
sys-apps/sandbox:         2.6-r1
sys-devel/autoconf:       2.69
sys-devel/automake:       1.9.6-r3, 1.11.6, 1.12.6, 1.13.4
sys-devel/binutils:       2.23.2
sys-devel/gcc:            4.7.3-r1
sys-devel/gcc-config:     1.7.3
sys-devel/libtool:        2.4.2
sys-devel/make:           3.82-r4
sys-kernel/linux-headers: 3.13 (virtual/os-headers)
sys-libs/glibc:           2.17
Repositories:

gentoo
    location: /usr/portage
    sync-type: rsync
    sync-uri: rsync://rsync.jp.gentoo.org/gentoo-portage/
    priority: -1000

pentoo
    location: /var/lib/layman/pentoo
    masters: gentoo
    priority: 0

steam-overlay
    location: /var/lib/layman/steam
    masters: gentoo
    priority: 1

local-overlay
    location: /usr/local/portage
    masters: gentoo
    priority: 2

ABI="amd64"
ABI_X86="64"
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA PUEL AdobeFlash-11.x Google-TOS dlj-1.1 google-chrome Oracle-BCLA-JavaSE Intel-SDP skype-4.0.0.7-copyright"
ACCEPT_PROPERTIES="*"
ACCEPT_RESTRICT="*"
ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci"
ANDROID_HOME="/opt/android-sdk-update-manager"
ANDROID_SWT="/usr/share/swt-3.7/lib"
ANT_HOME="/usr/share/ant"
APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias"
ARCH="amd64"
AUTOCLEAN="yes"
BOOTSTRAP_USE="cxx unicode internal-glib python_targets_python3_3 python_targets_python2_7 multilib hardened pax_kernel pic xtpax -jit -orc"
CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author"
CAMERAS="ptp2"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=core2 -mtune=generic -O2 -pipe"
CFLAGS_amd64="-m64"
CFLAGS_x32="-mx32"
CFLAGS_x86="-m32"
CHOST="x86_64-pc-linux-gnu"
CHOST_amd64="x86_64-pc-linux-gnu"
CHOST_x32="x86_64-pc-linux-gnux32"
CHOST_x86="i686-pc-linux-gnu"
CLEAN_DELAY="5"
COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog"
COLLISION_IGNORE="/lib/modules/* *.py[co] *$py.class */dropin.cache"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/maven-bin-3.0/conf"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.5/ext-active/ /etc/php/cgi-php5.5/ext-active/ /etc/php/cli-php5.5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-march=core2 -mtune=generic -O2 -pipe"
DEFAULT_ABI="amd64"
DISPLAY=":0"
DISTDIR="/usr/portage/distfiles"
EDITOR="/usr/bin/mcedit"
ELIBC="glibc"
EMERGE_DEFAULT_OPTS=" --ask-enter-invalid --keep-going=y --binpkg-respect-use=y --tree --verbose --with-bdeps=y --buildpkg-exclude "sys-kernel/compat-drivers sys-kernel/ax88179_178a x11-drivers/ati-drivers x11-drivers/nvidia-drivers sys-fs/zfs-kmod sys-kernel/spl sys-power/bbswitch                    app-emulation/virtualbox-modules app-emulation/vmware-modules app-emulation/open-vm-tools-kmod" --usepkg-exclude "sys-kernel/compat-drivers sys-kernel/ax88179_178a x11-drivers/ati-drivers x11-drivers/nvidia-drivers sys-fs/zfs-kmod sys-kernel/spl sys-power/bbswitch                      app-emulation/virtualbox-modules app-emulation/vmware-modules app-emulation/open-vm-tools-kmod""
EMERGE_WARNING_DELAY="10"
EPREFIX=""
EROOT="/"
FCFLAGS="-O2 -pipe"
Comment 1 Anton Bolshakov 2014-07-07 07:54:17 UTC
I need to explain my point. While I understand that I have to add python3.3 to the single target list, I was wondering why it is not set by default.

My default settings are:
PYTHON_SINGLE_TARGET="python3_3"
PYTHON_TARGETS="python2_7 python3_3"

That's the reason why I can't emerge razercfg package by default
Comment 2 Anton Bolshakov 2014-07-13 04:20:29 UTC
After changing single target, I'm facing a problem with libreoffice now:

  The following REQUIRED_USE flag constraints are unsatisfied:
    exactly-one-of ( python_single_target_python2_7 python_single_target_python3_3 python_single_target_python3_4 )
..
Comment 3 Christian Birchinger (RETIRED) gentoo-dev 2014-10-23 09:55:15 UTC
What about using a per package entry:

In /etc/portage/package.use/misc (or similar):

sys-apps/razercfg python_single_target_python3_3

My whole system is still set to python 2.7. With this
entry it only affects one package. So better than /etc/make.conf
Comment 4 Anton Bolshakov 2014-10-23 11:41:55 UTC
perfect, I didn't know that it is possible to specify system use flags in  package.use directory
Comment 5 Toralf Förster gentoo-dev 2014-11-06 23:02:56 UTC
Hhm, I do have a minimal ~amd64 chroot, where emerging sys-apps/razercfg-0.30 failed too with 


 * No Python implementation selected for the build. Please set
 * the PYTHON_SINGLE_TARGET variable in your make.conf to one
 * of the following values:
 * 
 * python3_2 python3_3


and I'd really thin, that in such a case it should work w/o suer interaction, or ?
Comment 6 Piotr Karasinski 2015-04-24 16:32:55 UTC
This problem is still present in 0.31 and every other package defaults to python3_3 without explicitly setting PYTHON_SINGLE_TARGET, but razercfg fails to emerge.
Comment 7 Pacho Ramos gentoo-dev 2016-06-11 20:40:55 UTC

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