Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 695648 - media-libs/glm-0.9.9.6 breaks "find_package(glm REQUIRED)" in CMake
Summary: media-libs/glm-0.9.9.6 breaks "find_package(glm REQUIRED)" in CMake
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Tupone Alfredo
URL:
Whiteboard:
Keywords:
: 698810 (view as bug list)
Depends on:
Blocks:
 
Reported: 2019-09-25 20:59 UTC by Craig Andrews
Modified: 2020-04-11 02:51 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Craig Andrews gentoo-dev 2019-09-25 20:59:30 UTC
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
Comment 1 Craig Andrews gentoo-dev 2019-10-29 12:51:52 UTC
*** Bug 698810 has been marked as a duplicate of this bug. ***
Comment 2 Larry the Git Cow gentoo-dev 2019-10-29 21:22:19 UTC
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(-)