Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 790230 - games-fps/avp-20150214-r1 - /.../stl_algobase.h: error: redefinition of template<bool _IsMove, class _CharT> int _value
Summary: games-fps/avp-20150214-r1 - /.../stl_algobase.h: error: redefinition of templ...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Games
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: gcc-11
  Show dependency tree
 
Reported: 2021-05-14 15:42 UTC by Toralf Förster
Modified: 2021-05-16 18:32 UTC (History)
1 user (show)

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


Attachments
emerge-info.txt (emerge-info.txt,17.27 KB, text/plain)
2021-05-14 15:42 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,311.00 KB, text/plain)
2021-05-14 15:42 UTC, Toralf Förster
Details
environment (environment,90.31 KB, text/plain)
2021-05-14 15:42 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,34.14 KB, application/x-bzip)
2021-05-14 15:42 UTC, Toralf Förster
Details
games-fps:avp-20150214-r1:20210514-151611.log (games-fps:avp-20150214-r1:20210514-151611.log,529.75 KB, text/plain)
2021-05-14 15:42 UTC, Toralf Förster
Details
logs.tar.bz2 (logs.tar.bz2,5.22 KB, application/x-bzip)
2021-05-14 15:42 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,37.46 KB, application/x-bzip)
2021-05-14 15:42 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2021-05-14 15:42:25 UTC
      |                                                      ^~
/usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/bits/stl_algobase.h:463:54: error: explicit qualification in declaration of ‘__value’
/usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/bits/stl_algobase.h:463:54: error: redefinition of ‘template<bool _IsMove, class _CharT> int __value’
/usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/bits/stl_algobase.h:457:54: note: ‘template<bool _IsMove, class _CharT> int __value<_IsMove, _CharT>’ previously declared here
  457 |     typename __gnu_cxx::__enable_if<__is_char<_CharT>::__value,
      |                                                      ^~
/usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/bits/stl_algobase.h:468:3: error: template with C linkage

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_desktop_systemd-j2-20210510-164102

  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-gnu-11.1.0 *
clang version 12.0.0
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/12/bin
/usr/lib/llvm/12
12.0.0
Python 3.8.10
Available Ruby profiles:
  [1]   ruby26 (with Rubygems)
  [2]   ruby30 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.52.1
  [2]   rust-1.52.1 *
The following VMs are available for generation-2:
1)	IcedTea JDK 3.16.0 [icedtea-bin-8]
*)	AdoptOpenJDK 8.292_p10 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   icedtea-bin-8 
  [2]   openjdk-bin-8  system-vm

The Glorious Glasgow Haskell Compilation System, version 8.10.4

  timestamp(s) of HEAD at this tinderbox image:
/var/db/repos/gentoo	Fri May 14 15:05:25 UTC 2021

emerge -qpvO games-fps/avp
[ebuild  N    ] games-fps/avp-20150214-r1
Comment 1 Toralf Förster gentoo-dev 2021-05-14 15:42:26 UTC
Created attachment 708552 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2021-05-14 15:42:28 UTC
Created attachment 708555 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2021-05-14 15:42:29 UTC
Created attachment 708558 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2021-05-14 15:42:31 UTC
Created attachment 708561 [details]
etc.portage.tar.bz2
Comment 5 Toralf Förster gentoo-dev 2021-05-14 15:42:32 UTC
Created attachment 708564 [details]
games-fps:avp-20150214-r1:20210514-151611.log
Comment 6 Toralf Förster gentoo-dev 2021-05-14 15:42:33 UTC
Created attachment 708567 [details]
logs.tar.bz2
Comment 7 Toralf Förster gentoo-dev 2021-05-14 15:42:35 UTC
Created attachment 708570 [details]
temp.tar.bz2
Comment 8 Larry the Git Cow gentoo-dev 2021-05-16 18:32:27 UTC
The bug has been closed via the following commit(s):

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

commit d77fb61b56f29e1fd7dfd0a01feb3fb4cdb305f2
Author:     Sergei Trofimovich <slyfox@gentoo.org>
AuthorDate: 2021-05-16 18:32:08 +0000
Commit:     Sergei Trofimovich <slyfox@gentoo.org>
CommitDate: 2021-05-16 18:32:21 +0000

    games-fps/avp: tweak for gcc-11
    
    Reported-by: Toralf Förster
    Closes: https://bugs.gentoo.org/790230
    Package-Manager: Portage-3.0.18, Repoman-3.0.3
    Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>

 games-fps/avp/avp-20150214-r1.ebuild               |   7 +-
 .../avp/files/avp-20150214-gcc-11-minmax.patch     | 281 +++++++++++++++++++++
 2 files changed, 286 insertions(+), 2 deletions(-)