| Summary: | media-libs/glm-0.9.9.6 breaks "find_package(glm REQUIRED)" in CMake | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Craig Andrews <candrews> |
| Component: | Current packages | Assignee: | Tupone Alfredo <tupone> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | candrews, till2.schaefer |
| Priority: | Normal | ||
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | Linux | ||
| See Also: |
https://github.com/g-truc/glm/issues/947 https://bugs.gentoo.org/show_bug.cgi?id=717004 |
||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
*** Bug 698810 has been marked as a duplicate of this bug. *** The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=752fa45e66e9f949f62ba9bec05ef4691269c97c commit 752fa45e66e9f949f62ba9bec05ef4691269c97c Author: Tupone Alfredo <tupone@gentoo.org> AuthorDate: 2019-10-29 21:22:04 +0000 Commit: Tupone Alfredo <tupone@gentoo.org> CommitDate: 2019-10-29 21:22:04 +0000 media-libs/glm: revert to cmake install Closes: https://bugs.gentoo.org/695648 Package-Manager: Portage-2.3.76, Repoman-2.3.16 Signed-off-by: Alfredo Tupone <tupone@gentoo.org> media-libs/glm/Manifest | 1 + media-libs/glm/files/glm.pc.in | 7 ------- .../{glm-0.9.9.6.ebuild => glm-0.9.9.6-r1.ebuild} | 23 ++++++---------------- 3 files changed, 7 insertions(+), 24 deletions(-) |
With media-libs/glm-0.9.9.5, I can `media-libs/kodi-visualization-waveform` successfully. With media-libs/glm-0.9.9.6, I can `media-libs/kodi-visualization-waveform` not; emerge fails with: --- CMake Error at CMakeLists.txt:34 (find_package): By not providing "Findglm.cmake" in CMAKE_MODULE_PATH this project has asked CMake to find a package configuration file provided by "glm", but CMake did not find one. Could not find a package configuration file provided by "glm" with any of the following names: glmConfig.cmake glm-config.cmake Add the installation prefix of "glm" to CMAKE_PREFIX_PATH or set "glm_DIR" to a directory containing one of the above files. If "glm" provides a separate development package or SDK, be sure it has been installed. --- For reference, here's the cmake file: https://github.com/xbmc/visualization.waveform/blob/3.0.2-Leia/CMakeLists.txt#L34 I can see there is a difference between the cmake files installed with these versions. With media-libs/glm-0.9.9.5: $ equery files glm | grep -i cmake /usr/include/glm/CMakeLists.txt /usr/lib64/cmake /usr/lib64/cmake/glm /usr/lib64/cmake/glm/glmConfig.cmake /usr/lib64/cmake/glm/glmConfigVersion.cmake /usr/lib64/cmake/glm/glmTargets.cmake With media-libs/glm-0.9.9.6: $ equery files glm | grep -i cmake /usr/include/glm/CMakeLists.txt Reproducible: Always