This is an auto-filed bug because sys-apps/nawk fails to compile. The issue was originally discovered on amd64, but it may be reproducible on other arches as well. If you think that a different summary clarifies the issue better, feel free to change it. Attached build log and emerge --info. NOTE: If you need further logs, feel free to ask.
Created attachment 642180 [details] build.log build log and emerge --info
The problem is YACC being empty, the ebuild depends on virtual/yacc and there is a YACC=$(type -p yacc), so don't you have a yacc binary?