[...] >>> Source unpacked. imake -DUseInstalled -I/usr/X11R6/lib/X11/config /usr/X11R6/lib/X11/config/linux.cf:323: warning: "BuildLibGlxWithoutPIC" redefined bison -y -d gram.y gram.y:423.17: syntax error, unexpected "|" make: *** [gram.c] Error 1 !!! ERROR: x11-wm/ctwm-3.6-r1 failed. !!! Function src_compile, Line 28, Exitcode 2 !!! (no error message) Reproducible: Always Steps to Reproduce: 1. Emerge current version of ctwm, 3.6-r1 Actual Results: Emerge exits. Expected Results: Successfully emerged ctwm and the other packages that were part of the command. The version of ctwm I was trying to upgrade from is 3.6. Portage 2.0.49-r20 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r9, 2.6.2) ================================================================= System uname: 2.6.2 i686 Intel(R) Celeron(R) CPU 2.00GHz Gentoo Base System version 1.4.3.10 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-O3 -march=pentium3 -funroll-loops -pipe" CHOST="i686-pc-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" CXXFLAGS="-O3 -march=pentium3 -funroll-loops -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache sandbox" GENTOO_MIRRORS="http://gentoo.oregonstate.edu http://www.ibiblio.org/pub/Linux/distributions/gentoo" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage" USE="X aalib alsa apm avi berkdb cdr crypt cups doc encode esd foomaticdb gdbm gif gnome gpm gtk gtk2 guile imlib java jpeg libg++ libwww mad mikmod mmx motif mozilla mpeg mysql ncurses nls oggvorbis opengl oss pam pdflib perl png python quicktime readline sdl slang spell ssl svga tcltk tcpd tetex truetype x86 xml2 xmms xv zlib"
What's the version of bison you have?
I have bison 1.875.
Right. I confirmed the problem. I committed a fix for it to Portage. Please run `emerge sync` and emerge ctwm again. Thanks for reporting.