Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 788283 - sci-mathematics/giac- fails to compile
Summary: sci-mathematics/giac- fails to compile
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Michael Orlitzky
Depends on:
Blocks: gcc-11
  Show dependency tree
Reported: 2021-05-05 06:44 UTC by Agostino Sarubbo
Modified: 2021-05-10 12:50 UTC (History)
5 users (show)

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

build.log (build.log,153.39 KB, text/plain)
2021-05-05 06:44 UTC, Agostino Sarubbo

Note You need to log in before you can comment on or make changes to this bug.
Description Agostino Sarubbo gentoo-dev 2021-05-05 06:44:19 UTC

Issue: sci-mathematics/giac- fails to compile.
Discovered on: amd64 (internal ref: ci)

This machine uses GCC-11:
If you think this is a GCC-11 related issue, please block bug 732706.
Comment 1 Agostino Sarubbo gentoo-dev 2021-05-05 06:44:21 UTC
Created attachment 706122 [details]

build log and emerge --info
Comment 2 Agostino Sarubbo gentoo-dev 2021-05-05 06:44:22 UTC
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
Comment 3 François Bissey 2021-05-05 07:39:04 UTC
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).
Comment 4 Larry the Git Cow gentoo-dev 2021-05-10 12:50:23 UTC
The bug has been closed via the following commit(s):

commit 52e344abd9cb435ff4bf7d276d576aa2cac1be13
Author:     Michael Orlitzky <>
AuthorDate: 2021-05-09 11:28:47 +0000
Commit:     Michael Orlitzky <>
CommitDate: 2021-05-10 12:50:16 +0000

    sci-mathematics/giac: new minor version 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.
    Package-Manager: Portage-3.0.18, Repoman-3.0.2
    Signed-off-by: Michael Orlitzky <>

 sci-mathematics/giac/Manifest                                     | 2 +-
 sci-mathematics/giac/{giac- => giac-} | 2 ++
 2 files changed, 3 insertions(+), 1 deletion(-)