Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 786252 - dev-db/mysql-connector-c++-8.0.24 - /.../util.h: error: numeric_limits is not a member of std
Summary: dev-db/mysql-connector-c++-8.0.24 - /.../util.h: error: numeric_limits is not...
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 07:09 UTC by Toralf Förster
Modified: 2021-09-19 12:36 UTC (History)
0 users

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


Attachments
emerge-info.txt (emerge-info.txt,17.08 KB, text/plain)
2021-04-28 07:09 UTC, Toralf Förster
Details
dev-db:mysql-connector-c++-8.0.24:20210427-235926.log (dev-db:mysql-connector-c++-8.0.24:20210427-235926.log,168.30 KB, text/plain)
2021-04-28 07:09 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,163.12 KB, text/plain)
2021-04-28 07:09 UTC, Toralf Förster
Details
environment (environment,90.29 KB, text/plain)
2021-04-28 07:09 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,11.94 KB, application/x-bzip)
2021-04-28 07:09 UTC, Toralf Förster
Details
logs.tar.bz2 (logs.tar.bz2,9.39 KB, application/x-bzip)
2021-04-28 07:09 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,29.60 KB, application/x-bzip)
2021-04-28 07:09 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 07:09:15 UTC
                 from /var/tmp/portage/dev-db/mysql-connector-c++-8.0.24/work/mysql-connector-c++-8.0.24-src/devapi/session.cc:32:
/var/tmp/portage/dev-db/mysql-connector-c++-8.0.24/work/mysql-connector-c++-8.0.24-src/include/mysqlx/devapi/../common/util.h: In function ‘bool mysqlx::abi2::r0::common::check_num_limits(U)’:
/var/tmp/portage/dev-db/mysql-connector-c++-8.0.24/work/mysql-connector-c++-8.0.24-src/include/mysqlx/devapi/../common/util.h:300:27: error: ‘numeric_limits’ is not a member of ‘std’
  300 |   return !(val > (UT)std::numeric_limits<T>::max());
      |                           ^~~~~~~~~~~~~~
/var/tmp/portage/dev-db/mysql-connector-c++-8.0.24/work/mysql-connector-c++-8.0.24-src/include/mysqlx/devapi/../common/util.h:300:43: error: expected primary-expression before ‘>’ token
  300 |   return !(val > (UT)std::numeric_limits<T>::max());

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_desktop_gnome_systemd-20210424-085324

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-10.3.0
 [2] 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 following VMs are available for generation-2:
*)	AdoptOpenJDK 8.292_p10 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   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	Tue Apr 27 23:35:11 UTC 2021

emerge -qpvO dev-db/mysql-connector-c++
[ebuild  N    ] dev-db/mysql-connector-c++-8.0.24  USE="legacy (-libressl)"
Comment 1 Toralf Förster gentoo-dev 2021-04-28 07:09:16 UTC
Created attachment 702855 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2021-04-28 07:09:18 UTC
Created attachment 702858 [details]
dev-db:mysql-connector-c++-8.0.24:20210427-235926.log
Comment 3 Toralf Förster gentoo-dev 2021-04-28 07:09:19 UTC
Created attachment 702861 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2021-04-28 07:09:21 UTC
Created attachment 702864 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2021-04-28 07:09:22 UTC
Created attachment 702867 [details]
etc.portage.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2021-04-28 07:09:23 UTC
Created attachment 702870 [details]
logs.tar.bz2
Comment 7 Toralf Förster gentoo-dev 2021-04-28 07:09:24 UTC
Created attachment 702873 [details]
temp.tar.bz2
Comment 8 Larry the Git Cow gentoo-dev 2021-04-28 13:20:20 UTC
The bug has been closed via the following commit(s):

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

commit da366dafb626555b2d3229b7fdcf306a58904d8b
Author:     Thomas Deutschmann <whissi@gentoo.org>
AuthorDate: 2021-04-28 13:18:33 +0000
Commit:     Thomas Deutschmann <whissi@gentoo.org>
CommitDate: 2021-04-28 13:19:21 +0000

    dev-db/mysql-connector-c++: fix building against gcc-11
    
    Closes: https://bugs.gentoo.org/786252
    Package-Manager: Portage-3.0.18, Repoman-3.0.3
    Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>

 .../mysql-connector-c++-8.0.24-gcc11-numeric_limits.patch   | 13 +++++++++++++
 .../mysql-connector-c++/mysql-connector-c++-8.0.24.ebuild   |  1 +
 2 files changed, 14 insertions(+)
Comment 9 Larry the Git Cow gentoo-dev 2021-09-19 12:36:33 UTC
The bug has been referenced in the following commit(s):

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

commit 20e96c8332888b64880bbbf6c64964f73d23f847
Author:     Andreas K. Hüttel <dilfridge@gentoo.org>
AuthorDate: 2021-09-19 12:34:09 +0000
Commit:     Andreas K. Hüttel <dilfridge@gentoo.org>
CommitDate: 2021-09-19 12:36:17 +0000

    dev-db/mysql-connector-c++: Remove old
    
    Bug: https://bugs.gentoo.org/786252
    Package-Manager: Portage-3.0.20, Repoman-3.0.3
    Signed-off-by: Andreas K. Huettel <dilfridge@gentoo.org>

 dev-db/mysql-connector-c++/Manifest                |  5 ---
 .../mysql-connector-c++-8.0.19.ebuild              | 43 ----------------------
 .../mysql-connector-c++-8.0.20.ebuild              | 43 ----------------------
 .../mysql-connector-c++-8.0.21.ebuild              | 43 ----------------------
 .../mysql-connector-c++-8.0.22.ebuild              | 43 ----------------------
 .../mysql-connector-c++-8.0.23.ebuild              | 43 ----------------------
 6 files changed, 220 deletions(-)