Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 788283 - sci-mathematics/giac-1.7.0.1 fails to compile
Summary: sci-mathematics/giac-1.7.0.1 fails to compile
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Michael Orlitzky
URL:
Whiteboard:
Keywords:
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: ---


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

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
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.
Comment 1 Agostino Sarubbo gentoo-dev 2021-05-05 06:44:21 UTC
Created attachment 706122 [details]
build.log

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):

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(-)