emerge locks up at this line, only repeated ^C and ^Z can break me out of it, and using the 'reset' command is needed to get my shell back in order. checking where .elc files should go... Vim: Warning: Output is not to a terminal Reproducible: Always Steps to Reproduce: 1. emerge bash 2. wait for ./configure to reach the line that says: checking where .elc files should go... Actual Results: Vim prints the following warning, portage hangs and locks up my terminal Vim: Warning: Output is not to a terminal Expected Results: successful update of bash merged Portage 2.1.2.2 (default-linux/x86/2006.1, gcc-4.1.1, glibc-2.5-r0, 2.6.20-gentoo-r7 i686) ================================================================= System uname: 2.6.20-gentoo-r7 i686 AMD Athlon(tm) processor Gentoo Base System release 1.12.9 Timestamp of tree: Mon, 07 May 2007 00:50:01 +0000 distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled] dev-java/java-config: 1.3.7, 2.0.31-r5 dev-lang/python: 2.4.3-r4 dev-python/pycrypto: 2.0.1-r5 sys-apps/sandbox: 1.2.17 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.16.1-r3 sys-devel/gcc-config: 1.3.16 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.17-r2 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=athlon-tbird -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/X11/xkb" CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/php/apache1-php5/ext-active/ /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c" CXXFLAGS="-O2 -march=athlon-tbird -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="candy distcc distlocks metadata-transfer parallel-fetch sandbox sfperms strict test userfetch userpriv usersandbox" GENTOO_MIRRORS="ftp://mirror.scarlet-internet.nl/pub/gentoo ftp://mirror.nutsmaas.nl/gentoo/ http://ftp.snt.utwente.nl/pub/os/linux/gentoo ftp://ftp.snt.utwente.nl/pub/os/linux/gentoo" MAKEOPTS="-j1" 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" SYNC="rsync://rsync.nl.gentoo.org/gentoo-portage" USE="3dnow 3dnowext 7zip X acl acpi afs apache2 bash-completion berkdb bzip2 cgi cli colordiff cracklib crypt cups dba dbm dbx dedicated doc erandom fam flatfile fortran ftp gcj gd gdbm gif glsa gnuplot gnutls graphviz gtk gtk2 http hub iconv icp idn imap imlib inifile innodb irc java javascript jikes jpeg lesstif libcaca libedit libg++ libwww ligbda maildir mailwrapper mbox md5sum mime ming mmx mmxext mng motif mpm-worker multiuser mysql mysqli ncurses netboot nfs nls nntp nptl nptlonly offensive ogg openntpd openssh openssl pam pcre pdf perl php png posix postgres prefixaq priority python qt3 qt4 reflection regex ruby session sftp simplexml skey slang smtp sockets spell spl sql ssl startup-notification subversion svg syslog sysvipc szip tcl tcpd test tetex threads tidy tokenizer tos truetype unicode vim vim-pager vim-syntax watchdog x86 xhtml xml zip zlib zsh-completion" 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 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 ati chips cirrus cyrix dummy fbdev glint i128 i740 i810 imstt mga neomagic nsc nv rendition s3 s3virge savage siliconmotion sis sisusb tdfx tga trident tseng v4l vesa vga via vmware voodoo" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
(In reply to comment #0) > Actual Results: > Vim prints the following warning, portage hangs and locks up my terminal > > Vim: Warning: Output is not to a terminal What does vim exactly have in common w/ emerge bash??? Attach the complete log here: MAKEOPTS="-j1" emerge =bash-3.2_p15-r1 &> emerge.log
Created attachment 118402 [details] emerge.log emerge.log attached. I also have no idea what Vim is doing there, but the problem is very repeatable.
Hmmm...
a little poking around yielded the following: ai@tbird4# cat /usr/bin/emacs #!/bin/sh wall I am an idiot exec vi This is quite obviously the cause.
roflmao