Building gamescope with glm-0.9.9.8-r1 works fine, however the following error comes up using 1.0.0: FAILED: src/gamescope_color_tests.p/color_tests.cpp.o --cut-- 24 | # error "GLM: GLM_GTX_dual_quaternion is an experimental extension and may change in the future. Use #define GLM_ENABLE_EXPERIMENTAL before including it, if you really want to use it." Similar errors for other extensions also follow. I'm assuming either something chagned in glx-1.0 to make these experimental, or that gamescope uses these when glm-1.0 is detected, but does not set the proper flags. Either way, the simplest solution is probably to make gamescope depend on >glm-1.0.0.0 Reproducible: Always Steps to Reproduce: 1. have glm-1.0.0 installed. 2. attempt to emerge gamescope Actual Results: build fails Expected Results: build completes
Created attachment 883437 [details] emerge --info
Created attachment 883438 [details] build log for gamescope-3.14.0
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=62572ab390fe1f5f0adb10e47831ef24b903c510 commit 62572ab390fe1f5f0adb10e47831ef24b903c510 Author: James Le Cuirot <chewi@gentoo.org> AuthorDate: 2024-01-30 23:26:08 +0000 Commit: James Le Cuirot <chewi@gentoo.org> CommitDate: 2024-01-30 23:26:08 +0000 gui-wm/gamescope: Pin back media-libs/glm dependency to <1.0.0 Closes: https://bugs.gentoo.org/923122 Signed-off-by: James Le Cuirot <chewi@gentoo.org> gui-wm/gamescope/gamescope-3.14.0.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
We should consider keeping such bugs open when, instead of a fix, rather a workaround in the form of an upper version limit is being introduced. Sounds like this error even comes with a suggested fix? > "... Use #define GLM_ENABLE_EXPERIMENTAL before including it, if you really want to use it." Is this being tracked upstream somewhere?
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=61c2598d73a50dfa599882db7d5135117fad7cc4 commit 61c2598d73a50dfa599882db7d5135117fad7cc4 Author: James Le Cuirot <chewi@gentoo.org> AuthorDate: 2024-03-09 21:37:58 +0000 Commit: James Le Cuirot <chewi@gentoo.org> CommitDate: 2024-03-09 21:37:58 +0000 gui-wm/gamescope: Loosen media-libs/glm requirement gamescope defines GLM_ENABLE_EXPERIMENTAL now. Closes: https://bugs.gentoo.org/923122 Signed-off-by: James Le Cuirot <chewi@gentoo.org> gui-wm/gamescope/gamescope-3.14.2.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)