Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 582780 - sci-mathematics/gfan-0.5 does not compile with gcc-6.1
Summary: sci-mathematics/gfan-0.5 does not compile with gcc-6.1
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Thomas Kahle (RETIRED)
Depends on:
Blocks: gcc-6
  Show dependency tree
Reported: 2016-05-11 19:40 UTC by Felix Janda
Modified: 2016-06-09 20:16 UTC (History)
4 users (show)

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

build log (build.log,37.93 KB, text/plain)
2016-05-11 19:40 UTC, Felix Janda
Possible fix (gfan-0.5-gcc6.patch,2.02 KB, patch)
2016-05-11 19:41 UTC, Felix Janda
Details | Diff
gfan-0.5-gcc6.patch (gfan-0.5-gcc6.patch,2.02 KB, patch)
2016-05-31 01:25 UTC, Peter Levine
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Felix Janda 2016-05-11 19:40:00 UTC
Created attachment 434000 [details]
build log

First error message:

app_secondaryfan.cpp:310:5: error: reference to 'rank' is ambiguous
Comment 1 Felix Janda 2016-05-11 19:41:23 UTC
Created attachment 434002 [details, diff]
Possible fix
Comment 2 Andrew Savchenko gentoo-dev 2016-05-25 09:16:59 UTC
Am I missing something?

gcc-6 is not even in the tree, how devs are supposed to fix related bugs?
Comment 3 Felix Janda 2016-05-26 12:20:17 UTC
By now I would have expected that gcc-6 can be found in the tree...
Still, you can get gcc-6.1 right now from the hardened-development overlay.
Comment 4 Thomas Kahle (RETIRED) gentoo-dev 2016-05-27 05:36:50 UTC
Yes, I see no problem in being future proof here.  I'm talking to Anders Jensen, the author of gfan about what would be the best solution.  Please stay tuned.
Comment 5 Peter Levine 2016-05-31 01:25:01 UTC
Created attachment 435886 [details, diff]

Previous patch was fine except for the naming convention. of the C++ standard, assuming it hasn't changed, states that names which start with an underscore in global namespace are reserved for the implementation.

This patch just changes "_rank" to "rank_"
Comment 6 Thomas Kahle (RETIRED) gentoo-dev 2016-06-09 20:16:42 UTC
gfan-0.5-r1 is a bump to EAPI=6 which also contains Peter Levine's version of the gcc-6.1 patch.  Thanks a lot and please test (I don't run gcc-6.1 yet).