As per summary, check attached build log.
Created attachment 194572 [details]
Created attachment 196469 [details, diff]
patch for ebuild to fix problem
I could build it with this patch applied to the ebuild.
Thank you very much for the suggested fix. I've
added this as a patch to the ebuild.