Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 694774 - media-libs/freeglut-3.2.0 installs /usr/lib/cmake/FreeGLUT/FreeGLUTTargets-gentoo.cmake with ABI-specific content
Summary: media-libs/freeglut-3.2.0 installs /usr/lib/cmake/FreeGLUT/FreeGLUTTargets-ge...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All All
: Normal normal (vote)
Assignee: Gentoo X packagers
URL: https://sourceforge.net/p/freeglut/bu...
Whiteboard:
Keywords:
Depends on: 694756 694758 694760 694822 694824 694830 694836 694912
Blocks:
  Show dependency tree
 
Reported: 2019-09-18 00:12 UTC by Arfrever Frehtes Taifersar Arahesis
Modified: 2019-09-29 21:31 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 Arfrever Frehtes Taifersar Arahesis 2019-09-18 00:12:42 UTC
media-libs/freeglut-3.2.0 with ABI_X86="32 64":

...
--- /usr/lib/
--- /usr/lib/cmake/
>>> /usr/lib/cmake/FreeGLUT/
>>> /usr/lib/cmake/FreeGLUT/FreeGLUTConfig.cmake
>>> /usr/lib/cmake/FreeGLUT/FreeGLUTConfigVersion.cmake
>>> /usr/lib/cmake/FreeGLUT/FreeGLUTTargets-gentoo.cmake
>>> /usr/lib/cmake/FreeGLUT/FreeGLUTTargets.cmake
--- /usr/lib32/
>>> /usr/lib32/libglut.so -> libglut.so.3
>>> /usr/lib32/libglut.so.3 -> libglut.so.3.10.0
>>> /usr/lib32/libglut.so.3.10.0
--- /usr/lib32/pkgconfig/
>>> /usr/lib32/pkgconfig/glut.pc
--- /usr/lib64/
>>> /usr/lib64/libglut.so -> libglut.so.3
>>> /usr/lib64/libglut.so.3 -> libglut.so.3.10.0
>>> /usr/lib64/libglut.so.3.10.0
--- /usr/lib64/pkgconfig/
>>> /usr/lib64/pkgconfig/glut.pc
...

/usr/lib/cmake/FreeGLUT/* files contain ABI-specific content:

# grep -r lib64 /usr/lib/cmake/FreeGLUT
/usr/lib/cmake/FreeGLUT/FreeGLUTTargets-gentoo.cmake:  IMPORTED_LOCATION_GENTOO "${_IMPORT_PREFIX}/lib64/libglut.so.3.10.0"
/usr/lib/cmake/FreeGLUT/FreeGLUTTargets-gentoo.cmake:list(APPEND _IMPORT_CHECK_FILES_FOR_FreeGLUT::freeglut "${_IMPORT_PREFIX}/lib64/libglut.so.3.10.0" )

This means that correct location for this directory would be "/usr/lib64/cmake/FreeGLUT" instead of "/usr/lib/cmake/FreeGLUT".
Comment 1 Arfrever Frehtes Taifersar Arahesis 2019-09-18 00:42:51 UTC
By the way, unrelated problem is that /usr/include/GL/glut.h is not installed:
https://sourceforge.net/p/freeglut/bugs/250/


Upstream renamed freeglut.pc to glut.pc which might break some reverse dependencies...
https://sourceforge.net/p/freeglut/code/1793/
Comment 2 Larry the Git Cow gentoo-dev 2019-09-18 20:25:58 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8c3fa77be32d2812a5c26588d5a8230af2171107

commit 8c3fa77be32d2812a5c26588d5a8230af2171107
Author:     Matt Turner <mattst88@gentoo.org>
AuthorDate: 2019-09-18 20:25:28 +0000
Commit:     Matt Turner <mattst88@gentoo.org>
CommitDate: 2019-09-18 20:25:28 +0000

    profiles: mask >=media-libs/freeglut-3.2.0
    
    Bug: https://bugs.gentoo.org/694774
    Signed-off-by: Matt Turner <mattst88@gentoo.org>

 profiles/package.mask | 4 ++++
 1 file changed, 4 insertions(+)
Comment 3 Matt Turner gentoo-dev 2019-09-18 20:28:43 UTC
(In reply to Arfrever Frehtes Taifersar Arahesis from comment #1)
> Upstream renamed freeglut.pc to glut.pc which might break some reverse
> dependencies...
> https://sourceforge.net/p/freeglut/code/1793/

Looks like that shouldn't affect us, except on Win32, right? Or am I misreading the diff.
Comment 4 Larry the Git Cow gentoo-dev 2019-09-29 21:31:20 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cb4e0fff8ee47621a4cbbb3f905a3ff63ae316c0

commit cb4e0fff8ee47621a4cbbb3f905a3ff63ae316c0
Author:     Matt Turner <mattst88@gentoo.org>
AuthorDate: 2019-09-29 21:10:18 +0000
Commit:     Matt Turner <mattst88@gentoo.org>
CommitDate: 2019-09-29 21:31:10 +0000

    media-libs/freeglut: Version bump to 3.2.1
    
    Closes: https://bugs.gentoo.org/694774
    Signed-off-by: Matt Turner <mattst88@gentoo.org>

 media-libs/freeglut/Manifest                                        | 2 +-
 .../freeglut/{freeglut-3.2.0.ebuild => freeglut-3.2.1.ebuild}       | 6 ++++++
 profiles/package.mask                                               | 4 ----
 3 files changed, 7 insertions(+), 5 deletions(-)