This bug was triggered by the libglm-dev package being updated to an alpha
version of glm 0.9.9 a2. I believe this was done to fix an issue compiling
with GCC 7.3 present in the current release 0.9.8.5. While it's relatively
trivial for me to add the extra define to get it to get my software to
compile, this version of GLM also includes a major change of behavior by
removing the default initialization of vector, matrix and quaternion types.
In the case of gource and logstalgia, there is quite a bit of code relying
on the previous behavior so this has created a number of uninitialized
value bugs. Any other software using libglm-dev that depends on this
behavior will have the same issue.

I've raised a bug with the upstream regarding this change:
https://github.com/g-truc/glm/issues/735

IMO the best solution is for libglm-dev to continue to package the current
release 0.9.8.5 but apply a patch fixing the GCC compilation issue.

On Wed, Jan 31, 2018 at 10:23 PM, Adrian Bunk <b...@debian.org> wrote:

> Source: gource
> Version: 0.47-1
> Severity: serious
>
> https://tests.reproducible-builds.org/debian/rb-pkg/
> unstable/amd64/gource.html
>
> ...
> In file included from /usr/include/glm/gtx/norm.hpp:18:0,
>                  from src/core/vectors.h:37,
>                  from src/core/gl.h:27,
>                  from src/core/texture.h:34,
>                  from src/gource_settings.h:23,
>                  from src/user.h:21,
>                  from src/action.h:21,
>                  from src/action.cpp:18:
> /usr/include/glm/gtx/quaternion.hpp:23:3: error: #error "GLM:
> GLM_GTX_quaternion is an experimental extension and may change in the
> future. Use #define GLM_ENABLE_EXPERIMENTAL before including it, if you
> really want to use it."
>  # error "GLM: GLM_GTX_quaternion is an experimental extension and may
> change in the future. Use #define GLM_ENABLE_EXPERIMENTAL before including
> it, if you really want to use it."
>    ^~~~~
>

Reply via email to