Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 728116 - media-gfx/openscad-2019.05-r3 with >=sci-mathematics/cgal-5 : /usr/include/CGAL/Kernel/hash_functions.h:25:13: error: ‘enable_if_t’ in namespace ‘std’ does not name a template type
Summary: media-gfx/openscad-2019.05-r3 with >=sci-mathematics/cgal-5 : /usr/include/CG...
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Bernd
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-06-13 09:29 UTC by Kobboi
Modified: 2020-07-06 18:45 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Kobboi 2020-06-13 09:29:40 UTC
(...)
x86_64-pc-linux-gnu-g++ -c -O2 -march=x86-64 -pipe -fomit-frame-pointer -g -ggdb -DSTACKSIZE=8388608 -fno-strict-aliasing -std=c++11 -std=gnu++11 -I/usr/include -I/usr/include/hidapi -I/usr/include/libxml2 -I/usr/include/lib3mf -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -DEIGEN_DONT_ALIGN -frounding-math -D_REENTRANT -Wall -Wextra -Wno-unused-local-typedefs -fPIC -DOPENSCAD_VERSION=2019.05 -DOPENSCAD_SHORTVERSION=2019.05 -DOPENSCAD_YEAR=2019.0 -DOPENSCAD_MONTH=05.0 -DOPENSCAD_DAY=.0 -DDEBUG -DSTACKSIZE=8388608 -DUSE_QOPENGLWIDGET -DENABLE_DBUS -DENABLE_JOYSTICK -DUSE_SCINTILLA_EDITOR -DQSCINTILLA_DLL -DENABLE_SPNAV -DENABLE_HIDAPI -DENABLE_LIBZIP -DENABLE_LIB3MF -DENABLE_OPENCSG -DENABLE_CGAL -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_WIDGETS_LIB -DQT_MULTIMEDIA_LIB -DQT_GUI_LIB -DQT_CONCURRENT_LIB -DQT_NETWORK_LIB -DQT_DBUS_LIB -DQT_CORE_LIB -I. -Isrc -Isrc/ext/libtess2/Include -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtPrintSupport -isystem /usr/include/qt5/QtWidgets -isystem /usr/include/qt5/QtMultimedia -isystem /usr/include/qt5/QtGui -isystem /usr/include/qt5/QtConcurrent -isystem /usr/include/qt5/QtNetwork -isystem /usr/include/qt5/QtDBus -isystem /usr/include/qt5/QtCore -Iobjects -isystem /usr/include/libdrm -isystem /usr/include/eigen3 -I/usr/lib64/qt5/mkspecs/linux-g++ -o objects/src/color.o src/color.cc
In file included from /usr/include/CGAL/Kernel/global_functions.h:25,
                 from /usr/include/CGAL/Cartesian/Cartesian_base.h:22,
                 from /usr/include/CGAL/Simple_cartesian.h:20,
                 from /usr/include/CGAL/Extended_cartesian.h:19,
                 from src/cgal.h:14,
                 from src/cgalutils.h:3,
                 from src/polyset-utils.cc:9:
/usr/include/CGAL/Kernel/hash_functions.h:25:13: error: ‘enable_if_t’ in namespace ‘std’ does not name a template type
   25 | inline std::enable_if_t<std::is_same<typename K::Rep_tag, Cartesian_tag>::value, std::size_t>
      |             ^~~~~~~~~~~
/usr/include/CGAL/Kernel/hash_functions.h:25:8: note: ‘std::enable_if_t’ is only available from C++14 onwards
   25 | inline std::enable_if_t<std::is_same<typename K::Rep_tag, Cartesian_tag>::value, std::size_t>
      |        ^~~
/usr/include/CGAL/Kernel/hash_functions.h:47:13: error: ‘enable_if_t’ in namespace ‘std’ does not name a template type
   47 | inline std::enable_if_t<std::is_same<typename K::Rep_tag, Cartesian_tag>::value, std::size_t>
      |             ^~~~~~~~~~~
/usr/include/CGAL/Kernel/hash_functions.h:47:8: note: ‘std::enable_if_t’ is only available from C++14 onwards
   47 | inline std::enable_if_t<std::is_same<typename K::Rep_tag, Cartesian_tag>::value, std::size_t>
      |        ^~~
/usr/include/CGAL/Kernel/hash_functions.h:57:13: error: ‘enable_if_t’ in namespace ‘std’ does not name a template type
   57 | inline std::enable_if_t<std::is_same<typename K::Rep_tag, Cartesian_tag>::value, std::size_t>
      |             ^~~~~~~~~~~
/usr/include/CGAL/Kernel/hash_functions.h:57:8: note: ‘std::enable_if_t’ is only available from C++14 onwards
   57 | inline std::enable_if_t<std::is_same<typename K::Rep_tag, Cartesian_tag>::value, std::size_t>
      |        ^~~
/usr/include/CGAL/Kernel/hash_functions.h:66:13: error: ‘enable_if_t’ in namespace ‘std’ does not name a template type
   66 | inline std::enable_if_t<std::is_same<typename K::Rep_tag, Cartesian_tag>::value, std::size_t>
      |             ^~~~~~~~~~~
/usr/include/CGAL/Kernel/hash_functions.h:66:8: note: ‘std::enable_if_t’ is only available from C++14 onwards
   66 | inline std::enable_if_t<std::is_same<typename K::Rep_tag, Cartesian_tag>::value, std::size_t>
      |        ^~~
/usr/include/CGAL/Kernel/hash_functions.h:75:13: error: ‘enable_if_t’ in namespace ‘std’ does not name a template type
   75 | inline std::enable_if_t<std::is_same<typename K::Rep_tag, Cartesian_tag>::value, std::size_t>
      |             ^~~~~~~~~~~
/usr/include/CGAL/Kernel/hash_functions.h:75:8: note: ‘std::enable_if_t’ is only available from C++14 onwards
   75 | inline std::enable_if_t<std::is_same<typename K::Rep_tag, Cartesian_tag>::value, std::size_t>
      |        ^~~
/usr/include/CGAL/Kernel/hash_functions.h:84:13: error: ‘enable_if_t’ in namespace ‘std’ does not name a template type
   84 | inline std::enable_if_t<std::is_same<typename K::Rep_tag, Cartesian_tag>::value, std::size_t>
      |             ^~~~~~~~~~~
/usr/include/CGAL/Kernel/hash_functions.h:84:8: note: ‘std::enable_if_t’ is only available from C++14 onwards
   84 | inline std::enable_if_t<std::is_same<typename K::Rep_tag, Cartesian_tag>::value, std::size_t>
      |        ^~~
/usr/include/CGAL/Kernel/hash_functions.h:93:13: error: ‘enable_if_t’ in namespace ‘std’ does not name a template type
   93 | inline std::enable_if_t<std::is_same<typename K::Rep_tag, Cartesian_tag>::value, std::size_t>
      |             ^~~~~~~~~~~
(...)

Reproducible: Always
Comment 1 Kobboi 2020-06-13 09:39:17 UTC
Compiles fine after downgrading to sci-mathematics/cgal-4.11.3 (from 5.0.2)
Comment 2 Kobboi 2020-06-16 11:35:53 UTC
Note that cgal-5 is not yet in portage. I did not notice that until now.
Comment 3 Bernd 2020-07-06 18:45:39 UTC
Closing this as cgal-5 is not in tree. Feel free to open it, once cgal is bumped to 5, if the issue persists.