Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 300671 - dev-lang/python fails to build with Portage <2.1.7
Summary: dev-lang/python fails to build with Portage <2.1.7
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Python Gentoo Team
URL:
Whiteboard:
Keywords:
: 300673 (view as bug list)
Depends on:
Blocks:
 
Reported: 2010-01-12 08:14 UTC by Ruediger Spielmann
Modified: 2010-01-12 13:52 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 Ruediger Spielmann 2010-01-12 08:14:26 UTC
Error while executing pkg_setup in ebuild when updating from version 2.5 to 2.6

Reproducible: Always

Steps to Reproduce:
1.emerge -vu1 python
2.USE="-berkdb" emerge -vu1 python

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

Calculating dependencies... done!
[ebuild  NS   ] dev-lang/python-2.6.4 [2.5.4-r3] USE="gdbm ipv6 ncurses readline ssl threads (wide-unicode) xml -berkdb -build -doc -examples -sqlite -tk -wininst" 0 kB                                                                        

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


>>> Verifying ebuild manifests

>>> Emerging (1 of 1) dev-lang/python-2.6.4
 * python-gentoo-patches-2.6.4.tar.bz2 RMD160 SHA1 SHA256 size ;-) ...                                           [ ok ]
 * Python-2.6.4.tar.bz2 RMD160 SHA1 SHA256 size ;-) ...                                                          [ ok ]
 * checking ebuild checksums ;-) ...                                                                             [ ok ]
 * checking auxfile checksums ;-) ...                                                                            [ ok ]
 * checking miscfile checksums ;-) ...                                                                           [ ok ]
 *
 * ERROR: dev-lang/python-2.6.4 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called pkg_setup
 *     python-2.6.4.ebuild, line   68:  Called has_version '=dev-lang/python-3*'
 *               ebuild.sh, line  183:  Called die
 * The specific snippet of code:
 *                      die "unexpected portageq exit code: ${retval}"
 *  The die message:
 *   unexpected portageq exit code: 127
 *
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/var/tmp/portage/dev-lang/python-2.6.4/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-lang/python-2.6.4/temp/die.env'.


Expected Results:  
Installs v2.6.4 correctly

Portage 2.1.6.13 (default/linux/amd64/10.0, gcc-4.1.2, glibc-2.10.1-r1, 2.6.27-gentoo-r8 x86_64)   
=================================================================                                  
System uname: Linux-2.6.27-gentoo-r8-x86_64-Intel-R-_Pentium-R-_4_CPU_3.20GHz-with-glibc2.2.5      
Timestamp of tree: Tue, 12 Jan 2010 06:00:01 +0000                                                 
distcc 3.0 x86_64-pc-linux-gnu [disabled]                                                          
ccache version 2.4 [disabled]                                                                      
app-shells/bash:     4.0_p35                                                                       
dev-lang/python:     2.5.4-r3                                                                      
dev-util/ccache:     2.4-r7                                                                        
sys-apps/baselayout: 1.12.11.1                                                                     
sys-apps/sandbox:    1.6-r2                                                                        
sys-devel/autoconf:  2.63-r1                                                                       
sys-devel/automake:  1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2                                          
sys-devel/binutils:  2.18-r3                                                                       
sys-devel/gcc-config: 1.4.1                                                                        
sys-devel/libtool:   2.2.6b                                                                        
virtual/os-headers:  2.6.27-r2                                                                     
ACCEPT_KEYWORDS="amd64"                                                                            
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=nocona -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/sandbox.d /etc/splash /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-march=nocona -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="                ftp://ftp.wh2.tu-dresden.de/pub/mirrors/gentoo/                 ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo/               ftp://linux.rz.ruhr-uni-bochum.de/gentoo-mirror/                ftp://ftp.uni-erlangen.de/pub/mirrors/gentoo/           ftp://ftp.join.uni-muenster.de/pub/linux/distributions/gentoo/         ftp://ftp6.uni-muenster.de/pub/linux/distributions/gentoo                ftp://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/             ftp://pandemonium.tiscali.de/pub/gentoo/                ftp://gentoo.inode.at/source/           ftp://ftp.gentoo.mesh-solutions.com/gentoo/             ftp://cudlug.cudenver.edu/pub/mirrors/distributions/gentoo/            ftp://gentoo.mirrors.pair.com/"
LANG="de_DE.UTF-8"
LC_ALL="de_DE.UTF-8"
LDFLAGS="-Wl,-O1"
LINGUAS="de"
MAKEOPTS="-j1"
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.gentoo.org/gentoo-portage"
USE="7zip aalib acl acpi amd64 ati bash-completion bcmath berkdb bzip2 bzlib cdr cli cracklib crypt cups cxx dbus dga dio directfb dri dvd dvdr dvdread encode evo exif fbcon fortran gb gd gdbm gif gmp gpm hal iconv ipv6 jbig jikes jpeg jpeg2k lcms ldap lm_sensors mime mmx mmxext mng modules mpi mudflap multilib ncurses nls nptl nptlonly offensive openmp pam pcre perl png ppds pppd python readline recode reflection samba session slp snmp spl sse sse2 ssl symlink sysfs szip tcpd threads tiff truetype udev unicode usb utf8 vcd xml xml2 xmlrpc xorg xpm zlib" 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="actions alias auth_basic auth_digest authn_anon authn_dbd authn_dbm authn_default authn_file 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" ELIBC="glibc" INPUT_DEVICES="keyboard mouse joystick" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="de" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="radeon vesa fbdev"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 1 Patrick Lauer gentoo-dev 2010-01-12 10:14:52 UTC
*** Bug 300673 has been marked as a duplicate of this bug. ***
Comment 2 Arfrever Frehtes Taifersar Arahesis (RETIRED) gentoo-dev 2010-01-12 10:24:28 UTC

*** This bug has been marked as a duplicate of bug 300579 ***
Comment 3 Arfrever Frehtes Taifersar Arahesis (RETIRED) gentoo-dev 2010-01-12 10:26:23 UTC
Actually it's a different problem.
Comment 4 Arfrever Frehtes Taifersar Arahesis (RETIRED) gentoo-dev 2010-01-12 13:52:47 UTC
It's a bug in Portage <2.1.7 (which improperly handles EPYTHON variable), but unfortunately Portage 2.1.6.13 is needed for upgrade path for old systems, so I have added a workaround in dev-lang/python ebuilds.