Summary: | app-office/libreoffice-6.0.4.2 - error: #error "GLM: GLM_GTX_bit is an experimental extension and may change in the future | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Juergen Rose <rose> |
Component: | Current packages | Assignee: | Gentoo Office Team <office> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | althorion, b.buschinski, dharding, grozin, leonchik1976, mark+gentoobugs, michele, pbrilius, theli.ua, totktonada.ru, vivo75 |
Priority: | Normal | Keywords: | PATCH |
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
URL: | https://bugs.documentfoundation.org/show_bug.cgi?id=118070 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
bzip2ed build.log
workaround patch |
Description
Juergen Rose
2018-06-02 22:15:10 UTC
Version of media-libs/glm? Created attachment 534632 [details, diff]
workaround patch
Confirming this. The patch above has helped too. *** Bug 657442 has been marked as a duplicate of this bug. *** Confirming this, fails for me with media-libs/glm-0.9.9.0 Will try patch later. app-text/libetonyek (another DEP of libreoffice) has the same problem configure:18990: checking for glm/gtx/io.hpp configure:18990: x86_64-pc-linux-gnu-g++ -c -O3 -march=corei7 -pipe -mindirect-branch=thunk -flto=4 -fuse-linker-plugin -fno-fat-lto-objects -grecord-gcc-switches -frecord-gcc-switches conftest.cpp >&5 In file included from /usr/include/glm/gtx/quaternion.hpp:20, from /usr/include/glm/gtx/io.hpp:24, from conftest.cpp:44: /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." ^~~~~ In file included from /usr/include/glm/gtx/io.hpp:24, from conftest.cpp:44: /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 conftest.cpp:44: /usr/include/glm/gtx/io.hpp:27:3: error: #error "GLM: GLM_GTX_io 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_io 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 /usr/include/glm/gtx/io.inl:8, from /usr/include/glm/gtx/io.hpp:201, from conftest.cpp:44: /usr/include/glm/gtx/type_trait.hpp:16:3: error: #error "GLM: GLM_GTX_type_trait 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_type_trait 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 /usr/include/glm/gtx/type_trait.hpp:22, from /usr/include/glm/gtx/io.inl:8, from /usr/include/glm/gtx/io.hpp:201, from conftest.cpp:44: /usr/include/glm/gtx/dual_quaternion.hpp:24:3: error: #error "GLM: GLM_GTX_dual_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_dual_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." ^~~~~ configure:18990: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "libetonyek" | #define PACKAGE_TARNAME "libetonyek" | #define PACKAGE_VERSION "0.1.8" | #define PACKAGE_STRING "libetonyek 0.1.8" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "libetonyek" | #define VERSION "0.1.8" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_CXX11 1 | #define HAVE_FUNC_ATTRIBUTE_FORMAT 1 | #define HAVE_GCC_ATTRIBUTE_FALLTHROUGH 1 | #define HAVE_CLANG_ATTRIBUTE_FALLTHROUGH 1 | #define WITH_LIBLANGTAG 1 | #define HAVE_BOOST_ANY_HPP 1 | #define HAVE_BOOST_CONTAINER_DEQUE_HPP 1 | #define HAVE_BOOST_CSTDINT_HPP 1 | #define HAVE_BOOST_FUSION_ADAPTED_STD_PAIR_HPP 1 | #define HAVE_BOOST_FUSION_INCLUDE_ADAPT_STRUCT_HPP 1 | #define HAVE_BOOST_LEXICAL_CAST_HPP 1 | #define HAVE_BOOST_NONE_HPP 1 | #define HAVE_BOOST_NUMERIC_CONVERSION_CAST_HPP 1 | #define HAVE_BOOST_OPTIONAL_HPP 1 | #define HAVE_BOOST_SPIRIT_INCLUDE_PHOENIX_HPP 1 | #define HAVE_BOOST_SPIRIT_INCLUDE_QI_HPP 1 | #define HAVE_BOOST_VARIANT_RECURSIVE_VARIANT_HPP 1 | #define HAVE_BOOST_VARIANT_VARIANT_HPP 1 | #define HAVE_GLM_GLM_HPP 1 | /* end confdefs.h. */ | | | | #include <glm/gtx/io.hpp> configure:18990: result: no configure:18999: error: Required glm headers not found. *** Bug 657590 has been marked as a duplicate of this bug. *** I can confirm that the patch fixes the build. I've reported the bug upstream. It looks like the error was introduced by this commit which is included in GLM 0.9.9.0: https://github.com/g-truc/glm/commit/6482dd29d26968e07b697fdf0222d16223de40be Apparently I didn't look hard enough and it's already fixed upstream: https://cgit.freedesktop.org/libreoffice/core/commit/?h=libreoffice-6-0&id=7984347b9a2fce74cdce0c1c5b27f6e2b55a2f49 (In reply to Louis Sautier (sbraz) from comment #9) > Apparently I didn't look hard enough and it's already fixed upstream: > https://cgit.freedesktop.org/libreoffice/core/commit/?h=libreoffice-6- > 0&id=7984347b9a2fce74cdce0c1c5b27f6e2b55a2f49 This patch is from January, so it is already part of 6.0.3.2 and 6.0.4.2. (In reply to Francesco Riosa from comment #6) > app-text/libetonyek (another DEP of libreoffice) has the same problem Not reproducible, please stay ontopic in this bug. The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c3bba70d6c0670228fd4da49e64fbbd17aa1a0aa commit c3bba70d6c0670228fd4da49e64fbbd17aa1a0aa Author: Andreas Sturmlechner <asturm@gentoo.org> AuthorDate: 2018-06-10 08:30:00 +0000 Commit: Andreas Sturmlechner <asturm@gentoo.org> CommitDate: 2018-06-10 08:58:36 +0000 app-office/libreoffice: Fix configure with >=media-libs/glm-0.9.9 Bug: https://bugs.gentoo.org/657178 Package-Manager: Portage-2.3.40, Repoman-2.3.9 .../files/libreoffice-5.4.7.2-glm-0.9.9.patch | 82 ++++++++++++++++++++++ .../files/libreoffice-6.0.4.2-glm-0.9.9.patch | 19 +++++ app-office/libreoffice/libreoffice-5.4.7.2.ebuild | 2 + app-office/libreoffice/libreoffice-6.0.4.2.ebuild | 1 + 4 files changed, 104 insertions(+) The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=83ed8a066140b12e87fd7a6c5adbefa59854858e commit 83ed8a066140b12e87fd7a6c5adbefa59854858e Author: Andreas Sturmlechner <asturm@gentoo.org> AuthorDate: 2018-06-10 11:47:33 +0000 Commit: Andreas Sturmlechner <asturm@gentoo.org> CommitDate: 2018-06-10 14:42:44 +0000 app-office/libreoffice: Use upstream patch, add to 6.0 stable branch Closes: https://bugs.gentoo.org/657178 Package-Manager: Portage-2.3.40, Repoman-2.3.9 .../files/libreoffice-6.0.4.2-glm-0.9.9.patch | 23 ++++++++++++++++++---- app-office/libreoffice/libreoffice-5.4.7.2.ebuild | 3 ++- app-office/libreoffice/libreoffice-6.0.3.2.ebuild | 2 ++ app-office/libreoffice/libreoffice-6.0.4.2.ebuild | 3 ++- app-office/libreoffice/libreoffice-6.0.9999.ebuild | 2 ++ 5 files changed, 27 insertions(+), 6 deletions(-) *** Bug 657702 has been marked as a duplicate of this bug. *** |