Repository: spack/spack

Issue:
Installation issue: vtk@9.2.6 +xdmf (patch issue)
### Steps to reproduce the issue

```console
$ spack spec -II vtk
Input spec
--------------------------------
 -   vtk

Concretized
--------------------------------
 -   5tac4t6  vtk@9.2.6%gcc@11.3.0+ffmpeg+ipo~mpi+opengl2+osmesa+python~qt+xdmf build_system=cmake build_type=Release generator=make patches=7f22795 arch=linux-rhel8-zen2
[+]  6nizlk5      ^boost@1.82.0%gcc@11.3.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 context-impl=fcontext cxxstd=17 patches=a440f96,a7c807f,b8569d7 visibility=hidden arch=linux-rhel8-zen2
[+]  y2p2gbz          ^bzip2@1.0.8%gcc@11.3.0~debug+pic+shared build_system=generic arch=linux-rhel8-zen2
[+]  nbfheoo              ^diffutils@3.9%gcc@11.3.0 build_system=autotools arch=linux-rhel8-zen2
[+]  onmsrte          ^icu4c@67.1%gcc@11.3.0 build_system=autotools cxxstd=17 arch=linux-rhel8-zen2
[+]  zfccli6          ^py-numpy@1.24.3%gcc@11.3.0+blas+lapack build_system=python_pip patches=873745d arch=linux-rhel8-zen2
[+]  prjehhd              ^openblas@0.3.23%gcc@11.3.0~bignuma~consistent_fpcsr+fortran~ilp64+locking+pic+shared build_system=makefile symbol_suffix=none threads=openmp arch=linux-rhel8-zen2
[+]  pkcpzcq              ^py-cython@0.29.33%gcc@11.3.0 build_system=python_pip patches=71de066 arch=linux-rhel8-zen2
[+]  3juduhn              ^py-pip@23.0%gcc@11.3.0 build_system=generic arch=linux-rhel8-zen2
[+]  63t3joz              ^py-setuptools@63.4.3%gcc@11.3.0 build_system=generic arch=linux-rhel8-zen2
[+]  yiqallw              ^py-wheel@0.37.1%gcc@11.3.0 build_system=generic arch=linux-rhel8-zen2
[+]  ranwi3u          ^xz@5.4.1%gcc@11.3.0+pic build_system=autotools libs=shared,static arch=linux-rhel8-zen2
[+]  5hgslof          ^zstd@1.5.5%gcc@11.3.0+programs build_system=makefile compression=lz4,lzma,zlib libs=shared,static arch=linux-rhel8-zen2
[+]  mpfpjkq      ^cgns@4.3.0%gcc@11.3.0+base_scope+fortran+hdf5~int64+ipo+legacy~mem_debug~mpi+pic+scoping+shared+static+testing+tools build_system=cmake build_type=RelWithDebInfo generator=make arch=linux-rhel8-zen2
[+]  pho5cm4          ^libsm@1.2.3%gcc@11.3.0 build_system=autotools arch=linux-rhel8-zen2
[+]  efnu5dw              ^libice@1.0.9%gcc@11.3.0 build_system=autotools arch=linux-rhel8-zen2
[+]  5s2rtxx              ^util-macros@1.19.3%gcc@11.3.0 build_system=autotools arch=linux-rhel8-zen2
[+]  wmblrok              ^xproto@7.0.31%gcc@11.3.0 build_system=autotools arch=linux-rhel8-zen2
[+]  nsk6mdj              ^xtrans@1.4.0%gcc@11.3.0 build_system=autotools arch=linux-rhel8-zen2
[+]  52ri3iu          ^libxmu@1.1.4%gcc@11.3.0 build_system=autotools arch=linux-rhel8-zen2
[+]  7vbnjnb              ^libxext@1.3.3%gcc@11.3.0 build_system=autotools arch=linux-rhel8-zen2
[+]  e26lecd              ^libxt@1.1.5%gcc@11.3.0 build_system=autotools arch=linux-rhel8-zen2
[+]  hk7ai2i              ^xextproto@7.3.0%gcc@11.3.0 build_system=autotools arch=linux-rhel8-zen2
[+]  gyu3sh4          ^mesa-glu@9.0.2%gcc@11.3.0 build_system=autotools gl=osmesa arch=linux-rhel8-zen2
[+]  hj23ugq          ^tcl@8.6.12%gcc@11.3.0 build_system=autotools arch=linux-rhel8-zen2
[+]  btrblvx          ^tk@8.6.11%gcc@11.3.0+xft+xss build_system=autotools arch=linux-rhel8-zen2
[+]  r4gznpm              ^libxft@2.3.2%gcc@11.3.0 build_system=autotools arch=linux-rhel8-zen2
[+]  idhsw2t                  ^libxrender@0.9.10%gcc@11.3.0 build_system=autotools arch=linux-rhel8-zen2
[+]  pqxzv26                      ^renderproto@0.11.1%gcc@11.3.0 build_system=autotools arch=linux-rhel8-zen2
[+]  nmzycnm              ^libxscrnsaver@1.2.2%gcc@11.3.0 build_system=autotools arch=linux-rhel8-zen2
[+]  nj6glps                  ^scrnsaverproto@1.2.2%gcc@11.3.0 build_system=autotools arch=linux-rhel8-zen2
[+]  simblvj      ^cmake@3.26.3%gcc@11.3.0~doc+ncurses+ownlibs~qt build_system=generic build_type=Release arch=linux-rhel8-zen2
[+]  k6m5lie          ^ncurses@6.4%gcc@11.3.0+symlinks+termlib abi=5 build_system=autotools arch=linux-rhel8-zen2
[+]  bjvjttn          ^openssl@1.1.1v%gcc@11.3.0~docs+shared build_system=generic certs=system arch=linux-rhel8-zen2
[+]  sve5wjh              ^perl@5.36.0%gcc@11.3.0+cpanm+open+shared+threads build_system=generic arch=linux-rhel8-zen2
[+]  nayr6pc                  ^berkeley-db@18.1.40%gcc@11.3.0+cxx+docs+stl build_system=autotools patches=26090f4 arch=linux-rhel8-zen2
[+]  sujcwe4      ^double-conversion@3.3.0%gcc@11.3.0+ipo build_system=cmake build_type=RelWithDebInfo generator=make arch=linux-rhel8-zen2
[+]  gjgbxk4      ^eigen@3.4.0%gcc@11.3.0+ipo build_system=cmake build_type=RelWithDebInfo generator=make arch=linux-rhel8-zen2
[+]  edn5eua      ^expat@2.5.0%gcc@11.3.0+libbsd build_system=autotools arch=linux-rhel8-zen2
[+]  h5im2xa          ^libbsd@0.11.7%gcc@11.3.0 build_system=autotools arch=linux-rhel8-zen2
[+]  5sslvdw              ^libmd@1.0.4%gcc@11.3.0 build_system=autotools arch=linux-rhel8-zen2
[+]  7wfnfut      ^ffmpeg@6.0%gcc@11.3.0+X+bzlib+drawtext+gpl+libaom+libmp3lame+libopenjpeg+libopus+libsnappy+libspeex+libssh+libvorbis+libvpx+libwebp+libx264+libxml2+libzmq+lzma+nonfree+openssl~sdl2+shared+version3 build_system=autotools arch=linux-rhel8-zen2
[+]  xwewjot          ^alsa-lib@1.2.3.2%gcc@11.3.0+python build_system=autotools arch=linux-rhel8-zen2
[+]  ivx6nfh          ^aom@v1.0.0-errata1%gcc@11.3.0+ipo build_system=cmake build_type=RelWithDebInfo generator=make arch=linux-rhel8-zen2
[+]  gxnigy4          ^fontconfig@2.14.2%gcc@11.3.0 build_system=autotools arch=linux-rhel8-zen2
[+]  vxspw7h              ^font-util@1.4.0%gcc@11.3.0 build_system=autotools fonts=encodings,font-adobe-100dpi,font-adobe-75dpi,font-adobe-utopia-100dpi,font-adobe-utopia-75dpi,font-adobe-utopia-type1,font-alias,font-arabic-misc,font-bh-100dpi,font-bh-75dpi,font-bh-lucidatypewriter-100dpi,font-bh-lucidatypewriter-75dpi,font-bh-type1,font-bitstream-100dpi,font-bitstream-75dpi,font-bitstream-speedo,font-bitstream-type1,font-cronyx-cyrillic,font-cursor-misc,font-daewoo-misc,font-dec-misc,font-ibm-type1,font-isas-misc,font-jis-misc,font-micro-misc,font-misc-cyrillic,font-misc-ethiopic,font-misc-meltho,font-misc-misc,font-mutt-misc,font-schumacher-misc,font-screen-cyrillic,font-sun-misc,font-winitzki-cyrillic,font-xfree86-type1 arch=linux-rhel8-zen2
[+]  vzqfxnm                  ^bdftopcf@1.1%gcc@11.3.0 build_system=autotools arch=linux-rhel8-zen2
[+]  vkwahrq                      ^fontsproto@2.1.3%gcc@11.3.0 build_system=autotools arch=linux-rhel8-zen2
[+]  7cdmzxd                      ^libxfont@1.5.4%gcc@11.3.0 build_system=autotools arch=linux-rhel8-zen2
[+]  qvrgzhq                  ^mkfontdir@1.0.7%gcc@11.3.0 build_system=autotools arch=linux-rhel8-zen2
[+]  glo64pt                  ^mkfontscale@1.2.2%gcc@11.3.0 build_system=autotools arch=linux-rhel8-zen2
[+]  hoqfdwc                      ^libfontenc@1.1.7%gcc@11.3.0 build_system=autotools arch=linux-rhel8-zen2
[+]  xsxnjdu              ^gperf@3.1%gcc@11.3.0 build_system=autotools arch=linux-rhel8-zen2
[+]  lzxica6          ^fribidi@1.0.12%gcc@11.3.0 build_system=autotools arch=linux-rhel8-zen2
[+]  vk4hohz          ^lame@3.100%gcc@11.3.0 build_system=autotools arch=linux-rhel8-zen2
[+]  ghqoznx          ^libiconv@1.17%gcc@11.3.0 build_system=autotools libs=shared,static arch=linux-rhel8-zen2
[+]  5et2bgd          ^libssh@0.8.9%gcc@11.3.0+gssapi+ipo build_system=cmake build_type=RelWithDebInfo generator=make arch=linux-rhel8-zen2
[+]  hoxnvw7              ^krb5@1.20.1%gcc@11.3.0+shared build_system=autotools arch=linux-rhel8-zen2
[+]  tixk46w          ^libvorbis@1.3.7%gcc@11.3.0 build_system=autotools arch=linux-rhel8-zen2
[+]  zyl6mu4          ^libvpx@1.10.0%gcc@11.3.0+pic build_system=autotools arch=linux-rhel8-zen2
[+]  wntmjl6          ^libwebp@1.2.4%gcc@11.3.0+gif+jpeg+libwebpdecoder+libwebpdemux+libwebpextras+libwebpmux+png+tiff build_system=autotools arch=linux-rhel8-zen2
[+]  izu5yt6              ^giflib@5.2.1%gcc@11.3.0 build_system=makefile patches=5cc0447 arch=linux-rhel8-zen2
[+]  4chtjcb          ^libxv@1.0.10%gcc@11.3.0 build_system=autotools arch=linux-rhel8-zen2
[+]  etnwehw              ^videoproto@2.3.3%gcc@11.3.0 build_system=autotools arch=linux-rhel8-zen2
[+]  yzlebbp          ^libzmq@4.3.4%gcc@11.3.0~docs+drafts+libbsd+libsodium+libunwind build_system=autotools patches=310b8aa arch=linux-rhel8-zen2
[+]  qwd5dcd              ^libsodium@1.0.18%gcc@11.3.0 build_system=autotools arch=linux-rhel8-zen2
[+]  4iuwrq7              ^libunwind@1.6.2%gcc@11.3.0~block_signals~conservative_checks~cxx_exceptions~debug~debug_frame+docs+pic+tests+weak_backtrace+xz+zlib build_system=autotools components=coredump,ptrace,setjump libs=shared,static arch=linux-rhel8-zen2
[+]  cpbml37          ^openjpeg@2.3.1%gcc@11.3.0+codec+ipo build_system=cmake build_type=RelWithDebInfo generator=make arch=linux-rhel8-zen2
[+]  q4hvvm7              ^lcms@2.13.1%gcc@11.3.0 build_system=autotools arch=linux-rhel8-zen2
[+]  ogbughb          ^opus@1.3.1%gcc@11.3.0 build_system=autotools arch=linux-rhel8-zen2
[+]  ifpmjvp          ^snappy@1.1.10%gcc@11.3.0+ipo+pic+shared build_system=cmake build_type=RelWithDebInfo generator=make arch=linux-rhel8-zen2
[+]  uls2n7b          ^speex@1.2.1%gcc@11.3.0 build_system=autotools arch=linux-rhel8-zen2
[+]  asnnmaj          ^x264@20210613%gcc@11.3.0 build_system=autotools arch=linux-rhel8-zen2
[+]  sbahvcg          ^yasm@1.3.0%gcc@11.3.0 build_system=autotools arch=linux-rhel8-zen2
[+]  4mvt3vj      ^freetype@2.11.1%gcc@11.3.0+pic+shared build_system=autotools arch=linux-rhel8-zen2
[+]  wqtnva5          ^pkg-config@0.29.2%gcc@11.3.0+internal_glib build_system=autotools arch=linux-rhel8-zen2
[+]  yxtsapy      ^gl2ps@1.4.2%gcc@11.3.0+doc+ipo+png+zlib build_system=cmake build_type=RelWithDebInfo generator=make arch=linux-rhel8-zen2
[+]  yacxvxv          ^texlive@20220321%gcc@11.3.0 build_system=autotools scheme=full arch=linux-rhel8-zen2
[+]  iomsgc3              ^cairo@1.16.0%gcc@11.3.0+X+fc+ft+gobject+pdf+png~svg build_system=autotools patches=7c4da77 arch=linux-rhel8-zen2
[+]  64pmgvy                  ^glib@2.76.3%gcc@11.3.0+libmount~strip build_system=meson buildtype=debugoptimized default_library=shared,static tracing=systemtap arch=linux-rhel8-zen2
[+]  xeh6hkn                      ^elfutils@0.189%gcc@11.3.0~debuginfod~nls build_system=autotools arch=linux-rhel8-zen2
[+]  ywbf4to                      ^pcre2@10.42%gcc@11.3.0+jit+multibyte build_system=autotools arch=linux-rhel8-zen2
[+]  wi2fwkh                      ^util-linux@2.38.1%gcc@11.3.0+bash build_system=autotools arch=linux-rhel8-zen2
[+]  feuut5q                          ^bash@5.2%gcc@11.3.0 build_system=autotools patches=094b4fd,2500a3f,2fb107c,3882772,3ef9246,45cc5e1,6a090cd,6b4bd92,831b5f2,c7705e0,d1e0566,ece0eb5,ef73905,f42f2fe,f95a817 arch=linux-rhel8-zen2
[+]  veh5svr                  ^which@2.21%gcc@11.3.0 build_system=autotools arch=linux-rhel8-zen2
[+]  pgul62p              ^ghostscript@10.0.0%gcc@11.3.0+tesseract build_system=autotools arch=linux-rhel8-zen2
[+]  ufgqdzg                  ^gtkplus@3.24.29%gcc@11.3.0+cups~strip build_system=meson buildtype=debugoptimized default_library=shared,static arch=linux-rhel8-zen2
[+]  texxhyr                      ^at-spi2-atk@2.38.0%gcc@11.3.0~strip build_system=meson buildtype=debugoptimized default_library=shared,static arch=linux-rhel8-zen2
[+]  owzf6f5                          ^at-spi2-core@2.48.0%gcc@11.3.0~strip build_system=meson buildtype=debugoptimized default_library=shared,static arch=linux-rhel8-zen2
[+]  zmyu44l                              ^libxtst@1.2.2%gcc@11.3.0 build_system=autotools arch=linux-rhel8-zen2
[+]  jo6nxti                              ^recordproto@1.14.2%gcc@11.3.0 build_system=autotools arch=linux-rhel8-zen2
[+]  e4kvvab                      ^atk@2.38.0%gcc@11.3.0 build_system=generic arch=linux-rhel8-zen2
[+]  nstgalu                      ^cups@2.3.3%gcc@11.3.0 build_system=autotools arch=linux-rhel8-zen2
[+]  dfxwsxb                      ^fixesproto@5.0%gcc@11.3.0 build_system=autotools arch=linux-rhel8-zen2
[+]  cpc7p4d                      ^gdk-pixbuf@2.42.10%gcc@11.3.0~man+tiff~x11 build_system=generic arch=linux-rhel8-zen2
[+]  xo6jcoo                      ^libepoxy@1.4.3%gcc@11.3.0+glx build_system=autotools arch=linux-rhel8-zen2
[+]  4saxsc7                      ^librsvg@2.51.0%gcc@11.3.0~doc build_system=autotools arch=linux-rhel8-zen2
[+]  4c4erw3                          ^libcroco@0.6.13%gcc@11.3.0~doc build_system=autotools arch=linux-rhel8-zen2
[+]  z3zmdxv                          ^rust@1.65.0%gcc@11.3.0+analysis+clippy~rls+rustfmt+src build_system=generic extra_targets=none arch=linux-rhel8-zen2
[+]  lplm56x                              ^libgit2@1.6.4%gcc@11.3.0~curl+ipo+mmap+ssh build_system=cmake build_type=RelWithDebInfo generator=make https=system arch=linux-rhel8-zen2
[+]  hlnp7va                                  ^pcre@8.45%gcc@11.3.0+jit+multibyte+utf build_system=autotools arch=linux-rhel8-zen2
[+]  tpaeuiy                      ^libxi@1.7.6%gcc@11.3.0 build_system=autotools arch=linux-rhel8-zen2
[+]  inqgwdy                          ^libxfixes@5.0.2%gcc@11.3.0 build_system=autotools arch=linux-rhel8-zen2
[+]  hj6l3lq                      ^libxkbcommon@1.4.0%gcc@11.3.0~strip~wayland build_system=meson buildtype=debugoptimized default_library=shared,static arch=linux-rhel8-zen2
[+]  vy3ri4u                          ^xkbdata@1.0.1%gcc@11.3.0 build_system=autotools arch=linux-rhel8-zen2
[+]  4xm6q25                              ^xkbcomp@1.4.4%gcc@11.3.0 build_system=autotools arch=linux-rhel8-zen2
[+]  z7ltgna                                  ^libxkbfile@1.0.9%gcc@11.3.0 build_system=autotools arch=linux-rhel8-zen2
[+]  rsx7lbh                      ^shared-mime-info@1.10%gcc@11.3.0 build_system=autotools arch=linux-rhel8-zen2
[+]  6jn6q3x                          ^intltool@0.51.0%gcc@11.3.0 build_system=autotools patches=ca9d656 arch=linux-rhel8-zen2
[+]  i2n6dmy                              ^perl-xml-parser@2.46%gcc@11.3.0 build_system=perl arch=linux-rhel8-zen2
[+]  gbb2bn4                                  ^perl-libwww-perl@6.68%gcc@11.3.0 build_system=perl arch=linux-rhel8-zen2
[+]  ededeer                                      ^perl-encode-locale@1.05%gcc@11.3.0 build_system=perl arch=linux-rhel8-zen2
[+]  e57z6hj                                      ^perl-file-listing@6.04%gcc@11.3.0 build_system=perl arch=linux-rhel8-zen2
[+]  2oa2x6v                                      ^perl-html-parser@3.72%gcc@11.3.0 build_system=perl arch=linux-rhel8-zen2
[+]  3pa6zyb                                          ^perl-html-tagset@3.20%gcc@11.3.0 build_system=perl arch=linux-rhel8-zen2
[+]  cabcar6                                      ^perl-http-cookies@6.10%gcc@11.3.0 build_system=perl arch=linux-rhel8-zen2
[+]  2u6epdc                                      ^perl-http-daemon@6.01%gcc@11.3.0 build_system=perl arch=linux-rhel8-zen2
[+]  dajlyj3                                          ^perl-module-build-tiny@0.044%gcc@11.3.0 build_system=perl arch=linux-rhel8-zen2
[+]  5faee3z                                              ^perl-extutils-config@0.008%gcc@11.3.0 build_system=perl arch=linux-rhel8-zen2
[+]  b7rwv5o                                              ^perl-extutils-helpers@0.026%gcc@11.3.0 build_system=perl arch=linux-rhel8-zen2
[+]  coevb66                                              ^perl-extutils-installpaths@0.012%gcc@11.3.0 build_system=perl arch=linux-rhel8-zen2
[+]  ibh6qeh                                              ^perl-module-build@0.4232%gcc@11.3.0 build_system=perl arch=linux-rhel8-zen2
[+]  2rplwxv                                      ^perl-http-date@6.02%gcc@11.3.0 build_system=perl arch=linux-rhel8-zen2
[+]  7xrmhfq                                      ^perl-http-message@6.44%gcc@11.3.0 build_system=perl arch=linux-rhel8-zen2
[+]  j3dtsw2                                          ^perl-io-html@1.004%gcc@11.3.0 build_system=perl arch=linux-rhel8-zen2
[+]  byvmo4c                                      ^perl-http-negotiate@6.01%gcc@11.3.0 build_system=perl arch=linux-rhel8-zen2
[+]  6lfml4l                                      ^perl-lwp-mediatypes@6.02%gcc@11.3.0 build_system=perl arch=linux-rhel8-zen2
[+]  lyyhjik                                      ^perl-net-http@6.22%gcc@11.3.0 build_system=perl arch=linux-rhel8-zen2
[+]  tauk3rx                                      ^perl-try-tiny@0.31%gcc@11.3.0 build_system=perl arch=linux-rhel8-zen2
[+]  hwvjvkw                                      ^perl-uri@5.08%gcc@11.3.0 build_system=perl arch=linux-rhel8-zen2
[+]  ibt2m5d                                          ^perl-test-needs@0.002010%gcc@11.3.0 build_system=perl arch=linux-rhel8-zen2
[+]  uyzbumd                                      ^perl-www-robotrules@6.02%gcc@11.3.0 build_system=perl arch=linux-rhel8-zen2
[+]  rbqwy2o              ^gmp@6.2.1%gcc@11.3.0+cxx build_system=autotools libs=shared,static patches=69ad2e2 arch=linux-rhel8-zen2
[+]  4ov4qnc              ^harfbuzz@7.3.0%gcc@11.3.0+graphite2~strip build_system=meson buildtype=debugoptimized default_library=shared,static arch=linux-rhel8-zen2
[+]  q6irwbh                  ^gobject-introspection@1.76.1%gcc@11.3.0~strip build_system=meson buildtype=debugoptimized default_library=shared,static arch=linux-rhel8-zen2
[+]  r25ewkd                  ^graphite2@1.3.14%gcc@11.3.0+ipo build_system=cmake build_type=RelWithDebInfo generator=make patches=39e58d6 arch=linux-rhel8-zen2
[+]  luvk7wo              ^libgd@2.2.4%gcc@11.3.0 build_system=autotools arch=linux-rhel8-zen2
[+]  66h4rlr              ^libpaper@1.1.28%gcc@11.3.0 build_system=autotools arch=linux-rhel8-zen2
[+]  x4ldkog              ^libxaw@1.0.13%gcc@11.3.0 build_system=autotools arch=linux-rhel8-zen2
[+]  x2hf2li                  ^libxpm@3.5.12%gcc@11.3.0 build_system=autotools arch=linux-rhel8-zen2
[+]  mz762ul              ^mpfr@4.2.0%gcc@11.3.0 build_system=autotools libs=shared,static arch=linux-rhel8-zen2
[+]  pljqfn7                  ^autoconf-archive@2023.02.20%gcc@11.3.0 build_system=autotools arch=linux-rhel8-zen2
[+]  ubr624h                  ^texinfo@7.0.3%gcc@11.3.0 build_system=autotools arch=linux-rhel8-zen2
[+]  q643w6d              ^pixman@0.42.2%gcc@11.3.0 build_system=autotools arch=linux-rhel8-zen2
[+]  ykclzea              ^poppler@23.04.0%gcc@11.3.0~boost+cms+cpp+glib+gobject+iconv+ipo+jpeg+libcurl+openjpeg+png+qt+tiff+zlib build_system=cmake build_type=RelWithDebInfo generator=make arch=linux-rhel8-zen2
[+]  4bsv672                  ^poppler-data@0.4.12%gcc@11.3.0+ipo build_system=cmake build_type=RelWithDebInfo generator=make arch=linux-rhel8-zen2
[+]  rkjpqc5                  ^qt@5.15.9%gcc@11.3.0+dbus~debug~doc~examples~framework+gtk+gui+opengl+phonon+shared+sql+ssl+tools~webkit build_system=generic patches=2081e9c,51aeba5,75bcb42,7f34d48,84b0991,8cd4be9,9378afd arch=linux-rhel8-zen2
[+]  yuhzywd                      ^assimp@5.2.5%gcc@11.3.0+ipo+shared build_system=cmake build_type=RelWithDebInfo generator=make arch=linux-rhel8-zen2
[+]  hie2gwy                      ^dbus@1.13.6%gcc@11.3.0 build_system=generic arch=linux-rhel8-zen2
[+]  vfw3xsj                          ^docbook-xml@4.5%gcc@11.3.0 build_system=generic arch=linux-rhel8-zen2
[+]  7egyoqq                          ^docbook-xsl@1.79.2%gcc@11.3.0 build_system=generic patches=a92c397 arch=linux-rhel8-zen2
[+]  ngts2dy                          ^xmlto@0.0.28%gcc@11.3.0 build_system=autotools arch=linux-rhel8-zen2
[+]  z7l7b37                              ^libxslt@1.1.33%gcc@11.3.0+crypto~python build_system=autotools arch=linux-rhel8-zen2
[+]  iw4xpc2                                  ^libgcrypt@1.10.2%gcc@11.3.0 build_system=autotools arch=linux-rhel8-zen2
[+]  vsu4f46                                      ^libgpg-error@1.47%gcc@11.3.0 build_system=autotools arch=linux-rhel8-zen2
[+]  mrs3wz4                      ^libmng@2.0.3%gcc@11.3.0+ipo build_system=cmake build_type=RelWithDebInfo generator=make arch=linux-rhel8-zen2
[+]  tmjruze                      ^xcb-util-image@0.4.1%gcc@11.3.0 build_system=autotools arch=linux-rhel8-zen2
[+]  zzol4mj                          ^xcb-util@0.4.1%gcc@11.3.0 build_system=autotools arch=linux-rhel8-zen2
[+]  pp65i3h                      ^xcb-util-keysyms@0.4.1%gcc@11.3.0 build_system=autotools arch=linux-rhel8-zen2
[+]  g4tgdpj                      ^xcb-util-renderutil@0.3.10%gcc@11.3.0 build_system=autotools arch=linux-rhel8-zen2
[+]  djju32f                      ^xcb-util-wm@0.4.2%gcc@11.3.0 build_system=autotools arch=linux-rhel8-zen2
[+]  6okpfwp              ^teckit@2.5.11%gcc@11.3.0 build_system=autotools arch=linux-rhel8-zen2
[+]  uf7cbsi              ^zziplib@0.13.72%gcc@11.3.0+ipo build_system=cmake build_type=RelWithDebInfo generator=make arch=linux-rhel8-zen2
[+]  pdof7wo                  ^coreutils@9.3%gcc@11.3.0~gprefix build_system=autotools arch=linux-rhel8-zen2
[+]  fojxxql                  ^unzip@6.0%gcc@11.3.0 build_system=makefile arch=linux-rhel8-zen2
[+]  zr2tgez                  ^zip@3.0%gcc@11.3.0 build_system=makefile patches=14dc880,3bc30ba,5068e7c,51f48db,66ab4ce,a92fc4e,a95ed93,eb83fc8,f7d0bc4,fa8312c arch=linux-rhel8-zen2
[+]  puaizy4      ^glew@2.2.0%gcc@11.3.0+ipo build_system=cmake build_type=RelWithDebInfo generator=make gl=osmesa patches=7992e52 arch=linux-rhel8-zen2
[+]  bcadp5n      ^gmake@4.4.1%gcc@11.3.0+guile build_system=autotools arch=linux-rhel8-zen2
[+]  fny73jv          ^guile@2.2.6%gcc@11.3.0+readline build_system=autotools threads=none arch=linux-rhel8-zen2
[+]  zy5n3jc              ^bdw-gc@8.2.2%gcc@11.3.0+libatomic-ops build_system=autotools threads=none arch=linux-rhel8-zen2
[+]  tkxbqtj                  ^libatomic-ops@7.8.0%gcc@11.3.0 build_system=autotools arch=linux-rhel8-zen2
[+]  zra6tcb              ^libunistring@1.1%gcc@11.3.0 build_system=autotools arch=linux-rhel8-zen2
[+]  z244r5d      ^hdf5@1.14.0%gcc@11.3.0+cxx+fortran+hl+ipo~java+map~mpi+shared+szip+threadsafe+tools api=default build_system=cmake build_type=RelWithDebInfo generator=make patches=0b5dd6f arch=linux-rhel8-zen2
[+]  zyvinkw          ^libszip@2.1.1%gcc@11.3.0 build_system=autotools arch=linux-rhel8-zen2
[+]  zgmnzic      ^jsoncpp@1.9.5%gcc@11.3.0+ipo build_system=cmake build_type=RelWithDebInfo cxxstd=17 generator=make arch=linux-rhel8-zen2
[+]  qbo23df      ^libjpeg-turbo@2.1.5%gcc@11.3.0+ipo~jpeg8+shared+static build_system=cmake build_type=RelWithDebInfo generator=make arch=linux-rhel8-zen2
[+]  rgjx3pn          ^nasm@2.15.05%gcc@11.3.0 build_system=autotools arch=linux-rhel8-zen2
[+]  auxkuy3      ^libogg@1.3.5%gcc@11.3.0 build_system=autotools arch=linux-rhel8-zen2
[+]  4y72pm7      ^libpng@1.6.39%gcc@11.3.0+ipo build_system=cmake build_type=RelWithDebInfo generator=make libs=shared,static arch=linux-rhel8-zen2
[+]  bggxm3d      ^libtheora@1.1.1%gcc@11.3.0+doc build_system=autotools patches=057836e,8b1f256,ff8478d arch=linux-rhel8-zen2
[+]  yxpydi6          ^autoconf@2.69%gcc@11.3.0 build_system=autotools patches=35c4492,7793209,a49dd5b arch=linux-rhel8-zen2
[+]  vr5d2na          ^automake@1.16.5%gcc@11.3.0 build_system=autotools arch=linux-rhel8-zen2
[+]  tv2gil2          ^doxygen@1.9.6%gcc@11.3.0+graphviz+ipo+mscgen build_system=cmake build_type=RelWithDebInfo generator=make arch=linux-rhel8-zen2
[+]  idcnjva              ^bison@3.8.2%gcc@11.3.0 build_system=autotools arch=linux-rhel8-zen2
[+]  22ydxmr              ^flex@2.6.4%gcc@11.3.0+lex+nls build_system=autotools patches=f8b85a0 arch=linux-rhel8-zen2
[+]  2wuk76j                  ^findutils@4.9.0%gcc@11.3.0 build_system=autotools patches=440b954 arch=linux-rhel8-zen2
[+]  pw6daqo                  ^help2man@1.49.3%gcc@11.3.0 build_system=autotools arch=linux-rhel8-zen2
[+]  4pmk3pk              ^graphviz@8.0.5%gcc@11.3.0+doc+expat+ghostscript+gtkplus+gts+java+libgd+pangocairo+poppler+qt~quartz+x build_system=autotools arch=linux-rhel8-zen2
[+]  5wl5mnv                  ^groff@1.22.4%gcc@11.3.0+pdf+uchardet+x build_system=autotools arch=linux-rhel8-zen2
[+]  aqipjoh                      ^gawk@5.2.1%gcc@11.3.0+nls build_system=autotools arch=linux-rhel8-zen2
[+]  es6de55                      ^uchardet@0.0.7%gcc@11.3.0+ipo build_system=cmake build_type=RelWithDebInfo generator=make arch=linux-rhel8-zen2
[+]  ybsntgq                  ^gts@121130%gcc@11.3.0 build_system=autotools arch=linux-rhel8-zen2
[+]  sh24ggk                  ^openjdk@11.0.17_8%gcc@11.3.0 build_system=generic arch=linux-rhel8-zen2
[+]  5lz5skn                  ^pango@1.50.13%gcc@11.3.0+X~strip build_system=meson buildtype=debugoptimized default_library=shared,static arch=linux-rhel8-zen2
[+]  djyqbqm                      ^json-glib@1.6.6%gcc@11.3.0~strip build_system=meson buildtype=debugoptimized default_library=shared,static arch=linux-rhel8-zen2
[+]  qrvt6lp                  ^sed@4.9%gcc@11.3.0 build_system=autotools arch=linux-rhel8-zen2
[+]  wfecveu                  ^swig@4.1.1%gcc@11.3.0 build_system=autotools arch=linux-rhel8-zen2
[+]  6bhfdfs              ^mscgen@0.20%gcc@11.3.0 build_system=autotools arch=linux-rhel8-zen2
[+]  ovq4gsp          ^libtool@2.4.7%gcc@11.3.0 build_system=autotools arch=linux-rhel8-zen2
[+]  2xgh4yr          ^m4@1.4.19%gcc@11.3.0+sigsegv build_system=autotools patches=9dc5fbd,bfdffa7 arch=linux-rhel8-zen2
[+]  lskfqtb              ^libsigsegv@2.14%gcc@11.3.0 build_system=autotools arch=linux-rhel8-zen2
[+]  dpkiez4      ^libtiff@4.5.0%gcc@11.3.0+ccitt+ipo~jbig+jpeg~jpeg12+lerc+libdeflate+logluv+lzma+lzw+next+old-jpeg+packbits+pic+pixarlog+shared+thunder~webp+zlib+zstd build_system=cmake build_type=RelWithDebInfo generator=make arch=linux-rhel8-zen2
[+]  4aikfvt          ^lerc@4.0.0%gcc@11.3.0+ipo build_system=cmake build_type=RelWithDebInfo generator=make arch=linux-rhel8-zen2
[+]  hfk7szf      ^libxml2@2.10.3%gcc@11.3.0~python build_system=autotools arch=linux-rhel8-zen2
[+]  qmkbina      ^lz4@1.9.4%gcc@11.3.0 build_system=makefile libs=shared,static arch=linux-rhel8-zen2
[+]  3vytbbi      ^netcdf-c@4.9.2%gcc@11.3.0+blosc+byterange+dap~fsync+hdf4+jna~mpi+nczarr_zip+optimize~parallel-netcdf+pic+shared+szip+zstd build_system=autotools arch=linux-rhel8-zen2
[+]  xvfrkmu          ^c-blosc@1.21.2%gcc@11.3.0+avx2+ipo build_system=cmake build_type=RelWithDebInfo generator=make arch=linux-rhel8-zen2
[+]  ml7o4bu          ^curl@7.88.1%gcc@11.3.0+gssapi~ldap+libidn2~librtmp+libssh+libssh2+nghttp2 build_system=autotools libs=shared,static tls=gnutls,mbedtls,openssl arch=linux-rhel8-zen2
[+]  vvo2utu              ^gnutls@3.7.8%gcc@11.3.0+guile+zlib build_system=autotools arch=linux-rhel8-zen2
[+]  zksb6q3                  ^nettle@3.8.1%gcc@11.3.0 build_system=autotools arch=linux-rhel8-zen2
[+]  z4v5kwp              ^libidn2@2.3.4%gcc@11.3.0 build_system=autotools arch=linux-rhel8-zen2
[+]  glfk6ep              ^libssh2@1.10.0%gcc@11.3.0+ipo+shared build_system=cmake build_type=RelWithDebInfo crypto=mbedtls generator=make arch=linux-rhel8-zen2
[+]  ek4c3lz              ^mbedtls@2.28.1%gcc@11.3.0+pic build_system=makefile build_type=RelWithDebInfo libs=shared,static arch=linux-rhel8-zen2
[+]  ddcqjdi              ^nghttp2@1.52.0%gcc@11.3.0 build_system=autotools arch=linux-rhel8-zen2
[+]  ir36lb6          ^hdf@4.2.15%gcc@11.3.0+external-xdr+fortran~java~netcdf+pic~shared+szip build_system=autotools patches=49733dd,5434f29,ce75518,d54592d,f7d67e8 arch=linux-rhel8-zen2
[+]  x3keyoo              ^libtirpc@1.2.6%gcc@11.3.0 build_system=autotools arch=linux-rhel8-zen2
[+]  36epzo4          ^libzip@1.3.2%gcc@11.3.0 build_system=autotools arch=linux-rhel8-zen2
[+]  ahsqlg2      ^netcdf-cxx@4.2%gcc@11.3.0+netcdf4 build_system=autotools patches=8892291 arch=linux-rhel8-zen2
[+]  d5fwf5q      ^nlohmann-json@3.11.2%gcc@11.3.0+ipo+multiple_headers build_system=cmake build_type=RelWithDebInfo generator=make arch=linux-rhel8-zen2
[+]  uqi43l7      ^osmesa@11.2.0%gcc@11.3.0 build_system=bundle arch=linux-rhel8-zen2
[+]  m5rhyzi          ^mesa@22.1.6%gcc@11.3.0+glx~llvm+opengl+opengles+osmesa~strip build_system=meson buildtype=debugoptimized default_library=shared,static patches=ee737d1 arch=linux-rhel8-zen2
[+]  czlbqsf              ^glproto@1.4.17%gcc@11.3.0 build_system=autotools arch=linux-rhel8-zen2
[+]  ow2zhuk              ^libxcb@1.14%gcc@11.3.0 build_system=autotools arch=linux-rhel8-zen2
[+]  mtrhc3f                  ^libpthread-stubs@0.4%gcc@11.3.0 build_system=autotools arch=linux-rhel8-zen2
[+]  tfumrao                  ^libxau@1.0.8%gcc@11.3.0 build_system=autotools arch=linux-rhel8-zen2
[+]  66aqrtf                  ^libxdmcp@1.1.4%gcc@11.3.0 build_system=autotools arch=linux-rhel8-zen2
[+]  nb5istf                  ^xcb-proto@1.15.2%gcc@11.3.0 build_system=autotools arch=linux-rhel8-zen2
[+]  na74xbv              ^meson@1.1.0%gcc@11.3.0 build_system=python_pip patches=0f0b1bd arch=linux-rhel8-zen2
[+]  3gyusxe              ^ninja@1.11.1%gcc@11.3.0+re2c build_system=generic arch=linux-rhel8-zen2
[+]  35p2wk5                  ^re2c@2.2%gcc@11.3.0 build_system=generic arch=linux-rhel8-zen2
[+]  7zzq2pb              ^py-mako@1.2.2%gcc@11.3.0 build_system=python_pip arch=linux-rhel8-zen2
[+]  u75qdco                  ^py-markupsafe@2.1.1%gcc@11.3.0 build_system=python_pip arch=linux-rhel8-zen2
[+]  dzjjc4h              ^xrandr@1.5.0%gcc@11.3.0 build_system=autotools arch=linux-rhel8-zen2
[+]  vqpyw2q                  ^libxrandr@1.5.3%gcc@11.3.0 build_system=autotools arch=linux-rhel8-zen2
[+]  fft4ssy                  ^randrproto@1.5.0%gcc@11.3.0 build_system=autotools arch=linux-rhel8-zen2
[+]  4zwhdez      ^proj@9.2.0%gcc@11.3.0+curl+ipo+tiff build_system=cmake build_type=RelWithDebInfo generator=make arch=linux-rhel8-zen2
[+]  yfokwgf      ^pugixml@1.13%gcc@11.3.0+ipo+pic+shared build_system=cmake build_type=RelWithDebInfo generator=make arch=linux-rhel8-zen2
[+]  qoumw5v      ^python@3.10.10%gcc@11.3.0+bz2+crypt+ctypes+dbm~debug+libxml2+lzma+nis+optimizations+pic+pyexpat+pythoncmd+readline+shared+sqlite3+ssl~tkinter+uuid+zlib build_system=generic patches=0d98e93,7d40923,f2fd060 arch=linux-rhel8-zen2
[+]  tspio6g          ^gdbm@1.23%gcc@11.3.0 build_system=autotools arch=linux-rhel8-zen2
[+]  aym4bs5          ^gettext@0.21.1%gcc@11.3.0+bzip2+curses+git+libunistring+libxml2+tar+xz build_system=autotools arch=linux-rhel8-zen2
[+]  vjlzfma              ^tar@1.34%gcc@11.3.0 build_system=autotools zip=pigz arch=linux-rhel8-zen2
[+]  pnsotvl                  ^pigz@2.7%gcc@11.3.0 build_system=makefile arch=linux-rhel8-zen2
[+]  akxkimj          ^libffi@3.4.4%gcc@11.3.0 build_system=autotools arch=linux-rhel8-zen2
[+]  5wi2hwp          ^libnsl@2.0.0%gcc@11.3.0 build_system=autotools arch=linux-rhel8-zen2
[+]  bgjnz6u              ^rpcsvc-proto@1.4.3%gcc@11.3.0 build_system=autotools arch=linux-rhel8-zen2
[+]  jeqzbqg          ^libuuid@1.0.3%gcc@11.3.0 build_system=autotools arch=linux-rhel8-zen2
[+]  5zyvitn          ^libxcrypt@4.4.33%gcc@11.3.0~obsolete_api build_system=autotools arch=linux-rhel8-zen2
[+]  boheg7m          ^readline@8.2%gcc@11.3.0 build_system=autotools patches=bbf97f1 arch=linux-rhel8-zen2
[+]  xd3bg4g      ^seacas@2022-10-14%gcc@11.3.0~adios2+applications+cgns~faodel+fortran+ipo+legacy+matio~metis~mpi+shared+thread_safe+x11 build_system=cmake build_type=RelWithDebInfo generator=make arch=linux-rhel8-zen2
[+]  qr4ye7u          ^fmt@9.1.0%gcc@11.3.0+ipo+pic+shared build_system=cmake build_type=RelWithDebInfo cxxstd=17 generator=make patches=08fb707 arch=linux-rhel8-zen2
[+]  7ghnnez          ^libx11@1.8.4%gcc@11.3.0 build_system=autotools arch=linux-rhel8-zen2
[+]  btqs4tq              ^inputproto@2.3.2%gcc@11.3.0 build_system=autotools arch=linux-rhel8-zen2
[+]  byzz5dp              ^kbproto@1.0.7%gcc@11.3.0 build_system=autotools arch=linux-rhel8-zen2
[+]  d4dc5px          ^matio@1.5.17%gcc@11.3.0+hdf5+shared+zlib build_system=autotools arch=linux-rhel8-zen2
[+]  5qlirxs      ^sqlite@3.40.1%gcc@11.3.0+column_metadata+dynamic_extensions+fts+functions+rtree build_system=autotools arch=linux-rhel8-zen2
[+]  67dm5yk      ^utf8cpp@2.3.4%gcc@11.3.0 build_system=generic arch=linux-rhel8-zen2
[+]  gv2fyi6      ^zlib@1.2.13%gcc@11.3.0+optimize+pic+shared build_system=makefile arch=linux-rhel8-zen2
==> Warning: using "mbedtls@2.28.1" which is a deprecated versio
```


### Error message

<details><summary>Error message</summary>

<pre>
==> Installing vtk-9.2.6-5tac4t656zg33nfpfz5lser7jxjoabw4
==> No binary for vtk-9.2.6-5tac4t656zg33nfpfz5lser7jxjoabw4 found: installing from source
2 out of 2 hunks FAILED -- saving rejects to file ThirdParty/xdmf2/vtkxdmf2/libsrc/XdmfH5Driver.cxx.rej
==> Using cached archive: /software/spack/git.2023.05.30/var/spack/cache/_source-cache/archive/06/06fc8d49c4e56f498c40fcb38a563ed8d4ec31358d0101e8988f0bb4d539dd12.tar.gz
==> Patch /software/spack/git.2023.05.30/var/spack/repos/builtin/packages/vtk/xdmf2-hdf51.13.2.patch failed.
==> Error: ProcessError: Command exited with status 1:
    '/bin/patch' '-s' '-p' '1' '-i' '/software/spack/git.2023.05.30/var/spack/repos/builtin/packages/vtk/xdmf2-hdf51.13.2.patch' '-d' '.'
==> Error: vtk-9.2.6-5tac4t656zg33nfpfz5lser7jxjoabw4: Package was not installed
==> Error: Installation request failed.  Refer to reported errors for failing package(s).
</pre></details>


### Information on your system

```console
spack debug report
* **Spack:** 0.21.0.dev0 (84faf5a6cf342efddb976b7432e44aff12f1c985)
* **Python:** 3.6.8
* **Platform:** linux-rhel8-zen2
* **Concretizer:** clingo
```
with vtk package back-ported from master, including pull request #39896

### Additional information

Because issue occurred during patching, no spack-build-out.txt or spack-build-env.txt.

Maintainers: @chuckatkins  @danlipsa

It looks like the changes in spack patchfile  xdmf2-hdf51.13.2.patch were effectively added to vtk@9.2.3: (commit e81a2fe)


### 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:

Resolving patch:
diff --git a/var/spack/repos/builtin/packages/vtk/package.py b/var/spack/repos/builtin/packages/vtk/package.py
--- a/var/spack/repos/builtin/packages/vtk/package.py
+++ b/var/spack/repos/builtin/packages/vtk/package.py
@@ -67,7 +67,8 @@ class Vtk(CMakePackage):
 
     # Patch for paraview 5.10: +hdf5 ^hdf5@1.13.2:
     # https://gitlab.kitware.com/vtk/vtk/-/merge_requests/9690
-    patch("xdmf2-hdf51.13.2.patch", when="@9:9.2 +xdmf")
+    # patch seems to effectively been added to vtk@9.2.3 (e81a2fe)
+    patch("xdmf2-hdf51.13.2.patch", when="@9:9.2.2 +xdmf")
 
     # We cannot build with both osmesa and qt in spack
     conflicts("+osmesa", when="+qt")


Test patch: