Summary: | sci-mathematics/giac-1.7.0.1 fails to compile | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Agostino Sarubbo <ago> |
Component: | Current packages | Assignee: | Michael Orlitzky <mjo> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | frp.bissey, ionen, proxy-maint, sam, sci-mathematics |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 732706 | ||
Attachments: | build.log |
Description
Agostino Sarubbo
2021-05-05 06:44:19 UTC
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(-) |