You neglected to post emerge --info output, no idea about which portage version are you talking then.
In output.py, the following is defined: def ctext(color,text): return codes[ctext]+text+codes["reset"] This most certainly should be: def ctext(color,text): return codes[color]+text+codes["reset"] Reproducible: Always Steps to Reproduce: Try running this code from python: import output msg = output.ctext("yellow","Testing text") Actual Results: It throws an error saying that 'yellow' is not in 'codes' list. Expected Results: It should look up a color code and color the text based on color submitted....