Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 512702 - IndexError: tuple index out of range in _solve_non_slot_operator_slot_conflicts
Summary: IndexError: tuple index out of range in _solve_non_slot_operator_slot_conflicts
Status: RESOLVED DUPLICATE of bug 510270
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Core - Dependencies (show other bugs)
Hardware: MIPS Linux
: Normal normal (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-06-08 04:36 UTC by Joshua Kinard
Modified: 2014-06-08 11:07 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 Joshua Kinard gentoo-dev 2014-06-08 04:36:53 UTC
So I managed to get Linux booting on my SGI Octane again, and am trying to carefully update the ancient, ~2009-era userland to something more modern.  I started with Portage-2.1, Python-2.5.x, gcc-4.3.3, and glibc-2.9_p20081201-r2.

So far, I have updated to Portage-2.2.10 on Python-2.6.9 and just got gcc-4.8.2 merged.  But trying to update glibc-2.9_p20081201-r2 to glibc-2.19 is producing the below traceback:

# emerge -uD =sys-libs/glibc-2.19
/usr/lib/portage/pym/portage/_global_updates.py:121: DeprecationWarning: portage.dbapi.porttree.portdbapi.porttree_root is deprecated in favor of portage.repository.config.RepoConfig.location (available as repositories[repo_name].location attribute of instances of portage.dbapi.porttree.portdbapi class)
  master_repo = portdb.getRepositoryName(portdb.porttree_root)
/usr/lib/portage/pym/portage/news.py:64: DeprecationWarning: portage.dbapi.porttree.portdbapi.porttree_root is deprecated in favor of portage.repository.config.RepoConfig.location (available as repositories[repo_name].location attribute of instances of portage.dbapi.porttree.portdbapi class)
  portdir = portdb.porttree_root
Calculating dependencies -/usr/lib/portage/pym/_emerge/FakeVartree.py:302: DeprecationWarning: portage.dbapi.porttree.portdbapi.porttree_root is deprecated in favor of portage.repository.config.RepoConfig.location (available as repositories[repo_name].location attribute of instances of portage.dbapi.porttree.portdbapi class)
  master_repo = portdb.getRepositoryName(portdb.porttree_root)                                                                                                                                   ... done!
Traceback (most recent call last):
  File "/usr/bin/emerge", line 50, in <module>
    retval = emerge_main()
  File "/usr/lib/portage/pym/_emerge/main.py", line 1037, in emerge_main
    return run_action(emerge_config)
  File "/usr/lib/portage/pym/_emerge/actions.py", line 4061, in run_action
    emerge_config.args, spinner)
  File "/usr/lib/portage/pym/_emerge/actions.py", line 320, in action_build
    settings, trees, myopts, myparams, myaction, myfiles, spinner)
  File "/usr/lib/portage/pym/_emerge/depgraph.py", line 8403, in backtrack_depgraph
    myaction, myfiles, spinner)
  File "/usr/lib/portage/pym/_emerge/depgraph.py", line 8435, in _backtrack_depgraph
    success, favorites = mydepgraph.select_files(myfiles)
  File "/usr/lib/portage/pym/_emerge/depgraph.py", line 3093, in select_files
    return self._select_files(args)
  File "/usr/lib/portage/pym/_emerge/depgraph.py", line 3429, in _select_files
    return self._resolve(myfavorites)
  File "/usr/lib/portage/pym/_emerge/depgraph.py", line 3584, in _resolve
    self.altlist()
  File "/usr/lib/portage/pym/_emerge/depgraph.py", line 6229, in altlist
    self._resolve_conflicts()
  File "/usr/lib/portage/pym/_emerge/depgraph.py", line 6356, in _resolve_conflicts
    self._process_slot_conflicts()
  File "/usr/lib/portage/pym/_emerge/depgraph.py", line 1212, in _process_slot_conflicts
    self._solve_non_slot_operator_slot_conflicts()
  File "/usr/lib/portage/pym/_emerge/depgraph.py", line 1130, in _solve_non_slot_operator_slot_conflicts
    forced.add(nodes[0])
IndexError: tuple index out of range

I've tried several variations, but it looks like I have to bypass dependency calculation w/ --nodeps for now.  I don't know how reproducible this one is.  Let me know if any more specific info is needed.



emerge --info:
/usr/lib/portage/pym/_emerge/actions.py:1583: DeprecationWarning: portage.dbapi.porttree.portdbapi.porttree_root is deprecated in favor of portage.repository.config.RepoConfig.location (available as repositories[repo_name].location attribute of instances of portage.dbapi.porttree.portdbapi class)
  main_repo = portdb.getRepositoryName(portdb.porttree_root)
Portage 2.2.10 (default/linux/mips/13.0, gcc-4.8.2, glibc-2.9_p20081201-r2, 3.14.5-mipsgit-20140415 mips64)
=================================================================
System uname: Linux-3.14.5-mipsgit-20140415-mips64-R14000_V2.4_FPU_V0.0-with-gentoo-2.0.1
KiB Mem:     1783876 total,    842900 free
KiB Swap:    1349448 total,   1349448 free
Timestamp of tree: Thu, 05 Jun 2014 08:00:01 +0000
ld GNU ld (GNU Binutils) 2.23.2
distcc 3.1 mips-unknown-linux-gnu [disabled]
app-shells/bash:          4.2_p47
dev-lang/python:          2.4.4-r4, 2.5.4-r2, 2.6.9, 2.7.6-r1
dev-util/cmake:           2.4.7-r1
dev-util/pkgconfig:       0.28-r1
sys-apps/baselayout:      2.0.1
sys-apps/openrc:          0.4.3-r2
sys-apps/sandbox:         2.6-r1
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.4_p6-r1, 1.5-r1, 1.6.3-r1, 1.7.9-r2, 1.8.5-r4, 1.9.6-r3, 1.10.3, 1.14.1
sys-devel/binutils:       2.23.2
sys-devel/gcc:            4.1.2, 4.3.3, 4.8.2
sys-devel/gcc-config:     1.8
sys-devel/libtool:        2.2.6a
sys-devel/make:           4.0-r1
sys-kernel/linux-headers: 2.6.27-r2 (virtual/os-headers)
sys-libs/glibc:           2.9_p20081201-r2
Repositories: gentoo
ACCEPT_KEYWORDS="mips ~mips"
ACCEPT_LICENSE="* -@EULA"
CBUILD="mips-unknown-linux-gnu"
CFLAGS="-O2 -march=r10000 -mtune=r10000 -pipe -fomit-frame-pointer -ftracer -fforce-addr"
CHOST="mips-unknown-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/init.d /etc/pam.d /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-O2 -march=r10000 -mtune=r10000 -pipe -fomit-frame-pointer -ftracer -fforce-addr"
DISTDIR="/usr/portage/distfiles"
FCFLAGS=""
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sfperms unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync"
FFLAGS=""
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LDFLAGS=""
MAKEOPTS="-j1"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/usr/obj"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
USE="acl berkdb bzip2 cli cracklib crypt cxx gdbm ip30 ipv6 mips modules ncurses nls nptl nptlonly pam pcre perl pppd python readline ssl tcpd unicode userlocales zlib" ALSA_CARDS="au1x00" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd 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" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" 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 ublox ubx" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_3" RUBY_TARGETS="ruby19 ruby20" USERLAND="GNU" VIDEO_CARDS="dummy fbdev impact newport v4l" 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, INSTALL_MASK, LANG, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON
Comment 1 Sebastian Luther (few) 2014-06-08 11:07:26 UTC

*** This bug has been marked as a duplicate of bug 510270 ***