https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/ Issue: sci-mathematics/giac-1.7.0.1 fails to compile. Discovered on: amd64 (internal ref: ci) NOTE: This machine uses GCC-11: https://gcc.gnu.org/gcc-11/porting_to.html If you think this is a GCC-11 related issue, please block bug 732706.
Created attachment 706122 [details] build.log build log and emerge --info
Possible context of error(s): /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/tuple:1334:61: error: incomplete type ‘std::tuple_size<giac::gen(const giac::gen&)>’ used in nested name specifier
giac (any version) is not compatible with c++17. I would say that getting it compatible will be a major endeavour for upstream. Setting `-std=c++14` via CXXFLAGS allows giac to compile (and pass its test suite).
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=52e344abd9cb435ff4bf7d276d576aa2cac1be13 commit 52e344abd9cb435ff4bf7d276d576aa2cac1be13 Author: Michael Orlitzky <mjo@gentoo.org> AuthorDate: 2021-05-09 11:28:47 +0000 Commit: Michael Orlitzky <mjo@gentoo.org> CommitDate: 2021-05-10 12:50:16 +0000 sci-mathematics/giac: new minor version 1.7.0.5 with forced c++14. Supporting c++17 (the new default in gcc-11) upstream will probably take some time; for now we just append-cxxflags -std=c++14. Closes: https://bugs.gentoo.org/788283 Package-Manager: Portage-3.0.18, Repoman-3.0.2 Signed-off-by: Michael Orlitzky <mjo@gentoo.org> sci-mathematics/giac/Manifest | 2 +- sci-mathematics/giac/{giac-1.7.0.1.ebuild => giac-1.7.0.5.ebuild} | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-)