Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 518538 - x11-apps/intel-gpu-tools-1.7 - 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_3 python3_4
Summary: x11-apps/intel-gpu-tools-1.7 - No Python implementation selected for the buil...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Gentoo X packagers
URL:
Whiteboard:
Keywords:
: 518698 (view as bug list)
Depends on:
Blocks:
 
Reported: 2014-07-29 22:56 UTC by Zhu Sha Zang
Modified: 2014-08-04 17:40 UTC (History)
3 users (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 Zhu Sha Zang 2014-07-29 22:56:58 UTC
Each attempt to upgrade to x11-apps/intel-gpu-tools-1.7 from x11-apps/intel-gpu-tools-1.3 fails with an error about PYTHON_SINGLE_TARGET configuration.

Reproducible: Always

Steps to Reproduce:
emerge -u x11-apps/intel-gpu-tools-1.7
Actual Results:  
>>> Emerging (1 of 1) x11-apps/intel-gpu-tools-1.7::gentoo
 * intel-gpu-tools-1.7.tar.bz2 SHA256 SHA512 WHIRLPOOL size ;-) ...                                                                                                                        [ ok ]
 * 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_3 python3_4

 * ERROR: x11-apps/intel-gpu-tools-1.7::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 '=x11-apps/intel-gpu-tools-1.7::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=x11-apps/intel-gpu-tools-1.7::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/x11-apps/intel-gpu-tools-1.7/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/x11-apps/intel-gpu-tools-1.7/temp/die.env'.
 * Working directory: '/usr/lib64/portage/pym'
 * S: '/var/tmp/portage/x11-apps/intel-gpu-tools-1.7/work/intel-gpu-tools-1.7'



Portage 2.2.10 (default/linux/amd64/13.0, gcc-4.8.3, glibc-2.19-r1, 3.15.6-gentoo-asgard x86_64)
=================================================================
System uname: Linux-3.15.6-gentoo-asgard-x86_64-Intel-R-_Core-TM-_i5_CPU_M_460_@_2.53GHz-with-gentoo-2.2
KiB Mem:     3846192 total,    514928 free
KiB Swap:    3036248 total,   2984944 free
Timestamp of tree: Tue, 29 Jul 2014 21:30:01 +0000
ld GNU ld (GNU Binutils) 2.24
app-shells/bash:          4.2_p47
dev-java/java-config:     2.2.0
dev-lang/python:          2.7.7, 3.2.5-r6, 3.3.5-r1, 3.4.1
dev-util/cmake:           2.8.12.2-r1
dev-util/pkgconfig:       0.28-r2
sys-apps/baselayout:      2.2
sys-apps/openrc:          0.12.4
sys-apps/sandbox:         2.6-r1
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.9.6-r3, 1.10.3, 1.11.6, 1.14.1
sys-devel/binutils:       2.24-r3
sys-devel/gcc:            4.8.3
sys-devel/gcc-config:     1.8
sys-devel/libtool:        2.4.2-r1
sys-devel/make:           4.0-r1
sys-kernel/linux-headers: 3.15 (virtual/os-headers)
sys-libs/glibc:           2.19-r1
Repositories: gentoo
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=core2 -mtune=generic -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /var/lib/hsqldb"
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.4/ext-active/ /etc/php/apache2-php5.5/ext-active/ /etc/php/cgi-php5.4/ext-active/ /etc/php/cgi-php5.5/ext-active/ /etc/php/cli-php5.4/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"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--quiet-build=n --keep-going=y --with-bdeps=y"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j2 --load-average"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
USE="256-color R X Xaw3d a52 aalib abyss acl acpi action_modeswitch addbookmarks additions addressbook adiummessagestyle adobe-cff adplug ads airplay alac alisp all_sfx alsa amd64 animation-rtl annotations ao aosd apache2 apbs apng applet asf aspell ass assistant asyncns athena atmo audit auto-hinter autoipd autotrace avahi avatars avcodec avformat avx awn background backgrounds bash-completion bashlogger battery bazaar berkdb bineditor bittorrent bl blender blender-game bookmarks branding bs2b bsf bufferevents bzip2 c++0x cairo call canna canna-2ch caps captcha captchaforms cb chm cjk cli clientinfo cmake collab color compress compressed-lumas connectivity console consolekit contacts context contrast contrib corefonts cracklib creds cron crypt cryptsetup cscope css csv ctype cuda cue curl cvs cxx daap dap dbi dbus dcc_video dds debugger declarative designer designer-plugin desktopglobe detex devhelp device-mapper dhcp dia dirac diskio djvu dmx dnd dns docbook dot dri dts dv dvbplayer dvbsetup dvd dvdr dvi dvi2tty dvipdfm eap ebook ecap edd egl elbeem embedded emf emotion emovix enca enchant encode eolconv epydoc equalizer escreen espeak ethumb eve excel exif expat extensions extra extras faac faad fakevim fam farp farsight fastscroll fbcon ffmpeg filelog firefox firefox-bookmarks flac flash flickr fontconfig fontforge fonts foomaticdb fortran fortran2003 fpx freetds ftp fuse gallium game-engine games gbm gcj gcl gcrypt gd gdbm geocode geoip geonames gflags ggi gif git gkrellm glade glamor gles1 gles2 glew glib gmail gme gmp gnumeric gnuplot go google googledrive gpg gphoto2 gpl gpm gpsd gpssync gpu grammar graphics graphite graphviz gs gsf gsl gsm gsmloc gstreamer gtalk gtk gtk3 gtkhtml gtkspell gtkstyle gts gudev gui gzip gzip-el hbci hddtemp hdri hesiod highlight hipe hires-icons histman history holidays hostip hpcups hpijs hscolour html htmlreport http httpd httppower humanities hwdb ices iconv icoutils icq id3 id3tag ide idn image imaging imap imlib infinality inkjar inotify iostats ipc iplsrc ipod iptc ipv6 ipython irc isag jabber jack jadetex java javascript jbig jemalloc jingle jit joystick jpeg judy justify kasumi kate kde kdrive kerberos keymap kig-scripting kipi konqueror kpoll ladspa lame lapack laptop lash lastfm lastfmfingerprint lastfmradio latex lcms lensfun libass libcaca libcanberra libevent libffi libkms liblockfile libnotify libssh2 libtiger libv4l libv4l2 libvisual listen-queue live lm_sensors lock logrotate lqr lua lua-cairo lua-imlib luajit luatex lv2 lxde lyx lzma lzo m17n-lib mac mad madde madwifi manual map marble math mathml matplotlib matroska matrox mbox md5 md5sum mdnsresponder-compat melt mercurial messages metacontacts metalink metis mfd-rewrites minizip mlib-update mms mmx mmxext mng moc modules mount mouse mozdom mozilla mozsha1 mp3 mp3tunes mp4 mpd mpeg mplayer mrim mule multilib multimedia multiprocess multislot multitarget multiuser musepack music musicbrainz nano-syntax nas nat nat-pmp ncat ncurses ndiff neXt netbeans netlink netpbm nettle network newmousefocus nlpsolver nls nmap-update nntp nominatim notebook nping npp nptl nsplugin nss numpy nut nvcontrol nvidia ocaml ocr odk ofa offensive offlinehelp ofx ogg ogg123 ogm okteta okular omega oniguruma openal openct opencv opendbx openexr openft opengl openid openinventor openipmi openmedia openmp openpgp openrc opensc opensm openssl opensslcrypt openstreetmap opensync openvpn openxml opera optimisememory optimization optimized-qmake orc origin oscar osdmenu osmesa otr ots ovftool p2p pam pango pcap pcntl pda pdf pdfannotextractor pep8 perforce perl pgf phonehome php physfs playdar player playlist playtools plazes plotutils plugin-autowep plugin-btscan plugin-checksum plugin-doat plugin-dot15d4 plugin-fishlim plugin-ptw plugin-spectools plugin-sysinfo plugin-syslog plugins png pnm pogooglue policykit pop portmon posix postgres postproc postscript powersave ppds ppp prediction privacy privacylists private-headers privatestorage profiler profiling pronounce ps psf pstoedit pstricks publishers publishsubscribe pulseaudio pvr pyflakes pygments pylint pyqt4 python python3 pyx qalculate qdbm qimageblitz qmake qml qq qqwry qrcode qscintilla qt3support qt4 quicklaunch quicktime quotes qwt radio raptor rar rcs rdesktop readline realtime recode redeyes registration remotecontrol remoteosd rendering replaygain resolver reviewboard rfc3779 romio rope rostersearch rpc rplay rss rtc rtf rtmp rtsp rubrica samba sasl scale0tilt scanfolder scanner schroedinger science scim scipy script scripts scrobbler sctp sdk sdl sdl-image sdl-sound sdlaudio sdlgfx seamless-hbars secure-delete security semantic-desktop sendto sensord session shared-dricore shine shorten shout sidebar sip skyhook skype slang slit smbclient smbsharemodes smbtav2 smi smime smp sms smtp smux sna sndfile snmp soap socialweb sockets socks5 sound source sourceview sox sparse speex spell sql sqlite sqlite3 sse sse2 sse3 sse4_1 ssh ssl ssse3 stars startup-notification stats stream stroke strong-optimization subversion svg system-sqlite systemtap t1lib taglib talkfilters tcl tcpd tcpreplay tdb tellico templates tex tex4ht texmacs themes theora thesaurus thin-splines threads thunderbird tidy tiff tinfo tint2conf tk toolame toolbar toolkit-scroll-bars tools tor tordns tproxy truetype tslib tta twitgin twitter twolame udev udisks ukit unicode unique upower urlpicpreview urwid usb utils uvm uxa v4l v8 vaapi valgrind vamp vcd vcdx video view-captcha vim vim-pager vim-syntax visual vix vkontakte vlc vlm vmware-tools vnc voice volpack vorbis vpx vtk wallpapers wav waveout wavpack wddx weather-metar weather-xoap webdav-neon webgl webm webp webrtc-aec whiteboarding wifi winbind wineappdb winpopup wireshark wma wma-fixed wmf word-perfect wordperfect wpg wps wxwidgets wyfv x264 x265 xanim xattr xbase xcap xcomposite xdg xetex xface xforward xfs xft xgetdefault xhtml xim xindy xine xinerama xkb xls xml xmldoclet xmlpatterns xmlreader xmlrpc xmlwriter xmp xmpp xmppuriqueries xnest xorg xorgmodule xosd xpm xps xrandr xrender xscreensaver xterm xv xvfb xvid yahoo yahoo-geo yaz youtube ziffy zip zlib zsh-completion zvbi" ABI_X86="64" 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" APACHE2_MODULES="lbmethod_bytraffic cgi actions alias auth_basic auth_digest authn_anon authn_core authn_dbd authn_dbm authn_default authn_file authz_core authz_dbm authz _default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif so speling status unique_id userdir usertrack vhost_alias slotmem_shm unixd socache_shmcb" APACHE2_MPMS="worker" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" CAMERAS="ricoh samsung spca50x" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CURL_SSL="nss" DVB_CARDS="dibusb-usb1 dibusb-usb2 usb-dib0700" ELIBC="glibc" ENLIGHTENMENT_MODULES="access backlight battery clock comp conf-applications conf-dialogs conf-display conf-edgebindings conf-interaction conf-intl conf-keybindings conf-menus conf-paths conf-performance conf-randr conf-shelves conf-theme conf-window-manipulation conf-window-remembers connman cpufreq dropshadow everything fileman fileman-opinfo gadman ibar ibox illume2 mixer msgbus notification pager quickaccess shot start syscon systray tasks temperature tiling winlist wizard xkbswitch" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ublox ubx" GRUB_PLATFORMS="pc" INPUT_DEVICES="keyboard mouse evdev synaptics joystick" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="en" NETBEANS_MODULES="apisupport cnd dlight enterprise ergonomics groovy java mobility profiler websvccommon javacard javafx" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-4" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_2 python3_3" RUBY_TARGETS="ruby19 ruby20 ruby21" SANE_BACKENDS="hp" USERLAND="GNU" VIDEO_CARDS="vesa vga v4l fbdev intel modesetting nvidia" XTABLES_ADDONS="account chaos condition delude dhcpmac fuzzy geoip iface ipmark ipp2p ipv4options length2 logmark lscan pknock psd quota2 rawnat steal sysrq tarpit tee checksum dnetmap echo gradm ipset4"
USE_PYTHON="2.7 3.2 3.3"
Unset:  CPPFLAGS, CTARGET, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, SYNC
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2014-07-30 10:13:49 UTC
Maybe add a line like this?:

REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
Comment 2 Rémi Cardona (RETIRED) gentoo-dev 2014-07-30 20:46:00 UTC
Fixed in portage without a revbump.

@Jeroen, thanks for the pointer.
Comment 3 Alex Xu (Hello71) 2014-07-31 23:14:32 UTC
*** Bug 518698 has been marked as a duplicate of this bug. ***
Comment 4 James Ausmus 2014-07-31 23:22:09 UTC
Still broken for me, even with the REQUIRED_USE line:


# USE="-python" emerge -v intel-gpu-tools

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild  N     ] x11-apps/intel-gpu-tools-1.7  USE="-python" PYTHON_SINGLE_TARGET="-python3_3 -python3_4" PYTHON_TARGETS="python3_3 -python3_4" VIDEO_CARDS="nouveau" 0 kB

Total: 1 package (1 new), Size of downloads: 0 kB


>>> Verifying ebuild manifests

>>> Emerging (1 of 1) x11-apps/intel-gpu-tools-1.7::gentoo
 * intel-gpu-tools-1.7.tar.bz2 SHA256 SHA512 WHIRLPOOL size ;-) ...                                                                                                             [ ok ]
 * 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_3 python3_4

 * ERROR: x11-apps/intel-gpu-tools-1.7::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 '=x11-apps/intel-gpu-tools-1.7::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=x11-apps/intel-gpu-tools-1.7::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/x11-apps/intel-gpu-tools-1.7/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/x11-apps/intel-gpu-tools-1.7/temp/die.env'.
 * Working directory: '/usr/lib64/portage/pym'
 * S: '/var/tmp/portage/x11-apps/intel-gpu-tools-1.7/work/intel-gpu-tools-1.7'
Comment 5 Rémi Cardona (RETIRED) gentoo-dev 2014-08-01 06:29:51 UTC
(In reply to James Ausmus from comment #4)
> Still broken for me, even with the REQUIRED_USE line:

sync again. Portage shouldn't even let you go through the build phase.
Comment 6 James Ausmus 2014-08-01 17:13:10 UTC
(In reply to Rémi Cardona from comment #5)
> (In reply to James Ausmus from comment #4)
> > Still broken for me, even with the REQUIRED_USE line:
> 
> sync again. Portage shouldn't even let you go through the build phase.

Just synced and retried - same results and build output. If I have USE="-python", then I shouldn't have to have PYTHON_SINGLE_TARGET set, right?
Comment 7 Rémi Cardona (RETIRED) gentoo-dev 2014-08-01 22:01:50 UTC
Should be fixed for good this time. Sorry for the trouble.
Comment 8 James Ausmus 2014-08-04 17:27:03 UTC
Yup, working now. Thanks! :)
Comment 9 Zhu Sha Zang 2014-08-04 17:40:16 UTC
Working, thank you.

Best Regards