Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 786489 - dev-db/percona-xtrabackup-8.0.23.16 - /.../robin_hood.h: error: numeric_limits is not a member of std
Summary: dev-db/percona-xtrabackup-8.0.23.16 - /.../robin_hood.h: error: numeric_limit...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux MySQL bugs team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: gcc-11
  Show dependency tree
 
Reported: 2021-04-28 15:52 UTC by Toralf Förster
Modified: 2021-09-19 12:49 UTC (History)
0 users

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


Attachments
emerge-info.txt (emerge-info.txt,16.96 KB, text/plain)
2021-04-28 15:52 UTC, Toralf Förster
Details
dev-db:percona-xtrabackup-8.0.23.16:20210428-134256.log.bz2 (dev-db:percona-xtrabackup-8.0.23.16:20210428-134256.log.bz2,31.60 KB, application/x-bzip)
2021-04-28 15:52 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,230.38 KB, text/plain)
2021-04-28 15:52 UTC, Toralf Förster
Details
environment (environment,91.79 KB, text/plain)
2021-04-28 15:52 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,20.56 KB, application/x-bzip)
2021-04-28 15:52 UTC, Toralf Förster
Details
logs.tar.bz2 (logs.tar.bz2,220.55 KB, application/x-bzip)
2021-04-28 15:52 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,53.83 KB, application/x-bzip)
2021-04-28 15:52 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-04-28 15:52:38 UTC
/var/tmp/portage/dev-db/percona-xtrabackup-8.0.23.16/work/percona-xtrabackup-8.0.23-16/extra/robin-hood-hashing/robin_hood.h: In member function ‘size_t robin_hood::detail::Table<IsFlat, MaxLoadFactor100, Key, T, Hash, KeyEqual>::calcMaxNumElementsAllowed(size_t) const’:
/var/tmp/portage/dev-db/percona-xtrabackup-8.0.23.16/work/percona-xtrabackup-8.0.23-16/extra/robin-hood-hashing/robin_hood.h:1993:52: error: ‘numeric_limits’ is not a member of ‘std’
 1993 |         if (ROBIN_HOOD_LIKELY(maxElements <= (std::numeric_limits<size_t>::max)() / 100)) {
      |                                                    ^~~~~~~~~~~~~~
/var/tmp/portage/dev-db/percona-xtrabackup-8.0.23.16/work/percona-xtrabackup-8.0.23-16/extra/robin-hood-hashing/robin_hood.h:190:59: note: in definition of macro ‘ROBIN_HOOD_LIKELY’
  190 | #    define ROBIN_HOOD_LIKELY(condition) __builtin_expect(condition, 1)

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_no-multilib-20210423-202814

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-7.3.1
 [2] x86_64-pc-linux-gnu-10.3.0
 [3] 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.9
Available Ruby profiles:
  [1]   ruby26 (with Rubygems)
  [2]   ruby30 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.51.0 *
The Glorious Glasgow Haskell Compilation System, version 8.10.4

  timestamp(s) of HEAD at this tinderbox image:
/var/db/repos/gentoo	Wed Apr 28 13:20:20 UTC 2021

emerge -qpvO dev-db/percona-xtrabackup
[ebuild  N    ] dev-db/percona-xtrabackup-8.0.23.16
Comment 1 Toralf Förster gentoo-dev 2021-04-28 15:52:39 UTC
Created attachment 703275 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2021-04-28 15:52:40 UTC
Created attachment 703278 [details]
dev-db:percona-xtrabackup-8.0.23.16:20210428-134256.log.bz2
Comment 3 Toralf Förster gentoo-dev 2021-04-28 15:52:42 UTC
Created attachment 703281 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2021-04-28 15:52:44 UTC
Created attachment 703284 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2021-04-28 15:52:45 UTC
Created attachment 703287 [details]
etc.portage.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2021-04-28 15:52:46 UTC
Created attachment 703290 [details]
logs.tar.bz2
Comment 7 Toralf Förster gentoo-dev 2021-04-28 15:52:48 UTC
Created attachment 703293 [details]
temp.tar.bz2
Comment 8 Larry the Git Cow gentoo-dev 2021-04-28 18:54:31 UTC
The bug has been closed via the following commit(s):

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

commit 5fdb9c306fcb46c5eb2cad186268575100a84760
Author:     Thomas Deutschmann <whissi@gentoo.org>
AuthorDate: 2021-04-28 18:53:13 +0000
Commit:     Thomas Deutschmann <whissi@gentoo.org>
CommitDate: 2021-04-28 18:54:28 +0000

    dev-db/percona-xtrabackup: fix building with GCC 11
    
    Closes: https://bugs.gentoo.org/786489
    Package-Manager: Portage-3.0.18, Repoman-3.0.3
    Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>

 .../files/percona-xtrabackup-8.0.23-gcc11.patch    | 41 ++++++++++++++++++++++
 .../percona-xtrabackup-8.0.23.16.ebuild            |  1 +
 2 files changed, 42 insertions(+)