Created attachment 387590 [details] build log Was the victim of bug 489118, which appeared after a half-hour or so of compiling. Applied the patch suggested, and now the compile fails right away. :(
Created attachment 387592 [details] emerge -p --info
sdlmame-0.167 is in the tree so file a new bug if you have issues building that version.