Making emerge -Davu --keep-going world after a list of packages to be upgraded (not all the one that are really new, just a group of them! I tried manually and for instance flightgear is in world and if I do emerge flightgear it pgrades it, but with the command before it does not propose flightgear in list!) I get: Total: 4 packages (4 upgrades), Size of downloads: 0 kB Traceback (most recent call last): File "/usr/bin/emerge", line 42, in <module> retval = emerge_main() File "/usr/lib/portage/pym/_emerge/main.py", line 1555, in emerge_main myopts, myaction, myfiles, spinner) File "/usr/lib/portage/pym/_emerge/actions.py", line 309, in action_build mydepgraph.display_problems() File "/usr/lib/portage/pym/_emerge/depgraph.py", line 4842, in display_problems self._display_problems() File "/usr/lib/portage/pym/_emerge/depgraph.py", line 4954, in _display_problems mreasons = get_masking_status(pkg, pkgsettings, root_config) File "/usr/lib/portage/pym/_emerge/depgraph.py", line 5701, in get_masking_status portdb=root_config.trees["porttree"].dbapi) File "/usr/lib/portage/pym/portage/proxy/objectproxy.py", line 32, in __call__ return result(*args, **kwargs) File "/usr/lib/portage/pym/portage/package/ebuild/getmaskingstatus.py", line 22, in getmaskingstatus if not isinstance(mycpv, basestring): NameError: global name 'basestring' is not defined here my emerge --info: Portage 2.2_rc64 (default/linux/x86/10.0/desktop, gcc-4.4.3, glibc-2.11-r1, 2.6.33-gentoo i686) ================================================================= System uname: Linux-2.6.33-gentoo-i686-Intel-R-_Core-TM-2_Duo_CPU_T7700_@_2.40GHz-with-gentoo-2.0.1 Timestamp of tree: Thu, 04 Mar 2010 06:00:01 +0000 ccache version 2.4 [enabled] app-shells/bash: 4.1_p2 dev-java/java-config: 2.1.10 dev-lang/python: 2.4.6, 2.5.4-r4, 2.6.4-r1, 3.1.1-r1 dev-util/ccache: 2.4-r8 dev-util/cmake: 2.8.0-r2 sys-apps/baselayout: 2.0.1 sys-apps/openrc: 0.6.0-r1 sys-apps/sandbox: 2.2 sys-devel/autoconf: 2.13, 2.65 sys-devel/automake: 1.8.5-r3, 1.9.6-r2, 1.10.3, 1.11.1 sys-devel/binutils: 2.20-r1 sys-devel/gcc: 4.2.4-r1, 4.3.4, 4.4.3 sys-devel/gcc-config: 1.4.1 sys-devel/libtool: 2.2.6b virtual/os-headers: 2.6.32 ACCEPT_KEYWORDS="x86 ~x86" ACCEPT_LICENSE="*" CBUILD="i686-pc-linux-gnu" CFLAGS="-march=native -O2 -pipe -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/lib/fax /usr/share/X11/xkb /usr/share/config /var/lib/hsqldb /var/spool/fax/etc" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/eselect/postgresql /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /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/splash /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c" CXXFLAGS="-march=native -O2 -pipe -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="assume-digests ccache distlocks fixpackages news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch" GENTOO_MIRRORS=" http://mirror.ovh.net/gentoo-distfiles/ http://ftp.heanet.ie/pub/gentoo/ http://mirror.ovh.net/gentoo-distfiles/ http://www.die.unipd.it/pub/Linux/distributions/gentoo-sources/ rsync://rsync3.it.gentoo.org/gentoo-sources/ ftp://ftp.unina.it/pub/linux/distributions/gentoo/" LANG="it_IT" LC_ALL="it_IT" LDFLAGS="-Wl,-O1" LINGUAS="it en" 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/portage/local/layman/voyageur /usr/portage/local/layman/armagetron /usr/portage/local/layman/sunrise /usr/portage/local/layman/trauma /usr/portage/local/layman/zugaina /usr/portage/local/layman/rion /usr/portage/local/manual" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="3ds X a52 aac acl acpi aiglx akode alias alsa amr ao apache apm audiofile autoreplace avi bash-completion berkdb bitmap-fonts bluetooth bmp branding browserplugin bzip bzip2 cairo cdaudio cdr cli connectionstatus consolekit contactnotes cracklib crypt cups cxx dbus dialup djvu dri dts dv dvd dvdr dvdread ebook eds emboss encode ethereal evo exif fam fat ffmpeg firefox flac fluidsynth foomaticdb fortran freetds gdbm gif glib glitz gphoto2 gpm gps gpu groupwise gstreamer gtk gtk2 hal highlight history hvm i8x0 iconv ieee1394 imagemagick innodb ipod ipv6 irc ithreads jack java javascript jingle jpeg jpeg2k kde kerberos kqemu lame laptop ldap libnotify lm_sensors lucene m4a mad mdnsresponder-compat midi mikmod mime mmx mmxext mng modules moonlight mozilla mp3 mp4 mpeg mpeg2 mplayer mssql mudflap mysql ncurses netmeeting nls nowlistening npt1 nptl nptlonly nsplugin ntfs nvidia odbc ogg openexr opengl openipmi openmp oss pam pcmcia pcre pda pdf perl pmu png portaudio postgres ppds pppd prelude python python3 qt qt3support qt4 quicktime rar raw rdesktop rdp readline reflection reiserfs samba sametime sdl semantic-desktop session smp sms speex spell spl sse sse2 ssl startup-notification subtitles svg sysfs tcpd texteffect texteffects theora thunar tidy tiff timidity translator truetype truetype-fonts twolame type1-fonts unicode usb utempter v4l v4l2 vcd virtualbox vorbis webkit webpresence wifi win32codecs winpopup wlm wmf wxwindows x264 x86 xcb xen xine xml xorg xulrunner xv xvid xvmc yahoo zeroconf zlib" ALSA_CARDS="snd_hda_intel" 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" CAMERAS="canon" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev joystick synaptics wacom" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="it en" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="nvidia nv vesa" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS Reproducible: Always Steps to Reproduce: 1. emerge -Davu --keep-going world 2. I get a not complete list of packages to be upgraded 3. it stops with promt after the error below Actual Results: I cannot use emerge -Davu world command and I have to use emerge nameofthepackage Expected Results: no error
Same with 2.1.8 now # emerge -uvpDN world These are the packages that would be merged, in order: Calculating dependencies... done! Traceback (most recent call last): File "/usr/bin/emerge", line 42, in <module> retval = emerge_main() File "/usr/lib64/portage/pym/_emerge/main.py", line 1410, in emerge_main myopts, myaction, myfiles, spinner) File "/usr/lib64/portage/pym/_emerge/actions.py", line 285, in action_build mydepgraph.display_problems() File "/usr/lib64/portage/pym/_emerge/depgraph.py", line 4850, in display_problems self._show_unsatisfied_dep(*pargs, **kwargs) File "/usr/lib64/portage/pym/_emerge/depgraph.py", line 2157, in _show_unsatisfied_dep pkgsettings, db, pkg_type, built, installed, db_keys) File "/usr/lib64/portage/pym/_emerge/depgraph.py", line 5624, in get_mask_info mreasons = get_masking_status(pkg, pkgsettings, root_config) File "/usr/lib64/portage/pym/_emerge/depgraph.py", line 5701, in get_masking_status portdb=root_config.trees["porttree"].dbapi) File "/usr/lib64/portage/pym/portage/proxy/objectproxy.py", line 32, in __call__ return result(*args, **kwargs) File "/usr/lib64/portage/pym/portage/package/ebuild/getmaskingstatus.py", line 22, in getmaskingstatus if not isinstance(mycpv, basestring): NameError: global name 'basestring' is not defined # equery l portage * Searching for portage ... [IP-] [ ] sys-apps/portage-2.1.8:0
FYI: portage-2.1.8 1. USE='-python3' emerge portage # emerge -uvpDN world These are the packages that would be merged, in order: Calculating dependencies... done! emerge: there are no ebuilds built with USE flags to satisfy ">=dev-db/sqlite-3.6.22-r2[fts3,secure-delete]". !!! One of the following packages is required to complete your request: - dev-db/sqlite-3.6.22-r2 (Change USE: +secure-delete) (dependency required by "www-client/mozilla-firefox-3.6-r4" [ebuild]) (dependency required by "world" [argument]) 2. USE='python3' emerge portage issue from comment #1
Created attachment 222025 [details, diff] define basestring for python3 Save as /tmp/basestring.patch and apply as follows: cd /usr/lib/portage patch -p0 < /tmp/basestring.patch
*** Bug 307741 has been marked as a duplicate of this bug. ***
This is fixed in 2.1.8.1 and 2.2_rc65.