Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 317581 - python doesn't respect EPYTHON variable, Failed to emerge dev-python/wxpython-2.8.10.1
Summary: python doesn't respect EPYTHON variable, Failed to emerge dev-python/wxpython...
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: x86 Linux
: High major (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-04-28 05:16 UTC by oriol.morell@urv.cat
Modified: 2010-04-28 13:09 UTC (History)
0 users

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 oriol.morell@urv.cat 2010-04-28 05:16:55 UTC
Python has been updated, but cannot emerge wxpython neither django, because it needs wxpython. I have sync, eselect python, revdep-rebuild... but it does not get better.

Reproducible: Always

Steps to Reproduce:
1. emerge -v django
2.
3.
Comment 1 oriol.morell@urv.cat 2010-04-28 05:18:21 UTC
 emerge --info =dev-python/imaging-1.1.7
Portage 2.1.8.3 (default/linux/x86/10.0, gcc-3.4.5, glibc-2.9_p20081201-r2, 2.6.23-gentoo-r8 i686)
=================================================================
                        System Settings
=================================================================
System uname: Linux-2.6.23-gentoo-r8-i686-Intel-R-_Pentium-R-_4_CPU_1.80GHz-with-gentoo-1.12.11.1
Timestamp of tree: Mon, 26 Apr 2010 11:45:01 +0000
ccache version 2.4 [disabled]
app-shells/bash:     4.0_p37
dev-lang/python:     2.4.6, 2.5.4-r4, 2.6.4-r1
dev-python/pycrypto: 2.0.1-r6
dev-util/ccache:     2.4-r7
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.6-r2
sys-devel/autoconf:  2.13, 2.63
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2
sys-devel/binutils:  2.18-r3
sys-devel/gcc:       3.3.6, 3.4.5-r1, 4.1.2, 4.3.2-r3
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   1.4.3-r4, 2.2.6b
virtual/os-headers:  2.6.27-r2
ACCEPT_KEYWORDS="x86"
ACCEPT_LICENSE="* -@EULA"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=pentium4 -O2 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-O2 -march=i686 -pipe"
DISTDIR="/mnt/mirror/gentoo/distfiles"
FEATURES="assume-digests distlocks fixpackages news parallel-fetch protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="http://ftp.snt.utwente.nl/pub/os/linux/gentoo"
LDFLAGS="-Wl,-O1"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="acl apache2 authz_host berkdb bzip2 cli cracklib crypt ctype cxx dri freetype gd gdbm gpm iconv ipv6 jadetex latin1 mod_ssl modules mudflap mysql mysqli ncurses nls nptl nptlonly openmp pam pcre perl pic pppd python quotas readline reflection session spl ssl sysfs syslog tcpd threads truetype unicode vhosts x86 xml xml2 xorg zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="access actions alias asis auth auth_basic authn_file authz_groupfile auth_anon auth_db auth_dbm  auth_digest autoindex cern_meta cgi digest dir env example expires headers imap include info log_agent log_config log_referer mime mime_magic mmap_static negotiation proxy rewrite setenvif speling status unique_id userdir usertrack   vhost_alias authz_host authn_alias authn_anon authn_dbd authn_dbm authn_default authz_dbm authz_default authz_owner authz_user   proxy_http proxy_ftp proxy_ajp proxy_balancer proxy_connect" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="fbdev glint intel mach64 mga neomagic nv r128 radeon savage sis tdfx trident vesa via vmware voodoo" 
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, LINGUAS, MAKEOPTS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY

 emerge -pqv =dev-python/imaging-1.1.7

[ebuild  N    ] dev-python/imaging-1.1.7  USE="-X -doc -examples -scanner -tk" 

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

Comment 2 oriol.morell@urv.cat 2010-04-28 05:20:02 UTC
eselect python list
Available Python interpreters:
  [1]   python2.4
  [2]   python2.5
  [3]   python2.6 *


 emerge -p libtool ; emerge -p portage; equery l python

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

Calculating dependencies... done!
[ebuild   R   ] sys-devel/libtool-2.2.6b 

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


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

Calculating dependencies... done!
[ebuild   R   ] sys-apps/portage-2.1.8.3 

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

[ Searching for package 'python' in all categories among: ]
 * installed packages
[I--] [  ] app-admin/eselect-python-20091230 (0)
[I--] [  ] app-admin/python-updater-0.7-r1 (0)
[I--] [  ] dev-lang/python-2.4.6 (2.4)
[I--] [  ] dev-lang/python-2.5.4-r4 (2.5)
[I--] [  ] dev-lang/python-2.6.4-r1 (2.6)
[I--] [  ] dev-python/python-fchksum-1.7.1 (0)
Comment 3 Arfrever Frehtes Taifersar Arahesis (RETIRED) gentoo-dev 2010-04-28 10:53:57 UTC
Post full error message.
Comment 4 oriol.morell@urv.cat 2010-04-28 11:06:53 UTC
 emerge -p django

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

Calculating dependencies... done!
[ebuild  N    ] dev-python/imaging-1.1.7  USE="-X -doc -examples -scanner -tk" 
[ebuild  N    ] dev-python/setuptools-0.6.10 
[ebuild  N    ] dev-python/mysql-python-1.2.3_rc1 
[ebuild  N    ] dev-python/django-1.1.1  USE="mysql vhosts -bash-completion -doc -examples -postgres -sqlite -test" 

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

================================================================

So, I execute: emerge -v django and the result is:


 * Applying imaging-1.1.7-no-xv.patch ...                                                                                                                                         [ ok ]
 * Applying imaging-1.1.7-sane.patch ...                                                                                                                                          [ ok ]
 * Applying imaging-1.1.7-giftrans.patch ...                                                                                                                                      [ ok ]
 * Applying imaging-1.1.7-missing-math.patch ...                                                                                                                                  [ ok ]
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/dev-python/imaging-1.1.7/work/Imaging-1.1.7 ...
>>> Source configured.
>>> Compiling source in /var/tmp/portage/dev-python/imaging-1.1.7/work/Imaging-1.1.7 ...
 * python:                    '/usr/local/bin/python'
 * ABI:                       ''
 * DEFAULT_ABI:               'default'
 * EPYTHON:                   'python2.6'
 * PYTHON_ABI:                '2.6'
 * Version of enabled Python: '2.5'
 * ERROR: dev-python/imaging-1.1.7 failed:
 *   'python' does not respect EPYTHON variable
 * 
 * Call stack:
 *     ebuild.sh, line   54:  Called src_compile
 *   environment, line 4282:  Called distutils_src_compile
 *   environment, line 1049:  Called python_execute_function 'distutils_building'
 *   environment, line 3104:  Called validate_PYTHON_ABIS
 *   environment, line 4966:  Called _python_final_sanity_checks
 *   environment, line  483:  Called die
 * The specific snippet of code:
 *                   die "'python' does not respect EPYTHON variable";
 * 
 * If you need support, post the output of 'emerge --info =dev-python/imaging-1.1.7',
 * the complete build log and the output of 'emerge -pqv =dev-python/imaging-1.1.7'.
 * The complete build log is located at '/var/tmp/portage/dev-python/imaging-1.1.7/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-python/imaging-1.1.7/temp/environment'.
 * S: '/var/tmp/portage/dev-python/imaging-1.1.7/work/Imaging-1.1.7'

>>> Failed to emerge dev-python/imaging-1.1.7, Log file:

>>>  '/var/tmp/portage/dev-python/imaging-1.1.7/temp/build.log'

 * Messages for package dev-python/imaging-1.1.7:

 * python:                    '/usr/local/bin/python'
 * ABI:                       ''
 * DEFAULT_ABI:               'default'
 * EPYTHON:                   'python2.6'
 * PYTHON_ABI:                '2.6'
 * Version of enabled Python: '2.5'
 * ERROR: dev-python/imaging-1.1.7 failed:
 *   'python' does not respect EPYTHON variable
 * 
 * Call stack:
 *     ebuild.sh, line   54:  Called src_compile
 *   environment, line 4282:  Called distutils_src_compile
 *   environment, line 1049:  Called python_execute_function 'distutils_building'
 *   environment, line 3104:  Called validate_PYTHON_ABIS
 *   environment, line 4966:  Called _python_final_sanity_checks
 *   environment, line  483:  Called die
 * The specific snippet of code:
 *                   die "'python' does not respect EPYTHON variable";
 * 
 * If you need support, post the output of 'emerge --info =dev-python/imaging-1.1.7',
 * the complete build log and the output of 'emerge -pqv =dev-python/imaging-1.1.7'.
 * The complete build log is located at '/var/tmp/portage/dev-python/imaging-1.1.7/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-python/imaging-1.1.7/temp/environment'.
 * S: '/var/tmp/portage/dev-python/imaging-1.1.7/work/Imaging-1.1.7'

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

yeti ~ # 
Comment 5 oriol.morell@urv.cat 2010-04-28 11:08:01 UTC
The same for the package markdown:

 # emerge -v markdown

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


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

Calculating dependencies... done!
[ebuild  N    ] dev-python/markdown-2.0.3  USE="-pygments" 0 kB

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


>>> Verifying ebuild manifests

>>> Emerging (1 of 1) dev-python/markdown-2.0.3
 * Markdown-2.0.3.tar.gz RMD160 SHA1 SHA256 size ;-) ...                                                                                       [ ok ]
 * checking ebuild checksums ;-) ...                                                                                                           [ ok ]
 * checking auxfile checksums ;-) ...                                                                                                          [ ok ]
 * checking miscfile checksums ;-) ...                                                                                                         [ ok ]
 * CPV:  dev-python/markdown-2.0.3
 * REPO: gentoo
 * USE:  elibc_glibc kernel_linux userland_GNU x86
>>> Unpacking source...
>>> Unpacking Markdown-2.0.3.tar.gz to /var/tmp/portage/dev-python/markdown-2.0.3/work
>>> Source unpacked in /var/tmp/portage/dev-python/markdown-2.0.3/work
>>> Preparing source in /var/tmp/portage/dev-python/markdown-2.0.3/work/Markdown-2.0.3 ...
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/dev-python/markdown-2.0.3/work/Markdown-2.0.3 ...
>>> Source configured.
>>> Compiling source in /var/tmp/portage/dev-python/markdown-2.0.3/work/Markdown-2.0.3 ...
 * python:                    '/usr/local/bin/python'
 * ABI:                       ''
 * DEFAULT_ABI:               'default'
 * EPYTHON:                   'python2.6'
 * PYTHON_ABI:                '2.6'
 * Version of enabled Python: '2.5'
 * ERROR: dev-python/markdown-2.0.3 failed:
 *   'python' does not respect EPYTHON variable
 * 
 * Call stack:
 *     ebuild.sh, line   54:  Called src_compile
 *   environment, line 2861:  Called distutils_src_compile
 *   environment, line  733:  Called python_execute_function 'distutils_building'
 *   environment, line 1712:  Called validate_PYTHON_ABIS
 *   environment, line 3330:  Called _python_final_sanity_checks
 *   environment, line  404:  Called die
 * The specific snippet of code:
 *                   die "'python' does not respect EPYTHON variable";
 * 
 * If you need support, post the output of 'emerge --info =dev-python/markdown-2.0.3',
 * the complete build log and the output of 'emerge -pqv =dev-python/markdown-2.0.3'.
 * The complete build log is located at '/var/tmp/portage/dev-python/markdown-2.0.3/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-python/markdown-2.0.3/temp/environment'.
 * S: '/var/tmp/portage/dev-python/markdown-2.0.3/work/Markdown-2.0.3'

>>> Failed to emerge dev-python/markdown-2.0.3, Log file:

>>>  '/var/tmp/portage/dev-python/markdown-2.0.3/temp/build.log'

 * Messages for package dev-python/markdown-2.0.3:

 * python:                    '/usr/local/bin/python'
 * ABI:                       ''
 * DEFAULT_ABI:               'default'
 * EPYTHON:                   'python2.6'
 * PYTHON_ABI:                '2.6'
 * Version of enabled Python: '2.5'
 * ERROR: dev-python/markdown-2.0.3 failed:
 *   'python' does not respect EPYTHON variable
* 
 * Call stack:
 *     ebuild.sh, line   54:  Called src_compile
 *   environment, line 2861:  Called distutils_src_compile
 *   environment, line  733:  Called python_execute_function 'distutils_building'
 *   environment, line 1712:  Called validate_PYTHON_ABIS
 *   environment, line 3330:  Called _python_final_sanity_checks
 *   environment, line  404:  Called die
 * The specific snippet of code:
 *                   die "'python' does not respect EPYTHON variable";
 * 
 * If you need support, post the output of 'emerge --info =dev-python/markdown-2.0.3',
 * the complete build log and the output of 'emerge -pqv =dev-python/markdown-2.0.3'.
 * The complete build log is located at '/var/tmp/portage/dev-python/markdown-2.0.3/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-python/markdown-2.0.3/temp/environment'.
 * S: '/var/tmp/portage/dev-python/markdown-2.0.3/work/Markdown-2.0.3'

 * IMPORTANT: 1 news items need reading for repository 'gentoo'.
 * Use eselect news to read news items.
Comment 6 oriol.morell@urv.cat 2010-04-28 11:09:26 UTC
The same for the package python-dateutil :



emerge -v feedparser

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


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

Calculating dependencies... done!
[ebuild  N    ] dev-python/feedparser-4.1  0 kB

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


>>> Verifying ebuild manifests

>>> Emerging (1 of 1) dev-python/feedparser-4.1
 * feedparser-4.1.zip RMD160 SHA1 SHA256 size ;-) ...                                                                                                                            [ ok ]
 * checking ebuild checksums ;-) ...                                                                                                                                             [ ok ]
 * checking auxfile checksums ;-) ...                                                                                                                                            [ ok ]
 * checking miscfile checksums ;-) ...                                                                                                                                           [ ok ]
 * CPV:  dev-python/feedparser-4.1
 * REPO: gentoo
 * USE:  elibc_glibc kernel_linux userland_GNU x86
>>> Unpacking source...
>>> Unpacking feedparser-4.1.zip to /var/tmp/portage/dev-python/feedparser-4.1/work
>>> Source unpacked in /var/tmp/portage/dev-python/feedparser-4.1/work
>>> Preparing source in /var/tmp/portage/dev-python/feedparser-4.1/work ...
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/dev-python/feedparser-4.1/work ...
>>> Source configured.
>>> Compiling source in /var/tmp/portage/dev-python/feedparser-4.1/work ...
 * python:                    '/usr/local/bin/python'
 * ABI:                       ''
 * DEFAULT_ABI:               'default'
 * EPYTHON:                   'python2.6'
 * PYTHON_ABI:                '2.6'
 * Version of enabled Python: '2.5'
 * ERROR: dev-python/feedparser-4.1 failed:
 *   'python' does not respect EPYTHON variable
 * 
 * Call stack:
 *     ebuild.sh, line   54:  Called src_compile
 *   environment, line 2861:  Called distutils_src_compile
 *   environment, line  733:  Called python_execute_function 'distutils_building'
 *   environment, line 1712:  Called validate_PYTHON_ABIS
 *   environment, line 3329:  Called _python_final_sanity_checks
 *   environment, line  404:  Called die
 * The specific snippet of code:
 *                   die "'python' does not respect EPYTHON variable";
 * 
 * If you need support, post the output of 'emerge --info =dev-python/feedparser-4.1',
 * the complete build log and the output of 'emerge -pqv =dev-python/feedparser-4.1'.
 * The complete build log is located at '/var/tmp/portage/dev-python/feedparser-4.1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-python/feedparser-4.1/temp/environment'.
 * S: '/var/tmp/portage/dev-python/feedparser-4.1/work'

>>> Failed to emerge dev-python/feedparser-4.1, Log file:


>>>  '/var/tmp/portage/dev-python/feedparser-4.1/temp/build.log'

 * Messages for package dev-python/feedparser-4.1:

 * python:                    '/usr/local/bin/python'
 * ABI:                       ''
 * DEFAULT_ABI:               'default'
 * EPYTHON:                   'python2.6'
 * PYTHON_ABI:                '2.6'
 * Version of enabled Python: '2.5'
 * ERROR: dev-python/feedparser-4.1 failed:
 *   'python' does not respect EPYTHON variable
 * 
 * Call stack:
 *     ebuild.sh, line   54:  Called src_compile
 *   environment, line 2861:  Called distutils_src_compile
 *   environment, line  733:  Called python_execute_function 'distutils_building'
 *   environment, line 1712:  Called validate_PYTHON_ABIS
 *   environment, line 3329:  Called _python_final_sanity_checks
 *   environment, line  404:  Called die
 * The specific snippet of code:
 *                   die "'python' does not respect EPYTHON variable";
 * 
 * If you need support, post the output of 'emerge --info =dev-python/feedparser-4.1',
 * the complete build log and the output of 'emerge -pqv =dev-python/feedparser-4.1'.
 * The complete build log is located at '/var/tmp/portage/dev-python/feedparser-4.1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-python/feedparser-4.1/temp/environment'.
 * S: '/var/tmp/portage/dev-python/feedparser-4.1/work'

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

Comment 7 oriol.morell@urv.cat 2010-04-28 11:09:57 UTC
The same for package pytextile and package feedparser
Comment 8 Arfrever Frehtes Taifersar Arahesis (RETIRED) gentoo-dev 2010-04-28 13:09:59 UTC
(In reply to comment #6)
>  * python:                    '/usr/local/bin/python'

You shouldn't have any python in /usr/local.