On Fri, 27 Dec 2019 23:14:46 +0100 Andreas Beckmann <a...@debian.org> wrote: > Package: casparcg-server > Version: 2.2.0+dfsg-2 > Severity: serious > Tags: ftbfs > Justification: fails to build from source > > Hi, > > casparcg-server FTBFS in a current sid pbuilder environment: > > CMake Error at CMakeModules/FindGLFW.cmake:150 (message): > xf86vmode library not found - required for GLFW > Call Stack (most recent call first): > CMakeModules/Bootstrap_Linux.cmake:44 (FIND_PACKAGE) > CMakeLists.txt:18 (INCLUDE) >
What is odd however is that GLFW is not actually used or linked to the final binaries, only a subset of X libraries are. I've tried to clean it up a bit, but it seems to me that many cmake stanzas are quite bogus. And for example, instead of including a custom GLFW module, an upstream one could be used with find_package(glfw3 REQUIRED) for example. Anyway, I hacked up something that works, albeit looks ugly. Regards, Dimitri.