Repository: spack/spack

Issue:
Installation issue: dla-future
### Steps to reproduce the issue

```console
$ spack spec -l dla-future@0.3.1%gcc@13.2.0~cuda~doc~hdf5~ipo~miniapps~rocm+scalapack+shared build_system=cmake build_type=Release generator=make arch=linux-rocky9-zen4
Input spec
--------------------------------
 -   dla-future@0.3.1%gcc@13.2.0~cuda~doc~hdf5~ipo~miniapps~rocm+scalapack+shared build_system=cmake build_type=Release generator=make arch=linux-rocky9-zen4

Concretized
--------------------------------
 -   fuogq5a  dla-future@0.3.1%gcc@13.2.0~cuda~doc~hdf5~ipo~miniapps~rocm+scalapack+shared build_system=cmake build_type=Release generator=make arch=linux-rocky9-zen4
[+]  ykffr2r      ^blaspp@2023.08.25%gcc@13.2.0~cuda~ipo+openmp~rocm+shared~sycl build_system=cmake build_type=Release generator=make arch=linux-rocky9-zen4
[+]  vwuqgfr      ^cmake@3.27.4%gcc@13.2.0~doc+ncurses+ownlibs build_system=generic build_type=Release arch=linux-rocky9-zen4
[e]  lhsxnxg          ^curl@8.1.2%gcc@13.2.0~gssapi~ldap~libidn2~librtmp~libssh~libssh2+nghttp2 build_system=autotools libs=shared,static tls=openssl arch=linux-rocky9-zen4
[+]  xmhk74l          ^ncurses@6.4%gcc@13.2.0~symlinks+termlib abi=none build_system=autotools arch=linux-rocky9-zen4
[e]  45s5qre              ^pkgconf@1.7.3%gcc@13.2.0 build_system=autotools arch=linux-rocky9-zen4
[+]  6kq736k          ^zlib-ng@2.1.3%gcc@13.2.0+compat+opt build_system=autotools patches=299b958,ae9077a,b692621 arch=linux-rocky9-zen4
[e]  333juhg      ^gmake@4.3%gcc@13.2.0~guile build_system=autotools patches=599f134 arch=linux-rocky9-zen4
[+]  slnvwup      ^lapackpp@2023.08.25%gcc@13.2.0~cuda~ipo~rocm+shared~sycl build_system=cmake build_type=Release generator=make arch=linux-rocky9-zen4
[+]  vqwhg6h      ^netlib-scalapack@2.2.0%gcc@13.2.0~ipo~pic+shared build_system=cmake build_type=Release generator=make patches=072b006,1c9ce5f,244a9aa arch=linux-rocky9-zen4
[+]  5dulvnv          ^cmake@3.27.4%gcc@13.2.0~doc+ncurses+ownlibs build_system=generic build_type=Release arch=linux-rocky9-zen4
[+]  pm33vur              ^zlib-ng@2.1.3%aocc@4.1.0+compat+opt build_system=autotools patches=299b958,ae9077a,b692621 arch=linux-rocky9-zen4
[+]  77v4ju5      ^openblas@0.3.23%gcc@13.2.0~bignuma~consistent_fpcsr+fortran~ilp64+locking+pic+shared build_system=makefile symbol_suffix=none threads=openmp arch=linux-rocky9-zen4
[e]  ke2472s          ^perl@5.32.1%gcc@13.2.0+cpanm+opcode+open+shared+threads build_system=generic arch=linux-rocky9-zen4
[e]  mix6wu2      ^openmpi@4.1.1%gcc@13.2.0~atomics~cuda~cxx~cxx_exceptions~gpfs~internal-hwloc~internal-pmix~java~legacylaunchers~lustre~memchecker~openshmem~orterunprefix+romio+rsh~singularity+static+vt+wrapper-rpath build_system=autotools fabrics=none schedulers=none arch=linux-rocky9-zen4
[+]  kigpehs      ^pika@0.20.0%gcc@13.2.0~apex~cuda~examples~generic_coroutines~ipo+mpi~rocm~stdexec~tracy build_system=cmake build_type=Release cxxstd=17 generator=ninja malloc=mimalloc arch=linux-rocky9-zen4
[+]  x2ywje6          ^boost@1.83.0%gcc@13.2.0+atomic+chrono~clanglibcpp~container~context~contract~coroutine+date_time~debug+exception~fiber+filesystem+graph~graph_parallel~icu+iostreams~json+locale+log+math~mpi+multithreaded~nowide~numpy~pic+program_options~python+random+regex+serialization+shared+signals~singlethreaded~stacktrace+system~taggedlayout+test+thread+timer~type_erasure~versionedlayout+wave build_system=generic cxxstd=17 patches=a440f96 visibility=hidden arch=linux-rocky9-zen4
[+]  h6dy6d4              ^bzip2@1.0.8%gcc@13.2.0~debug~pic+shared build_system=generic arch=linux-rocky9-zen4
[e]  ryg3cjg                  ^diffutils@3.7%gcc@13.2.0 build_system=autotools arch=linux-rocky9-zen4
[+]  maui6n5              ^xz@5.4.1%gcc@13.2.0~pic build_system=autotools libs=shared,static arch=linux-rocky9-zen4
[+]  ypk5ait              ^zstd@1.5.5%gcc@13.2.0~programs build_system=makefile libs=shared,static arch=linux-rocky9-zen4
[+]  q5ubu74          ^fmt@10.1.1%gcc@13.2.0~ipo+pic~shared build_system=cmake build_type=Release cxxstd=17 generator=make arch=linux-rocky9-zen4
[+]  zyhmfar          ^git@2.41.0%gcc@13.2.0+man+nls+perl+subtree~svn~tcltk build_system=autotools arch=linux-rocky9-zen4
[e]  56rkg5j              ^autoconf@2.69%gcc@13.2.0 build_system=autotools patches=7793209 arch=linux-rocky9-zen4
[e]  lgynr42              ^automake@1.16.2%gcc@13.2.0 build_system=autotools arch=linux-rocky9-zen4
[+]  w4s2kah              ^expat@2.5.0%gcc@13.2.0+libbsd build_system=autotools arch=linux-rocky9-zen4
[+]  fuxsrsf                  ^libbsd@0.11.7%gcc@13.2.0 build_system=autotools arch=linux-rocky9-zen4
[+]  3p47cf6                      ^libmd@1.0.4%gcc@13.2.0 build_system=autotools arch=linux-rocky9-zen4
[e]  uk46pmy              ^gettext@0.21%gcc@13.2.0+bzip2+curses+git~libunistring+libxml2+tar+xz build_system=autotools arch=linux-rocky9-zen4
[+]  vbcnxfk              ^libiconv@1.17%gcc@13.2.0 build_system=autotools libs=shared,static arch=linux-rocky9-zen4
[+]  mepkppj              ^libidn2@2.3.4%gcc@13.2.0 build_system=autotools arch=linux-rocky9-zen4
[+]  rhepwwv                  ^libunistring@1.1%gcc@13.2.0 build_system=autotools arch=linux-rocky9-zen4
[e]  hjydf7f              ^libtool@2.4.7%gcc@13.2.0 build_system=autotools arch=linux-rocky9-zen4
[e]  rz7guk2              ^m4@1.4.19%gcc@13.2.0+sigsegv build_system=autotools patches=9dc5fbd,bfdffa7 arch=linux-rocky9-zen4
[e]  fbqvmuz              ^openssh@8.7p1%gcc@13.2.0+gssapi build_system=autotools arch=linux-rocky9-zen4
[e]  jjfxnvp              ^openssl@3.1.2%gcc@13.2.0~docs+shared build_system=generic certs=mozilla arch=linux-rocky9-zen4
[+]  x7yr27q              ^pcre2@10.42%gcc@13.2.0~jit+multibyte build_system=autotools arch=linux-rocky9-zen4
[+]  kqx34fm          ^hwloc@2.9.1%gcc@13.2.0~cairo~cuda~gl~libudev+libxml2~netloc~nvml~oneapi-level-zero~opencl+pci~rocm build_system=autotools libs=shared,static arch=linux-rocky9-zen4
[+]  ke5iaom              ^libpciaccess@0.17%gcc@13.2.0 build_system=autotools arch=linux-rocky9-zen4
[+]  dsjuipk                  ^util-macros@1.19.3%gcc@13.2.0 build_system=autotools arch=linux-rocky9-zen4
[+]  6brwqzo              ^libxml2@2.10.3%gcc@13.2.0+pic~python+shared build_system=autotools arch=linux-rocky9-zen4
[+]  7b77vmp          ^mimalloc@2.1.2%gcc@13.2.0~build_tests~debug_full~ipo~local_dynamic_tls+override+padding~secure~see_asm~show_errors~skip_collect_on_exit~use_cxx~xmalloc build_system=cmake build_type=Release generator=make libs=object,shared,static arch=linux-rocky9-zen4
[e]  4oow5q2          ^ninja@1.11.1.git.kitware.jobserver-1%gcc@13.2.0+re2c build_system=generic arch=linux-rocky9-zen4
[+]  xeqp3sy      ^umpire@2022.10.0%gcc@13.2.0+c~cuda+device_alloc~deviceconst~examples~fortran~ipo~numa~openmp~rocm+shared build_system=cmake build_type=Release generator=make patches=0f43cad,64d8bdf,7ed5d2c tests=none arch=linux-rocky9-zen4
[+]  jxibx4a          ^blt@0.5.3%gcc@13.2.0 build_system=generic arch=linux-rocky9-zen4
[+]  f564zpo          ^camp@2022.10.1%gcc@13.2.0~cuda~ipo~openmp~rocm~tests build_system=cmake build_type=Release generator=make arch=linux-rocky9-zen4
```


### Error message

<details><summary>Error message</summary>

<pre>
==> dla-future: Executing phase: 'build'
==> Error: ProcessError: Command exited with status 2:
    'make' '-j16'

27 errors found in build log:
     161    cd /tmp/su_group/spack-stage/spack-stage-dla-future-0.3.1-fuogq5aa3ycd3ptqj46byphilnhwgb2l/spack-build-fuogq5a/src && /home/su_group/soft/spack/lib/spack/env/gcc/g++ -DDLAF_ASSERT_ENABLE -DDLAF_FU
            NCTION_NAME=__PRETTY_FUNCTION__ -DDLAF_WITH_OPENMP -DDLAF_WITH_SCALAPACK -I/tmp/su_group/spack-stage/spack-stage-dla-future-0.3.1-fuogq5aa3ycd3ptqj46byphilnhwgb2l/spack-src/include -I/tmp/su_group
            /spack-stage/spack-stage-dla-future-0.3.1-fuogq5aa3ycd3ptqj46byphilnhwgb2l/spack-build-fuogq5a/include -isystem /home/su_group/soft/openmpi411/include -isystem /home/su_group/soft/spack/opt/spack/
            linux-rocky9-zen4/gcc-13.2.0/pika-0.20.0-kigpehsvsnus75wociaimpklyv7stjx5/include -isystem /home/su_group/soft/spack/opt/spack/linux-rocky9-zen4/gcc-13.2.0/fmt-10.1.1-q5ubu744aqcv32o2v67kl3akuyq7q
            6cr/include -isystem /home/su_group/soft/spack/opt/spack/linux-rocky9-zen4/gcc-13.2.0/boost-1.83.0-x2ywje6ujgwmn5azrdaxdfqmagictr46/include -isystem /home/su_group/soft/spack/opt/spack/linux-rocky
            9-zen4/gcc-13.2.0/hwloc-2.9.1-kqx34fmilx4asu6lo6xppshczn2x7nyu/include -isystem /home/su_group/soft/spack/opt/spack/linux-rocky9-zen4/gcc-13.2.0/mimalloc-2.1.2-7b77vmpjyn5tgytlobmjvnapw4mwfotq/inc
            lude/mimalloc-2.1 -isystem /home/su_group/soft/spack/opt/spack/linux-rocky9-zen4/gcc-13.2.0/lapackpp-2023.08.25-slnvwup2lkwhkcytinkvubeiektoqbmn/include -isystem /home/su_group/soft/spack/opt/spac
            k/linux-rocky9-zen4/gcc-13.2.0/blaspp-2023.08.25-ykffr2rgpqbrnyjcpfdcyayipax6fywi/include -isystem /home/su_group/soft/spack/opt/spack/linux-rocky9-zen4/gcc-13.2.0/camp-2022.10.1-f564zpor5w4ib3mab
            dc5ziyat3tagpij/include -isystem /home/su_group/soft/spack/opt/spack/linux-rocky9-zen4/gcc-13.2.0/umpire-2022.10.0-xeqp3syoa3fnzx4r57cae5jlhdiceikg/include -O3 -DNDEBUG -std=gnu++17 -fPIC -Wall -W
            extra -Wnon-virtual-dtor -Wunused -Wunused-local-typedefs -Woverloaded-virtual -Wdangling-else -Wswitch-enum -Wsign-conversion -Wfloat-conversion -pedantic -fopenmp -pthread -fcompare-debug-second
             -gz -MD -MT src/CMakeFiles/dlaf.factorization_object.dir/factorization/cholesky/mc.cpp.o -MF CMakeFiles/dlaf.factorization_object.dir/factorization/cholesky/mc.cpp.o.d -o CMakeFiles/dlaf.factoriz
            ation_object.dir/factorization/cholesky/mc.cpp.o -c /tmp/su_group/spack-stage/spack-stage-dla-future-0.3.1-fuogq5aa3ycd3ptqj46byphilnhwgb2l/spack-src/src/factorization/cholesky/mc.cpp
     162    cd /tmp/su_group/spack-stage/spack-stage-dla-future-0.3.1-fuogq5aa3ycd3ptqj46byphilnhwgb2l/spack-build-fuogq5a/src && /home/su_group/soft/spack/lib/spack/env/gcc/g++ -DDLAF_ASSERT_ENABLE -DDLAF_FU
            NCTION_NAME=__PRETTY_FUNCTION__ -DDLAF_WITH_OPENMP -DDLAF_WITH_SCALAPACK -I/tmp/su_group/spack-stage/spack-stage-dla-future-0.3.1-fuogq5aa3ycd3ptqj46byphilnhwgb2l/spack-src/include -I/tmp/su_group
            /spack-stage/spack-stage-dla-future-0.3.1-fuogq5aa3ycd3ptqj46byphilnhwgb2l/spack-build-fuogq5a/include -isystem /home/su_group/soft/openmpi411/include -isystem /home/su_group/soft/spack/opt/spack/
            linux-rocky9-zen4/gcc-13.2.0/pika-0.20.0-kigpehsvsnus75wociaimpklyv7stjx5/include -isystem /home/su_group/soft/spack/opt/spack/linux-rocky9-zen4/gcc-13.2.0/fmt-10.1.1-q5ubu744aqcv32o2v67kl3akuyq7q
            6cr/include -isystem /home/su_group/soft/spack/opt/spack/linux-rocky9-zen4/gcc-13.2.0/boost-1.83.0-x2ywje6ujgwmn5azrdaxdfqmagictr46/include -isystem /home/su_group/soft/spack/opt/spack/linux-rocky
            9-zen4/gcc-13.2.0/hwloc-2.9.1-kqx34fmilx4asu6lo6xppshczn2x7nyu/include -isystem /home/su_group/soft/spack/opt/spack/linux-rocky9-zen4/gcc-13.2.0/mimalloc-2.1.2-7b77vmpjyn5tgytlobmjvnapw4mwfotq/inc
            lude/mimalloc-2.1 -isystem /home/su_group/soft/spack/opt/spack/linux-rocky9-zen4/gcc-13.2.0/lapackpp-2023.08.25-slnvwup2lkwhkcytinkvubeiektoqbmn/include -isystem /home/su_group/soft/spack/opt/spac
            k/linux-rocky9-zen4/gcc-13.2.0/blaspp-2023.08.25-ykffr2rgpqbrnyjcpfdcyayipax6fywi/include -isystem /home/su_group/soft/spack/opt/spack/linux-rocky9-zen4/gcc-13.2.0/camp-2022.10.1-f564zpor5w4ib3mab
            dc5ziyat3tagpij/include -isystem /home/su_group/soft/spack/opt/spack/linux-rocky9-zen4/gcc-13.2.0/umpire-2022.10.0-xeqp3syoa3fnzx4r57cae5jlhdiceikg/include -O3 -DNDEBUG -std=gnu++17 -fPIC -Wall -W
            extra -Wnon-virtual-dtor -Wunused -Wunused-local-typedefs -Woverloaded-virtual -Wdangling-else -Wswitch-enum -Wsign-conversion -Wfloat-conversion -pedantic -fopenmp -pthread -fcompare-debug-second
             -gz -MD -MT src/CMakeFiles/dlaf.c_api_object.dir/c_api/eigensolver/eigensolver.cpp.o -MF CMakeFiles/dlaf.c_api_object.dir/c_api/eigensolver/eigensolver.cpp.o.d -o CMakeFiles/dlaf.c_api_object.dir
            /c_api/eigensolver/eigensolver.cpp.o -c /tmp/su_group/spack-stage/spack-stage-dla-future-0.3.1-fuogq5aa3ycd3ptqj46byphilnhwgb2l/spack-src/src/c_api/eigensolver/eigensolver.cpp
     163    cd /tmp/su_group/spack-stage/spack-stage-dla-future-0.3.1-fuogq5aa3ycd3ptqj46byphilnhwgb2l/spack-build-fuogq5a/src && /home/su_group/soft/spack/lib/spack/env/gcc/g++ -DDLAF_ASSERT_ENABLE -DDLAF_FU
            NCTION_NAME=__PRETTY_FUNCTION__ -DDLAF_WITH_OPENMP -DDLAF_WITH_SCALAPACK -I/tmp/su_group/spack-stage/spack-stage-dla-future-0.3.1-fuogq5aa3ycd3ptqj46byphilnhwgb2l/spack-src/include -I/tmp/su_group
            /spack-stage/spack-stage-dla-future-0.3.1-fuogq5aa3ycd3ptqj46byphilnhwgb2l/spack-build-fuogq5a/include -isystem /home/su_group/soft/openmpi411/include -isystem /home/su_group/soft/spack/opt/spack/
            linux-rocky9-zen4/gcc-13.2.0/pika-0.20.0-kigpehsvsnus75wociaimpklyv7stjx5/include -isystem /home/su_group/soft/spack/opt/spack/linux-rocky9-zen4/gcc-13.2.0/fmt-10.1.1-q5ubu744aqcv32o2v67kl3akuyq7q
            6cr/include -isystem /home/su_group/soft/spack/opt/spack/linux-rocky9-zen4/gcc-13.2.0/boost-1.83.0-x2ywje6ujgwmn5azrdaxdfqmagictr46/include -isystem /home/su_group/soft/spack/opt/spack/linux-rocky
            9-zen4/gcc-13.2.0/hwloc-2.9.1-kqx34fmilx4asu6lo6xppshczn2x7nyu/include -isystem /home/su_group/soft/spack/opt/spack/linux-rocky9-zen4/gcc-13.2.0/mimalloc-2.1.2-7b77vmpjyn5tgytlobmjvnapw4mwfotq/inc
            lude/mimalloc-2.1 -isystem /home/su_group/soft/spack/opt/spack/linux-rocky9-zen4/gcc-13.2.0/lapackpp-2023.08.25-slnvwup2lkwhkcytinkvubeiektoqbmn/include -isystem /home/su_group/soft/spack/opt/spac
            k/linux-rocky9-zen4/gcc-13.2.0/blaspp-2023.08.25-ykffr2rgpqbrnyjcpfdcyayipax6fywi/include -isystem /home/su_group/soft/spack/opt/spack/linux-rocky9-zen4/gcc-13.2.0/camp-2022.10.1-f564zpor5w4ib3mab
            dc5ziyat3tagpij/include -isystem /home/su_group/soft/spack/opt/spack/linux-rocky9-zen4/gcc-13.2.0/umpire-2022.10.0-xeqp3syoa3fnzx4r57cae5jlhdiceikg/include -O3 -DNDEBUG -std=gnu++17 -fPIC -Wall -W
            extra -Wnon-virtual-dtor -Wunused -Wunused-local-typedefs -Woverloaded-virtual -Wdangling-else -Wswitch-enum -Wsign-conversion -Wfloat-conversion -pedantic -fopenmp -pthread -fcompare-debug-second
             -gz -MD -MT src/CMakeFiles/dlaf.multiplication_object.dir/multiplication/general/mc.cpp.o -MF CMakeFiles/dlaf.multiplication_object.dir/multiplication/general/mc.cpp.o.d -o CMakeFiles/dlaf.multip
            lication_object.dir/multiplication/general/mc.cpp.o -c /tmp/su_group/spack-stage/spack-stage-dla-future-0.3.1-fuogq5aa3ycd3ptqj46byphilnhwgb2l/spack-src/src/multiplication/general/mc.cpp
     164    [ 29%] Building CXX object src/CMakeFiles/dlaf.c_api_object.dir/c_api/eigensolver/gen_eigensolver.cpp.o
     165    cd /tmp/su_group/spack-stage/spack-stage-dla-future-0.3.1-fuogq5aa3ycd3ptqj46byphilnhwgb2l/spack-build-fuogq5a/src && /home/su_group/soft/spack/lib/spack/env/gcc/g++ -DDLAF_ASSERT_ENABLE -DDLAF_FU
            NCTION_NAME=__PRETTY_FUNCTION__ -DDLAF_WITH_OPENMP -DDLAF_WITH_SCALAPACK -I/tmp/su_group/spack-stage/spack-stage-dla-future-0.3.1-fuogq5aa3ycd3ptqj46byphilnhwgb2l/spack-src/include -I/tmp/su_group
            /spack-stage/spack-stage-dla-future-0.3.1-fuogq5aa3ycd3ptqj46byphilnhwgb2l/spack-build-fuogq5a/include -isystem /home/su_group/soft/openmpi411/include -isystem /home/su_group/soft/spack/opt/spack/
            linux-rocky9-zen4/gcc-13.2.0/pika-0.20.0-kigpehsvsnus75wociaimpklyv7stjx5/include -isystem /home/su_group/soft/spack/opt/spack/linux-rocky9-zen4/gcc-13.2.0/fmt-10.1.1-q5ubu744aqcv32o2v67kl3akuyq7q
            6cr/include -isystem /home/su_group/soft/spack/opt/spack/linux-rocky9-zen4/gcc-13.2.0/boost-1.83.0-x2ywje6ujgwmn5azrdaxdfqmagictr46/include -isystem /home/su_group/soft/spack/opt/spack/linux-rocky
            9-zen4/gcc-13.2.0/hwloc-2.9.1-kqx34fmilx4asu6lo6xppshczn2x7nyu/include -isystem /home/su_group/soft/spack/opt/spack/linux-rocky9-zen4/gcc-13.2.0/mimalloc-2.1.2-7b77vmpjyn5tgytlobmjvnapw4mwfotq/inc
            lude/mimalloc-2.1 -isystem /home/su_group/soft/spack/opt/spack/linux-rocky9-zen4/gcc-13.2.0/lapackpp-2023.08.25-slnvwup2lkwhkcytinkvubeiektoqbmn/include -isystem /home/su_group/soft/spack/opt/spac
            k/linux-rocky9-zen4/gcc-13.2.0/blaspp-2023.08.25-ykffr2rgpqbrnyjcpfdcyayipax6fywi/include -isystem /home/su_group/soft/spack/opt/spack/linux-rocky9-zen4/gcc-13.2.0/camp-2022.10.1-f564zpor5w4ib3mab
            dc5ziyat3tagpij/include -isystem /home/su_group/soft/spack/opt/spack/linux-rocky9-zen4/gcc-13.2.0/umpire-2022.10.0-xeqp3syoa3fnzx4r57cae5jlhdiceikg/include -O3 -DNDEBUG -std=gnu++17 -fPIC -Wall -W
            extra -Wnon-virtual-dtor -Wunused -Wunused-local-typedefs -Woverloaded-virtual -Wdangling-else -Wswitch-enum -Wsign-conversion -Wfloat-conversion -pedantic -fopenmp -pthread -fcompare-debug-second
             -gz -MD -MT src/CMakeFiles/dlaf.c_api_object.dir/c_api/eigensolver/gen_eigensolver.cpp.o -MF CMakeFiles/dlaf.c_api_object.dir/c_api/eigensolver/gen_eigensolver.cpp.o.d -o CMakeFiles/dlaf.c_api_ob
            ject.dir/c_api/eigensolver/gen_eigensolver.cpp.o -c /tmp/su_group/spack-stage/spack-stage-dla-future-0.3.1-fuogq5aa3ycd3ptqj46byphilnhwgb2l/spack-src/src/c_api/eigensolver/gen_eigensolver.cpp
     166    In file included from /tmp/su_group/spack-stage/spack-stage-dla-future-0.3.1-fuogq5aa3ycd3ptqj46byphilnhwgb2l/spack-src/src/blas/scal.cpp:14:
  >> 167    /tmp/su_group/spack-stage/spack-stage-dla-future-0.3.1-fuogq5aa3ycd3ptqj46byphilnhwgb2l/spack-src/include/dlaf/blas/scal.h:22:6: error: variable or field 'scal' declared void
     168       22 | void scal(std::int64_t n, float a, std::complex<float>* x, std::int64_t incx) noexcept;
     169          |      ^~~~
  >> 170    /tmp/su_group/spack-stage/spack-stage-dla-future-0.3.1-fuogq5aa3ycd3ptqj46byphilnhwgb2l/spack-src/include/dlaf/blas/scal.h:22:16: error: 'int64_t' is not a member of 'std'; did you mean 'int64_t'?
     171       22 | void scal(std::int64_t n, float a, std::complex<float>* x, std::int64_t incx) noexcept;
     172          |                ^~~~~~~
  >> 173    /tmp/su_group/spack-stage/spack-stage-dla-future-0.3.1-fuogq5aa3ycd3ptqj46byphilnhwgb2l/spack-src/include/dlaf/blas/scal.h:22:27: error: expected primary-expression before 'float'
     174       22 | void scal(std::int64_t n, float a, std::complex<float>* x, std::int64_t incx) noexcept;
     175          |                           ^~~~~
  >> 176    /tmp/su_group/spack-stage/spack-stage-dla-future-0.3.1-fuogq5aa3ycd3ptqj46byphilnhwgb2l/spack-src/include/dlaf/blas/scal.h:22:55: error: expected primary-expression before '*' token
     177       22 | void scal(std::int64_t n, float a, std::complex<float>* x, std::int64_t incx) noexcept;
     178          |                                                       ^
  >> 179    /tmp/su_group/spack-stage/spack-stage-dla-future-0.3.1-fuogq5aa3ycd3ptqj46byphilnhwgb2l/spack-src/include/dlaf/blas/scal.h:22:57: error: 'x' was not declared in this scope
     180       22 | void scal(std::int64_t n, float a, std::complex<float>* x, std::int64_t incx) noexcept;
     181          |                                                         ^
  >> 182    /tmp/su_group/spack-stage/spack-stage-dla-future-0.3.1-fuogq5aa3ycd3ptqj46byphilnhwgb2l/spack-src/include/dlaf/blas/scal.h:22:65: error: 'int64_t' is not a member of 'std'; did you mean 'int64_t'?
     183       22 | void scal(std::int64_t n, float a, std::complex<float>* x, std::int64_t incx) noexcept;
     184          |                                                                 ^~~~~~~
  >> 185    /tmp/su_group/spack-stage/spack-stage-dla-future-0.3.1-fuogq5aa3ycd3ptqj46byphilnhwgb2l/spack-src/include/dlaf/blas/scal.h:23:6: error: variable or field 'scal' declared void
     186       23 | void scal(std::int64_t n, double a, std::complex<double>* x, std::int64_t incx) noexcept;
     187          |      ^~~~
  >> 188    /tmp/su_group/spack-stage/spack-stage-dla-future-0.3.1-fuogq5aa3ycd3ptqj46byphilnhwgb2l/spack-src/include/dlaf/blas/scal.h:23:16: error: 'int64_t' is not a member of 'std'; did you mean 'int64_t'?
     189       23 | void scal(std::int64_t n, double a, std::complex<double>* x, std::int64_t incx) noexcept;
     190          |                ^~~~~~~
  >> 191    /tmp/su_group/spack-stage/spack-stage-dla-future-0.3.1-fuogq5aa3ycd3ptqj46byphilnhwgb2l/spack-src/include/dlaf/blas/scal.h:23:27: error: expected primary-expression before 'double'
     192       23 | void scal(std::int64_t n, double a, std::complex<double>* x, std::int64_t incx) noexcept;
     193          |                           ^~~~~~
  >> 194    /tmp/su_group/spack-stage/spack-stage-dla-future-0.3.1-fuogq5aa3ycd3ptqj46byphilnhwgb2l/spack-src/include/dlaf/blas/scal.h:23:57: error: expected primary-expression before '*' token
     195       23 | void scal(std::int64_t n, double a, std::complex<double>* x, std::int64_t incx) noexcept;
     196          |                                                         ^
  >> 197    /tmp/su_group/spack-stage/spack-stage-dla-future-0.3.1-fuogq5aa3ycd3ptqj46byphilnhwgb2l/spack-src/include/dlaf/blas/scal.h:23:59: error: 'x' was not declared in this scope
     198       23 | void scal(std::int64_t n, double a, std::complex<double>* x, std::int64_t incx) noexcept;
     199          |                                                           ^
  >> 200    /tmp/su_group/spack-stage/spack-stage-dla-future-0.3.1-fuogq5aa3ycd3ptqj46byphilnhwgb2l/spack-src/include/dlaf/blas/scal.h:23:67: error: 'int64_t' is not a member of 'std'; did you mean 'int64_t'?
     201       23 | void scal(std::int64_t n, double a, std::complex<double>* x, std::int64_t incx) noexcept;
     202          |                                                                   ^~~~~~~
  >> 203    /tmp/su_group/spack-stage/spack-stage-dla-future-0.3.1-fuogq5aa3ycd3ptqj46byphilnhwgb2l/spack-src/src/blas/scal.cpp:28:6: error: variable or field 'scal' declared void
     204       28 | void scal(std::int64_t n, float a, std::complex<float>* x, std::int64_t incx) noexcept {
     205          |      ^~~~
  >> 206    /tmp/su_group/spack-stage/spack-stage-dla-future-0.3.1-fuogq5aa3ycd3ptqj46byphilnhwgb2l/spack-src/src/blas/scal.cpp:28:16: error: 'int64_t' is not a member of 'std'; did you mean 'int64_t'?
     207       28 | void scal(std::int64_t n, float a, std::complex<float>* x, std::int64_t incx) noexcept {
     208          |                ^~~~~~~
  >> 209    /tmp/su_group/spack-stage/spack-stage-dla-future-0.3.1-fuogq5aa3ycd3ptqj46byphilnhwgb2l/spack-src/src/blas/scal.cpp:28:27: error: expected primary-expression before 'float'
     210       28 | void scal(std::int64_t n, float a, std::complex<float>* x, std::int64_t incx) noexcept {
     211          |                           ^~~~~
  >> 212    /tmp/su_group/spack-stage/spack-stage-dla-future-0.3.1-fuogq5aa3ycd3ptqj46byphilnhwgb2l/spack-src/src/blas/scal.cpp:28:55: error: expected primary-expression before '*' token
     213       28 | void scal(std::int64_t n, float a, std::complex<float>* x, std::int64_t incx) noexcept {
     214          |                                                       ^
  >> 215    /tmp/su_group/spack-stage/spack-stage-dla-future-0.3.1-fuogq5aa3ycd3ptqj46byphilnhwgb2l/spack-src/src/blas/scal.cpp:28:57: error: 'x' was not declared in this scope
     216       28 | void scal(std::int64_t n, float a, std::complex<float>* x, std::int64_t incx) noexcept {
     217          |                                                         ^
  >> 218    /tmp/su_group/spack-stage/spack-stage-dla-future-0.3.1-fuogq5aa3ycd3ptqj46byphilnhwgb2l/spack-src/src/blas/scal.cpp:28:65: error: 'int64_t' is not a member of 'std'; did you mean 'int64_t'?
     219       28 | void scal(std::int64_t n, float a, std::complex<float>* x, std::int64_t incx) noexcept {
     220          |                                                                 ^~~~~~~
  >> 221    /tmp/su_group/spack-stage/spack-stage-dla-future-0.3.1-fuogq5aa3ycd3ptqj46byphilnhwgb2l/spack-src/src/blas/scal.cpp:34:6: error: variable or field 'scal' declared void
     222       34 | void scal(std::int64_t n, double a, std::complex<double>* x, std::int64_t incx) noexcept {
     223          |      ^~~~
  >> 224    /tmp/su_group/spack-stage/spack-stage-dla-future-0.3.1-fuogq5aa3ycd3ptqj46byphilnhwgb2l/spack-src/src/blas/scal.cpp:34:16: error: 'int64_t' is not a member of 'std'; did you mean 'int64_t'?
     225       34 | void scal(std::int64_t n, double a, std::complex<double>* x, std::int64_t incx) noexcept {
     226          |                ^~~~~~~
  >> 227    /tmp/su_group/spack-stage/spack-stage-dla-future-0.3.1-fuogq5aa3ycd3ptqj46byphilnhwgb2l/spack-src/src/blas/scal.cpp:34:27: error: expected primary-expression before 'double'
     228       34 | void scal(std::int64_t n, double a, std::complex<double>* x, std::int64_t incx) noexcept {
     229          |                           ^~~~~~
  >> 230    /tmp/su_group/spack-stage/spack-stage-dla-future-0.3.1-fuogq5aa3ycd3ptqj46byphilnhwgb2l/spack-src/src/blas/scal.cpp:34:57: error: expected primary-expression before '*' token
     231       34 | void scal(std::int64_t n, double a, std::complex<double>* x, std::int64_t incx) noexcept {
     232          |                                                         ^
  >> 233    /tmp/su_group/spack-stage/spack-stage-dla-future-0.3.1-fuogq5aa3ycd3ptqj46byphilnhwgb2l/spack-src/src/blas/scal.cpp:34:59: error: 'x' was not declared in this scope
     234       34 | void scal(std::int64_t n, double a, std::complex<double>* x, std::int64_t incx) noexcept {
     235          |                                                           ^
  >> 236    /tmp/su_group/spack-stage/spack-stage-dla-future-0.3.1-fuogq5aa3ycd3ptqj46byphilnhwgb2l/spack-src/src/blas/scal.cpp:34:67: error: 'int64_t' is not a member of 'std'; did you mean 'int64_t'?
     237       34 | void scal(std::int64_t n, double a, std::complex<double>* x, std::int64_t incx) noexcept {
     238          |                                                                   ^~~~~~~
     239    [ 31%] Building CXX object src/CMakeFiles/dlaf.core_object.dir/communication/communicator.cpp.o
     240    cd /tmp/su_group/spack-stage/spack-stage-dla-future-0.3.1-fuogq5aa3ycd3ptqj46byphilnhwgb2l/spack-build-fuogq5a/src && /home/su_group/soft/spack/lib/spack/env/gcc/g++ -DDLAF_ASSERT_ENABLE -DDLAF_FU
            NCTION_NAME=__PRETTY_FUNCTION__ -DDLAF_WITH_OPENMP -DDLAF_WITH_SCALAPACK -I/tmp/su_group/spack-stage/spack-stage-dla-future-0.3.1-fuogq5aa3ycd3ptqj46byphilnhwgb2l/spack-src/include -I/tmp/su_group
            /spack-stage/spack-stage-dla-future-0.3.1-fuogq5aa3ycd3ptqj46byphilnhwgb2l/spack-build-fuogq5a/include -isystem /home/su_group/soft/openmpi411/include -isystem /home/su_group/soft/spack/opt/spack/
            linux-rocky9-zen4/gcc-13.2.0/pika-0.20.0-kigpehsvsnus75wociaimpklyv7stjx5/include -isystem /home/su_group/soft/spack/opt/spack/linux-rocky9-zen4/gcc-13.2.0/fmt-10.1.1-q5ubu744aqcv32o2v67kl3akuyq7q
            6cr/include -isystem /home/su_group/soft/spack/opt/spack/linux-rocky9-zen4/gcc-13.2.0/boost-1.83.0-x2ywje6ujgwmn5azrdaxdfqmagictr46/include -isystem /home/su_group/soft/spack/opt/spack/linux-rocky
            9-zen4/gcc-13.2.0/hwloc-2.9.1-kqx34fmilx4asu6lo6xppshczn2x7nyu/include -isystem /home/su_group/soft/spack/opt/spack/linux-rocky9-zen4/gcc-13.2.0/mimalloc-2.1.2-7b77vmpjyn5tgytlobmjvnapw4mwfotq/inc
            lude/mimalloc-2.1 -isystem /home/su_group/soft/spack/opt/spack/linux-rocky9-zen4/gcc-13.2.0/lapackpp-2023.08.25-slnvwup2lkwhkcytinkvubeiektoqbmn/include -isystem /home/su_group/soft/spack/opt/spac
            k/linux-rocky9-zen4/gcc-13.2.0/blaspp-2023.08.25-ykffr2rgpqbrnyjcpfdcyayipax6fywi/include -isystem /home/su_group/soft/spack/opt/spack/linux-rocky9-zen4/gcc-13.2.0/camp-2022.10.1-f564zpor5w4ib3mab
            dc5ziyat3tagpij/include -isystem /home/su_group/soft/spack/opt/spack/linux-rocky9-zen4/gcc-13.2.0/umpire-2022.10.0-xeqp3syoa3fnzx4r57cae5jlhdiceikg/include -O3 -DNDEBUG -std=gnu++17 -fPIC -Wall -W
            extra -Wnon-virtual-dtor -Wunused -Wunused-local-typedefs -Woverloaded-virtual -Wdangling-else -Wswitch-enum -Wsign-conversion -Wfloat-conversion -pedantic -fopenmp -pthread -fcompare-debug-second
             -gz -MD -MT src/CMakeFiles/dlaf.core_object.dir/communication/communicator.cpp.o -MF CMakeFiles/dlaf.core_object.dir/communication/communicator.cpp.o.d -o CMakeFiles/dlaf.core_object.dir/communic
            ation/communicator.cpp.o -c /tmp/su_group/spack-stage/spack-stage-dla-future-0.3.1-fuogq5aa3ycd3ptqj46byphilnhwgb2l/spack-src/src/communication/communicator.cpp
  >> 241    make[2]: *** [src/CMakeFiles/dlaf.core_object.dir/build.make:79: src/CMakeFiles/dlaf.core_object.dir/blas/scal.cpp.o] Error 1
     242    make[2]: *** Waiting for unfinished jobs....
     243    [ 33%] Building CXX object src/CMakeFiles/dlaf.c_api_object.dir/c_api/factorization/cholesky.cpp.o
     244    cd /tmp/su_group/spack-stage/spack-stage-dla-future-0.3.1-fuogq5aa3ycd3ptqj46byphilnhwgb2l/spack-build-fuogq5a/src && /home/su_group/soft/spack/lib/spack/env/gcc/g++ -DDLAF_ASSERT_ENABLE -DDLAF_FU
            NCTION_NAME=__PRETTY_FUNCTION__ -DDLAF_WITH_OPENMP -DDLAF_WITH_SCALAPACK -I/tmp/su_group/spack-stage/spack-stage-dla-future-0.3.1-fuogq5aa3ycd3ptqj46byphilnhwgb2l/spack-src/include -I/tmp/su_group
            /spack-stage/spack-stage-dla-future-0.3.1-fuogq5aa3ycd3ptqj46byphilnhwgb2l/spack-build-fuogq5a/include -isystem /home/su_group/soft/openmpi411/include -isystem /home/su_group/soft/spack/opt/spack/
            linux-rocky9-zen4/gcc-13.2.0/pika-0.20.0-kigpehsvsnus75wociaimpklyv7stjx5/include -isystem /home/su_group/soft/spack/opt/spack/linux-rocky9-zen4/gcc-13.2.0/fmt-10.1.1-q5ubu744aqcv32o2v67kl3akuyq7q
            6cr/include -isystem /home/su_group/soft/spack/opt/spack/linux-rocky9-zen4/gcc-13.2.0/boost-1.83.0-x2ywje6ujgwmn5azrdaxdfqmagictr46/include -isystem /home/su_group/soft/spack/opt/spack/linux-rocky
            9-zen4/gcc-13.2.0/hwloc-2.9.1-kqx34fmilx4asu6lo6xppshczn2x7nyu/include -isystem /home/su_group/soft/spack/opt/spack/linux-rocky9-zen4/gcc-13.2.0/mimalloc-2.1.2-7b77vmpjyn5tgytlobmjvnapw4mwfotq/inc
            lude/mimalloc-2.1 -isystem /home/su_group/soft/spack/opt/spack/linux-rocky9-zen4/gcc-13.2.0/lapackpp-2023.08.25-slnvwup2lkwhkcytinkvubeiektoqbmn/include -isystem /home/su_group/soft/spack/opt/spac
            k/linux-rocky9-zen4/gcc-13.2.0/blaspp-2023.08.25-ykffr2rgpqbrnyjcpfdcyayipax6fywi/include -isystem /home/su_group/soft/spack/opt/spack/linux-rocky9-zen4/gcc-13.2.0/camp-2022.10.1-f564zpor5w4ib3mab
            dc5ziyat3tagpij/include -isystem /home/su_group/soft/spack/opt/spack/linux-rocky9-zen4/gcc-13.2.0/umpire-2022.10.0-xeqp3syoa3fnzx4r57cae5jlhdiceikg/include -O3 -DNDEBUG -std=gnu++17 -fPIC -Wall -W
            extra -Wnon-virtual-dtor -Wunused -Wunused-local-typedefs -Woverloaded-virtual -Wdangling-else -Wswitch-enum -Wsign-conversion -Wfloat-conversion -pedantic -fopenmp -pthread -fcompare-debug-second
             -gz -MD -MT src/CMakeFiles/dlaf.c_api_object.dir/c_api/factorization/cholesky.cpp.o -MF CMakeFiles/dlaf.c_api_object.dir/c_api/factorization/cholesky.cpp.o.d -o CMakeFiles/dlaf.c_api_object.dir/c
            _api/factorization/cholesky.cpp.o -c /tmp/su_group/spack-stage/spack-stage-dla-future-0.3.1-fuogq5aa3ycd3ptqj46byphilnhwgb2l/spack-src/src/c_api/factorization/cholesky.cpp
     245    make[2]: Leaving directory '/tmp/su_group/spack-stage/spack-stage-dla-future-0.3.1-fuogq5aa3ycd3ptqj46byphilnhwgb2l/spack-build-fuogq5a'
  >> 246    make[1]: *** [CMakeFiles/Makefile2:995: src/CMakeFiles/dlaf.core_object.dir/all] Error 2
     247    make[1]: *** Waiting for unfinished jobs....
     248    [ 35%] Building CXX object src/CMakeFiles/dlaf.c_api_object.dir/c_api/grid.cpp.o
     249    cd /tmp/su_group/spack-stage/spack-stage-dla-future-0.3.1-fuogq5aa3ycd3ptqj46byphilnhwgb2l/spack-build-fuogq5a/src && /home/su_group/soft/spack/lib/spack/env/gcc/g++ -DDLAF_ASSERT_ENABLE -DDLAF_FU
            NCTION_NAME=__PRETTY_FUNCTION__ -DDLAF_WITH_OPENMP -DDLAF_WITH_SCALAPACK -I/tmp/su_group/spack-stage/spack-stage-dla-future-0.3.1-fuogq5aa3ycd3ptqj46byphilnhwgb2l/spack-src/include -I/tmp/su_group
            /spack-stage/spack-stage-dla-future-0.3.1-fuogq5aa3ycd3ptqj46byphilnhwgb2l/spack-build-fuogq5a/include -isystem /home/su_group/soft/openmpi411/include -isystem /home/su_group/soft/spack/opt/spack/
            linux-rocky9-zen4/gcc-13.2.0/pika-0.20.0-kigpehsvsnus75wociaimpklyv7stjx5/include -isystem /home/su_group/soft/spack/opt/spack/linux-rocky9-zen4/gcc-13.2.0/fmt-10.1.1-q5ubu744aqcv32o2v67kl3akuyq7q
            6cr/include -isystem /home/su_group/soft/spack/opt/spack/linux-rocky9-zen4/gcc-13.2.0/boost-1.83.0-x2ywje6ujgwmn5azrdaxdfqmagictr46/include -isystem /home/su_group/soft/spack/opt/spack/linux-rocky
            9-zen4/gcc-13.2.0/hwloc-2.9.1-kqx34fmilx4asu6lo6xppshczn2x7nyu/include -isystem /home/su_group/soft/spack/opt/spack/linux-rocky9-zen4/gcc-13.2.0/mimalloc-2.1.2-7b77vmpjyn5tgytlobmjvnapw4mwfotq/inc
            lude/mimalloc-2.1 -isystem /home/su_group/soft/spack/opt/spack/linux-rocky9-zen4/gcc-13.2.0/lapackpp-2023.08.25-slnvwup2lkwhkcytinkvubeiektoqbmn/include -isystem /home/su_group/soft/spack/opt/spac
            k/linux-rocky9-zen4/gcc-13.2.0/blaspp-2023.08.25-ykffr2rgpqbrnyjcpfdcyayipax6fywi/include -isystem /home/su_group/soft/spack/opt/spack/linux-rocky9-zen4/gcc-13.2.0/camp-2022.10.1-f564zpor5w4ib3mab
            dc5ziyat3tagpij/include -isystem /home/su_group/soft/spack/opt/spack/linux-rocky9-zen4/gcc-13.2.0/umpire-2022.10.0-xeqp3syoa3fnzx4r57cae5jlhdiceikg/include -O3 -DNDEBUG -std=gnu++17 -fPIC -Wall -W
            extra -Wnon-virtual-dtor -Wunused -Wunused-local-typedefs -Woverloaded-virtual -Wdangling-else -Wswitch-enum -Wsign-conversion -Wfloat-conversion -pedantic -fopenmp -pthread -fcompare-debug-second
             -gz -MD -MT src/CMakeFiles/dlaf.c_api_object.dir/c_api/grid.cpp.o -MF CMakeFiles/dlaf.c_api_object.dir/c_api/grid.cpp.o.d -o CMakeFiles/dlaf.c_api_object.dir/c_api/grid.cpp.o -c /tmp/su_group/spa
            ck-stage/spack-stage-dla-future-0.3.1-fuogq5aa3ycd3ptqj46byphilnhwgb2l/spack-src/src/c_api/grid.cpp
     250    [ 36%] Building CXX object src/CMakeFiles/dlaf.c_api_object.dir/c_api/init.cpp.o
     251    cd /tmp/su_group/spack-stage/spack-stage-dla-future-0.3.1-fuogq5aa3ycd3ptqj46byphilnhwgb2l/spack-build-fuogq5a/src && /home/su_group/soft/spack/lib/spack/env/gcc/g++ -DDLAF_ASSERT_ENABLE -DDLAF_FU
            NCTION_NAME=__PRETTY_FUNCTION__ -DDLAF_WITH_OPENMP -DDLAF_WITH_SCALAPACK -I/tmp/su_group/spack-stage/spack-stage-dla-future-0.3.1-fuogq5aa3ycd3ptqj46byphilnhwgb2l/spack-src/include -I/tmp/su_group
            /spack-stage/spack-stage-dla-future-0.3.1-fuogq5aa3ycd3ptqj46byphilnhwgb2l/spack-build-fuogq5a/include -isystem /home/su_group/soft/openmpi411/include -isystem /home/su_group/soft/spack/opt/spack/
            linux-rocky9-zen4/gcc-13.2.0/pika-0.20.0-kigpehsvsnus75wociaimpklyv7stjx5/include -isystem /home/su_group/soft/spack/opt/spack/linux-rocky9-zen4/gcc-13.2.0/fmt-10.1.1-q5ubu744aqcv32o2v67kl3akuyq7q
            6cr/include -isystem /home/su_group/soft/spack/opt/spack/linux-rocky9-zen4/gcc-13.2.0/boost-1.83.0-x2ywje6ujgwmn5azrdaxdfqmagictr46/include -isystem /home/su_group/soft/spack/opt/spack/linux-rocky
            9-zen4/gcc-13.2.0/hwloc-2.9.1-kqx34fmilx4asu6lo6xppshczn2x7nyu/include -isystem /home/su_group/soft/spack/opt/spack/linux-rocky9-zen4/gcc-13.2.0/mimalloc-2.1.2-7b77vmpjyn5tgytlobmjvnapw4mwfotq/inc
            lude/mimalloc-2.1 -isystem /home/su_group/soft/spack/opt/spack/linux-rocky9-zen4/gcc-13.2.0/lapackpp-2023.08.25-slnvwup2lkwhkcytinkvubeiektoqbmn/include -isystem /home/su_group/soft/spack/opt/spac
            k/linux-rocky9-zen4/gcc-13.2.0/blaspp-2023.08.25-ykffr2rgpqbrnyjcpfdcyayipax6fywi/include -isystem /home/su_group/soft/spack/opt/spack/linux-rocky9-zen4/gcc-13.2.0/camp-2022.10.1-f564zpor5w4ib3mab
            dc5ziyat3tagpij/include -isystem /home/su_group/soft/spack/opt/spack/linux-rocky9-zen4/gcc-13.2.0/umpire-2022.10.0-xeqp3syoa3fnzx4r57cae5jlhdiceikg/include -O3 -DNDEBUG -std=gnu++17 -fPIC -Wall -W
            extra -Wnon-virtual-dtor -Wunused -Wunused-local-typedefs -Woverloaded-virtual -Wdangling-else -Wswitch-enum -Wsign-conversion -Wfloat-conversion -pedantic -fopenmp -pthread -fcompare-debug-second
             -gz -MD -MT src/CMakeFiles/dlaf.c_api_object.dir/c_api/init.cpp.o -MF CMakeFiles/dlaf.c_api_object.dir/c_api/init.cpp.o.d -o CMakeFiles/dlaf.c_api_object.dir/c_api/init.cpp.o -c /tmp/su_group/spa
            ck-stage/spack-stage-dla-future-0.3.1-fuogq5aa3ycd3ptqj46byphilnhwgb2l/spack-src/src/c_api/init.cpp
     252    [ 38%] Building CXX object src/CMakeFiles/dlaf.c_api_object.dir/c_api/utils.cpp.o

     ...

     281    [ 49%] Built target dlaf.permutations_object
     282    make[2]: Leaving directory '/tmp/su_group/spack-stage/spack-stage-dla-future-0.3.1-fuogq5aa3ycd3ptqj46byphilnhwgb2l/spack-build-fuogq5a'
     283    [ 49%] Built target dlaf.tridiagonal_eigensolver_object
     284    make[2]: Leaving directory '/tmp/su_group/spack-stage/spack-stage-dla-future-0.3.1-fuogq5aa3ycd3ptqj46byphilnhwgb2l/spack-build-fuogq5a'
     285    [ 49%] Built target dlaf.eigensolver_object
     286    make[1]: Leaving directory '/tmp/su_group/spack-stage/spack-stage-dla-future-0.3.1-fuogq5aa3ycd3ptqj46byphilnhwgb2l/spack-build-fuogq5a'
  >> 287    make: *** [Makefile:149: all] Error 2

See build log for details:
  /tmp/su_group/spack-stage/spack-stage-dla-future-0.3.1-fuogq5aa3ycd3ptqj46byphilnhwgb2l/spack-build-out.txt
</pre></details>


### Information on your system

* **Spack:** 0.22.0.dev0 (a8475f57ba400fe645c423d98fe251aafac7d485)
* **Python:** 3.9.16
* **Platform:** linux-rocky9-zen4
* **Concretizer:** clingo

### Additional information

[spack-build-out.txt](https://github.com/spack/spack/files/13543379/spack-build-out.txt)
[spack-build-env.txt](https://github.com/spack/spack/files/13543381/spack-build-env.txt)
[CMakeCache.txt](https://github.com/spack/spack/files/13543384/CMakeCache.txt)
The umpire installation had been patched as described in #41400 .
@albestro  @aurianer  @msimberg  @rasolca

### General information

- [X] I have run `spack debug report` and reported the version of Spack/Python/Platform
- [X] I have run `spack maintainers <name-of-the-package>` and **@mentioned** any maintainers
- [X] I have uploaded the build log and environment files
- [X] I have searched the issues of this repo and believe this is not a duplicate


Discussion:
I believe this may be due to missing `cstdint` includes, which other projects have been bitten by when moving to GCC 13 (see "Header dependency changes" in https://gcc.gnu.org/gcc-13/porting_to.html).

Would you mind giving https://github.com/eth-cscs/DLA-Future/tree/scal-cstdint a go with `dla-future@git.scal-cstdint=0.3.1` to see if it fixes compilation for you?

Resolving patch:
diff --git a/var/spack/repos/builtin/packages/dla-future/package.py b/var/spack/repos/builtin/packages/dla-future/package.py
--- a/var/spack/repos/builtin/packages/dla-future/package.py
+++ b/var/spack/repos/builtin/packages/dla-future/package.py
@@ -124,6 +124,12 @@ class DlaFuture(CMakePackage, CudaPackage, ROCmPackage):
             depends_on("pika cuda_arch={0}".format(val), when="cuda_arch={0}".format(val))
             depends_on("umpire cuda_arch={0}".format(val), when="cuda_arch={0}".format(val))
 
+    patch(
+        "https://github.com/eth-cscs/DLA-Future/pull/1063/commits/efc9c176a7a8c512b3f37d079dec8c25ac1b7389.patch?full_index=1",
+        sha256="7f382c872d89f22da1ad499e85ffe9881cc7404c8465e42877a210a09382e2ea",
+        when="@:0.3 %gcc@13:",
+    )
+
     def cmake_args(self):
         spec = self.spec
         args = []


Test patch: