Summary: | media-libs/libcaca w/ media-libs/freeglut built with OpenGL_GL_PREFERENCE=GLVND: configure: error: cannot find OpenGL+FreeGLUT development files | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | cyrillic <cyrilmaley> |
Component: | Current packages | Assignee: | Gentoo Media-video project <media-video> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | chicago, davydm, gongfan193, ionen, mail, sam, urcindalo |
Priority: | Normal | Keywords: | PATCH |
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 721006 | ||
Attachments: |
config.log
build.log Patch to allow compilation with new glut |
Description
cyrillic
2021-02-28 23:55:18 UTC
Created attachment 688785 [details]
config.log
Created attachment 688788 [details]
build.log
Works fine if glut.pc just requests -lGL as well, it just can't be used on its own but doesn't advertise it, so I can't blame libcaca here. Crudely removing the AC_CHECK_LIB checks for glutCloseFunc/glutMainLoopEvent/glutCheckLoop worked for me with libcaca, but I don't know the implications on runtime. Looking at other packages testing -lglut, seems most of them just manually toss their own -lGL in either way. Not that I tested them all, I'm sure there's another one failing somewhere. ftgl's glut.m4 for instance fails a first test (seen in config.log with just -lglut) then tries again with -lGL and detects it fine If not widespread, maybe(?) a workaround here makes sense. I'm all for better -lOpenGL support either way. *** Bug 773928 has been marked as a duplicate of this bug. *** Created attachment 689172 [details, diff]
Patch to allow compilation with new glut
*** Bug 783489 has been marked as a duplicate of this bug. *** I've tried adding this patch to /etc/portage/patches/media-libs/libcaca-0.99_beta19-r1 in a file called `configure.ac.patch` but I don't see it being applied (and, of course, pre-compilation tests still fail). Any guidance or assistance would be greatly appreciated. Anyone having issues with this should just need to rebuild freeglut, then libcaca should build without patches. emerge -1 freeglut The cause was reverted but freeglut wasn't revbumped so it lingers on people's systems. thanks, rebuilding freeglut has solved the problem The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=107f6d3889a9e5e50fd039355491b9e58b5c95b2 commit 107f6d3889a9e5e50fd039355491b9e58b5c95b2 Author: Matt Turner <mattst88@gentoo.org> AuthorDate: 2021-05-03 22:33:36 +0000 Commit: Matt Turner <mattst88@gentoo.org> CommitDate: 2021-05-03 22:35:45 +0000 media-libs/freeglut: Revbump Closes: https://bugs.gentoo.org/773478 Signed-off-by: Matt Turner <mattst88@gentoo.org> media-libs/freeglut/{freeglut-3.2.1.ebuild => freeglut-3.2.1-r1.ebuild} | 0 1 file changed, 0 insertions(+), 0 deletions(-) |