Created attachment 452838 [details] emerge --info '=dev-util/electron-0.37.8::gentoo' The same patch as in https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c72212dd should do it.
Created attachment 452840 [details] emerge -pqv '=dev-util/electron-0.37.8::gentoo'
Created attachment 452842 [details] build log
Created attachment 453074 [details, diff] Patch adapted from chromium The patch for chromium fails to directly apply, probably version differences. I trimmed it to the following, which allows electron to build successfully.
Fixed in https://github.com/gentoo/gentoo/pull/2835