Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 788055 - sci-visualization/paraview-5.9.0 fails to compile with gcc-11: " 'numeric_limits' is not a member of 'std'"
Summary: sci-visualization/paraview-5.9.0 fails to compile with gcc-11: " 'numeric_lim...
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Matthias Maier
Depends on:
Blocks: gcc-11
  Show dependency tree
Reported: 2021-05-03 23:51 UTC by Jack
Modified: 2021-09-20 17:51 UTC (History)
1 user (show)

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

build log (paraview-build.log,83.40 KB, text/x-log)
2021-05-03 23:53 UTC, Jack

Note You need to log in before you can comment on or make changes to this bug.
Description Jack 2021-05-03 23:51:40 UTC
I'll post full build log, but emerge fails with 

.../work/ParaView-v5.9.0/VTK/Common/Core/vtkGenericDataArrayLookupHelper.h:52:26: error: 'numeric_limits' is not a member of 'std'

Reproducible: Always

Likely adding "#include <limits>" to that file will allow emerge to complete.  Sorry no patch this time, since I unmerged instead of fixing, as I couldn't remember why I had it installed in the first place.
Comment 1 Jack 2021-05-03 23:53:53 UTC
Created attachment 705876 [details]
build log
Comment 2 Larry the Git Cow gentoo-dev 2021-05-11 18:26:53 UTC
The bug has been closed via the following commit(s):

commit 2195a932afe65a512ecc627598d3a345d48ec348
Author:     Sam James <>
AuthorDate: 2021-05-11 18:26:26 +0000
Commit:     Sam James <>
CommitDate: 2021-05-11 18:26:42 +0000

    sci-visualization/paraview: fix build with gcc 11
    Signed-off-by: Sam James <>

 .../paraview/files/paraview-5.9.0-gcc11-include.patch        | 12 ++++++++++++
 sci-visualization/paraview/paraview-5.9.0.ebuild             |  1 +
 2 files changed, 13 insertions(+)
Comment 3 Larry the Git Cow gentoo-dev 2021-09-20 17:51:06 UTC
The bug has been referenced in the following commit(s):

commit c99fa82c5e70fbc9b27a93f7a01f5fb1d37e6053
Author:     Andreas K. Hüttel <>
AuthorDate: 2021-09-20 17:50:24 +0000
Commit:     Andreas K. Hüttel <>
CommitDate: 2021-09-20 17:50:52 +0000

    sci-visualization/paraview: Remove old
    Package-Manager: Portage-3.0.20, Repoman-3.0.3
    Signed-off-by: Andreas K. Huettel <>

 sci-visualization/paraview/Manifest              |   1 -
 sci-visualization/paraview/metadata.xml          |   2 -
 sci-visualization/paraview/paraview-5.8.1.ebuild | 250 -----------------------
 3 files changed, 253 deletions(-)