I just updated to 2.1.3_rc1 on two different machines. They both bomb on every emerge like this (it seems to be independent of the package emerged): >>> Original instance of package unmerged safely. * If you don't have a makewhatis cronjob, then you * should update the whatis database yourself: * # makewhatis -u >>> sys-apps/man-pages-2.56 merged. >>> No packages selected for removal by clean >>> Auto-cleaning packages... >>> No outdated packages were found on your system. * GNU info directory index is up-to-date. ==================================== Error in portage_exec.run_exitfuncs File "/usr/lib64/portage/pym/portage_exec.py", line 84, in run_exitfuncs func(*targs, **kargs) File "/usr/bin/emerge", line 5523, in emergeexit xtermTitleReset() File "/usr/lib64/portage/pym/output.py", line 205, in xtermTitleReset fdpipes={0:sys.stdin.fileno(),1:sys.stderr.fileno(), spawn() got an unexpected keyword argument 'fdpipes' ==================================== Error in atexit._run_exitfuncs: Traceback (most recent call last): File "/usr/lib64/python2.4/atexit.py", line 24, in _run_exitfuncs func(*targs, **kargs) File "/usr/lib64/portage/pym/portage_exec.py", line 84, in run_exitfuncs func(*targs, **kargs) File "/usr/bin/emerge", line 5523, in emergeexit xtermTitleReset() File "/usr/lib64/portage/pym/output.py", line 205, in xtermTitleReset fdpipes={0:sys.stdin.fileno(),1:sys.stderr.fileno(), TypeError: spawn() got an unexpected keyword argument 'fdpipes' Error in sys.exitfunc: Traceback (most recent call last): File "/usr/lib64/python2.4/atexit.py", line 24, in _run_exitfuncs func(*targs, **kargs) File "/usr/lib64/portage/pym/portage_exec.py", line 84, in run_exitfuncs func(*targs, **kargs) File "/usr/bin/emerge", line 5523, in emergeexit xtermTitleReset() File "/usr/lib64/portage/pym/output.py", line 205, in xtermTitleReset fdpipes={0:sys.stdin.fileno(),1:sys.stderr.fileno(), TypeError: spawn() got an unexpected keyword argument 'fdpipes' emerge --info bombs in a similar way: # emerge --info Portage 2.1.3_rc1 (default-linux/amd64/2006.1/desktop, gcc-4.1.2, glibc-2.5-r3, 2.6.21.5 x86_64) ================================================================= System uname: 2.6.21.5 x86_64 Dual-Core AMD Opteron(tm) Processor 2218 Gentoo Base System release 1.12.10 Timestamp of tree: Fri, 15 Jun 2007 09:20:02 +0000 dev-lang/python: 2.4.4-r4 dev-python/pycrypto: 2.0.1-r5 sys-apps/sandbox: 1.2.18.1 sys-devel/autoconf: 2.13, 2.61 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10 sys-devel/binutils: 2.17 sys-devel/gcc-config: 1.3.16 sys-devel/libtool: 1.5.23b virtual/os-headers: 2.6.21 ACCEPT_KEYWORDS="amd64 ~amd64" AUTOCLEAN="yes" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-O2 -pipe -fomit-frame-pointer -march=opteron" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc" CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/terminfo" CXXFLAGS="-O2 -pipe -fomit-frame-pointer -march=opteron" DISTDIR="/usr/portage/distfiles" FEATURES="distlocks metadata-transfer parallel-fetch sandbox sfperms strict unmerge-orphans userprivi" GENTOO_MIRRORS="http://pandemonium.tiscali.de/pub/gentoo/ http://mirrors.sec.informatik.tu-darmstadt.de/gentoo/ http://gentoo.mirror.solnet.ch" LANG="en_US.utf8" LC_ALL="en_US.utf8" MAKEOPTS="-j5" PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync5.de.gentoo.org/gentoo-portage" USE="alsa amd64 animgif apache2 arts bash-completion berkdb bitmap-fonts bzip2 cairo cdr cli cracklib crypt dbus dri dvd dvdr eds emboss encode esd fam firefox fortran gdbm gif gpm gstreamer gtk2 hal iconv ipv6 isdnlog jpeg kde libg++ mad midi mikmod mp3 mudflap ncurses nls nptl nptlonly ogg openmp oss pam pcre perl png ppds pppd python qt3 qt4 quicktime readline reflection sdl session spell spl ssl tcpd truetype truetype-fonts type1-fonts unicode vorbis xml xorg xpm xv zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci 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 mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="apm ark chips cirrus cyrix dummy fbdev glint i128 i810 mach64 mga neomagic nv r128 radeon rendition s3 s3virge savage siliconmotion sis sisusb tdfx tga trident tseng v4l vesa vga via vmware voodoo" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS ==================================== Error in portage_exec.run_exitfuncs File "/usr/lib64/portage/pym/portage_exec.py", line 84, in run_exitfuncs func(*targs, **kargs) File "/usr/bin/emerge", line 5523, in emergeexit xtermTitleReset() File "/usr/lib64/portage/pym/output.py", line 205, in xtermTitleReset fdpipes={0:sys.stdin.fileno(),1:sys.stderr.fileno(), spawn() got an unexpected keyword argument 'fdpipes' ==================================== Error in atexit._run_exitfuncs: Traceback (most recent call last): File "/usr/lib64/python2.4/atexit.py", line 24, in _run_exitfuncs func(*targs, **kargs) File "/usr/lib64/portage/pym/portage_exec.py", line 84, in run_exitfuncs func(*targs, **kargs) File "/usr/bin/emerge", line 5523, in emergeexit xtermTitleReset() File "/usr/lib64/portage/pym/output.py", line 205, in xtermTitleReset fdpipes={0:sys.stdin.fileno(),1:sys.stderr.fileno(), TypeError: spawn() got an unexpected keyword argument 'fdpipes' Error in sys.exitfunc: Traceback (most recent call last): File "/usr/lib64/python2.4/atexit.py", line 24, in _run_exitfuncs func(*targs, **kargs) File "/usr/lib64/portage/pym/portage_exec.py", line 84, in run_exitfuncs func(*targs, **kargs) File "/usr/bin/emerge", line 5523, in emergeexit xtermTitleReset() File "/usr/lib64/portage/pym/output.py", line 205, in xtermTitleReset fdpipes={0:sys.stdin.fileno(),1:sys.stderr.fileno(), TypeError: spawn() got an unexpected keyword argument 'fdpipes' # As it seems to only affect restoring the exterm title after actually doing the merging, this may seem low-priority. It's nasty, nevertheless.
Thanks, this is fixed in 2.1.3_rc2. I thought I had tested this case but apparently I didn't have PROMPT_COMMAND exported. This fixes it: sed -i "s/fdpipes=/fd_pipes=/" /usr/lib/portage/pym/output.py
Yup, just installed rc2, works fine for me. Thanks.
*** Bug 182161 has been marked as a duplicate of this bug. ***