Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 678260

Summary: app-text/libetonyek-0.1.9 - configure error: Required glm headers not found.
Product: Gentoo Linux Reporter: Michael Hofmann <bugs>
Component: Current packagesAssignee: Gentoo Office Team <office>
Status: RESOLVED FIXED    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on: 673966    
Bug Blocks:    

Description Michael Hofmann 2019-02-17 23:39:04 UTC
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...
Comment 1 Michael Hofmann 2019-02-17 23:55:05 UTC
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.
Comment 2 Michael Hofmann 2019-02-17 23:58:48 UTC
That's probably Bug 673966
Comment 3 Andreas Sturmlechner gentoo-dev 2019-02-18 07:36:38 UTC
Hm, this didn't come up in testing by myself nor arch stabilisation...
Comment 4 Michael Hofmann 2019-02-18 13:46:26 UTC
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.
Comment 5 Andreas Sturmlechner gentoo-dev 2019-07-24 18:25:11 UTC
I'll consider this fixed then.