Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 891829 - sci-libs/vtk-9.2.5 fails to compile: Ioss_Sort.h:138:5: error: "USE_STD_SORT" is not defined, evaluates to 0 [-Werror=undef]
Summary: sci-libs/vtk-9.2.5 fails to compile: Ioss_Sort.h:138:5: error: "USE_STD_SORT"...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Science Related Packages
URL: https://gitlab.kitware.com/vtk/vtk/-/...
Whiteboard:
Keywords: PullRequest, UPSTREAM
Depends on:
Blocks:
 
Reported: 2023-01-23 10:45 UTC by Agostino Sarubbo
Modified: 2023-01-28 14:14 UTC (History)
3 users (show)

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


Attachments
build.log.xz (build.log.xz,80.07 KB, application/x-xz)
2023-01-23 10:45 UTC, Agostino Sarubbo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Agostino Sarubbo gentoo-dev 2023-01-23 10:45:55 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: sci-libs/vtk-9.2.5 fails to compile.
Discovered on: amd64 (internal ref: ci)
Comment 1 Agostino Sarubbo gentoo-dev 2023-01-23 10:45:58 UTC
Created attachment 849081 [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 2023-01-23 10:45:59 UTC
Error(s) that match a know pattern in addition to what has been reported in the summary:


FAILED: ThirdParty/ioss/vtkioss/CMakeFiles/ioss.dir/Ioss_Assembly.C.o 
FAILED: ThirdParty/ioss/vtkioss/CMakeFiles/ioss.dir/Ioss_Beam2.C.o 
FAILED: ThirdParty/ioss/vtkioss/CMakeFiles/ioss.dir/Ioss_Beam3.C.o 
FAILED: ThirdParty/ioss/vtkioss/CMakeFiles/ioss.dir/Ioss_Beam4.C.o 
FAILED: ThirdParty/ioss/vtkioss/CMakeFiles/ioss.dir/Ioss_Blob.C.o 
FAILED: ThirdParty/ioss/vtkioss/CMakeFiles/ioss.dir/Ioss_CommSet.C.o 
FAILED: ThirdParty/ioss/vtkioss/CMakeFiles/ioss.dir/Ioss_Compare.C.o 
FAILED: ThirdParty/ioss/vtkioss/CMakeFiles/ioss.dir/Ioss_CompositeVariableType.C.o 
FAILED: ThirdParty/ioss/vtkioss/CMakeFiles/ioss.dir/Ioss_ConcreteVariableType.C.o 
FAILED: ThirdParty/ioss/vtkioss/CMakeFiles/ioss.dir/Ioss_ConstructedVariableType.C.o 
FAILED: ThirdParty/ioss/vtkioss/CMakeFiles/ioss.dir/Ioss_CoordinateFrame.C.o 
FAILED: ThirdParty/ioss/vtkioss/CMakeFiles/ioss.dir/Ioss_CopyDatabase.C.o 
FAILED: ThirdParty/ioss/vtkioss/CMakeFiles/ioss.dir/Ioss_DatabaseIO.C.o 
FAILED: ThirdParty/ioss/vtkioss/CMakeFiles/ioss.dir/Ioss_Edge2.C.o 
FAILED: ThirdParty/ioss/vtkioss/CMakeFiles/ioss.dir/Ioss_Edge2D2.C.o 
FAILED: ThirdParty/ioss/vtkioss/CMakeFiles/ioss.dir/Ioss_Edge2D3.C.o 
FAILED: ThirdParty/ioss/vtkioss/CMakeFiles/ioss.dir/Ioss_Edge3.C.o 
FAILED: ThirdParty/ioss/vtkioss/CMakeFiles/ioss.dir/Ioss_Edge4.C.o 
FAILED: ThirdParty/ioss/vtkioss/CMakeFiles/ioss.dir/Ioss_EdgeBlock.C.o 
FAILED: ThirdParty/ioss/vtkioss/CMakeFiles/ioss.dir/Ioss_EdgeSet.C.o 
FAILED: ThirdParty/ioss/vtkioss/CMakeFiles/ioss.dir/Ioss_ElementBlock.C.o 
FAILED: ThirdParty/ioss/vtkioss/CMakeFiles/ioss.dir/Ioss_ElementPermutation.C.o 
FAILED: ThirdParty/ioss/vtkioss/CMakeFiles/ioss.dir/Ioss_ElementSet.C.o 
/var/tmp/portage/sci-libs/vtk-9.2.5/work/VTK-9.2.5/ThirdParty/ioss/vtkioss/Ioss_Sort.h:138:5: error: "USE_STD_SORT" is not defined, evaluates to 0 [-Werror=undef]
Comment 4 Larry the Git Cow gentoo-dev 2023-01-28 14:14:30 UTC
The bug has been closed via the following commit(s):

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

commit 0892cf904167c811b7ac1c45f392ade6213618d3
Author:     Bernd Waibel <waebbl-gentoo@posteo.net>
AuthorDate: 2023-01-28 13:55:50 +0000
Commit:     Andrew Ammerlaan <andrewammerlaan@gentoo.org>
CommitDate: 2023-01-28 14:13:41 +0000

    profiles/base/package.use.mask: mask debug USE flag for sci-libs/vtk
    
    The use flag has some issues building, adds an additional layer of
    complexity and it's advantage is uncertain.
    It needs some love to get the cmake options attached to it right and
    see, if some of them need additional guards related to use flags in use.
    We might also decide to remove this use flag completely in the future.
    
    Closes: https://bugs.gentoo.org/891829
    Signed-off-by: Bernd Waibel <waebbl-gentoo@posteo.net>
    Closes: https://github.com/gentoo/gentoo/pull/29236
    Signed-off-by: Andrew Ammerlaan <andrewammerlaan@gentoo.org>

 profiles/base/package.use.mask | 6 ++++++
 1 file changed, 6 insertions(+)