Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 796683 - games-strategy/freeorion-0.4.10.1-r2 fails to compile with gcc-11
Summary: games-strategy/freeorion-0.4.10.1-r2 fails to compile with gcc-11
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Adam Feldman
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: gcc-11
  Show dependency tree
 
Reported: 2021-06-19 07:58 UTC by Agostino Sarubbo
Modified: 2021-07-25 23:27 UTC (History)
1 user (show)

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


Attachments
build.log (build.log,85.01 KB, text/plain)
2021-06-19 07:58 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-06-19 07:58:18 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: games-strategy/freeorion-0.4.10.1-r2 fails to compile with gcc-11.
Discovered on: amd64 (internal ref: ci)

NOTE:
This machine uses GCC-11: https://gcc.gnu.org/gcc-11/porting_to.html
Comment 1 Agostino Sarubbo gentoo-dev 2021-06-19 07:58:21 UTC
Created attachment 716808 [details]
build.log

build log and emerge --info
Comment 2 Agostino Sarubbo gentoo-dev 2021-06-19 07:58:23 UTC
Possible context of error(s):

-- Could NOT find cppcheck (missing: CPPCHECK_EXECUTABLE) 
-- Could NOT find Doxygen (missing: DOXYGEN_EXECUTABLE) 
-- Could NOT find pycodestyle (missing: PYCODESTYLE_EXECUTABLE) 
/usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/type_traits:849:52: error: static assertion failed: template argument must be a complete class or an unbounded array
Comment 3 Larry the Git Cow gentoo-dev 2021-07-01 16:02:09 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1c6479db3764a14009a04ae1cfd29d3e50e667b6

commit 1c6479db3764a14009a04ae1cfd29d3e50e667b6
Author:     Adam Feldman <NP-Hardass@gentoo.org>
AuthorDate: 2021-07-01 15:29:05 +0000
Commit:     Adam Feldman <NP-Hardass@gentoo.org>
CommitDate: 2021-07-01 16:02:03 +0000

    games-strategy/freeorion: Add snapshot that fixes build errors
    
    Backporting was too complicated, so I added a snapshot
    
    Bug: https://bugs.gentoo.org/739378
    Bug: https://bugs.gentoo.org/795771
    Bug: https://bugs.gentoo.org/796683
    Package-Manager: Portage-3.0.18, Repoman-3.0.3
    Signed-off-by: Adam Feldman <NP-Hardass@gentoo.org>

 games-strategy/freeorion/Manifest                  |  1 +
 .../freeorion/freeorion-0.4.10.1_p20200629.ebuild  | 77 ++++++++++++++++++++++
 2 files changed, 78 insertions(+)