Otherwise app-text/libetonyek-0.1.10-r2 fails to compile because of missing headers.
It already has glm in DEPEND which should be the right place. Please show the full build.log and emerge --info. (Please also mention you're doing ROOT= for these bugs.)
Created attachment 901885 [details] Failed build log for app-text/libetonyek-0.1.10-r2
Could you grab /tmp/portage/app-text/libetonyek-0.1.10-r2/work/libetonyek-0.1.10/config.log too? Also, this log doesn't look right? It's missing the econf arguments.
Created attachment 901893 [details] app-text/libetonyek-0.1.10-r2/work/libetonyek-0.1.10/config.log
Please provide the full build log. You appear to have cut out a large chunk in the middle.
The build logs where copied from the build dir. Many package seems to have a problem with SYSROOT=$ROOT. This is of them. Unset SYSROOT and it'll build without needing headers the host (which is odd since the opposite must happen).
(In reply to dE from comment #6) I see, it looks like you are running emerge --quiet, which reduces the output in the build log. It would be nicer if you could run emerge --verbose for better log output when reporting bugs.
To use SYSROOT this way, you need a toolchain that is configured to look for headers and libraries in SYSROOT instead of /. Setting the SYSROOT variable isn't enough.
Thanks for clarifying that. I'll work on this.