Created attachment 471612 [details] build log The title says it all.
Same error for me.
Fixed in git by chiitoo. https://gitweb.gentoo.org/proj/qt.git/commit/?id=d73da08732b764d5067cda4154c9a6735feab44c