Bug#888737: 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."
# FTBFS bugs belong to the source package and are serious anyway.
reassign 888737 src:libreoffice
severity 888737 serious
found 888737 1:5.4.4-1
found 888737 1:6.0.0~rc3-2
retitle 888737 FTBFS: 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."
tag 888737 + pending
thanks
Hi,
On Mon, Jan 29, 2018 at 12:18:22PM +0100, jean-christophe manciot wrote:
> [build CXX] vcl/opengl/gdiimpl.cxx
> S=/home/actionmystique/src/LibreOffice/libreoffice-5.4.4-1 && I=$S/instdir
> && W=$S/workdir && mkdir -p $W/CxxObject/vcl/opengl/
> $W/Dep/CxxObject/vcl/opengl/ && cd
> /home/actionmystique/src/LibreOffice/libreoffice-5.4.4-1 &&
> x86_64-linux-gnu-g++ -DBOOST_ERROR_CODE_HEADER_ONLY
> -DBOOST_SYSTEM_NO_DEPRECATED -DCPPU_ENV=gcc3 -DLINUX -DNDEBUG
> -DOSL_DEBUG_LEVEL=0 -DUNIX -DUNX -DX86_64 -D_FORTIFY_SOURCE=2 -D_PTHREADS
> -D_REENTRANT -Wdate-time -Wdate-time -D_FORTIFY_SOURCE=2
> -DVCL_DLLIMPLEMENTATION -DDLLIMPLEMENTATION_UITEST
> -DCUI_DLL_NAME=\"libcuilo.so\"
> -DDESKTOP_DETECTOR_DLL_NAME=\"libmergedlo.so\"
> -DTK_DLL_NAME=\"libmergedlo.so\" -DENABLE_MERGELIBS=1 -DSYSTEM_CURL
> -DSYSTEM_NSS -DSYSTEM_NSS -DENABLE_CUPS -DHAVE_VALGRIND_HEADERS
> -fvisibility=hidden -Wall -Wno-missing-braces -Wnon-virtual-dtor
> -Wendif-labels -Wextra -Wundef -Wunused-macros -fmessage-length=0
> -fno-common -pipe -Wduplicated-cond -Wlogical-op -Wshift-overflow=2
> -Wunused-const-variable=1 -fvisibility-inlines-hidden -fPIC -Wshadow
> -Woverloaded-virtual -std=gnu++14 -DEXCEPTIONS_ON -fexceptions
> -fno-enforce-eh-specs -g -O2
> -fdebug-prefix-map=/home/actionmystique/src/LibreOffice/libreoffice-5.4.4-1=.
> -fstack-protector-strong -Wformat -Werror=format-security
> -DLIBO_INTERNAL_ONLY -c $S/vcl/opengl/gdiimpl.cxx -o
> $W/CxxObject/vcl/opengl/gdiimpl.o -I$S/vcl/opengl/ -isystem
> /usr/include/mdds-1.2 -I$W/UnpackedTarball/pdfium/public -I$S/include
> -I/usr/lib/jvm/default-java/include
> -I/usr/lib/jvm/default-java/include/linux -I$S/config_host -I$S/vcl/inc
> -I$W/UnoApiHeadersTarget/udkapi/normal
> -I$W/UnoApiHeadersTarget/offapi/normal
> -I$W/CustomTarget/officecfg/registry -I/usr/include/x86_64-linux-gnu
> -isystem /usr/include/nss -isystem /usr/include/nspr -isystem
> /usr/include/nss -isystem /usr/include/nspr -I/usr/include -pthread
> -isystem /usr/include/glib-2.0 -isystem
> /usr/lib/x86_64-linux-gnu/glib-2.0/include -isystem
> /usr/include/harfbuzz -isystem /usr/include/glib-2.0 -isystem
> /usr/lib/x86_64-linux-gnu/glib-2.0/include -Wno-long-long
> -isystem /usr/include/cairo -isystem /usr/include/glib-2.0 -isystem
> /usr/lib/x86_64-linux-gnu/glib-2.0/include -isystem /usr/include/pixman-1
> -isystem /usr/include/freetype2 -isystem /usr/include/libpng16 -isystem
> /usr/include/freetype2 -isystem /usr/include/libpng16 -isystem
> /usr/include/dbus-1.0 -isystem /usr/lib/x86_64-linux-gnu/dbus-1.0/include
> -isystem /usr/include/glib-2.0 -isystem
> /usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/freetype2
> -I/usr/include/libpng16 -isystem /usr/include/freetype2 -isystem
> /usr/include/libpng16
> In file included from /usr/include/glm/gtx/norm.hpp:18:0,
> from
> /home/actionmystique/src/LibreOffice/libreoffice-5.4.4-1/vcl/inc/opengl/VertexUtils.hxx:16,
> from
> /home/actionmystique/src/LibreOffice/libreoffice-5.4.4-1/vcl/opengl/gdiimpl.cxx:39:
> /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."
> ^~~~~
> In file included from
> /home/actionmystique/src/LibreOffice/libreoffice-5.4.4-1/vcl/inc/opengl/VertexUtils.hxx:16:0,
> from
> /home/actionmystique/src/LibreOffice/libreoffice-5.4.4-1/vcl/opengl/gdiimpl.cxx:39:
> /usr/include/glm/gtx/norm.hpp:21:3: error: #error "GLM: GLM_GTX_norm 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_norm 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."
> ^~~~~
> /home/actionmystique/src/LibreOffice/libreoffice-5.4.4-1/solenv/gbuild/LinkTarget.mk:291:
> recipe for target
> '/home/actionmystique/src/LibreOffice/libreoffice-5.4.4-1/workdir/CxxObject/vcl/opengl/gdiimpl.o'
> failed
> make[3]: ***
> [/home/actionmystique/src/LibreOffice/libreoffice-5.4.4-1/workdir/CxxObject/vcl/opengl/gdiimpl.o]
> Error 1
> make[3]: Leaving directory
> '/home/actionmystique/src/LibreOffice/libreoffice-5.4.4-1'
> Makefile:259: recipe for target 'build' failed
> make[2]: *** [build] Error 2
That's what I meant in
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=888661#72
, which you also got, yes.
Already fixed:
https://salsa.debian.org/libreoffice-team/libreoffice/libreoffice/commits/master:

fix cut'n'waste error
Rene Engelhard authored about 19 hours ago
0bb5e5a0

Browse Files

readd lost ifeq
Rene Engelhard authored about 19 hours ago
4f5c8843

Browse Files

update patches/glm-0.9.9.diff
Rene Engelhard authored about 19 hours ago
3847f83b

Browse Files

fix build with glm 0.9.9
Rene Engelhard authored about 20 hours ago
25c4af24

Browse Files
Regards,
Rene
Reply to: