I get the error below when I emerge app-text/libetonyek-0.1.9 (stable on amd64): checking glm/glm.hpp usability... no checking glm/glm.hpp presence... yes configure: WARNING: glm/glm.hpp: present but cannot be compiled configure: WARNING: glm/glm.hpp: check for missing prerequisite headers? configure: WARNING: glm/glm.hpp: see the Autoconf documentation configure: WARNING: glm/glm.hpp: section "Present But Cannot Be Compiled" configure: WARNING: glm/glm.hpp: proceeding with the compiler's result checking for glm/glm.hpp... no configure: error: Required glm headers not found. Output of emerge -pqv '=app-text/libetonyek-0.1.9::gentoo': [ebuild U ] app-text/libetonyek-0.1.9 [0.1.8] USE="-doc -static-libs -test" Investigating...
1) I tried to reinstall media-libs/glm-0.9.8.5-r1. That failed with errors like: /var/tmp/portage/media-libs/glm-0.9.8.5-r1/work/glm-0.9.8.5/glm/detail/type_vec4_simd.inl:156:11: error: ‘struct glm::tvec4<float, (glm::precision)5>’ has no member named ‘data’ I switched to GCC 7.4.0-r1 last week. Could it be related to that switch? 2) I upgraded to media-libs/glm-0.9.9.2. No problems or errors. 3) After that, 'emerge libetonyek' ran without problems. Proposed solution: upgrade to media-libs/glm-0.9.9.2.
That's probably Bug 673966
Hm, this didn't come up in testing by myself nor arch stabilisation...
I can confirm that there is a problem in the ebuild of media-libs/glm-0.9.8.5-r1 and that it IS related to GCC 7.4. I proposed a solution in Bug 673966.
I'll consider this fixed then.