Summary: | dev-util/cmake-3.2.1 breaks games-strategy/megaglest-3.9.1-r1: ../shared_lib/liblibmegaglest.a(gl_wrap.cpp.o): undefined reference to symbol 'XFreeFont' | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Torsten Kaiser <Storklerk> |
Component: | [OLD] Games | Assignee: | Gentoo Games <games> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | ansla80, kensington |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
build.log from failed rebuild
successfull build.log with dev-util/cmake-3.1.0 0001-Fix-build-with-cmake-3.2.patch |
Description
Torsten Kaiser
2015-05-03 13:35:13 UTC
After downgrading dev-util/cmake from 3.2.1 to 3.1.0 megaglest builds again. For comparison I will attach a build.log from the successful build with the older cmake version. Created attachment 402660 [details]
successfull build.log with dev-util/cmake-3.1.0
probably the same issue as with meandmyshadow where the build scripts assume that getting the opengl libs also gets you the x11 libs. (In reply to Mr. Bones. from comment #3) > probably the same issue as with meandmyshadow where the build scripts assume > that getting the opengl libs also gets you the x11 libs. Seems likely, from cmake changelog: * The "FindOpenGL" module no longer explicitly searches for any dependency on X11 libraries with the "FindX11" module. Such dependencies should not need to be explicit. Applications using X11 APIs themselves should find and link to X11 libraries explicitly. Created attachment 403148 [details, diff]
0001-Fix-build-with-cmake-3.2.patch
Patch tested against 3.11.1 OK and filed upstream.
It would be nice to apply to the stable version of megaglest too, as we want to stabilise cmake-3.2 soon.
added to both versions in portage. thanks for the bug report and patch. |