Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 321861 - dev-lang/python-2.6.4-r1: not installable with portage <= 2.1.6.13; but portage > 2.1.6.13 needs python 2.6
Summary: dev-lang/python-2.6.4-r1: not installable with portage <= 2.1.6.13; but porta...
Status: RESOLVED WORKSFORME
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: x86 Linux
: High major (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-05-28 17:13 UTC by A. Rohleder
Modified: 2010-05-28 17:17 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 A. Rohleder 2010-05-28 17:13:40 UTC
Profile: default/linux/x86/10.0

I tried to update portage. Portage told me to update python to 2.6 (using 2.5).
I tried to update python (to 2.6) and was not able to because of an ebuild needing python 2.6.


Reproducible: Always

Steps to Reproduce:
1) install and use latest python-2.5 (2.5.4-r4) (python-2.6 not jet installed)  
2) install and use latest portage 2.1.6.13 (the oldest portage version still in the tree that can be installed with python-2.5)

3)try to emerge dev-lang/python 2.6.5-r1 (current stable)
or
3) try to emerge dev-lang/python 2.6.5-r2 (after unmasking)
or 
3) try to emerge sys-apps/portage (any version > 2.1.6.13)

Actual Results:  
Python-2.6 cannot be installed.

Expected Results:  
Python-2.6 should have been installed.

--- Solution ---

Since I found no available python 2.6 version installable with portage <= 2.1.6.13 I patched the stable ebuild of python-2.6 to work correctly. After installing python-2.6 portage emerged.

--- begin python-2.6.4-r1.patch ---
*** python-2.6.4-r1-fixed.ebuild        Fri May 28 18:43:24 2010
--- /usr/portage/dev-lang/python/python-2.6.4-r1.ebuild Thu May 20 23:35:48 2010
***************
*** 57,64 ****
  PROVIDE="virtual/python"

  pkg_setup() {
!       # python_set_active_version ${SLOT}
!       python_pkg_setup

        if use berkdb; then
                ewarn "\"bsddb\" module is out-of-date and no longer maintained inside dev-lang/python. It has"
--- 57,64 ----
  PROVIDE="virtual/python"

  pkg_setup() {
!       python_set_active_version ${SLOT}
!       # python_pkg_setup

        if use berkdb; then
                ewarn "\"bsddb\" module is out-of-date and no longer maintained inside dev-lang/python. It has"
--- end python-2.6.4-r1.patch ---

hope this helps

--- Profile ---

Profile: default/linux/x86/10.0

--- emerge --info ---

Portage 2.1.6.13 (default/linux/x86/10.0, gcc-4.1.2, glibc-2.10.1-r1, 2.6.25-gentoo-r8 i686)
=================================================================
System uname: Linux-2.6.25-gentoo-r8-i686-Intel-R-_Pentium-R-_4_CPU_3.00GHz-with-gentoo-1.12.11.1
Timestamp of tree: Mon, 24 May 2010 04:45:02 +0000
ccache version 2.4 [enabled]
app-shells/bash:     4.0_p37
dev-lang/python:     2.4.6, 2.5.4-r4, 2.6.4-r3
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.65
sys-devel/automake:  1.9.6-r2, 1.10.3, 1.11.1
sys-devel/binutils:  2.18-r3
sys-devel/gcc:       4.1.2, 4.3.4
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6b
virtual/os-headers:  2.6.30-r1
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -mtune=i686 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib/fax /var/spool/fax/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-O2 -mtune=i686 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/ http://mirror.netcologne.de/gentoo/ http://mirror.jamit.de/gentoo/"
LDFLAGS="-Wl,-O1"
MAKEOPTS="-j3"
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"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://fileserv/gentoo-portage"
USE="acl berkdb bzip2 cli cracklib crypt cxx dri fax fortran gdbm gpm iconv modules mudflap ncurses nls nptl nptlonly ntp openmp pam pcre perl pppd python readline reflection session spl ssl sysfs tcpd unicode x86 xml 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="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 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" 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" 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, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Arfrever Frehtes Taifersar Arahesis (RETIRED) gentoo-dev 2010-05-28 17:17:16 UTC
(In reply to comment #0)
> Timestamp of tree: Mon, 24 May 2010 04:45:02 +0000

You failed to synchronize the tree.