Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 786678 - sci-libs/gmsh-4.6.0 - /.../Options.cpp: error: numeric_limits is not a member of std (maybe gcc-11 related)
Summary: sci-libs/gmsh-4.6.0 - /.../Options.cpp: error: numeric_limits is not a member...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Matthias Maier
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: gcc-11
  Show dependency tree
 
Reported: 2021-04-29 07:19 UTC by Toralf Förster
Modified: 2021-09-19 16:48 UTC (History)
1 user (show)

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


Attachments
emerge-info.txt (emerge-info.txt,17.84 KB, text/plain)
2021-04-29 07:19 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,402.71 KB, text/plain)
2021-04-29 07:19 UTC, Toralf Förster
Details
environment (environment,129.99 KB, text/plain)
2021-04-29 07:19 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,30.45 KB, application/x-bzip)
2021-04-29 07:19 UTC, Toralf Förster
Details
logs.tar.bz2 (logs.tar.bz2,5.69 KB, application/x-bzip)
2021-04-29 07:19 UTC, Toralf Förster
Details
sci-libs:gmsh-4.6.0:20210429-032914.log (sci-libs:gmsh-4.6.0:20210429-032914.log,32.20 KB, text/plain)
2021-04-29 07:19 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,32.06 KB, application/x-bzip)
2021-04-29 07:19 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-29 07:19:15 UTC
/var/tmp/portage/sci-libs/gmsh-4.6.0/work/gmsh-4.6.0-source/Common/Options.cpp: In function ‘double opt_view_time(int, int, double)’:
/var/tmp/portage/sci-libs/gmsh-4.6.0/work/gmsh-4.6.0-source/Common/Options.cpp:6833:28: error: ‘numeric_limits’ is not a member of ‘std’
 6833 |       double dt_min = std::numeric_limits<double>::max();
      |                            ^~~~~~~~~~~~~~
/var/tmp/portage/sci-libs/gmsh-4.6.0/work/gmsh-4.6.0-source/Common/Options.cpp:6833:43: error: expected primary-expression before ‘double’
 6833 |       double dt_min = std::numeric_limits<double>::max();

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_systemd-20210419-131016

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-7.3.1
 [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
  [2]   rust-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	Wed Apr 28 23:50:13 UTC 2021

emerge -qpvO sci-libs/gmsh
[ebuild  N    ] sci-libs/gmsh-4.6.0  USE="zlib -X -blas -cgns -examples -jpeg -med -metis -mpi -netgen -opencascade -petsc -png -python"
Comment 1 Toralf Förster gentoo-dev 2021-04-29 07:19:16 UTC
Created attachment 703665 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2021-04-29 07:19:18 UTC
Created attachment 703668 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2021-04-29 07:19:20 UTC
Created attachment 703671 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2021-04-29 07:19:21 UTC
Created attachment 703674 [details]
etc.portage.tar.bz2
Comment 5 Toralf Förster gentoo-dev 2021-04-29 07:19:22 UTC
Created attachment 703677 [details]
logs.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2021-04-29 07:19:23 UTC
Created attachment 703680 [details]
sci-libs:gmsh-4.6.0:20210429-032914.log
Comment 7 Toralf Förster gentoo-dev 2021-04-29 07:19:25 UTC
Created attachment 703683 [details]
temp.tar.bz2
Comment 8 Larry the Git Cow gentoo-dev 2021-06-20 04:06:53 UTC
The bug has been closed via the following commit(s):

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

commit eac3b3f1ac50642de1223f59b1e1ce28f379c765
Author:     Matthias Maier <tamiko@gentoo.org>
AuthorDate: 2021-06-20 04:06:04 +0000
Commit:     Matthias Maier <tamiko@gentoo.org>
CommitDate: 2021-06-20 04:06:49 +0000

    sci-libs/gmsh: version bump to 4.8.4, fix gcc-11 compilation error
    
    Closes: https://bugs.gentoo.org/786678
    Package-Manager: Portage-3.0.19, Repoman-3.0.3
    Signed-off-by: Matthias Maier <tamiko@gentoo.org>

 sci-libs/gmsh/Manifest          |  1 +
 sci-libs/gmsh/gmsh-4.8.4.ebuild | 76 +++++++++++++++++++++++++++++++++++++++++
 2 files changed, 77 insertions(+)
Comment 9 Larry the Git Cow gentoo-dev 2021-09-19 16:48:15 UTC
The bug has been referenced in the following commit(s):

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

commit e422c3e65fd1da9c1185ec6f24d7ff7fbffb399e
Author:     Andreas K. Hüttel <dilfridge@gentoo.org>
AuthorDate: 2021-09-19 16:35:54 +0000
Commit:     Andreas K. Hüttel <dilfridge@gentoo.org>
CommitDate: 2021-09-19 16:47:56 +0000

    sci-libs/gmsh: Remove old
    
    Bug: https://bugs.gentoo.org/786678
    Package-Manager: Portage-3.0.20, Repoman-3.0.3
    Signed-off-by: Andreas K. Huettel <dilfridge@gentoo.org>

 sci-libs/gmsh/Manifest          |  1 -
 sci-libs/gmsh/gmsh-4.6.0.ebuild | 76 -----------------------------------------
 2 files changed, 77 deletions(-)