Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 789534

Summary: sci-visualization/paraview-5.9.0 fails to compile with gcc-11
Product: Gentoo Linux Reporter: Agostino Sarubbo <ago>
Component: Current packagesAssignee: Matthias Maier <tamiko>
Status: RESOLVED FIXED    
Severity: normal CC: sam
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://bugs.gentoo.org/show_bug.cgi?id=788055
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 732706    
Attachments: build.log.xz

Description Agostino Sarubbo gentoo-dev 2021-05-11 21:38:38 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: sci-visualization/paraview-5.9.0 fails to compile with gcc-11.
Discovered on: amd64 (internal ref: ci)

NOTE:
This machine uses GCC-11: https://gcc.gnu.org/gcc-11/porting_to.html
Comment 1 Agostino Sarubbo gentoo-dev 2021-05-11 21:38:41 UTC
Created attachment 707205 [details]
build.log.xz

build log and emerge --info (compressed because it exceeds attachment limit, use 'xzless' to read it)
Comment 2 Agostino Sarubbo gentoo-dev 2021-05-11 21:38:43 UTC
Possible context of error(s):

/var/tmp/portage/sci-visualization/paraview-5.9.0/work/ParaView-v5.9.0/VTK/Common/DataModel/vtkPiecewiseFunction.cxx:680:26: error: ‘numeric_limits’ is not a member of ‘std’
Comment 3 Larry the Git Cow gentoo-dev 2021-05-11 22:04:27 UTC
The bug has been closed via the following commit(s):

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

commit a07aceead4fc27f70a17168ac226d75596997a84
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2021-05-11 21:56:50 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2021-05-11 22:04:20 +0000

    sci-visualization/paraview: fix gcc 11 build (again)
    
    Closes: https://bugs.gentoo.org/789534
    Signed-off-by: Sam James <sam@gentoo.org>

 .../paraview/files/paraview-5.9.0-gcc11-include.patch        | 12 ++++++++++--
 1 file changed, 10 insertions(+), 2 deletions(-)