Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 362007 - dev-lang/python-2.6.5-r3: readline patch fails to apply
Summary: dev-lang/python-2.6.5-r3: readline patch fails to apply
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: Prefix Support (show other bugs)
Hardware: All All
: Normal normal
Assignee: Gentoo Prefix
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-04-05 01:55 UTC by Timothy Miller
Modified: 2011-04-05 14:20 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
patch.out (python-2.6.5-readline-prefix.patch.out,2.92 KB, text/plain)
2011-04-05 01:57 UTC, Timothy Miller
Details
build log (build.log,2.75 KB, text/plain)
2011-04-05 01:58 UTC, Timothy Miller
Details
environment (environment,223.17 KB, text/plain)
2011-04-05 01:59 UTC, Timothy Miller
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Timothy Miller 2011-04-05 01:55:56 UTC
* Failed Patch: python-2.6.5-readline-prefix.patch !
 *  ( /Users/millerti/Gentoo/usr/portage/dev-lang/python/files/python-2.6.5-readline-prefix.patch )
 * 
 * Include in your bugreport the contents of:
 * 
 *   /Users/millerti/Gentoo/var/tmp/portage/dev-lang/python-2.6.5-r3/temp/python-2.6.5-readline-prefix.patch.out
 * ERROR: dev-lang/python-2.6.5-r3 failed (prepare phase):
 *   Failed Patch: python-2.6.5-readline-prefix.patch!
 * 
 * Call stack:
 *     ebuild.sh, line   62:  Called src_prepare
 *   environment, line 5691:  Called epatch '/Users/millerti/Gentoo/usr/portage/dev-lang/python/files/python-2.6.5-readline-prefix.patch'
 *   environment, line 2329:  Called die
 * The specific snippet of code:
 *               die "Failed Patch: ${patchname}!";
 * 
 * If you need support, post the output of 'emerge --info =dev-lang/python-2.6.5-r3',
 * the complete build log and the output of 'emerge -pqv =dev-lang/python-2.6.5-r3'.
 * The complete build log is located at '/Users/millerti/Gentoo/var/tmp/portage/dev-lang/python-2.6.5-r3/temp/build.log'.
 * The ebuild environment file is located at '/Users/millerti/Gentoo/var/tmp/portage/dev-lang/python-2.6.5-r3/temp/environment'.
 * S: '/Users/millerti/Gentoo/var/tmp/portage/dev-lang/python-2.6.5-r3/work/Python-2.6.5'


Reproducible: Always




$ emerge --info
Portage 2.2.01.18213-prefix (prefix/darwin/macos/10.6/x64, gcc-4.2.1, unavailable, 10.7.3 x86_64)
=================================================================
System uname: Darwin-10.7.3-x86_64-i386-64bit
Timestamp of tree: Tue, 05 Apr 2011 01:40:00 +0000
distcc 3.1-toolwhip.1 i386-apple-darwin10.0 [disabled]
app-shells/bash:     4.1_p7
dev-lang/python:     2.6.5-r2, 2.7.1-r1
sys-devel/autoconf:  2.68
sys-devel/automake:  1.11.1
sys-devel/gcc-config: 1.4.1-r00.2
sys-devel/libtool:   2.4-r1
sys-devel/make:      3.82
Repositories: gentoo_prefix
Installed sets: 
ACCEPT_KEYWORDS="~x64-macos"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-apple-darwin10"
CFLAGS="-O2 -pipe -ggdb -march=core2 -ggdb"
CHOST="x86_64-apple-darwin10"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/gconf /etc/portage /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-O2 -pipe -ggdb -march=core2 -ggdb"
DISTDIR="/Users/millerti/Gentoo/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--jobs=3"
FEATURES="assume-digests binpkg-logs collision-protect distlocks fixlafiles fixpackages news nostrip parallel-fetch preserve-libs protect-owned sfperms splitdebug strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS=""
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-dead_strip_dylibs"
LINGUAS="en en_US"
MAKEOPTS="--jobs=3"
PKGDIR="/Users/millerti/Gentoo/usr/portage/packages"
PORTAGE_CONFIGROOT="/Users/millerti/Gentoo/"
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="/Users/millerti/Gentoo/var/tmp"
PORTDIR="/Users/millerti/Gentoo/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.prefix.freens.org/gentoo-portage-prefix"
USE="aqua coreaudio cracklib cxx ithreads jpeg mmx mmxext modules ncurses nls nptl objc objc++ pdf png prefix qt4 readline sse sse2 ssl threads tiff unicode x64-macos zlib" APACHE2_MODULES="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" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="Darwin" 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 ubx" INPUT_DEVICES="keyboard mouse" KERNEL="Darwin" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en en_US" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" USERLAND="GNU" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" 
Unset:  CPPFLAGS, CTARGET, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Timothy Miller 2011-04-05 01:57:37 UTC
Created attachment 268537 [details]
patch.out
Comment 2 Timothy Miller 2011-04-05 01:58:13 UTC
[ebuild     U ] dev-lang/python-2.6.5-r3 [2.6.5-r2] USE="aqua ncurses readline ssl threads (wide-unicode) xml (-berkdb) -build -doc -examples -gdbm -ipv6 -sqlite -tk -wininst"
Comment 3 Timothy Miller 2011-04-05 01:58:43 UTC
Created attachment 268539 [details]
build log
Comment 4 Timothy Miller 2011-04-05 01:59:20 UTC
Created attachment 268541 [details]
environment
Comment 5 Fabian Groffen gentoo-dev 2011-04-05 07:21:36 UTC
Is there any reason you use python-2.6.5?  Or do you just still have it installed, and does portage try to upgrade it here?
Comment 6 Timothy Miller 2011-04-05 13:16:08 UTC
It was selected by eselect.  Also, when I did an update, portage told me to run "emerge @preserved-rebuild", and when I did that, I got the error I reported.  I used eselect to choose Python 2.7 and did a depclean, and now, 2.6.5 has been removed, so the error is gone.

I never used eselect to choose a python version, so I don't know why it latched onto 2.6.5.
Comment 7 Fabian Groffen gentoo-dev 2011-04-05 13:19:19 UTC
Thanks for your explanation.

The upgrade code that does select the active interpreter is somewhat buggy.  If you don't need 2.6, I'll close this bug as wontfix, as 2.6 is scheduled for removal soon.
Comment 8 Jeremy Olexa (darkside) (RETIRED) archtester gentoo-dev Security 2011-04-05 13:55:05 UTC
(In reply to comment #7)
> Thanks for your explanation.
> 
> The upgrade code that does select the active interpreter is somewhat buggy.  If
> you don't need 2.6, I'll close this bug as wontfix, as 2.6 is scheduled for
> removal soon.

Best mask it sooner than later as this is a general problem for everyone that tries to build 2.6
Comment 9 Fabian Groffen gentoo-dev 2011-04-05 14:20:07 UTC
I tried fixing a couple of patches, but it turned out setup.py got a complete rewrite.  Since I announced the removal of python:2.6 anyway, I've done it 2 minutes ago.