Spack v0.22.0 fsl package and VTK build issue

Hi All,

Any help welcome as I have not compiles stuff in ages.

vtk-8.2.1a-wqkxligxrsrz3qivw4owiu3krvgtdbqe failed

I am unfortunately having issues building fsl ( FSL - FslWiki )
It would seem that it fails building on my reel 9.4 server. At the following stage. Lots more errors following on but thought just this may help.

6899    [ 93%] Building CXX object Rendering/VolumeOpenGL2/CMakeFiles/vtkRenderingVolumeOpenGL2.dir/vtkOpenGLRayCastImageDisplayHelper.cxx.o
     6900    cd /tmp/root/spack-stage/spack-stage-vtk-8.2.1a-wqkxligxrsrz3qivw4owiu3krvgtdbqe/spack-build-wqkxlig/Rendering/VolumeOpenGL2 && /hpc/spack/lib/spack/e
             nv/gcc/g++ -DVTK_IN_VTK -DvtkRenderingVolumeOpenGL2_EXPORTS -I/tmp/root/spack-stage/spack-stage-vtk-8.2.1a-wqkxligxrsrz3qivw4owiu3krvgtdbqe/spack-buil
             d-wqkxlig/Rendering/VolumeOpenGL2 -I/tmp/root/spack-stage/spack-stage-vtk-8.2.1a-wqkxligxrsrz3qivw4owiu3krvgtdbqe/spack-src/Rendering/VolumeOpenGL2 -I
             /tmp/root/spack-stage/spack-stage-vtk-8.2.1a-wqkxligxrsrz3qivw4owiu3krvgtdbqe/spack-build-wqkxlig/Common/Core -I/tmp/root/spack-stage/spack-stage-vtk-
             8.2.1a-wqkxligxrsrz3qivw4owiu3krvgtdbqe/spack-src/Common/Core -I/tmp/root/spack-stage/spack-stage-vtk-8.2.1a-wqkxligxrsrz3qivw4owiu3krvgtdbqe/spack-bu
             ild-wqkxlig/Utilities/KWIML -I/tmp/root/spack-stage/spack-stage-vtk-8.2.1a-wqkxligxrsrz3qivw4owiu3krvgtdbqe/spack-src/Utilities/KWIML -I/tmp/root/spac
             k-stage/spack-stage-vtk-8.2.1a-wqkxligxrsrz3qivw4owiu3krvgtdbqe/spack-build-wqkxlig/Utilities/KWSys -I/tmp/root/spack-stage/spack-stage-vtk-8.2.1a-wqk
             xligxrsrz3qivw4owiu3krvgtdbqe/spack-src/Utilities/KWSys -I/tmp/root/spack-stage/spack-stage-vtk-8.2.1a-wqkxligxrsrz3qivw4owiu3krvgtdbqe/spack-build-wq
             kxlig/ThirdParty/utf8 -I/tmp/root/spack-stage/spack-stage-vtk-8.2.1a-wqkxligxrsrz3qivw4owiu3krvgtdbqe/spack-src/ThirdParty/utf8 -I/tmp/root/spack-stag
             e/spack-stage-vtk-8.2.1a-wqkxligxrsrz3qivw4owiu3krvgtdbqe/spack-build-wqkxlig/Common/DataModel -I/tmp/root/spack-stage/spack-stage-vtk-8.2.1a-wqkxligx
             rsrz3qivw4owiu3krvgtdbqe/spack-src/Common/DataModel -I/tmp/root/spack-stage/spack-stage-vtk-8.2.1a-wqkxligxrsrz3qivw4owiu3krvgtdbqe/spack-build-wqkxli
             g/Common/Math -I/tmp/root/spack-stage/spack-stage-vtk-8.2.1a-wqkxligxrsrz3qivw4owiu3krvgtdbqe/spack-src/Common/Math -I/tmp/root/spack-stage/spack-stag
             e-vtk-8.2.1a-wqkxligxrsrz3qivw4owiu3krvgtdbqe/spack-build-wqkxlig/Common/Misc -I/tmp/root/spack-stage/spack-stage-vtk-8.2.1a-wqkxligxrsrz3qivw4owiu3kr
             vgtdbqe/spack-src/Common/Misc -I/tmp/root/spack-stage/spack-stage-vtk-8.2.1a-wqkxligxrsrz3qivw4owiu3krvgtdbqe/spack-build-wqkxlig/Common/System -I/tmp
             /root/spack-stage/spack-stage-vtk-8.2.1a-wqkxligxrsrz3qivw4owiu3krvgtdbqe/spack-src/Common/System -I/tmp/root/spack-stage/spack-stage-vtk-8.2.1a-wqkxl
             igxrsrz3qivw4owiu3krvgtdbqe/spack-build-wqkxlig/Common/Transforms -I/tmp/root/spack-stage/spack-stage-vtk-8.2.1a-wqkxligxrsrz3qivw4owiu3krvgtdbqe/spac
             k-src/Common/Transforms -I/tmp/root/spack-stage/spack-stage-vtk-8.2.1a-wqkxligxrsrz3qivw4owiu3krvgtdbqe/spack-build-wqkxlig/Filters/Core -I/tmp/root/s
             pack-stage/spack-stage-vtk-8.2.1a-wqkxligxrsrz3qivw4owiu3krvgtdbqe/spack-src/Filters/Core -I/tmp/root/spack-stage/spack-stage-vtk-8.2.1a-wqkxligxrsrz3
             qivw4owiu3krvgtdbqe/spack-build-wqkxlig/Common/ExecutionModel -I/tmp/root/spack-stage/spack-stage-vtk-8.2.1a-wqkxligxrsrz3qivw4owiu3krvgtdbqe/spack-sr
             c/Common/ExecutionModel -I/tmp/root/spack-stage/spack-stage-vtk-8.2.1a-wqkxligxrsrz3qivw4owiu3krvgtdbqe/spack-build-wqkxlig/Filters/General -I/tmp/roo
             t/spack-stage/spack-stage-vtk-8.2.1a-wqkxligxrsrz3qivw4owiu3krvgtdbqe/spack-src/Filters/General -I/tmp/root/spack-stage/spack-stage-vtk-8.2.1a-wqkxlig
             xrsrz3qivw4owiu3krvgtdbqe/spack-build-wqkxlig/Common/ComputationalGeometry -I/tmp/root/spack-stage/spack-stage-vtk-8.2.1a-wqkxligxrsrz3qivw4owiu3krvgt
             dbqe/spack-src/Common/ComputationalGeometry -I/tmp/root/spack-stage/spack-stage-vtk-8.2.1a-wqkxligxrsrz3qivw4owiu3krvgtdbqe/spack-build-wqkxlig/Filter
             s/Sources -I/tmp/root/spack-stage/spack-stage-vtk-8.2.1a-wqkxligxrsrz3qivw4owiu3krvgtdbqe/spack-src/Filters/Sources -I/tmp/root/spack-stage/spack-stag
             e-vtk-8.2.1a-wqkxligxrsrz3qivw4owiu3krvgtdbqe/spack-build-wqkxlig/Imaging/Core -I/tmp/root/spack-stage/spack-stage-vtk-8.2.1a-wqkxligxrsrz3qivw4owiu3k
             rvgtdbqe/spack-src/Imaging/Core -I/tmp/root/spack-stage/spack-stage-vtk-8.2.1a-wqkxligxrsrz3qivw4owiu3krvgtdbqe/spack-build-wqkxlig/Imaging/Math -I/tm
             p/root/spack-stage/spack-stage-vtk-8.2.1a-wqkxligxrsrz3qivw4owiu3krvgtdbqe/spack-src/Imaging/Math -I/tmp/root/spack-stage/spack-stage-vtk-8.2.1a-wqkxl
             igxrsrz3qivw4owiu3krvgtdbqe/spack-build-wqkxlig/Rendering/Core -I/tmp/root/spack-stage/spack-stage-vtk-8.2.1a-wqkxligxrsrz3qivw4owiu3krvgtdbqe/spack-s
             rc/Rendering/Core -I/tmp/root/spack-stage/spack-stage-vtk-8.2.1a-wqkxligxrsrz3qivw4owiu3krvgtdbqe/spack-build-wqkxlig/Common/Color -I/tmp/root/spack-s
             tage/spack-stage-vtk-8.2.1a-wqkxligxrsrz3qivw4owiu3krvgtdbqe/spack-src/Common/Color -I/tmp/root/spack-stage/spack-stage-vtk-8.2.1a-wqkxligxrsrz3qivw4o
             wiu3krvgtdbqe/spack-build-wqkxlig/Filters/Geometry -I/tmp/root/spack-stage/spack-stage-vtk-8.2.1a-wqkxligxrsrz3qivw4owiu3krvgtdbqe/spack-src/Filters/G
             eometry -I/tmp/root/spack-stage/spack-stage-vtk-8.2.1a-wqkxligxrsrz3qivw4owiu3krvgtdbqe/spack-build-wqkxlig/Rendering/OpenGL2 -I/tmp/root/spack-stage/
             spack-stage-vtk-8.2.1a-wqkxligxrsrz3qivw4owiu3krvgtdbqe/spack-src/Rendering/OpenGL2 -I/tmp/root/spack-stage/spack-stage-vtk-8.2.1a-wqkxligxrsrz3qivw4o
             wiu3krvgtdbqe/spack-build-wqkxlig/ThirdParty/glew -I/tmp/root/spack-stage/spack-stage-vtk-8.2.1a-wqkxligxrsrz3qivw4owiu3krvgtdbqe/spack-src/ThirdParty
             /glew -I/hpc/spack/opt/spack/linux-rhel9-zen4/gcc-11.4.1/glew-2.2.0-6fv53lwjw6owcxmtmsgo5d446hxx6ihw/include -I/tmp/root/spack-stage/spack-stage-vtk-8
             .2.1a-wqkxligxrsrz3qivw4owiu3krvgtdbqe/spack-build-wqkxlig/Rendering/Volume -I/tmp/root/spack-stage/spack-stage-vtk-8.2.1a-wqkxligxrsrz3qivw4owiu3krvg
             tdbqe/spack-src/Rendering/Volume -I/tmp/root/spack-stage/spack-stage-vtk-8.2.1a-wqkxligxrsrz3qivw4owiu3krvgtdbqe/spack-build-wqkxlig/IO/XML -I/tmp/roo
             t/spack-stage/spack-stage-vtk-8.2.1a-wqkxligxrsrz3qivw4owiu3krvgtdbqe/spack-src/IO/XML -I/tmp/root/spack-stage/spack-stage-vtk-8.2.1a-wqkxligxrsrz3qiv
             w4owiu3krvgtdbqe/spack-build-wqkxlig/IO/Core -I/tmp/root/spack-stage/spack-stage-vtk-8.2.1a-wqkxligxrsrz3qivw4owiu3krvgtdbqe/spack-src/IO/Core -I/tmp/
             root/spack-stage/spack-stage-vtk-8.2.1a-wqkxligxrsrz3qivw4owiu3krvgtdbqe/spack-build-wqkxlig/ThirdParty/doubleconversion -I/tmp/root/spack-stage/spack
             -stage-vtk-8.2.1a-wqkxligxrsrz3qivw4owiu3krvgtdbqe/spack-src/ThirdParty/doubleconversion -I/hpc/spack/opt/spack/linux-rhel9-zen4/gcc-11.4.1/double-con
             version-3.3.0-iww7ya5bn5dyd2pnlyhbeokrcaetggfp/include/double-conversion -I/tmp/root/spack-stage/spack-stage-vtk-8.2.1a-wqkxligxrsrz3qivw4owiu3krvgtdb
             qe/spack-build-wqkxlig/ThirdParty/lz4 -I/tmp/root/spack-stage/spack-stage-vtk-8.2.1a-wqkxligxrsrz3qivw4owiu3krvgtdbqe/spack-src/ThirdParty/lz4 -I/hpc/
             spack/opt/spack/linux-rhel9-zen4/gcc-11.4.1/lz4-1.9.4-xrfhm6rar3slc42w2gjwlyixqn2m4gyd/include -I/tmp/root/spack-stage/spack-stage-vtk-8.2.1a-wqkxligx
             rsrz3qivw4owiu3krvgtdbqe/spack-build-wqkxlig/ThirdParty/lzma -I/tmp/root/spack-stage/spack-stage-vtk-8.2.1a-wqkxligxrsrz3qivw4owiu3krvgtdbqe/spack-src
             /ThirdParty/lzma -I/hpc/spack/opt/spack/linux-rhel9-zen4/gcc-11.4.1/xz-5.4.6-lpfvsac7cny3tjhxnhybqhlsngzmst6g/include -I/tmp/root/spack-stage/spack-st
             age-vtk-8.2.1a-wqkxligxrsrz3qivw4owiu3krvgtdbqe/spack-build-wqkxlig/ThirdParty/zlib -I/tmp/root/spack-stage/spack-stage-vtk-8.2.1a-wqkxligxrsrz3qivw4o
             wiu3krvgtdbqe/spack-src/ThirdParty/zlib -I/hpc/spack/opt/spack/linux-rhel9-zen4/gcc-11.4.1/zlib-ng-2.1.6-oiiy6znx6natzub6nmicbvzp7z5chg2m/include -I/t
             mp/root/spack-stage/spack-stage-vtk-8.2.1a-wqkxligxrsrz3qivw4owiu3krvgtdbqe/spack-build-wqkxlig/IO/XMLParser -I/tmp/root/spack-stage/spack-stage-vtk-8
             .2.1a-wqkxligxrsrz3qivw4owiu3krvgtdbqe/spack-src/IO/XMLParser -I/tmp/root/spack-stage/spack-stage-vtk-8.2.1a-wqkxligxrsrz3qivw4owiu3krvgtdbqe/spack-bu
             ild-wqkxlig/ThirdParty/expat -I/tmp/root/spack-stage/spack-stage-vtk-8.2.1a-wqkxligxrsrz3qivw4owiu3krvgtdbqe/spack-src/ThirdParty/expat -I/hpc/spack/o
             pt/spack/linux-rhel9-zen4/gcc-11.4.1/expat-2.6.2-ayfi4ykuzg4erguxtxob5p7guebglylc/include -isystem /hpc/spack/opt/spack/linux-rhel9-zen4/gcc-11.4.1/me
             sa-23.3.6-dxha2sefk47aq6oizbfwb5szdo5hrx4e/include -O3 -DNDEBUG -std=c++11 -fPIC -fvisibility=hidden -MD -MT Rendering/VolumeOpenGL2/CMakeFiles/vtkRen
             deringVolumeOpenGL2.dir/vtkOpenGLRayCastImageDisplayHelper.cxx.o -MF CMakeFiles/vtkRenderingVolumeOpenGL2.dir/vtkOpenGLRayCastImageDisplayHelper.cxx.o
             .d -o CMakeFiles/vtkRenderingVolumeOpenGL2.dir/vtkOpenGLRayCastImageDisplayHelper.cxx.o -c /tmp/root/spack-stage/spack-stage-vtk-8.2.1a-wqkxligxrsrz3q
             ivw4owiu3krvgtdbqe/spack-src/Rendering/VolumeOpenGL2/vtkOpenGLRayCastImageDisplayHelper.cxx
     6901    /usr/bin/ld: CMakeFiles/vtkProbeOpenGLVersion.dir/vtkProbeOpenGLVersion.cxx.o: in function `vtkRenderingOpenGL2_ModuleInit::~vtkRenderingOpenGL2_Modul
             eInit()':
  >> 6902    vtkProbeOpenGLVersion.cxx:(.text._ZN30vtkRenderingOpenGL2_ModuleInitD2Ev[_ZN30vtkRenderingOpenGL2_ModuleInitD5Ev]+0x5): undefined reference to `vtkRen
             deringOpenGL2_AutoInit_Destruct()'
     6903    /usr/bin/ld: CMakeFiles/vtkProbeOpenGLVersion.dir/vtkProbeOpenGLVersion.cxx.o: in function `main':
  >> 6904    vtkProbeOpenGLVersion.cxx:(.text.startup+0x10): undefined reference to `vtkRenderer::New()'
  >> 6905    /usr/bin/ld: vtkProbeOpenGLVersion.cxx:(.text.startup+0x18): undefined reference to `vtkRenderWindow::New()'
  >> 6906    /usr/bin/ld: vtkProbeOpenGLVersion.cxx:(.text.startup+0x50): undefined reference to `vtkObjectBase::GetClassName() const'

I am unfortunately having issues building fsl ( FSL - FslWiki 2 )

You may want to contact FSL developpers them.

Roger that. Will do. I will also try building vtk in spack by itself to see if there are any issues.