make.globals says to set NOCOLOR to "true" to disable color use, but init.d/functions.sh tests for the value "yes". Easiest fix is to change the comment in make.globals, as portage accepts either. Reproducible: Always Steps to Reproduce: 1. 2. 3.
Changed it to this: ------------------------------------- Index: sbin/functions.sh =================================================================== RCS file: /home/cvsroot/gentoo-src/rc-scripts/sbin/functions.sh,v retrieving revision 1.37 diff -u -r1.37 functions.sh --- sbin/functions.sh 21 May 2003 08:00:55 -0000 1.37 +++ sbin/functions.sh 16 Jul 2003 19:13:15 -0000 @@ -63,6 +63,8 @@ # Check user pref in portage RC_NOCOLOR="$(python -c 'import portage; print portage.settings["NOCOLOR"]' 2> /dev/null)" + [ "${RC_NOCOLOR}" = "true" ] && RC_NOCOLOR="yes" + elif [ -n "${EBUILD}" ] && [ "${*/depend}" != "$*" ] then # We do not want colors or stty to run during emerge depend