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

Bug 512964

Summary: sys-apps/pyrenamer-0.6.0-r1 USE_PYTHON variable contains invalid value '3.4'
Product: Gentoo Linux Reporter: tman <cornicx>
Component: [OLD] Core systemAssignee: Markos Chandras (RETIRED) <hwoarang>
Status: RESOLVED FIXED    
Severity: normal CC: python
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 455102    

Description tman 2014-06-11 13:03:28 UTC
the problem is it does not use corectly python:

this is my make.conf global:


RUBY_TARGETS="ruby19 ruby21"
PYTHON_TARGETS="python2_7 python3_3 python3_4"
USE_PYTHON="2.7 3.3 3.4"





 * IMPORTANT: 1 news items need reading for repository 'gentoo'.
 * Use eselect news to read news items.

Calculating dependencies... done!

>>> Verifying ebuild manifests

>>> Emerging (1 of 1) sys-apps/pyrenamer-0.6.0-r1::gentoo
 * pyrenamer-0.6.0.tar.gz SHA256 SHA512 WHIRLPOOL size ;-) ...                                                                                                                                                                          [ ok ]
 * ERROR: sys-apps/pyrenamer-0.6.0-r1::gentoo failed (setup phase):
 *   USE_PYTHON variable contains invalid value '3.4'
 * 
 * Call stack:
 *                   ebuild.sh, line  93:  Called pkg_setup
 *   pyrenamer-0.6.0-r1.ebuild, line  26:  Called python_pkg_setup
 *               python.eclass, line 430:  Called _python_calculate_PYTHON_ABIS
 *               python.eclass, line 775:  Called die
 * The specific snippet of code:
 *   					die "USE_PYTHON variable contains invalid value '${PYTHON_ABI}'"
 * 
 * If you need support, post the output of `emerge --info '=sys-apps/pyrenamer-0.6.0-r1::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=sys-apps/pyrenamer-0.6.0-r1::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/sys-apps/pyrenamer-0.6.0-r1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/sys-apps/pyrenamer-0.6.0-r1/temp/die.env'.
 * Working directory: '/usr/lib64/portage/pym'
 * S: '/var/tmp/portage/sys-apps/pyrenamer-0.6.0-r1/work/pyrenamer-0.6.0'

>>> Failed to emerge sys-apps/pyrenamer-0.6.0-r1, Log file:

>>>  '/var/tmp/portage/sys-apps/pyrenamer-0.6.0-r1/temp/build.log'

 * Messages for package sys-apps/pyrenamer-0.6.0-r1:

 * ERROR: sys-apps/pyrenamer-0.6.0-r1::gentoo failed (setup phase):
 *   USE_PYTHON variable contains invalid value '3.4'
 * 


Reproducible: Always




Portage 2.2.10 (default/linux/amd64/13.0/desktop, gcc-4.8.2, glibc-2.19, 3.15.0-gentoo x86_64)
=================================================================
System uname: Linux-3.15.0-gentoo-x86_64-Intel-R-_Core-TM-_i7-3740QM_CPU_@_2.70GHz-with-gentoo-2.2
KiB Mem:    24627364 total,  14503092 free
KiB Swap:   25598972 total,  25598972 free
Timestamp of tree: Wed, 11 Jun 2014 06:00:01 +0000
ld GNU ld (Gentoo 2.24 p1.4) 2.24
app-shells/bash:          4.2_p47
dev-java/java-config:     2.2.0
dev-lang/python:          2.7.6-r1, 3.3.5, 3.4.0
dev-util/cmake:           2.8.12.2-r1
dev-util/pkgconfig:       0.28-r1
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.11.6, 1.14.1
sys-devel/binutils:       2.24-r3
sys-devel/gcc:            4.8.2
sys-devel/gcc-config:     1.8
sys-devel/libtool:        2.4.2-r1
sys-devel/make:           4.0-r1
sys-kernel/linux-headers: 3.14 (virtual/os-headers)
sys-libs/glibc:           2.19
Repositories: gentoo bitcoin steam-overlay bumblebee printer-drivers lokal
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=corei7 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /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.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=corei7 -O2 -pipe"
DISTDIR="/mnt/portage/distfiles"
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"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="de_DE.UTF-8"
LC_ALL=""
Comment 1 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2014-06-11 14:50:52 UTC
USE_PYTHON=3.4 is invalid. You aren't supposed to set things like that :).

Anyway, I'm going to commit new revision of pyrenamer that uses the new eclasses. I'm already done with all its deps.
Comment 2 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2014-06-11 17:55:51 UTC
*pyrenamer-0.6.0-r2 (11 Jun 2014)

  11 Jun 2014; Michał Górny <mgorny@gentoo.org> +pyrenamer-0.6.0-r2.ebuild:
  Convert to python-single-r1.