See attached build log.
Created attachment 167354 [details]
Diego, look at bug 239611. Although a patch to address this issue exists in portage, apparently the patch command failed silently. Since you can reproduce this issue, I kindly ask you to investigate it further.
Duping the bug.
*** This bug has been marked as a duplicate of bug 239611 ***