Skip to content

Instantly share code, notes, and snippets.

@p-i-
Created November 4, 2023 23:32
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save p-i-/81f3db85ef0df939fd57367321a9b5a0 to your computer and use it in GitHub Desktop.
Save p-i-/81f3db85ef0df939fd57367321a9b5a0 to your computer and use it in GitHub Desktop.
use spack to bootstrap gcc

🟢 Do all spack installs on a worker node This way it's compiling for the architecture that will be RUNNING these programs

$ srun --pty --cpus-per-task=32 --mem=64G --time=08:00:00 --partition=gpu --gres=gpu:0 /bin/bash

🟢 Clone spack (taken from their README.md) I'm installing into /path/to/spack, so spack will be /path/to/spack/spack And I'll have spack put packages in /path/to/spack/spackages

$ git clone -c feature.manyFiles=true https://github.com/spack/spack.git
Cloning into 'spack'...
remote: Enumerating objects: 488796, done.
remote: Counting objects: 100% (1181/1181), done.
remote: Compressing objects: 100% (527/527), done.
remote: Total 488796 (delta 613), reused 975 (delta 471), pack-reused 487615
Receiving objects: 100% (488796/488796), 185.44 MiB | 40.97 MiB/s, done.
Resolving deltas: 100% (219173/219173), done.
Checking out files: 100% (10989/10989), done.

🟢 Add spack to the shell env (later we'll make sure this executes in the ~/.bashrc and ~/.bash_profile startup scripts)

$ . spack/share/spack/setup-env.sh

🟢 Autogenerate ~/.spack and setup config.yaml Setup where packages go and how to name them

$ spack compiler find  # autogens ~/.spack
==> Added 1 new compiler to ~/.spack/linux/compilers.yaml
    gcc@4.8.5
==> Compilers are defined in the following files:
    ~/.spack/linux/compilers.yaml
$ nano ~/.spack/config.yaml  # modify root and projection

$ cat ~/.spack/config.yaml
config:
  install_tree:
    root: /path/to/spackages
    projections:
      all: "{target}-{compiler.name}-{compiler.version}/{name}-{version}_{hash:7}"

🟢 spack-install primary gcc@13.2.0 using system gcc@4.8.5 Note that this will install a bunch of prerequisite packages @4.8.5 Later we'll install a secondary gcc@13.2.0 using the primary gcc@13.2.0, which will install a second set of prerequisite packages@13.2.0, at which point we can remove the primary, and have achieved bootstrap. Note this took me ~90m

$ spack install -j 32 gcc +profiled  # apparently +profiled is superset of +bootstrap, compiles it 3x
==> Installing gmake-4.4.1-dqngc5gsvmcotzxos63bl3brxqwneggk [1/29]
==> No binary for gmake-4.4.1-dqngc5gsvmcotzxos63bl3brxqwneggk found: installing from source
==> Using cached archive: /path/to/spack/var/spack/cache/_source-cache/archive/dd/dd16fb1d67bfab79a72f5e8390735c49e3e8e70b4945a15ab1f81ddb78658fb3.tar.gz
==> No patches needed for gmake
==> gmake: Executing phase: 'install'
==> gmake: Successfully installed gmake-4.4.1-dqngc5gsvmcotzxos63bl3brxqwneggk
  Stage: 1.87s.  Install: 35.93s.  Post-install: 0.08s.  Total: 37.98s
[+] /path/to/spackages/haswell-gcc-4.8.5/gmake-4.4.1_dqngc5g
==> Installing zlib-ng-2.1.4-a2ywqklbyxyyulxbekuefdzsv662be4m [2/29]
==> No binary for zlib-ng-2.1.4-a2ywqklbyxyyulxbekuefdzsv662be4m found: installing from source
==> Fetching https://github.com/zlib-ng/zlib-ng/archive/2.1.4.tar.gz
==> No patches needed for zlib-ng
==> zlib-ng: Executing phase: 'autoreconf'
==> zlib-ng: Executing phase: 'configure'
==> zlib-ng: Executing phase: 'build'
==> zlib-ng: Executing phase: 'install'
==> zlib-ng: Successfully installed zlib-ng-2.1.4-a2ywqklbyxyyulxbekuefdzsv662be4m
  Stage: 2.56s.  Autoreconf: 0.00s.  Configure: 6.53s.  Build: 1.14s.  Install: 0.19s.  Post-install: 0.13s.  Total: 10.76s
[+] /path/to/spackages/haswell-gcc-4.8.5/zlib-ng-2.1.4_a2ywqkl
==> Installing libsigsegv-2.14-7fovkltlmgj46gtxwi3ku7chs2liw7jc [3/29]
==> No binary for libsigsegv-2.14-7fovkltlmgj46gtxwi3ku7chs2liw7jc found: installing from source
==> Fetching https://mirror.spack.io/_source-cache/archive/cd/cdac3941803364cf81a908499beb79c200ead60b6b5b40cad124fd1e06caa295.tar.gz
==> No patches needed for libsigsegv
==> libsigsegv: Executing phase: 'autoreconf'
==> libsigsegv: Executing phase: 'configure'
==> libsigsegv: Executing phase: 'build'
==> libsigsegv: Executing phase: 'install'
==> libsigsegv: Successfully installed libsigsegv-2.14-7fovkltlmgj46gtxwi3ku7chs2liw7jc
  Stage: 0.81s.  Autoreconf: 0.00s.  Configure: 14.02s.  Build: 1.31s.  Install: 0.38s.  Post-install: 0.16s.  Total: 16.95s
[+] /path/to/spackages/haswell-gcc-4.8.5/libsigsegv-2.14_7fovklt
==> Installing libiconv-1.17-3a5lmmbywbyep2e7g3ly365ornkx5wuu [4/29]
==> No binary for libiconv-1.17-3a5lmmbywbyep2e7g3ly365ornkx5wuu found: installing from source
==> Fetching https://mirror.spack.io/_source-cache/archive/8f/8f74213b56238c85a50a5329f77e06198771e70dd9a739779f4c02f65d971313.tar.gz
==> No patches needed for libiconv
==> libiconv: Executing phase: 'autoreconf'
==> libiconv: Executing phase: 'configure'
==> libiconv: Executing phase: 'build'
==> libiconv: Executing phase: 'install'
==> libiconv: Successfully installed libiconv-1.17-3a5lmmbywbyep2e7g3ly365ornkx5wuu
  Stage: 4.37s.  Autoreconf: 0.00s.  Configure: 42.16s.  Build: 10.10s.  Install: 2.00s.  Post-install: 0.46s.  Total: 59.34s
[+] /path/to/spackages/haswell-gcc-4.8.5/libiconv-1.17_3a5lmmb
==> Installing pkgconf-1.9.5-lt2wyf3gy3acdedyr5oumwzfk5tfbgq3 [5/29]
==> No binary for pkgconf-1.9.5-lt2wyf3gy3acdedyr5oumwzfk5tfbgq3 found: installing from source
==> Using cached archive: /path/to/spack/var/spack/cache/_source-cache/archive/1a/1ac1656debb27497563036f7bffc281490f83f9b8457c0d60bcfb638fb6b6171.tar.xz
==> No patches needed for pkgconf
==> pkgconf: Executing phase: 'autoreconf'
==> pkgconf: Executing phase: 'configure'
==> pkgconf: Executing phase: 'build'
==> pkgconf: Executing phase: 'install'
==> pkgconf: Successfully installed pkgconf-1.9.5-lt2wyf3gy3acdedyr5oumwzfk5tfbgq3
  Stage: 0.72s.  Autoreconf: 0.00s.  Configure: 9.17s.  Build: 1.82s.  Install: 0.55s.  Post-install: 0.20s.  Total: 12.69s
[+] /path/to/spackages/haswell-gcc-4.8.5/pkgconf-1.9.5_lt2wyf3
==> Installing autoconf-archive-2023.02.20-r2dl5qkepdzhryv5tdxrhytu5557ei3p [6/29]
==> No binary for autoconf-archive-2023.02.20-r2dl5qkepdzhryv5tdxrhytu5557ei3p found: installing from source
==> Using cached archive: /path/to/spack/var/spack/cache/_source-cache/archive/71/71d4048479ae28f1f5794619c3d72df9c01df49b1c628ef85fde37596dc31a33.tar.xz
==> No patches needed for autoconf-archive
==> autoconf-archive: Executing phase: 'autoreconf'
==> autoconf-archive: Executing phase: 'configure'
==> autoconf-archive: Executing phase: 'build'
==> autoconf-archive: Executing phase: 'install'
==> autoconf-archive: Successfully installed autoconf-archive-2023.02.20-r2dl5qkepdzhryv5tdxrhytu5557ei3p
  Stage: 4.43s.  Autoreconf: 0.00s.  Configure: 1.95s.  Build: 0.07s.  Install: 3.47s.  Post-install: 1.24s.  Total: 11.37s
[+] /path/to/spackages/haswell-gcc-4.8.5/autoconf-archive-2023.02.20_r2dl5qk
==> Installing berkeley-db-18.1.40-zjxiexwyqt4tyrxnq2ou5fbwm4wxtfyd [7/29]
==> No binary for berkeley-db-18.1.40-zjxiexwyqt4tyrxnq2ou5fbwm4wxtfyd found: installing from source
==> Fetching https://mirror.spack.io/_source-cache/archive/0c/0cecb2ef0c67b166de93732769abdeba0555086d51de1090df325e18ee8da9c8.tar.gz
==> Applied patch /path/to/spack/var/spack/repos/builtin/packages/berkeley-db/drop-docs.patch
==> Applied patch /path/to/spack/var/spack/repos/builtin/packages/berkeley-db/tls.patch
==> Ran patch() for berkeley-db
==> berkeley-db: Executing phase: 'autoreconf'
==> berkeley-db: Executing phase: 'configure'
==> berkeley-db: Executing phase: 'build'
==> berkeley-db: Executing phase: 'install'
==> berkeley-db: Successfully installed berkeley-db-18.1.40-zjxiexwyqt4tyrxnq2ou5fbwm4wxtfyd
  Stage: 35.33s.  Autoreconf: 0.00s.  Configure: 40.34s.  Build: 5.64s.  Install: 1.19s.  Post-install: 0.25s.  Total: 1m 22.99s
[+] /path/to/spackages/haswell-gcc-4.8.5/berkeley-db-18.1.40_zjxiexw
==> Installing xz-5.4.1-npplqelonmb7oll5nnilwo5ih22tzft7 [8/29]
==> No binary for xz-5.4.1-npplqelonmb7oll5nnilwo5ih22tzft7 found: installing from source
==> Using cached archive: /path/to/spack/var/spack/cache/_source-cache/archive/dd/dd172acb53867a68012f94c17389401b2f274a1aa5ae8f84cbfb8b7e383ea8d3.tar.bz2
==> No patches needed for xz
==> xz: Executing phase: 'autoreconf'
==> xz: Executing phase: 'configure'
==> xz: Executing phase: 'build'
==> xz: Executing phase: 'install'
==> xz: Successfully installed xz-5.4.1-npplqelonmb7oll5nnilwo5ih22tzft7
  Stage: 2.77s.  Autoreconf: 0.00s.  Configure: 22.67s.  Build: 5.19s.  Install: 3.50s.  Post-install: 0.53s.  Total: 34.88s
[+] /path/to/spackages/haswell-gcc-4.8.5/xz-5.4.1_npplqel
==> Installing zstd-1.5.5-mx5ni7yhb5cqhew25xickqlbhrsfoxt4 [9/29]
==> No binary for zstd-1.5.5-mx5ni7yhb5cqhew25xickqlbhrsfoxt4 found: installing from source
==> Using cached archive: /path/to/spack/var/spack/cache/_source-cache/archive/98/98e9c3d949d1b924e28e01eccb7deed865eefebf25c2f21c702e5cd5b63b85e1.tar.gz
==> No patches needed for zstd
==> zstd: Executing phase: 'edit'
==> zstd: Executing phase: 'build'
==> zstd: Executing phase: 'install'
==> zstd: Successfully installed zstd-1.5.5-mx5ni7yhb5cqhew25xickqlbhrsfoxt4
  Stage: 2.60s.  Edit: 0.00s.  Build: 0.00s.  Install: 13.98s.  Post-install: 0.34s.  Total: 17.09s
[+] /path/to/spackages/haswell-gcc-4.8.5/zstd-1.5.5_mx5ni7y
==> Installing pigz-2.7-alo2o3oxdbuzungdksx3ryo2ozt33w7f [10/29]
==> No binary for pigz-2.7-alo2o3oxdbuzungdksx3ryo2ozt33w7f found: installing from source
==> Fetching https://mirror.spack.io/_source-cache/archive/d2/d2045087dae5e9482158f1f1c0f21c7d3de6f7cdc7cc5848bdabda544e69aa58.tar.gz
==> No patches needed for pigz
==> pigz: Executing phase: 'edit'
==> pigz: Executing phase: 'build'
==> pigz: Executing phase: 'install'
==> pigz: Successfully installed pigz-2.7-alo2o3oxdbuzungdksx3ryo2ozt33w7f
  Stage: 0.31s.  Edit: 0.00s.  Build: 1.54s.  Install: 0.02s.  Post-install: 0.13s.  Total: 2.22s
[+] /path/to/spackages/haswell-gcc-4.8.5/pigz-2.7_alo2o3o
==> Installing diffutils-3.9-p45tlf4t75tbin3lkdbmi33veranrezk [11/29]
==> No binary for diffutils-3.9-p45tlf4t75tbin3lkdbmi33veranrezk found: installing from source
==> Fetching https://mirror.spack.io/_source-cache/archive/d8/d80d3be90a201868de83d78dad3413ad88160cc53bcc36eb9eaf7c20dbf023f1.tar.xz
==> No patches needed for diffutils
==> diffutils: Executing phase: 'autoreconf'
==> diffutils: Executing phase: 'configure'
==> diffutils: Executing phase: 'build'
==> diffutils: Executing phase: 'install'
==> diffutils: Successfully installed diffutils-3.9-p45tlf4t75tbin3lkdbmi33veranrezk
  Stage: 4.38s.  Autoreconf: 0.00s.  Configure: 1m 18.69s.  Build: 4.40s.  Install: 2.64s.  Post-install: 0.40s.  Total: 1m 30.78s
[+] /path/to/spackages/haswell-gcc-4.8.5/diffutils-3.9_p45tlf4
==> Installing ncurses-6.4-zgmokxcnffhrhv7grnv5qbulpifcdnqs [12/29]
==> No binary for ncurses-6.4-zgmokxcnffhrhv7grnv5qbulpifcdnqs found: installing from source
==> Fetching https://mirror.spack.io/_source-cache/archive/69/6931283d9ac87c5073f30b6290c4c75f21632bb4fc3603ac8100812bed248159.tar.gz
==> No patches needed for ncurses
==> ncurses: Executing phase: 'autoreconf'
==> ncurses: Executing phase: 'configure'
==> ncurses: Executing phase: 'build'
==> ncurses: Executing phase: 'install'
==> ncurses: Successfully installed ncurses-6.4-zgmokxcnffhrhv7grnv5qbulpifcdnqs
  Stage: 5.90s.  Autoreconf: 0.00s.  Configure: 1m 17.52s.  Build: 16.20s.  Install: 23.76s.  Post-install: 6.93s.  Total: 2m 10.55s
[+] /path/to/spackages/haswell-gcc-4.8.5/ncurses-6.4_zgmokxc
==> Installing libxml2-2.10.3-chzesiew7py5esdnhzooh6lrkychziif [13/29]
==> No binary for libxml2-2.10.3-chzesiew7py5esdnhzooh6lrkychziif found: installing from source
==> Fetching https://mirror.spack.io/_source-cache/archive/5d/5d2cc3d78bec3dbe212a9d7fa629ada25a7da928af432c93060ff5c17ee28a9c.tar.xz
==> Fetching https://mirror.spack.io/_source-cache/archive/96/96151685cec997e1f9f3387e3626d61e6284d4d6e66e0e440c209286c03e9cc7.tar.gz
==> Moving resource stage
        source:/path/to/tmp/spack-stage/resource-xmlts-chzesiew7py5esdnhzooh6lrkychziif/spack-src/
        destination:/path/to/tmp/spack-stage/spack-stage-libxml2-2.10.3-chzesiew7py5esdnhzooh6lrkychziif/spack-src/xmlconf
==> Ran patch() for libxml2
==> libxml2: Executing phase: 'autoreconf'
==> libxml2: Executing phase: 'configure'
==> libxml2: Executing phase: 'build'
==> libxml2: Executing phase: 'install'
==> libxml2: Successfully installed libxml2-2.10.3-chzesiew7py5esdnhzooh6lrkychziif
  Stage: 50.20s.  Autoreconf: 0.00s.  Configure: 18.18s.  Build: 4.96s.  Install: 2.06s.  Post-install: 0.59s.  Total: 1m 16.34s
[+] /path/to/spackages/haswell-gcc-4.8.5/libxml2-2.10.3_chzesie
==> Installing bzip2-1.0.8-ndfjfxqujizrh4x6bn3hlg7stf55ggqk [14/29]
==> No binary for bzip2-1.0.8-ndfjfxqujizrh4x6bn3hlg7stf55ggqk found: installing from source
==> Fetching https://mirror.spack.io/_source-cache/archive/ab/ab5a03176ee106d3f0fa90e381da478ddae405918153cca248e682cd0c4a2269.tar.gz
==> Ran patch() for bzip2
==> bzip2: Executing phase: 'install'
==> bzip2: Successfully installed bzip2-1.0.8-ndfjfxqujizrh4x6bn3hlg7stf55ggqk
  Stage: 0.64s.  Install: 2.74s.  Post-install: 0.11s.  Total: 3.63s
[+] /path/to/spackages/haswell-gcc-4.8.5/bzip2-1.0.8_ndfjfxq
==> Installing m4-1.4.19-i3fuvtzzwsaq232h6sll5iurls6ykaeb [15/29]
==> No binary for m4-1.4.19-i3fuvtzzwsaq232h6sll5iurls6ykaeb found: installing from source
==> Fetching https://mirror.spack.io/_source-cache/archive/3b/3be4a26d825ffdfda52a56fc43246456989a3630093cced3fbddf4771ee58a70.tar.gz
==> Applied patch /path/to/spack/var/spack/repos/builtin/packages/m4/checks-198.sysval.1.patch
==> Applied patch /path/to/spack/var/spack/repos/builtin/packages/m4/checks-198.sysval.2.patch
==> Ran patch() for m4
==> m4: Executing phase: 'autoreconf'
==> m4: Executing phase: 'configure'
==> m4: Executing phase: 'build'
==> m4: Executing phase: 'install'
==> m4: Successfully installed m4-1.4.19-i3fuvtzzwsaq232h6sll5iurls6ykaeb
  Stage: 7.10s.  Autoreconf: 0.00s.  Configure: 1m 46.21s.  Build: 6.02s.  Install: 2.73s.  Post-install: 0.60s.  Total: 2m 3.05s
[+] /path/to/spackages/haswell-gcc-4.8.5/m4-1.4.19_i3fuvtz
==> Installing readline-8.2-liitlpzcelrxlzdeojsgazgfz32uvozq [16/29]
==> No binary for readline-8.2-liitlpzcelrxlzdeojsgazgfz32uvozq found: installing from source
==> Fetching https://mirror.spack.io/_source-cache/archive/3f/3feb7171f16a84ee82ca18a36d7b9be109a52c04f492a053331d7d1095007c35.tar.gz
==> Fetching https://mirror.spack.io/_source-cache/archive/bb/bbf97f1ec40a929edab5aa81998c1e2ef435436c597754916e6a5868f273aff7
==> Applied patch https://ftpmirror.gnu.org/readline/readline-8.2-patches/readline82-001
==> readline: Executing phase: 'autoreconf'
==> readline: Executing phase: 'configure'
==> readline: Executing phase: 'build'
==> readline: Executing phase: 'install'
==> readline: Successfully installed readline-8.2-liitlpzcelrxlzdeojsgazgfz32uvozq
  Stage: 1.35s.  Autoreconf: 0.00s.  Configure: 20.74s.  Build: 1.36s.  Install: 0.38s.  Post-install: 0.15s.  Total: 24.22s
[+] /path/to/spackages/haswell-gcc-4.8.5/readline-8.2_liitlpz
==> Installing tar-1.34-w53vjtwrvh7jykt4amlmtto2ttacdy2m [17/29]
==> No binary for tar-1.34-w53vjtwrvh7jykt4amlmtto2ttacdy2m found: installing from source
==> Fetching https://mirror.spack.io/_source-cache/archive/03/03d908cf5768cfe6b7ad588c921c6ed21acabfb2b79b788d1330453507647aed.tar.gz
==> No patches needed for tar
==> tar: Executing phase: 'autoreconf'
==> tar: Executing phase: 'configure'
==> tar: Executing phase: 'build'
==> tar: Executing phase: 'install'
==> tar: Successfully installed tar-1.34-w53vjtwrvh7jykt4amlmtto2ttacdy2m
  Stage: 5.47s.  Autoreconf: 0.00s.  Configure: 1m 39.66s.  Build: 5.59s.  Install: 2.69s.  Post-install: 0.49s.  Total: 1m 54.36s
[+] /path/to/spackages/haswell-gcc-4.8.5/tar-1.34_w53vjtw
==> Installing libtool-2.4.7-7aixs4444io5ir3nv5jt2zrgcm776lfd [18/29]
==> No binary for libtool-2.4.7-7aixs4444io5ir3nv5jt2zrgcm776lfd found: installing from source
==> Fetching https://mirror.spack.io/_source-cache/archive/04/04e96c2404ea70c590c546eba4202a4e12722c640016c12b9b2f1ce3d481e9a8.tar.gz
==> Ran patch() for libtool
==> libtool: Executing phase: 'autoreconf'
==> libtool: Executing phase: 'configure'
==> libtool: Executing phase: 'build'
==> libtool: Executing phase: 'install'
==> libtool: Successfully installed libtool-2.4.7-7aixs4444io5ir3nv5jt2zrgcm776lfd
  Stage: 1.45s.  Autoreconf: 0.00s.  Configure: 19.97s.  Build: 2.16s.  Install: 1.45s.  Post-install: 0.31s.  Total: 25.71s
[+] /path/to/spackages/haswell-gcc-4.8.5/libtool-2.4.7_7aixs44
==> Installing gdbm-1.23-gltmkvwp44mf7ebkorgnpy3mhdmjahck [19/29]
==> No binary for gdbm-1.23-gltmkvwp44mf7ebkorgnpy3mhdmjahck found: installing from source
==> Fetching https://mirror.spack.io/_source-cache/archive/74/74b1081d21fff13ae4bd7c16e5d6e504a4c26f7cde1dca0d963a484174bbcacd.tar.gz
==> No patches needed for gdbm
==> gdbm: Executing phase: 'autoreconf'
==> gdbm: Executing phase: 'configure'
==> gdbm: Executing phase: 'build'
==> gdbm: Executing phase: 'install'
==> gdbm: Successfully installed gdbm-1.23-gltmkvwp44mf7ebkorgnpy3mhdmjahck
  Stage: 1.12s.  Autoreconf: 0.00s.  Configure: 15.13s.  Build: 3.03s.  Install: 1.70s.  Post-install: 0.29s.  Total: 21.61s
[+] /path/to/spackages/haswell-gcc-4.8.5/gdbm-1.23_gltmkvw
==> Installing gettext-0.22.3-2ej3dqtsbih45gjoupxyogkpp4zalmno [20/29]
==> No binary for gettext-0.22.3-2ej3dqtsbih45gjoupxyogkpp4zalmno found: installing from source
==> Fetching https://ftpmirror.gnu.org/gettext/gettext-0.22.3.tar.xz
==> No patches needed for gettext
==> gettext: Executing phase: 'autoreconf'
==> gettext: Executing phase: 'configure'
==> gettext: Executing phase: 'build'
==> gettext: Executing phase: 'install'
==> gettext: Successfully installed gettext-0.22.3-2ej3dqtsbih45gjoupxyogkpp4zalmno
  Stage: 30.23s.  Autoreconf: 0.00s.  Configure: 5m 36.70s.  Build: 3m 13.62s.  Install: 40.00s.  Post-install: 3.32s.  Total: 10m 4.41s
[+] /path/to/spackages/haswell-gcc-4.8.5/gettext-0.22.3_2ej3dqt
==> Installing perl-5.38.0-hue2kvcrbtrhpnmu3g3ejalflmhtvsme [21/29]
==> No binary for perl-5.38.0-hue2kvcrbtrhpnmu3g3ejalflmhtvsme found: installing from source
==> Fetching https://mirror.spack.io/_source-cache/archive/21/213ef58089d2f2c972ea353517dc60ec3656f050dcc027666e118b508423e517.tar.gz
==> Fetching https://mirror.spack.io/_source-cache/archive/9d/9da50e155df72bce55cb69f51f1dbb4b62d23740fb99f6178bb27f22ebdf8a46.tar.gz
==> Moving resource stage
        source:/path/to/tmp/spack-stage/resource-cpanm-hue2kvcrbtrhpnmu3g3ejalflmhtvsme/spack-src/
        destination:/path/to/tmp/spack-stage/spack-stage-perl-5.38.0-hue2kvcrbtrhpnmu3g3ejalflmhtvsme/spack-src/cpanm/cpanm
==> Applied patch /path/to/spack/var/spack/repos/builtin/packages/perl/zlib-ng.patch
==> Ran patch() for perl
==> perl: Executing phase: 'configure'
==> perl: Executing phase: 'build'
==> perl: Executing phase: 'install'
==> perl: Successfully installed perl-5.38.0-hue2kvcrbtrhpnmu3g3ejalflmhtvsme
  Stage: 28.94s.  Configure: 2m 35.79s.  Build: 34.94s.  Install: 39.32s.  Post-install: 7.58s.  Total: 4m 27.06s
[+] /path/to/spackages/haswell-gcc-4.8.5/perl-5.38.0_hue2kvc
==> Installing autoconf-2.69-jlwdciet6bebuq4i7sf3i26efameujm4 [22/29]
==> No binary for autoconf-2.69-jlwdciet6bebuq4i7sf3i26efameujm4 found: installing from source
==> Fetching https://mirror.spack.io/_source-cache/archive/95/954bd69b391edc12d6a4a51a2dd1476543da5c6bbf05a95b59dc0dd6fd4c2969.tar.gz
==> Fetching https://mirror.spack.io/_source-cache/archive/77/7793209b33013dc0f81208718c68440c5aae80e7a1c4b8d336e382525af791a7
==> Fetching https://mirror.spack.io/_source-cache/archive/35/35c449281546376449766f92d49fc121ca50e330e60fefcfc9be2af3253082c2
==> Fetching https://mirror.spack.io/_source-cache/archive/a4/a49dd5bac3b62daa0ff688ab4d508d71dbd2f4f8d7e2a02321926346161bf3ee
==> Applied patch http://mirrors.mit.edu/gentoo-portage/sys-devel/autoconf/files/autoconf-2.69-fix-libtool-test.patch
==> Applied patch http://mirrors.mit.edu/gentoo-portage/sys-devel/autoconf/files/autoconf-2.69-perl-5.26.patch
==> Applied patch http://mirrors.mit.edu/gentoo-portage/sys-devel/autoconf/files/autoconf-2.69-perl-5.26-2.patch
==> Ran patch() for autoconf
==> autoconf: Executing phase: 'autoreconf'
==> autoconf: Executing phase: 'configure'
==> autoconf: Executing phase: 'build'
==> autoconf: Executing phase: 'install'
==> autoconf: Successfully installed autoconf-2.69-jlwdciet6bebuq4i7sf3i26efameujm4
  Stage: 1.61s.  Autoreconf: 0.00s.  Configure: 2.78s.  Build: 2.23s.  Install: 1.15s.  Post-install: 0.40s.  Total: 8.82s
[+] /path/to/spackages/haswell-gcc-4.8.5/autoconf-2.69_jlwdcie
==> Installing texinfo-7.0.3-cjhqtjzxliv7wrf6vy33piqrzgnp3xii [23/29]
==> No binary for texinfo-7.0.3-cjhqtjzxliv7wrf6vy33piqrzgnp3xii found: installing from source
==> Fetching https://mirror.spack.io/_source-cache/archive/3c/3cc5706fb086b895e1dc2b407aade9f95a3a233ff856273e2b659b089f117683.tar.gz
==> No patches needed for texinfo
==> texinfo: Executing phase: 'autoreconf'
==> texinfo: Executing phase: 'configure'
==> texinfo: Executing phase: 'build'
==> texinfo: Executing phase: 'install'
==> texinfo: Successfully installed texinfo-7.0.3-cjhqtjzxliv7wrf6vy33piqrzgnp3xii
  Stage: 21.97s.  Autoreconf: 0.00s.  Configure: 1m 26.44s.  Build: 6.78s.  Install: 5.32s.  Post-install: 1.45s.  Total: 2m 2.72s
[+] /path/to/spackages/haswell-gcc-4.8.5/texinfo-7.0.3_cjhqtjz
==> Installing automake-1.16.5-y5q3o2m4nqs7dbmq3igihh3kgianohu6 [24/29]
==> No binary for automake-1.16.5-y5q3o2m4nqs7dbmq3igihh3kgianohu6 found: installing from source
==> Fetching https://mirror.spack.io/_source-cache/archive/07/07bd24ad08a64bc17250ce09ec56e921d6343903943e99ccf63bbf0705e34605.tar.gz
==> Ran patch() for automake
==> automake: Executing phase: 'autoreconf'
==> automake: Executing phase: 'configure'
==> automake: Executing phase: 'build'
==> automake: Executing phase: 'install'
==> automake: Successfully installed automake-1.16.5-y5q3o2m4nqs7dbmq3igihh3kgianohu6
  Stage: 6.58s.  Autoreconf: 0.00s.  Configure: 6.43s.  Build: 0.84s.  Install: 0.64s.  Post-install: 0.51s.  Total: 15.62s
[+] /path/to/spackages/haswell-gcc-4.8.5/automake-1.16.5_y5q3o2m
==> Installing gmp-6.2.1-ymemwn7u7a6yzmfsexcgksgxtthdjnsa [25/29]
==> No binary for gmp-6.2.1-ymemwn7u7a6yzmfsexcgksgxtthdjnsa found: installing from source
==> Fetching https://mirror.spack.io/_source-cache/archive/ea/eae9326beb4158c386e39a356818031bd28f3124cf915f8c5b1dc4c7a36b4d7c.tar.bz2
==> Applied patch /path/to/spack/var/spack/repos/builtin/packages/gmp/avoid-x18.diff
==> gmp: Executing phase: 'autoreconf'
==> gmp: Executing phase: 'configure'
==> gmp: Executing phase: 'build'
==> gmp: Executing phase: 'install'
==> gmp: Successfully installed gmp-6.2.1-ymemwn7u7a6yzmfsexcgksgxtthdjnsa
  Stage: 8.76s.  Autoreconf: 10.60s.  Configure: 50.08s.  Build: 15.57s.  Install: 1.34s.  Post-install: 0.31s.  Total: 1m 27.37s
[+] /path/to/spackages/haswell-gcc-4.8.5/gmp-6.2.1_ymemwn7
==> Installing mpfr-4.2.0-z3bhno63lr523aucpldbkxqla6uvcvlm [26/29]
==> No binary for mpfr-4.2.0-z3bhno63lr523aucpldbkxqla6uvcvlm found: installing from source
==> Fetching https://mirror.spack.io/_source-cache/archive/69/691db39178e36fc460c046591e4b0f2a52c8f2b3ee6d750cc2eab25f1eaa999d.tar.bz2
==> No patches needed for mpfr
==> mpfr: Executing phase: 'autoreconf'
==> mpfr: Executing phase: 'configure'
==> mpfr: Executing phase: 'build'
==> mpfr: Executing phase: 'install'
==> mpfr: Successfully installed mpfr-4.2.0-z3bhno63lr523aucpldbkxqla6uvcvlm
  Stage: 2.68s.  Autoreconf: 14.76s.  Configure: 28.13s.  Build: 8.22s.  Install: 1.29s.  Post-install: 0.42s.  Total: 56.33s
[+] /path/to/spackages/haswell-gcc-4.8.5/mpfr-4.2.0_z3bhno6
==> Installing gawk-5.2.2-uuufy73pdb5qqxo46epk5gqsjhw6papk [27/29]
==> No binary for gawk-5.2.2-uuufy73pdb5qqxo46epk5gqsjhw6papk found: installing from source
==> Fetching https://ftpmirror.gnu.org/gawk/gawk-5.2.2.tar.xz
==> No patches needed for gawk
==> gawk: Executing phase: 'autoreconf'
==> gawk: Executing phase: 'configure'
==> gawk: Executing phase: 'build'
==> gawk: Executing phase: 'install'
==> gawk: Successfully installed gawk-5.2.2-uuufy73pdb5qqxo46epk5gqsjhw6papk
  Stage: 11.66s.  Autoreconf: 0.00s.  Configure: 44.67s.  Build: 4.97s.  Install: 2.28s.  Post-install: 0.55s.  Total: 1m 5.11s
[+] /path/to/spackages/haswell-gcc-4.8.5/gawk-5.2.2_uuufy73
==> Installing mpc-1.3.1-iuhkn4gxxzvbyrw2vfqneg2drjmn2mr7 [28/29]
==> No binary for mpc-1.3.1-iuhkn4gxxzvbyrw2vfqneg2drjmn2mr7 found: installing from source
==> Fetching https://mirror.spack.io/_source-cache/archive/ab/ab642492f5cf882b74aa0cb730cd410a81edcdbec895183ce930e706c1c759b8.tar.gz
==> No patches needed for mpc
==> mpc: Executing phase: 'autoreconf'
==> mpc: Executing phase: 'configure'
==> mpc: Executing phase: 'build'
==> mpc: Executing phase: 'install'
==> mpc: Successfully installed mpc-1.3.1-iuhkn4gxxzvbyrw2vfqneg2drjmn2mr7
  Stage: 1.58s.  Autoreconf: 0.00s.  Configure: 14.68s.  Build: 2.18s.  Install: 0.98s.  Post-install: 0.36s.  Total: 20.63s
[+] /path/to/spackages/haswell-gcc-4.8.5/mpc-1.3.1_iuhkn4g
==> Installing gcc-13.2.0-4taersisk2qmunhv5o7bytnjmpcj3o4c [29/29]
==> No binary for gcc-13.2.0-4taersisk2qmunhv5o7bytnjmpcj3o4c found: installing from source
==> Fetching https://ftpmirror.gnu.org/gcc/gcc-13.2.0/gcc-13.2.0.tar.xz
==> Ran patch() for gcc
==> gcc: Executing phase: 'autoreconf'
==> gcc: Executing phase: 'configure'
==> gcc: Executing phase: 'build'
==> gcc: Executing phase: 'install'
==> gcc: Successfully installed gcc-13.2.0-4taersisk2qmunhv5o7bytnjmpcj3o4c
  Stage: 8m 5.04s.  Autoreconf: 0.00s.  Configure: 7.08s.  Build: 1h 17m 28.25s.  Install: 16.95s.  Post-install: 5.78s.  Total: 1h 26m 4.52s  🚀
[+] /path/to/spackages/haswell-gcc-4.8.5/gcc-13.2.0_4taersi

🟢 Take a look at what we got Note that we could spack gc and clear out most of these, as once gcc is installed they're no longer needed. I do it later, but if you follow along, you're safe to spack gc at this point.

$ spack find
-- linux-centos7-haswell / gcc@4.8.5 ----------------------------
autoconf@2.69                diffutils@3.9   gmake@4.4.1      libxml2@2.10.3  perl@5.38.0    texinfo@7.0.3
autoconf-archive@2023.02.20  gawk@5.2.2      gmp@6.2.1        m4@1.4.19       pigz@2.7       xz@5.4.1
automake@1.16.5              gcc@13.2.0      libiconv@1.17    mpc@1.3.1       pkgconf@1.9.5  zlib-ng@2.1.4
berkeley-db@18.1.40          gdbm@1.23       libsigsegv@2.14  mpfr@4.2.0      readline@8.2   zstd@1.5.5
bzip2@1.0.8                  gettext@0.22.3  libtool@2.4.7    ncurses@6.4     tar@1.34
==> 29 installed packages
$ spack gc  # we don't actually do this, just get a preview
==> The following 23 packages will be uninstalled:

    -- linux-centos7-haswell / gcc@4.8.5 ----------------------------
    jlwdcie autoconf@2.69                uuufy73 gawk@5.2.2       7aixs44 libtool@2.4.7   lt2wyf3 pkgconf@1.9.5
    r2dl5qk autoconf-archive@2023.02.20  gltmkvw gdbm@1.23        chzesie libxml2@2.10.3  liitlpz readline@8.2
    y5q3o2m automake@1.16.5              2ej3dqt gettext@0.22.3   i3fuvtz m4@1.4.19       w53vjtw tar@1.34
    zjxiexw berkeley-db@18.1.40          dqngc5g gmake@4.4.1      zgmokxc ncurses@6.4     cjhqtjz texinfo@7.0.3
    ndfjfxq bzip2@1.0.8                  3a5lmmb libiconv@1.17    hue2kvc perl@5.38.0     npplqel xz@5.4.1
    p45tlf4 diffutils@3.9                7fovklt libsigsegv@2.14  alo2o3o pigz@2.7

==> Do you want to proceed? [y/N] ^C
==> Error: Keyboard interrupt.
$ spack -b find  # bootstrap stuff is orthogonal to our task of "install a compiler"
-- linux-centos7-x86_64 / gcc@10.2.1 ----------------------------
bison@3.0.4  clingo-bootstrap@spack  cmake@3.27.6  patchelf@0.18.0  python@3.6
==> 5 installed packages
$ spack info gcc
AutotoolsPackage:   gcc

Description:
    The GNU Compiler Collection includes front ends for C, C++, Objective-C,
    Fortran, Ada, and Go, as well as libraries for these languages.

Homepage: https://gcc.gnu.org

Preferred version:  
    13.2.0    https://ftpmirror.gnu.org/gcc/gcc-13.2.0/gcc-13.2.0.tar.xz

Safe versions:  
    master    [git] git://gcc.gnu.org/git/gcc.git on branch master
    13.2.0    https://ftpmirror.gnu.org/gcc/gcc-13.2.0/gcc-13.2.0.tar.xz
    13.1.0    https://ftpmirror.gnu.org/gcc/gcc-13.1.0/gcc-13.1.0.tar.xz
    12.3.0    https://ftpmirror.gnu.org/gcc/gcc-12.3.0/gcc-12.3.0.tar.xz
    12.2.0    https://ftpmirror.gnu.org/gcc/gcc-12.2.0/gcc-12.2.0.tar.xz
    12.1.0    https://ftpmirror.gnu.org/gcc/gcc-12.1.0/gcc-12.1.0.tar.xz
    11.4.0    https://ftpmirror.gnu.org/gcc/gcc-11.4.0/gcc-11.4.0.tar.xz
    11.3.0    https://ftpmirror.gnu.org/gcc/gcc-11.3.0/gcc-11.3.0.tar.xz
    11.2.0    https://ftpmirror.gnu.org/gcc/gcc-11.2.0/gcc-11.2.0.tar.xz
    11.1.0    https://ftpmirror.gnu.org/gcc/gcc-11.1.0/gcc-11.1.0.tar.xz
    10.5.0    https://ftpmirror.gnu.org/gcc/gcc-10.5.0/gcc-10.5.0.tar.xz
    10.4.0    https://ftpmirror.gnu.org/gcc/gcc-10.4.0/gcc-10.4.0.tar.xz
    10.3.0    https://ftpmirror.gnu.org/gcc/gcc-10.3.0/gcc-10.3.0.tar.xz
    10.2.0    https://ftpmirror.gnu.org/gcc/gcc-10.2.0/gcc-10.2.0.tar.xz
    10.1.0    https://ftpmirror.gnu.org/gcc/gcc-10.1.0/gcc-10.1.0.tar.xz
    9.5.0     https://ftpmirror.gnu.org/gcc/gcc-9.5.0/gcc-9.5.0.tar.xz
    9.4.0     https://ftpmirror.gnu.org/gcc/gcc-9.4.0/gcc-9.4.0.tar.xz
    9.3.0     https://ftpmirror.gnu.org/gcc/gcc-9.3.0/gcc-9.3.0.tar.xz
    9.2.0     https://ftpmirror.gnu.org/gcc/gcc-9.2.0/gcc-9.2.0.tar.xz
    9.1.0     https://ftpmirror.gnu.org/gcc/gcc-9.1.0/gcc-9.1.0.tar.xz
    8.5.0     https://ftpmirror.gnu.org/gcc/gcc-8.5.0/gcc-8.5.0.tar.xz
    8.4.0     https://ftpmirror.gnu.org/gcc/gcc-8.4.0/gcc-8.4.0.tar.xz
    8.3.0     https://ftpmirror.gnu.org/gcc/gcc-8.3.0/gcc-8.3.0.tar.xz
    8.2.0     https://ftpmirror.gnu.org/gcc/gcc-8.2.0/gcc-8.2.0.tar.xz
    8.1.0     https://ftpmirror.gnu.org/gcc/gcc-8.1.0/gcc-8.1.0.tar.xz
    7.5.0     https://ftpmirror.gnu.org/gcc/gcc-7.5.0/gcc-7.5.0.tar.xz
    7.4.0     https://ftpmirror.gnu.org/gcc/gcc-7.4.0/gcc-7.4.0.tar.xz
    7.3.0     https://ftpmirror.gnu.org/gcc/gcc-7.3.0/gcc-7.3.0.tar.xz
    7.2.0     https://ftpmirror.gnu.org/gcc/gcc-7.2.0/gcc-7.2.0.tar.xz
    7.1.0     https://ftpmirror.gnu.org/gcc/gcc-7.1.0/gcc-7.1.0.tar.bz2
    6.5.0     https://ftpmirror.gnu.org/gcc/gcc-6.5.0/gcc-6.5.0.tar.bz2
    6.4.0     https://ftpmirror.gnu.org/gcc/gcc-6.4.0/gcc-6.4.0.tar.bz2
    6.3.0     https://ftpmirror.gnu.org/gcc/gcc-6.3.0/gcc-6.3.0.tar.bz2
    6.2.0     https://ftpmirror.gnu.org/gcc/gcc-6.2.0/gcc-6.2.0.tar.bz2
    6.1.0     https://ftpmirror.gnu.org/gcc/gcc-6.1.0/gcc-6.1.0.tar.bz2
    5.5.0     https://ftpmirror.gnu.org/gcc/gcc-5.5.0/gcc-5.5.0.tar.bz2
    5.4.0     https://ftpmirror.gnu.org/gcc/gcc-5.4.0/gcc-5.4.0.tar.bz2
    5.3.0     https://ftpmirror.gnu.org/gcc/gcc-5.3.0/gcc-5.3.0.tar.bz2
    5.2.0     https://ftpmirror.gnu.org/gcc/gcc-5.2.0/gcc-5.2.0.tar.bz2
    5.1.0     https://ftpmirror.gnu.org/gcc/gcc-5.1.0/gcc-5.1.0.tar.bz2
    4.9.4     https://ftpmirror.gnu.org/gcc/gcc-4.9.4/gcc-4.9.4.tar.bz2
    4.9.3     https://ftpmirror.gnu.org/gcc/gcc-4.9.3/gcc-4.9.3.tar.bz2
    4.9.2     https://ftpmirror.gnu.org/gcc/gcc-4.9.2/gcc-4.9.2.tar.bz2
    4.9.1     https://ftpmirror.gnu.org/gcc/gcc-4.9.1/gcc-4.9.1.tar.bz2
    4.8.5     https://ftpmirror.gnu.org/gcc/gcc-4.8.5/gcc-4.8.5.tar.bz2
    4.8.4     https://ftpmirror.gnu.org/gcc/gcc-4.8.4/gcc-4.8.4.tar.bz2
    4.7.4     https://ftpmirror.gnu.org/gcc/gcc-4.7.4/gcc-4.7.4.tar.bz2
    4.6.4     https://ftpmirror.gnu.org/gcc/gcc-4.6.4/gcc-4.6.4.tar.bz2
    4.5.4     https://ftpmirror.gnu.org/gcc/gcc-4.5.4/gcc-4.5.4.tar.bz2

Deprecated versions:  
    None

Variants:
    Name [Default]                 When                Allowed values          Description
    ===========================    ================    ====================    ==================================================================

    binutils [off]                 --                  on, off                 Build via binutils
    bootstrap [on]                 --                  on, off                 Enable 3-stage bootstrap
    build_system [autotools]       --                  autotools               Build systems supported by the package
    build_type [RelWithDebInfo]    --                  Debug, Release,         CMake-like build type. Debug: -O0 -g; Release: -O3;
                                                       RelWithDebInfo,         RelWithDebInfo: -O2 -g; MinSizeRel: -Os
                                                       MinSizeRel              
    graphite [off]                 --                  on, off                 Enable Graphite loop optimizations (requires ISL)
    languages [c,c++,fortran]      --                  ada, brig, c, c++,      Compilers and runtime libraries to build
                                                       d, fortran, go,         
                                                       java, jit, lto,         
                                                       objc, obj-c++           
    nvptx [off]                    --                  on, off                 Target nvptx offloading to NVIDIA GPUs
    piclibs [off]                  --                  on, off                 Build PIC versions of libgfortran.a and libstdc++.a
    profiled [off]                 [%gcc+bootstrap]    on, off                 Use Profile Guided Optimization
    strip [off]                    --                  on, off                 Strip executables to reduce installation size

Build Dependencies:
    autoconf  binutils  diffutils  gawk   gmp   gnuconfig  isl      m4   mpfr  texinfo  zlib-api
    automake  cuda      flex       gmake  gnat  iconv      libtool  mpc  perl  zip      zstd

Link Dependencies:
    binutils  cuda  gmp  gnat  iconv  isl  mpc  mpfr  zlib-api  zstd

Run Dependencies:
    binutils

Licenses: 
    None


```bash
$ spack compiler find
==> Found no new compilers
==> Compilers are defined in the following files:
    ~/.spack/linux/compilers.yaml

🟢 load primary gcc and have spack add it to it's "known/available compilers"

$ spack load gcc  # d'oh

$ spack compiler find  # despite the name, this adds new gcc@13.2.0%gcc4.8.5
==> Added 1 new compiler to ~/.spack/linux/compilers.yaml
    gcc@13.2.0
==> Compilers are defined in the following files:
    ~/.spack/linux/compilers.yaml

🟢 use primary gcc@13.2.0 to install a secondary gcc@13.2.0 The difference between primary and secondary is that the supporting tools for the secondary will be @13.2.0 When we spack gc to garbage-collect, it won't remove all of them. But we WILL be left with ONLY @13.2.0 stuff. That's the purpose of this secondary stage. Note: this took me ~90m

$ spack install -j 32 gcc %gcc@13.2.0 +profiled
==> Installing gmake-4.4.1-gyynfka4yfng3h6powzkhnwpjrt57yho [1/29]
==> No binary for gmake-4.4.1-gyynfka4yfng3h6powzkhnwpjrt57yho found: installing from source
==> Using cached archive: /path/to/spack/var/spack/cache/_source-cache/archive/dd/dd16fb1d67bfab79a72f5e8390735c49e3e8e70b4945a15ab1f81ddb78658fb3.tar.gz
==> No patches needed for gmake
==> gmake: Executing phase: 'install'
==> gmake: Successfully installed gmake-4.4.1-gyynfka4yfng3h6powzkhnwpjrt57yho
  Stage: 1.61s.  Install: 40.25s.  Post-install: 0.11s.  Total: 42.09s
[+] /path/to/spackages/cascadelake-gcc-13.2.0/gmake-4.4.1_gyynfka
==> Installing autoconf-archive-2023.02.20-fsst6sh7zbzujpbabcqbhgcv6n47wdyp [2/29]
==> No binary for autoconf-archive-2023.02.20-fsst6sh7zbzujpbabcqbhgcv6n47wdyp found: installing from source
==> Using cached archive: /path/to/spack/var/spack/cache/_source-cache/archive/71/71d4048479ae28f1f5794619c3d72df9c01df49b1c628ef85fde37596dc31a33.tar.xz
==> No patches needed for autoconf-archive
==> autoconf-archive: Executing phase: 'autoreconf'
==> autoconf-archive: Executing phase: 'configure'
==> autoconf-archive: Executing phase: 'build'
==> autoconf-archive: Executing phase: 'install'
==> autoconf-archive: Successfully installed autoconf-archive-2023.02.20-fsst6sh7zbzujpbabcqbhgcv6n47wdyp
  Stage: 4.74s.  Autoreconf: 0.00s.  Configure: 1.92s.  Build: 0.08s.  Install: 3.06s.  Post-install: 1.30s.  Total: 11.37s
[+] /path/to/spackages/cascadelake-gcc-13.2.0/autoconf-archive-2023.02.20_fsst6sh
==> Installing pkgconf-1.9.5-3tspf2jn7cjejhpji3262hl4xncfrsuk [3/29]
==> No binary for pkgconf-1.9.5-3tspf2jn7cjejhpji3262hl4xncfrsuk found: installing from source
==> Using cached archive: /path/to/spack/var/spack/cache/_source-cache/archive/1a/1ac1656debb27497563036f7bffc281490f83f9b8457c0d60bcfb638fb6b6171.tar.xz
==> No patches needed for pkgconf
==> pkgconf: Executing phase: 'autoreconf'
==> pkgconf: Executing phase: 'configure'
==> pkgconf: Executing phase: 'build'
==> pkgconf: Executing phase: 'install'
==> pkgconf: Successfully installed pkgconf-1.9.5-3tspf2jn7cjejhpji3262hl4xncfrsuk
  Stage: 0.73s.  Autoreconf: 0.00s.  Configure: 9.27s.  Build: 1.77s.  Install: 0.45s.  Post-install: 0.13s.  Total: 12.56s
[+] /path/to/spackages/cascadelake-gcc-13.2.0/pkgconf-1.9.5_3tspf2j
==> Installing zlib-ng-2.1.4-qss65qgyzwf5zhjaf2am5utnexs3jf2m [4/29]
==> No binary for zlib-ng-2.1.4-qss65qgyzwf5zhjaf2am5utnexs3jf2m found: installing from source
==> Using cached archive: /path/to/spack/var/spack/cache/_source-cache/archive/a0/a0293475e6a44a3f6c045229fe50f69dc0eebc62a42405a51f19d46a5541e77a.tar.gz
==> No patches needed for zlib-ng
==> zlib-ng: Executing phase: 'autoreconf'
==> zlib-ng: Executing phase: 'configure'
==> zlib-ng: Executing phase: 'build'
==> zlib-ng: Executing phase: 'install'
==> zlib-ng: Successfully installed zlib-ng-2.1.4-qss65qgyzwf5zhjaf2am5utnexs3jf2m
  Stage: 1.30s.  Autoreconf: 0.00s.  Configure: 9.47s.  Build: 1.60s.  Install: 0.29s.  Post-install: 0.10s.  Total: 12.99s
[+] /path/to/spackages/cascadelake-gcc-13.2.0/zlib-ng-2.1.4_qss65qg
==> Installing zstd-1.5.5-cmic7rj24vyttf3u557rsyc2ykisv3ry [5/29]
==> No binary for zstd-1.5.5-cmic7rj24vyttf3u557rsyc2ykisv3ry found: installing from source
==> Using cached archive: /path/to/spack/var/spack/cache/_source-cache/archive/98/98e9c3d949d1b924e28e01eccb7deed865eefebf25c2f21c702e5cd5b63b85e1.tar.gz
==> No patches needed for zstd
==> zstd: Executing phase: 'edit'
==> zstd: Executing phase: 'build'
==> zstd: Executing phase: 'install'
==> zstd: Successfully installed zstd-1.5.5-cmic7rj24vyttf3u557rsyc2ykisv3ry
  Stage: 3.21s.  Edit: 0.00s.  Build: 0.00s.  Install: 21.88s.  Post-install: 0.13s.  Total: 25.39s
[+] /path/to/spackages/cascadelake-gcc-13.2.0/zstd-1.5.5_cmic7rj
==> Installing libsigsegv-2.14-7ajzwypernrlp32m625tsluugv7mmprt [6/29]
==> No binary for libsigsegv-2.14-7ajzwypernrlp32m625tsluugv7mmprt found: installing from source
==> Using cached archive: /path/to/spack/var/spack/cache/_source-cache/archive/cd/cdac3941803364cf81a908499beb79c200ead60b6b5b40cad124fd1e06caa295.tar.gz
==> No patches needed for libsigsegv
==> libsigsegv: Executing phase: 'autoreconf'
==> libsigsegv: Executing phase: 'configure'
==> libsigsegv: Executing phase: 'build'
==> libsigsegv: Executing phase: 'install'
==> libsigsegv: Successfully installed libsigsegv-2.14-7ajzwypernrlp32m625tsluugv7mmprt
  Stage: 0.63s.  Autoreconf: 0.00s.  Configure: 14.43s.  Build: 1.47s.  Install: 0.34s.  Post-install: 0.15s.  Total: 17.23s
[+] /path/to/spackages/cascadelake-gcc-13.2.0/libsigsegv-2.14_7ajzwyp
==> Installing xz-5.4.1-oyog6grsily4f6anw25oejsrfwvuqsnn [7/29]
==> No binary for xz-5.4.1-oyog6grsily4f6anw25oejsrfwvuqsnn found: installing from source
==> Using cached archive: /path/to/spack/var/spack/cache/_source-cache/archive/dd/dd172acb53867a68012f94c17389401b2f274a1aa5ae8f84cbfb8b7e383ea8d3.tar.bz2
==> No patches needed for xz
==> xz: Executing phase: 'autoreconf'
==> xz: Executing phase: 'configure'
==> xz: Executing phase: 'build'
==> xz: Executing phase: 'install'
==> xz: Successfully installed xz-5.4.1-oyog6grsily4f6anw25oejsrfwvuqsnn
  Stage: 2.72s.  Autoreconf: 0.00s.  Configure: 24.83s.  Build: 5.88s.  Install: 3.04s.  Post-install: 0.38s.  Total: 37.04s
[+] /path/to/spackages/cascadelake-gcc-13.2.0/xz-5.4.1_oyog6gr
==> Installing berkeley-db-18.1.40-ux2khkkb7g55flvmlqrjkstfj2tqt4en [8/29]
==> No binary for berkeley-db-18.1.40-ux2khkkb7g55flvmlqrjkstfj2tqt4en found: installing from source
==> Using cached archive: /path/to/spack/var/spack/cache/_source-cache/archive/0c/0cecb2ef0c67b166de93732769abdeba0555086d51de1090df325e18ee8da9c8.tar.gz
==> Applied patch /path/to/spack/var/spack/repos/builtin/packages/berkeley-db/drop-docs.patch
==> Applied patch /path/to/spack/var/spack/repos/builtin/packages/berkeley-db/tls.patch
==> Ran patch() for berkeley-db
==> berkeley-db: Executing phase: 'autoreconf'
==> berkeley-db: Executing phase: 'configure'
==> berkeley-db: Executing phase: 'build'
==> berkeley-db: Executing phase: 'install'
==> berkeley-db: Successfully installed berkeley-db-18.1.40-ux2khkkb7g55flvmlqrjkstfj2tqt4en
  Stage: 32.59s.  Autoreconf: 0.00s.  Configure: 46.05s.  Build: 7.58s.  Install: 1.15s.  Post-install: 0.26s.  Total: 1m 27.87s
[+] /path/to/spackages/cascadelake-gcc-13.2.0/berkeley-db-18.1.40_ux2khkk
==> Installing libiconv-1.17-qoojmawa2dcxei5besh2z2lmmr32emsa [9/29]
==> No binary for libiconv-1.17-qoojmawa2dcxei5besh2z2lmmr32emsa found: installing from source
==> Using cached archive: /path/to/spack/var/spack/cache/_source-cache/archive/8f/8f74213b56238c85a50a5329f77e06198771e70dd9a739779f4c02f65d971313.tar.gz
==> No patches needed for libiconv
==> libiconv: Executing phase: 'autoreconf'
==> libiconv: Executing phase: 'configure'
==> libiconv: Executing phase: 'build'
==> libiconv: Executing phase: 'install'
==> libiconv: Successfully installed libiconv-1.17-qoojmawa2dcxei5besh2z2lmmr32emsa
  Stage: 4.05s.  Autoreconf: 0.00s.  Configure: 42.53s.  Build: 11.76s.  Install: 1.82s.  Post-install: 0.33s.  Total: 1m 0.71s
[+] /path/to/spackages/cascadelake-gcc-13.2.0/libiconv-1.17_qoojmaw
==> Installing ncurses-6.4-igxnas2zdaxzi7upweko4ur54kudp4we [10/29]
==> No binary for ncurses-6.4-igxnas2zdaxzi7upweko4ur54kudp4we found: installing from source
==> Using cached archive: /path/to/spack/var/spack/cache/_source-cache/archive/69/6931283d9ac87c5073f30b6290c4c75f21632bb4fc3603ac8100812bed248159.tar.gz
==> No patches needed for ncurses
==> ncurses: Executing phase: 'autoreconf'
==> ncurses: Executing phase: 'configure'
==> ncurses: Executing phase: 'build'
==> ncurses: Executing phase: 'install'
==> ncurses: Successfully installed ncurses-6.4-igxnas2zdaxzi7upweko4ur54kudp4we
  Stage: 5.01s.  Autoreconf: 0.00s.  Configure: 1m 21.49s.  Build: 20.70s.  Install: 22.69s.  Post-install: 7.04s.  Total: 2m 17.22s
[+] /path/to/spackages/cascadelake-gcc-13.2.0/ncurses-6.4_igxnas2
==> Installing pigz-2.7-fxvc4qlcssf6kosyuwknrsrsuxlhrt6y [11/29]
==> No binary for pigz-2.7-fxvc4qlcssf6kosyuwknrsrsuxlhrt6y found: installing from source
==> Using cached archive: /path/to/spack/var/spack/cache/_source-cache/archive/d2/d2045087dae5e9482158f1f1c0f21c7d3de6f7cdc7cc5848bdabda544e69aa58.tar.gz
==> No patches needed for pigz
==> pigz: Executing phase: 'edit'
==> pigz: Executing phase: 'build'
==> pigz: Executing phase: 'install'
==> pigz: Successfully installed pigz-2.7-fxvc4qlcssf6kosyuwknrsrsuxlhrt6y
  Stage: 0.19s.  Edit: 0.00s.  Build: 2.10s.  Install: 0.02s.  Post-install: 0.09s.  Total: 2.60s
[+] /path/to/spackages/cascadelake-gcc-13.2.0/pigz-2.7_fxvc4ql
==> Installing libxml2-2.10.3-r3le5zel7k7qbxshybffdull54p2lkjc [12/29]
==> No binary for libxml2-2.10.3-r3le5zel7k7qbxshybffdull54p2lkjc found: installing from source
==> Using cached archive: /path/to/spack/var/spack/cache/_source-cache/archive/5d/5d2cc3d78bec3dbe212a9d7fa629ada25a7da928af432c93060ff5c17ee28a9c.tar.xz
==> Using cached archive: /path/to/spack/var/spack/cache/_source-cache/archive/96/96151685cec997e1f9f3387e3626d61e6284d4d6e66e0e440c209286c03e9cc7.tar.gz
==> Moving resource stage
        source:/path/to/tmp/spack-stage/resource-xmlts-r3le5zel7k7qbxshybffdull54p2lkjc/spack-src/
        destination:/path/to/tmp/spack-stage/spack-stage-libxml2-2.10.3-r3le5zel7k7qbxshybffdull54p2lkjc/spack-src/xmlconf
==> Ran patch() for libxml2
==> libxml2: Executing phase: 'autoreconf'
==> libxml2: Executing phase: 'configure'
==> libxml2: Executing phase: 'build'
==> libxml2: Executing phase: 'install'
==> libxml2: Successfully installed libxml2-2.10.3-r3le5zel7k7qbxshybffdull54p2lkjc
  Stage: 45.34s.  Autoreconf: 0.00s.  Configure: 18.37s.  Build: 7.50s.  Install: 1.89s.  Post-install: 0.56s.  Total: 1m 14.00s
[+] /path/to/spackages/cascadelake-gcc-13.2.0/libxml2-2.10.3_r3le5ze
==> Installing diffutils-3.9-xoywt7ieekukkmvbkhurr4rxxdrvse4u [13/29]
==> No binary for diffutils-3.9-xoywt7ieekukkmvbkhurr4rxxdrvse4u found: installing from source
==> Using cached archive: /path/to/spack/var/spack/cache/_source-cache/archive/d8/d80d3be90a201868de83d78dad3413ad88160cc53bcc36eb9eaf7c20dbf023f1.tar.xz
==> No patches needed for diffutils
==> diffutils: Executing phase: 'autoreconf'
==> diffutils: Executing phase: 'configure'
==> diffutils: Executing phase: 'build'
==> diffutils: Executing phase: 'install'
==> diffutils: Successfully installed diffutils-3.9-xoywt7ieekukkmvbkhurr4rxxdrvse4u
  Stage: 3.70s.  Autoreconf: 0.00s.  Configure: 1m 21.58s.  Build: 5.52s.  Install: 2.27s.  Post-install: 0.34s.  Total: 1m 33.66s
[+] /path/to/spackages/cascadelake-gcc-13.2.0/diffutils-3.9_xoywt7i
==> Installing readline-8.2-6g36hdasomi3kmdqvmbrfngma4fz25zl [14/29]
==> No binary for readline-8.2-6g36hdasomi3kmdqvmbrfngma4fz25zl found: installing from source
==> Using cached archive: /path/to/spack/var/spack/cache/_source-cache/archive/3f/3feb7171f16a84ee82ca18a36d7b9be109a52c04f492a053331d7d1095007c35.tar.gz
==> Using cached archive: /path/to/spack/var/spack/cache/_source-cache/archive/bb/bbf97f1ec40a929edab5aa81998c1e2ef435436c597754916e6a5868f273aff7
==> Applied patch https://ftpmirror.gnu.org/readline/readline-8.2-patches/readline82-001
==> readline: Executing phase: 'autoreconf'
==> readline: Executing phase: 'configure'
==> readline: Executing phase: 'build'
==> readline: Executing phase: 'install'
==> readline: Successfully installed readline-8.2-6g36hdasomi3kmdqvmbrfngma4fz25zl
  Stage: 1.09s.  Autoreconf: 0.00s.  Configure: 22.97s.  Build: 1.84s.  Install: 0.39s.  Post-install: 0.16s.  Total: 26.69s
[+] /path/to/spackages/cascadelake-gcc-13.2.0/readline-8.2_6g36hda
==> Installing m4-1.4.19-bqlyfgsuaihqfdou55emfnrgh7ujusfa [15/29]
==> No binary for m4-1.4.19-bqlyfgsuaihqfdou55emfnrgh7ujusfa found: installing from source
==> Using cached archive: /path/to/spack/var/spack/cache/_source-cache/archive/3b/3be4a26d825ffdfda52a56fc43246456989a3630093cced3fbddf4771ee58a70.tar.gz
==> Applied patch /path/to/spack/var/spack/repos/builtin/packages/m4/checks-198.sysval.1.patch
==> Applied patch /path/to/spack/var/spack/repos/builtin/packages/m4/checks-198.sysval.2.patch
==> Ran patch() for m4
==> m4: Executing phase: 'autoreconf'
==> m4: Executing phase: 'configure'
==> m4: Executing phase: 'build'
==> m4: Executing phase: 'install'
==> m4: Successfully installed m4-1.4.19-bqlyfgsuaihqfdou55emfnrgh7ujusfa
  Stage: 6.63s.  Autoreconf: 0.00s.  Configure: 1m 51.87s.  Build: 7.29s.  Install: 2.30s.  Post-install: 0.28s.  Total: 2m 8.76s
[+] /path/to/spackages/cascadelake-gcc-13.2.0/m4-1.4.19_bqlyfgs
==> Installing bzip2-1.0.8-gjp3mmfadnotds225mk6nm7dpaotmc4f [16/29]
==> No binary for bzip2-1.0.8-gjp3mmfadnotds225mk6nm7dpaotmc4f found: installing from source
==> Using cached archive: /path/to/spack/var/spack/cache/_source-cache/archive/ab/ab5a03176ee106d3f0fa90e381da478ddae405918153cca248e682cd0c4a2269.tar.gz
==> Ran patch() for bzip2
==> bzip2: Executing phase: 'install'
==> bzip2: Successfully installed bzip2-1.0.8-gjp3mmfadnotds225mk6nm7dpaotmc4f
  Stage: 0.32s.  Install: 3.33s.  Post-install: 0.12s.  Total: 3.90s
[+] /path/to/spackages/cascadelake-gcc-13.2.0/bzip2-1.0.8_gjp3mmf
==> Installing gdbm-1.23-zhwk6gphvmuywc2vkjsrug5riwt27byn [17/29]
==> No binary for gdbm-1.23-zhwk6gphvmuywc2vkjsrug5riwt27byn found: installing from source
==> Using cached archive: /path/to/spack/var/spack/cache/_source-cache/archive/74/74b1081d21fff13ae4bd7c16e5d6e504a4c26f7cde1dca0d963a484174bbcacd.tar.gz
==> No patches needed for gdbm
==> gdbm: Executing phase: 'autoreconf'
==> gdbm: Executing phase: 'configure'
==> gdbm: Executing phase: 'build'
==> gdbm: Executing phase: 'install'
==> gdbm: Successfully installed gdbm-1.23-zhwk6gphvmuywc2vkjsrug5riwt27byn
  Stage: 0.97s.  Autoreconf: 0.00s.  Configure: 16.73s.  Build: 3.72s.  Install: 1.67s.  Post-install: 0.23s.  Total: 23.66s
[+] /path/to/spackages/cascadelake-gcc-13.2.0/gdbm-1.23_zhwk6gp
==> Installing libtool-2.4.7-douwbsqw2meeg6lmb5rydcyzoxx2fp6m [18/29]
==> No binary for libtool-2.4.7-douwbsqw2meeg6lmb5rydcyzoxx2fp6m found: installing from source
==> Using cached archive: /path/to/spack/var/spack/cache/_source-cache/archive/04/04e96c2404ea70c590c546eba4202a4e12722c640016c12b9b2f1ce3d481e9a8.tar.gz
==> Ran patch() for libtool
==> libtool: Executing phase: 'autoreconf'
==> libtool: Executing phase: 'configure'
==> libtool: Executing phase: 'build'
==> libtool: Executing phase: 'install'
==> libtool: Successfully installed libtool-2.4.7-douwbsqw2meeg6lmb5rydcyzoxx2fp6m
  Stage: 0.90s.  Autoreconf: 0.00s.  Configure: 20.57s.  Build: 2.72s.  Install: 1.83s.  Post-install: 0.35s.  Total: 26.77s
[+] /path/to/spackages/cascadelake-gcc-13.2.0/libtool-2.4.7_douwbsq
==> Installing tar-1.34-ke2xxdxvqd5nc4nj5oyo2qa5pxnybmos [19/29]
==> No binary for tar-1.34-ke2xxdxvqd5nc4nj5oyo2qa5pxnybmos found: installing from source
==> Using cached archive: /path/to/spack/var/spack/cache/_source-cache/archive/03/03d908cf5768cfe6b7ad588c921c6ed21acabfb2b79b788d1330453507647aed.tar.gz
==> No patches needed for tar
==> tar: Executing phase: 'autoreconf'
==> tar: Executing phase: 'configure'
==> tar: Executing phase: 'build'
==> tar: Executing phase: 'install'
==> tar: Successfully installed tar-1.34-ke2xxdxvqd5nc4nj5oyo2qa5pxnybmos
  Stage: 4.94s.  Autoreconf: 0.00s.  Configure: 1m 43.12s.  Build: 6.90s.  Install: 2.54s.  Post-install: 0.62s.  Total: 1m 58.60s
[+] /path/to/spackages/cascadelake-gcc-13.2.0/tar-1.34_ke2xxdx
==> Installing perl-5.38.0-grx3gj5nzt4tjrr74h6pprlpl7xbrsry [20/29]
==> No binary for perl-5.38.0-grx3gj5nzt4tjrr74h6pprlpl7xbrsry found: installing from source
==> Using cached archive: /path/to/spack/var/spack/cache/_source-cache/archive/21/213ef58089d2f2c972ea353517dc60ec3656f050dcc027666e118b508423e517.tar.gz
==> Using cached archive: /path/to/spack/var/spack/cache/_source-cache/archive/9d/9da50e155df72bce55cb69f51f1dbb4b62d23740fb99f6178bb27f22ebdf8a46.tar.gz
==> Moving resource stage
        source:/path/to/tmp/spack-stage/resource-cpanm-grx3gj5nzt4tjrr74h6pprlpl7xbrsry/spack-src/
        destination:/path/to/tmp/spack-stage/spack-stage-perl-5.38.0-grx3gj5nzt4tjrr74h6pprlpl7xbrsry/spack-src/cpanm/cpanm
==> Applied patch /path/to/spack/var/spack/repos/builtin/packages/perl/zlib-ng.patch
==> Ran patch() for perl
==> perl: Executing phase: 'configure'
==> perl: Executing phase: 'build'
==> perl: Executing phase: 'install'
==> perl: Successfully installed perl-5.38.0-grx3gj5nzt4tjrr74h6pprlpl7xbrsry
  Stage: 25.48s.  Configure: 2m 56.60s.  Build: 36.96s.  Install: 32.43s.  Post-install: 5.45s.  Total: 4m 37.31s
[+] /path/to/spackages/cascadelake-gcc-13.2.0/perl-5.38.0_grx3gj5
==> Installing gettext-0.22.3-2wa3cv3a2mtgkt3m4nmwsuoddup5msbu [21/29]
==> No binary for gettext-0.22.3-2wa3cv3a2mtgkt3m4nmwsuoddup5msbu found: installing from source
==> Using cached archive: /path/to/spack/var/spack/cache/_source-cache/archive/b8/b838228b3f8823a6c1eddf07297197c4db13f7e1b173b9ef93f3f945a63080b6.tar.xz
==> No patches needed for gettext
==> gettext: Executing phase: 'autoreconf'
==> gettext: Executing phase: 'configure'
==> gettext: Executing phase: 'build'
==> gettext: Executing phase: 'install'
==> gettext: Successfully installed gettext-0.22.3-2wa3cv3a2mtgkt3m4nmwsuoddup5msbu
  Stage: 27.09s.  Autoreconf: 0.00s.  Configure: 5m 56.94s.  Build: 3m 43.82s.  Install: 34.18s.  Post-install: 3.95s.  Total: 10m 46.48s
[+] /path/to/spackages/cascadelake-gcc-13.2.0/gettext-0.22.3_2wa3cv3
==> Installing autoconf-2.69-qiq7jbxafkczsyktxg6yhbmxumgv7x5o [22/29]
==> No binary for autoconf-2.69-qiq7jbxafkczsyktxg6yhbmxumgv7x5o found: installing from source
==> Using cached archive: /path/to/spack/var/spack/cache/_source-cache/archive/95/954bd69b391edc12d6a4a51a2dd1476543da5c6bbf05a95b59dc0dd6fd4c2969.tar.gz
==> Using cached archive: /path/to/spack/var/spack/cache/_source-cache/archive/77/7793209b33013dc0f81208718c68440c5aae80e7a1c4b8d336e382525af791a7
==> Using cached archive: /path/to/spack/var/spack/cache/_source-cache/archive/35/35c449281546376449766f92d49fc121ca50e330e60fefcfc9be2af3253082c2
==> Using cached archive: /path/to/spack/var/spack/cache/_source-cache/archive/a4/a49dd5bac3b62daa0ff688ab4d508d71dbd2f4f8d7e2a02321926346161bf3ee
==> Applied patch http://mirrors.mit.edu/gentoo-portage/sys-devel/autoconf/files/autoconf-2.69-fix-libtool-test.patch
==> Applied patch http://mirrors.mit.edu/gentoo-portage/sys-devel/autoconf/files/autoconf-2.69-perl-5.26.patch
==> Applied patch http://mirrors.mit.edu/gentoo-portage/sys-devel/autoconf/files/autoconf-2.69-perl-5.26-2.patch
==> Ran patch() for autoconf
==> autoconf: Executing phase: 'autoreconf'
==> autoconf: Executing phase: 'configure'
==> autoconf: Executing phase: 'build'
==> autoconf: Executing phase: 'install'
==> autoconf: Successfully installed autoconf-2.69-qiq7jbxafkczsyktxg6yhbmxumgv7x5o
  Stage: 0.98s.  Autoreconf: 0.00s.  Configure: 2.79s.  Build: 2.18s.  Install: 1.21s.  Post-install: 0.31s.  Total: 8.20s
[+] /path/to/spackages/cascadelake-gcc-13.2.0/autoconf-2.69_qiq7jbx
==> Installing texinfo-7.0.3-h33dvkkjtk5y7lprndfw7isxpe63hmbl [23/29]
==> No binary for texinfo-7.0.3-h33dvkkjtk5y7lprndfw7isxpe63hmbl found: installing from source
==> Using cached archive: /path/to/spack/var/spack/cache/_source-cache/archive/3c/3cc5706fb086b895e1dc2b407aade9f95a3a233ff856273e2b659b089f117683.tar.gz
==> No patches needed for texinfo
==> texinfo: Executing phase: 'autoreconf'
==> texinfo: Executing phase: 'configure'
==> texinfo: Executing phase: 'build'
==> texinfo: Executing phase: 'install'
==> texinfo: Successfully installed texinfo-7.0.3-h33dvkkjtk5y7lprndfw7isxpe63hmbl
  Stage: 19.62s.  Autoreconf: 0.00s.  Configure: 1m 31.73s.  Build: 7.52s.  Install: 5.13s.  Post-install: 1.03s.  Total: 2m 5.65s
[+] /path/to/spackages/cascadelake-gcc-13.2.0/texinfo-7.0.3_h33dvkk
==> Installing automake-1.16.5-wyomo47ib2z6vvkhxcytn3pzij7a3upt [24/29]
==> No binary for automake-1.16.5-wyomo47ib2z6vvkhxcytn3pzij7a3upt found: installing from source
==> Using cached archive: /path/to/spack/var/spack/cache/_source-cache/archive/07/07bd24ad08a64bc17250ce09ec56e921d6343903943e99ccf63bbf0705e34605.tar.gz
==> Ran patch() for automake
==> automake: Executing phase: 'autoreconf'
==> automake: Executing phase: 'configure'
==> automake: Executing phase: 'build'
==> automake: Executing phase: 'install'
==> automake: Successfully installed automake-1.16.5-wyomo47ib2z6vvkhxcytn3pzij7a3upt
  Stage: 5.42s.  Autoreconf: 0.00s.  Configure: 7.34s.  Build: 0.89s.  Install: 0.63s.  Post-install: 0.52s.  Total: 15.63s
[+] /path/to/spackages/cascadelake-gcc-13.2.0/automake-1.16.5_wyomo47
==> Installing gmp-6.2.1-l52xyxyt2woy3o422yevv3z7opbg2sm4 [25/29]
==> No binary for gmp-6.2.1-l52xyxyt2woy3o422yevv3z7opbg2sm4 found: installing from source
==> Using cached archive: /path/to/spack/var/spack/cache/_source-cache/archive/ea/eae9326beb4158c386e39a356818031bd28f3124cf915f8c5b1dc4c7a36b4d7c.tar.bz2
==> Applied patch /path/to/spack/var/spack/repos/builtin/packages/gmp/avoid-x18.diff
==> gmp: Executing phase: 'autoreconf'
==> gmp: Executing phase: 'configure'
==> gmp: Executing phase: 'build'
==> gmp: Executing phase: 'install'
==> gmp: Successfully installed gmp-6.2.1-l52xyxyt2woy3o422yevv3z7opbg2sm4
  Stage: 8.23s.  Autoreconf: 10.19s.  Configure: 51.56s.  Build: 17.81s.  Install: 1.64s.  Post-install: 0.22s.  Total: 1m 30.24s
[+] /path/to/spackages/cascadelake-gcc-13.2.0/gmp-6.2.1_l52xyxy
==> Installing mpfr-4.2.0-auhljuwp66mfnuunfgfv6qo5j5hlhp4a [26/29]
==> No binary for mpfr-4.2.0-auhljuwp66mfnuunfgfv6qo5j5hlhp4a found: installing from source
==> Using cached archive: /path/to/spack/var/spack/cache/_source-cache/archive/69/691db39178e36fc460c046591e4b0f2a52c8f2b3ee6d750cc2eab25f1eaa999d.tar.bz2
==> No patches needed for mpfr
==> mpfr: Executing phase: 'autoreconf'
==> mpfr: Executing phase: 'configure'
==> mpfr: Executing phase: 'build'
==> mpfr: Executing phase: 'install'
==> mpfr: Successfully installed mpfr-4.2.0-auhljuwp66mfnuunfgfv6qo5j5hlhp4a
  Stage: 2.25s.  Autoreconf: 14.27s.  Configure: 30.06s.  Build: 9.28s.  Install: 1.24s.  Post-install: 0.27s.  Total: 58.19s
[+] /path/to/spackages/cascadelake-gcc-13.2.0/mpfr-4.2.0_auhljuw
==> Installing mpc-1.3.1-vtdwolhupgykcmv5ckiudaj43bqarwxz [27/29]
==> No binary for mpc-1.3.1-vtdwolhupgykcmv5ckiudaj43bqarwxz found: installing from source
==> Using cached archive: /path/to/spack/var/spack/cache/_source-cache/archive/ab/ab642492f5cf882b74aa0cb730cd410a81edcdbec895183ce930e706c1c759b8.tar.gz
==> No patches needed for mpc
==> mpc: Executing phase: 'autoreconf'
==> mpc: Executing phase: 'configure'
==> mpc: Executing phase: 'build'
==> mpc: Executing phase: 'install'
==> mpc: Successfully installed mpc-1.3.1-vtdwolhupgykcmv5ckiudaj43bqarwxz
  Stage: 1.37s.  Autoreconf: 0.00s.  Configure: 15.81s.  Build: 2.54s.  Install: 0.68s.  Post-install: 0.25s.  Total: 21.65s
[+] /path/to/spackages/cascadelake-gcc-13.2.0/mpc-1.3.1_vtdwolh
==> Installing gawk-5.2.2-w2yvo7yip6nxwhxsmtpbuczvit3zri3f [28/29]
==> No binary for gawk-5.2.2-w2yvo7yip6nxwhxsmtpbuczvit3zri3f found: installing from source
==> Using cached archive: /path/to/spack/var/spack/cache/_source-cache/archive/3c/3c1fce1446b4cbee1cd273bd7ec64bc87d89f61537471cd3e05e33a965a250e9.tar.xz
==> No patches needed for gawk
==> gawk: Executing phase: 'autoreconf'
==> gawk: Executing phase: 'configure'
==> gawk: Executing phase: 'build'
==> gawk: Executing phase: 'install'
==> gawk: Successfully installed gawk-5.2.2-w2yvo7yip6nxwhxsmtpbuczvit3zri3f
  Stage: 7.20s.  Autoreconf: 0.00s.  Configure: 46.06s.  Build: 6.32s.  Install: 2.25s.  Post-install: 0.59s.  Total: 1m 3.43s
[+] /path/to/spackages/cascadelake-gcc-13.2.0/gawk-5.2.2_w2yvo7y
==> Installing gcc-13.2.0-vuqqt2yia6emnxwgfgq63xtu5jv4pjka [29/29]
==> No binary for gcc-13.2.0-vuqqt2yia6emnxwgfgq63xtu5jv4pjka found: installing from source
==> Using cached archive: /path/to/spack/var/spack/cache/_source-cache/archive/e2/e275e76442a6067341a27f04c5c6b83d8613144004c0413528863dc6b5c743da.tar.xz
==> Ran patch() for gcc
==> gcc: Executing phase: 'autoreconf'
==> gcc: Executing phase: 'configure'
==> gcc: Executing phase: 'build'
==> gcc: Executing phase: 'install'
==> gcc: Successfully installed gcc-13.2.0-vuqqt2yia6emnxwgfgq63xtu5jv4pjka
  Stage: 7m 24.73s.  Autoreconf: 0.01s.  Configure: 7.86s.  Build: 1h 17m 18.82s.  Install: 17.38s.  Post-install: 4.84s.  Total: 1h 25m 15.02s  🚀
[+] /path/to/spackages/cascadelake-gcc-13.2.0/gcc-13.2.0_vuqqt2y

```bash
$ spack find
-- linux-centos7-cascadelake / gcc@13.2.0 -----------------------
autoconf@2.69                berkeley-db@18.1.40  gawk@5.2.2  gettext@0.22.3  libiconv@1.17    libxml2@2.10.3  mpfr@4.2.0   pigz@2.7       tar@1.34       zlib-ng@2.1.4
autoconf-archive@2023.02.20  bzip2@1.0.8          gcc@13.2.0  gmake@4.4.1     libsigsegv@2.14  m4@1.4.19       ncurses@6.4  pkgconf@1.9.5  texinfo@7.0.3  zstd@1.5.5
automake@1.16.5              diffutils@3.9        gdbm@1.23   gmp@6.2.1       libtool@2.4.7    mpc@1.3.1       perl@5.38.0  readline@8.2   xz@5.4.1

-- linux-centos7-haswell / gcc@4.8.5 ----------------------------
autoconf@2.69                berkeley-db@18.1.40  gawk@5.2.2  gettext@0.22.3  libiconv@1.17    libxml2@2.10.3  mpfr@4.2.0   pigz@2.7       tar@1.34       zlib-ng@2.1.4
autoconf-archive@2023.02.20  bzip2@1.0.8          gcc@13.2.0  gmake@4.4.1     libsigsegv@2.14  m4@1.4.19       ncurses@6.4  pkgconf@1.9.5  texinfo@7.0.3  zstd@1.5.5
automake@1.16.5              diffutils@3.9        gdbm@1.23   gmp@6.2.1       libtool@2.4.7    mpc@1.3.1       perl@5.38.0  readline@8.2   xz@5.4.1
==> 58 installed packages

🟢 remove primary and garbage-collect to remove orphaned @4.8.5 packages (i.e. all of them, as nothing uses them now)

$ spack uninstall gcc@13.2.0 %gcc@4.8.5
==> The following 1 packages will be uninstalled:

    -- linux-centos7-haswell / gcc@4.8.5 ----------------------------
    4taersi gcc@13.2.0

==> Do you want to proceed? [y/N] y
==> Successfully uninstalled gcc@13.2.0%gcc@4.8.5~binutils+bootstrap~graphite~nvptx~piclibs+profiled~strip build_system=autotools build_type=RelWithDebInfo languages=c,c++,fortran arch=linux-centos7-haswell/4taersi
$ spack find
-- linux-centos7-cascadelake / gcc@13.2.0 -----------------------
autoconf@2.69                berkeley-db@18.1.40  gawk@5.2.2  gettext@0.22.3  libiconv@1.17    libxml2@2.10.3  mpfr@4.2.0   pigz@2.7       tar@1.34       zlib-ng@2.1.4
autoconf-archive@2023.02.20  bzip2@1.0.8          gcc@13.2.0  gmake@4.4.1     libsigsegv@2.14  m4@1.4.19       ncurses@6.4  pkgconf@1.9.5  texinfo@7.0.3  zstd@1.5.5
automake@1.16.5              diffutils@3.9        gdbm@1.23   gmp@6.2.1       libtool@2.4.7    mpc@1.3.1       perl@5.38.0  readline@8.2   xz@5.4.1

-- linux-centos7-haswell / gcc@4.8.5 ----------------------------
autoconf@2.69                berkeley-db@18.1.40  gawk@5.2.2      gmake@4.4.1    libsigsegv@2.14  m4@1.4.19   ncurses@6.4  pkgconf@1.9.5  texinfo@7.0.3  zstd@1.5.5
autoconf-archive@2023.02.20  bzip2@1.0.8          gdbm@1.23       gmp@6.2.1      libtool@2.4.7    mpc@1.3.1   perl@5.38.0  readline@8.2   xz@5.4.1
automake@1.16.5              diffutils@3.9        gettext@0.22.3  libiconv@1.17  libxml2@2.10.3   mpfr@4.2.0  pigz@2.7     tar@1.34       zlib-ng@2.1.4
==> 57 installed packages
$ spack gc
==> The following 51 packages will be uninstalled:

    -- linux-centos7-cascadelake / gcc@13.2.0 -----------------------
    qiq7jbx autoconf@2.69                gjp3mmf bzip2@1.0.8    2wa3cv3 gettext@0.22.3   douwbsq libtool@2.4.7   grx3gj5 perl@5.38.0    ke2xxdx tar@1.34
    fsst6sh autoconf-archive@2023.02.20  xoywt7i diffutils@3.9  gyynfka gmake@4.4.1      r3le5ze libxml2@2.10.3  fxvc4ql pigz@2.7       h33dvkk texinfo@7.0.3
    wyomo47 automake@1.16.5              w2yvo7y gawk@5.2.2     qoojmaw libiconv@1.17    bqlyfgs m4@1.4.19       3tspf2j pkgconf@1.9.5  oyog6gr xz@5.4.1
    ux2khkk berkeley-db@18.1.40          zhwk6gp gdbm@1.23      7ajzwyp libsigsegv@2.14  igxnas2 ncurses@6.4     6g36hda readline@8.2

    -- linux-centos7-haswell / gcc@4.8.5 ----------------------------
    jlwdcie autoconf@2.69                ndfjfxq bzip2@1.0.8    2ej3dqt gettext@0.22.3  7fovklt libsigsegv@2.14  iuhkn4g mpc@1.3.1    alo2o3o pigz@2.7       cjhqtjz texinfo@7.0.3
    r2dl5qk autoconf-archive@2023.02.20  p45tlf4 diffutils@3.9  dqngc5g gmake@4.4.1     7aixs44 libtool@2.4.7    z3bhno6 mpfr@4.2.0   lt2wyf3 pkgconf@1.9.5  npplqel xz@5.4.1
    y5q3o2m automake@1.16.5              uuufy73 gawk@5.2.2     ymemwn7 gmp@6.2.1       chzesie libxml2@2.10.3   zgmokxc ncurses@6.4  liitlpz readline@8.2   a2ywqkl zlib-ng@2.1.4
    zjxiexw berkeley-db@18.1.40          gltmkvw gdbm@1.23      3a5lmmb libiconv@1.17   i3fuvtz m4@1.4.19        hue2kvc perl@5.38.0  w53vjtw tar@1.34       mx5ni7y zstd@1.5.5

==> Do you want to proceed? [y/N] y
==> Successfully uninstalled gawk@5.2.2%gcc@13.2.0~nls build_system=autotools arch=linux-centos7-cascadelake/w2yvo7y
==> Successfully uninstalled automake@1.16.5%gcc@13.2.0 build_system=autotools arch=linux-centos7-cascadelake/wyomo47
==> Successfully uninstalled texinfo@7.0.3%gcc@13.2.0 build_system=autotools arch=linux-centos7-cascadelake/h33dvkk
==> Successfully uninstalled autoconf@2.69%gcc@13.2.0 build_system=autotools patches=35c4492,7793209,a49dd5b arch=linux-centos7-cascadelake/qiq7jbx
==> Successfully uninstalled gettext@0.22.3%gcc@13.2.0+bzip2+curses+git~libunistring+libxml2+pic+shared+tar+xz build_system=autotools arch=linux-centos7-cascadelake/2wa3cv3
==> Successfully uninstalled perl@5.38.0%gcc@13.2.0+cpanm+opcode+open+shared+threads build_system=generic patches=714e4d1 arch=linux-centos7-cascadelake/grx3gj5
==> Successfully uninstalled tar@1.34%gcc@13.2.0 build_system=autotools zip=pigz arch=linux-centos7-cascadelake/ke2xxdx
==> Successfully uninstalled libtool@2.4.7%gcc@13.2.0 build_system=autotools arch=linux-centos7-cascadelake/douwbsq
==> Successfully uninstalled gdbm@1.23%gcc@13.2.0 build_system=autotools arch=linux-centos7-cascadelake/zhwk6gp
==> Successfully uninstalled bzip2@1.0.8%gcc@13.2.0~debug~pic+shared build_system=generic arch=linux-centos7-cascadelake/gjp3mmf
==> Successfully uninstalled m4@1.4.19%gcc@13.2.0+sigsegv build_system=autotools patches=9dc5fbd,bfdffa7 arch=linux-centos7-cascadelake/bqlyfgs
==> Successfully uninstalled readline@8.2%gcc@13.2.0 build_system=autotools patches=bbf97f1 arch=linux-centos7-cascadelake/6g36hda
==> Successfully uninstalled diffutils@3.9%gcc@13.2.0 build_system=autotools arch=linux-centos7-cascadelake/xoywt7i
==> Successfully uninstalled libxml2@2.10.3%gcc@13.2.0+pic~python+shared build_system=autotools arch=linux-centos7-cascadelake/r3le5ze
==> Successfully uninstalled pigz@2.7%gcc@13.2.0 build_system=makefile arch=linux-centos7-cascadelake/fxvc4ql
==> Successfully uninstalled ncurses@6.4%gcc@13.2.0~symlinks+termlib abi=none build_system=autotools arch=linux-centos7-cascadelake/igxnas2
==> Successfully uninstalled libiconv@1.17%gcc@13.2.0 build_system=autotools libs=shared,static arch=linux-centos7-cascadelake/qoojmaw
==> Successfully uninstalled berkeley-db@18.1.40%gcc@13.2.0+cxx~docs+stl build_system=autotools patches=26090f4,b231fcc arch=linux-centos7-cascadelake/ux2khkk
==> Successfully uninstalled xz@5.4.1%gcc@13.2.0~pic build_system=autotools libs=shared,static arch=linux-centos7-cascadelake/oyog6gr
==> Successfully uninstalled libsigsegv@2.14%gcc@13.2.0 build_system=autotools arch=linux-centos7-cascadelake/7ajzwyp
==> Successfully uninstalled pkgconf@1.9.5%gcc@13.2.0 build_system=autotools arch=linux-centos7-cascadelake/3tspf2j
==> Successfully uninstalled autoconf-archive@2023.02.20%gcc@13.2.0 build_system=autotools arch=linux-centos7-cascadelake/fsst6sh
==> Successfully uninstalled gmake@4.4.1%gcc@13.2.0~guile build_system=generic arch=linux-centos7-cascadelake/gyynfka
==> Successfully uninstalled mpc@1.3.1%gcc@4.8.5 build_system=autotools libs=shared,static arch=linux-centos7-haswell/iuhkn4g
==> Successfully uninstalled gawk@5.2.2%gcc@4.8.5~nls build_system=autotools arch=linux-centos7-haswell/uuufy73
==> Successfully uninstalled mpfr@4.2.0%gcc@4.8.5 build_system=autotools libs=shared,static arch=linux-centos7-haswell/z3bhno6
==> Successfully uninstalled gmp@6.2.1%gcc@4.8.5+cxx build_system=autotools libs=shared,static patches=69ad2e2 arch=linux-centos7-haswell/ymemwn7
==> Successfully uninstalled automake@1.16.5%gcc@4.8.5 build_system=autotools arch=linux-centos7-haswell/y5q3o2m
==> Successfully uninstalled texinfo@7.0.3%gcc@4.8.5 build_system=autotools arch=linux-centos7-haswell/cjhqtjz
==> Successfully uninstalled autoconf@2.69%gcc@4.8.5 build_system=autotools patches=35c4492,7793209,a49dd5b arch=linux-centos7-haswell/jlwdcie
==> Successfully uninstalled perl@5.38.0%gcc@4.8.5+cpanm+opcode+open+shared+threads build_system=generic patches=714e4d1 arch=linux-centos7-haswell/hue2kvc
==> Successfully uninstalled gettext@0.22.3%gcc@4.8.5+bzip2+curses+git~libunistring+libxml2+pic+shared+tar+xz build_system=autotools arch=linux-centos7-haswell/2ej3dqt
==> Successfully uninstalled gdbm@1.23%gcc@4.8.5 build_system=autotools arch=linux-centos7-haswell/gltmkvw
==> Successfully uninstalled libtool@2.4.7%gcc@4.8.5 build_system=autotools arch=linux-centos7-haswell/7aixs44
==> Successfully uninstalled tar@1.34%gcc@4.8.5 build_system=autotools zip=pigz arch=linux-centos7-haswell/w53vjtw
==> Successfully uninstalled readline@8.2%gcc@4.8.5 build_system=autotools patches=bbf97f1 arch=linux-centos7-haswell/liitlpz
==> Successfully uninstalled m4@1.4.19%gcc@4.8.5+sigsegv build_system=autotools patches=9dc5fbd,bfdffa7 arch=linux-centos7-haswell/i3fuvtz
==> Successfully uninstalled bzip2@1.0.8%gcc@4.8.5~debug~pic+shared build_system=generic arch=linux-centos7-haswell/ndfjfxq
==> Successfully uninstalled libxml2@2.10.3%gcc@4.8.5+pic~python+shared build_system=autotools arch=linux-centos7-haswell/chzesie
==> Successfully uninstalled ncurses@6.4%gcc@4.8.5~symlinks+termlib abi=none build_system=autotools arch=linux-centos7-haswell/zgmokxc
==> Successfully uninstalled diffutils@3.9%gcc@4.8.5 build_system=autotools arch=linux-centos7-haswell/p45tlf4
==> Successfully uninstalled pigz@2.7%gcc@4.8.5 build_system=makefile arch=linux-centos7-haswell/alo2o3o
==> Successfully uninstalled zstd@1.5.5%gcc@4.8.5+programs build_system=makefile compression=none libs=shared,static arch=linux-centos7-haswell/mx5ni7y
==> Successfully uninstalled xz@5.4.1%gcc@4.8.5~pic build_system=autotools libs=shared,static arch=linux-centos7-haswell/npplqel
==> Successfully uninstalled berkeley-db@18.1.40%gcc@4.8.5+cxx~docs+stl build_system=autotools patches=26090f4,b231fcc arch=linux-centos7-haswell/zjxiexw
==> Successfully uninstalled autoconf-archive@2023.02.20%gcc@4.8.5 build_system=autotools arch=linux-centos7-haswell/r2dl5qk
==> Successfully uninstalled pkgconf@1.9.5%gcc@4.8.5 build_system=autotools arch=linux-centos7-haswell/lt2wyf3
==> Successfully uninstalled libiconv@1.17%gcc@4.8.5 build_system=autotools libs=shared,static arch=linux-centos7-haswell/3a5lmmb
==> Successfully uninstalled libsigsegv@2.14%gcc@4.8.5 build_system=autotools arch=linux-centos7-haswell/7fovklt
==> Successfully uninstalled zlib-ng@2.1.4%gcc@4.8.5+compat+opt build_system=autotools arch=linux-centos7-haswell/a2ywqkl
==> Successfully uninstalled gmake@4.4.1%gcc@4.8.5~guile build_system=generic arch=linux-centos7-haswell/dqngc5g
$ spack find
-- linux-centos7-cascadelake / gcc@13.2.0 -----------------------
gcc@13.2.0  gmp@6.2.1  mpc@1.3.1  mpfr@4.2.0  zlib-ng@2.1.4  zstd@1.5.5
==> 6 installed packages

🟢 load our secondary gcc@13.2.0 and configure spack to use it as its ONLY compiler Note that we have to work around a spack bug: spack compiler find won't see that we've got a new gcc@13.2.0 So we'll have to remove it THEN re-add

$ spack load gcc

$ spack compilers
==> Available compilers
-- gcc centos7-x86_64 -------------------------------------------
gcc@4.8.5  gcc@13.2.0
$ spack compiler list
==> Available compilers
-- gcc centos7-x86_64 -------------------------------------------
gcc@4.8.5  gcc@13.2.0
$ spack compiler find  # oo little bug here, it isn't finding gcc13.2.0%gcc13.2.0
==> Found no new compilers
==> Compilers are defined in the following files:
    ~/.spack/linux/compilers.yaml
$ cat ~/.spack/linux/compilers.yaml

(I forgot to run this command, but it'll be referencing the gcc13.2.0%gcc4.8.5 path which no longer exists)

$ ll/path/to/spack/spackages
total 160
drwxr-xr-x 3 ckulkar1 pi_vjaneja 170 Nov  4 16:04 .spack-db
drwxr-xr-x 5 ckulkar1 pi_vjaneja  88 Nov  4 16:04 .
drwxr-xr-x 8 ckulkar1 pi_vjaneja 217 Nov  4 16:04 cascadelake-gcc-13.2.0  <-- this isn't matching compilers.yaml
drwxr-xr-x 2 ckulkar1 pi_vjaneja  23 Nov  4 10:01 bin
drwxr-xr-x 6 ckulkar1 pi_vjaneja 129 Nov  4 10:00 ..
$ spack compiler remove gcc@13.2.0
==> gcc@13.2.0 has been removed
$ spack compiler find  # this will add the secondary gcc£13.2.0
==> Added 1 new compiler to ~/.spack/linux/compilers.yaml
    gcc@13.2.0
==> Compilers are defined in the following files:
    ~/.spack/linux/compilers.yaml

🟢 Make spack forget about the system compiler (We could/should have done this earlier)

$ spack compiler remove gcc@4.8.5  # finally we can junk the system compiler
==> gcc@4.8.5 has been removed
$ cat ~/.spack/linux/compilers.yaml
compilers:
- compiler:
    spec: gcc@=13.2.0
    paths:
      cc: /path/to/spackages/cascadelake-gcc-13.2.0/gcc-13.2.0_vuqqt2y/bin/gcc
      cxx: /path/to/spackages/cascadelake-gcc-13.2.0/gcc-13.2.0_vuqqt2y/bin/g++
      f77: /path/to/spackages/cascadelake-gcc-13.2.0/gcc-13.2.0_vuqqt2y/bin/gfortran
      fc: /path/to/spackages/cascadelake-gcc-13.2.0/gcc-13.2.0_vuqqt2y/bin/gfortran
    flags: {}
    operating_system: centos7
    target: x86_64
    modules: []
    environment: {}
    extra_rpaths: []

🟢 Test! Install something using our 2nd-gen bootstrapped gcc@13.2.0

$ spack install python@3.11.6
==> Installing gmake-4.4.1-gyynfka4yfng3h6powzkhnwpjrt57yho [1/27]
==> No binary for gmake-4.4.1-gyynfka4yfng3h6powzkhnwpjrt57yho found: installing from source
==> Using cached archive: /path/to/spack/var/spack/cache/_source-cache/archive/dd/dd16fb1d67bfab79a72f5e8390735c49e3e8e70b4945a15ab1f81ddb78658fb3.tar.gz
==> No patches needed for gmake
==> gmake: Executing phase: 'install'
==> gmake: Successfully installed gmake-4.4.1-gyynfka4yfng3h6powzkhnwpjrt57yho
  Stage: 1.96s.  Install: 39.94s.  Post-install: 0.08s.  Total: 42.10s
[+] /path/to/spackages/cascadelake-gcc-13.2.0/gmake-4.4.1_gyynfka
==> Installing ca-certificates-mozilla-2023-05-30-u7dedhewj5b2oue45cn5o6gpt4ix5cnx [2/27]
==> No binary for ca-certificates-mozilla-2023-05-30-u7dedhewj5b2oue45cn5o6gpt4ix5cnx found: installing from source
==> Fetching https://mirror.spack.io/_source-cache/archive/5f/5fadcae90aa4ae041150f8e2d26c37d980522cdb49f923fc1e1b5eb8d74e71ad
==> No patches needed for ca-certificates-mozilla
==> ca-certificates-mozilla: Executing phase: 'install'
==> ca-certificates-mozilla: Successfully installed ca-certificates-mozilla-2023-05-30-u7dedhewj5b2oue45cn5o6gpt4ix5cnx
  Stage: 0.14s.  Install: 0.01s.  Post-install: 0.06s.  Total: 0.29s
[+] /path/to/spackages/cascadelake-gcc-13.2.0/ca-certificates-mozilla-2023-05-30_u7dedhe
==> Installing berkeley-db-18.1.40-ux2khkkb7g55flvmlqrjkstfj2tqt4en [3/27]
==> No binary for berkeley-db-18.1.40-ux2khkkb7g55flvmlqrjkstfj2tqt4en found: installing from source
==> Using cached archive: /path/to/spack/var/spack/cache/_source-cache/archive/0c/0cecb2ef0c67b166de93732769abdeba0555086d51de1090df325e18ee8da9c8.tar.gz
==> Applied patch /path/to/spack/var/spack/repos/builtin/packages/berkeley-db/drop-docs.patch
==> Applied patch /path/to/spack/var/spack/repos/builtin/packages/berkeley-db/tls.patch
==> Ran patch() for berkeley-db
==> berkeley-db: Executing phase: 'autoreconf'
==> berkeley-db: Executing phase: 'configure'
==> berkeley-db: Executing phase: 'build'
==> berkeley-db: Executing phase: 'install'
==> berkeley-db: Successfully installed berkeley-db-18.1.40-ux2khkkb7g55flvmlqrjkstfj2tqt4en
  Stage: 32.97s.  Autoreconf: 0.00s.  Configure: 45.38s.  Build: 9.24s.  Install: 0.98s.  Post-install: 0.18s.  Total: 1m 28.95s
[+] /path/to/spackages/cascadelake-gcc-13.2.0/berkeley-db-18.1.40_ux2khkk
[+] /path/to/spackages/cascadelake-gcc-13.2.0/zlib-ng-2.1.4_qss65qg
==> Installing xz-5.4.1-oyog6grsily4f6anw25oejsrfwvuqsnn [5/27]
==> No binary for xz-5.4.1-oyog6grsily4f6anw25oejsrfwvuqsnn found: installing from source
==> Using cached archive: /path/to/spack/var/spack/cache/_source-cache/archive/dd/dd172acb53867a68012f94c17389401b2f274a1aa5ae8f84cbfb8b7e383ea8d3.tar.bz2
==> No patches needed for xz
==> xz: Executing phase: 'autoreconf'
==> xz: Executing phase: 'configure'
==> xz: Executing phase: 'build'
==> xz: Executing phase: 'install'
==> xz: Successfully installed xz-5.4.1-oyog6grsily4f6anw25oejsrfwvuqsnn
  Stage: 2.45s.  Autoreconf: 0.00s.  Configure: 25.56s.  Build: 6.41s.  Install: 3.11s.  Post-install: 0.38s.  Total: 38.10s
[+] /path/to/spackages/cascadelake-gcc-13.2.0/xz-5.4.1_oyog6gr
==> Installing libffi-3.4.4-f3ninsofcxyzrlve727ft74lbsgmg4vq [6/27]
==> No binary for libffi-3.4.4-f3ninsofcxyzrlve727ft74lbsgmg4vq found: installing from source
==> Fetching https://mirror.spack.io/_source-cache/archive/d6/d66c56ad259a82cf2a9dfc408b32bf5da52371500b84745f7fb8b645712df676.tar.gz
==> No patches needed for libffi
==> libffi: Executing phase: 'autoreconf'
==> libffi: Executing phase: 'configure'
==> libffi: Executing phase: 'build'
==> libffi: Executing phase: 'install'
==> libffi: Successfully installed libffi-3.4.4-f3ninsofcxyzrlve727ft74lbsgmg4vq
  Stage: 2.07s.  Autoreconf: 0.00s.  Configure: 17.23s.  Build: 2.39s.  Install: 0.58s.  Post-install: 0.14s.  Total: 22.62s
[+] /path/to/spackages/cascadelake-gcc-13.2.0/libffi-3.4.4_f3ninso
[+] /path/to/spackages/cascadelake-gcc-13.2.0/zstd-1.5.5_cmic7rj
==> Installing libmd-1.0.4-3oqrk4tlsmlgvvjve52wdm4fyaaq4dby [8/27]
==> No binary for libmd-1.0.4-3oqrk4tlsmlgvvjve52wdm4fyaaq4dby found: installing from source
==> Fetching https://mirror.spack.io/_source-cache/archive/f5/f51c921042e34beddeded4b75557656559cf5b1f2448033b4c1eec11c07e530f.tar.xz
==> No patches needed for libmd
==> libmd: Executing phase: 'autoreconf'
==> libmd: Executing phase: 'configure'
==> libmd: Executing phase: 'build'
==> libmd: Executing phase: 'install'
==> libmd: Successfully installed libmd-1.0.4-3oqrk4tlsmlgvvjve52wdm4fyaaq4dby
  Stage: 0.56s.  Autoreconf: 0.00s.  Configure: 12.90s.  Build: 1.44s.  Install: 0.54s.  Post-install: 0.12s.  Total: 15.78s
[+] /path/to/spackages/cascadelake-gcc-13.2.0/libmd-1.0.4_3oqrk4t
==> Installing libiconv-1.17-qoojmawa2dcxei5besh2z2lmmr32emsa [9/27]
==> No binary for libiconv-1.17-qoojmawa2dcxei5besh2z2lmmr32emsa found: installing from source
==> Using cached archive: /path/to/spack/var/spack/cache/_source-cache/archive/8f/8f74213b56238c85a50a5329f77e06198771e70dd9a739779f4c02f65d971313.tar.gz
==> No patches needed for libiconv
==> libiconv: Executing phase: 'autoreconf'
==> libiconv: Executing phase: 'configure'
==> libiconv: Executing phase: 'build'
==> libiconv: Executing phase: 'install'
==> libiconv: Successfully installed libiconv-1.17-qoojmawa2dcxei5besh2z2lmmr32emsa
  Stage: 4.14s.  Autoreconf: 0.00s.  Configure: 42.56s.  Build: 11.55s.  Install: 2.28s.  Post-install: 0.49s.  Total: 1m 1.26s
[+] /path/to/spackages/cascadelake-gcc-13.2.0/libiconv-1.17_qoojmaw
==> Installing pkgconf-1.9.5-3tspf2jn7cjejhpji3262hl4xncfrsuk [10/27]
==> No binary for pkgconf-1.9.5-3tspf2jn7cjejhpji3262hl4xncfrsuk found: installing from source
==> Using cached archive: /path/to/spack/var/spack/cache/_source-cache/archive/1a/1ac1656debb27497563036f7bffc281490f83f9b8457c0d60bcfb638fb6b6171.tar.xz
==> No patches needed for pkgconf
==> pkgconf: Executing phase: 'autoreconf'
==> pkgconf: Executing phase: 'configure'
==> pkgconf: Executing phase: 'build'
==> pkgconf: Executing phase: 'install'
==> pkgconf: Successfully installed pkgconf-1.9.5-3tspf2jn7cjejhpji3262hl4xncfrsuk
  Stage: 0.82s.  Autoreconf: 0.00s.  Configure: 9.70s.  Build: 1.84s.  Install: 0.46s.  Post-install: 0.14s.  Total: 13.16s
[+] /path/to/spackages/cascadelake-gcc-13.2.0/pkgconf-1.9.5_3tspf2j
==> Installing pigz-2.7-fxvc4qlcssf6kosyuwknrsrsuxlhrt6y [11/27]
==> No binary for pigz-2.7-fxvc4qlcssf6kosyuwknrsrsuxlhrt6y found: installing from source
==> Using cached archive: /path/to/spack/var/spack/cache/_source-cache/archive/d2/d2045087dae5e9482158f1f1c0f21c7d3de6f7cdc7cc5848bdabda544e69aa58.tar.gz
==> No patches needed for pigz
==> pigz: Executing phase: 'edit'
==> pigz: Executing phase: 'build'
==> pigz: Executing phase: 'install'
==> pigz: Successfully installed pigz-2.7-fxvc4qlcssf6kosyuwknrsrsuxlhrt6y
  Stage: 0.17s.  Edit: 0.00s.  Build: 1.91s.  Install: 0.11s.  Post-install: 0.12s.  Total: 2.77s
[+] /path/to/spackages/cascadelake-gcc-13.2.0/pigz-2.7_fxvc4ql
==> Installing libbsd-0.11.7-lpdgjjjxu537ob4i7humnv4xeuet7wv3 [12/27]
==> No binary for libbsd-0.11.7-lpdgjjjxu537ob4i7humnv4xeuet7wv3 found: installing from source
==> Fetching https://mirror.spack.io/_source-cache/archive/9b/9baa186059ebbf25c06308e9f991fda31f7183c0f24931826d83aa6abd8a0261.tar.xz
==> No patches needed for libbsd
==> libbsd: Executing phase: 'autoreconf'
==> libbsd: Executing phase: 'configure'
==> libbsd: Executing phase: 'build'
==> libbsd: Executing phase: 'install'
==> libbsd: Successfully installed libbsd-0.11.7-lpdgjjjxu537ob4i7humnv4xeuet7wv3
  Stage: 1.80s.  Autoreconf: 0.00s.  Configure: 21.37s.  Build: 2.41s.  Install: 2.11s.  Post-install: 0.50s.  Total: 28.43s
[+] /path/to/spackages/cascadelake-gcc-13.2.0/libbsd-0.11.7_lpdgjjj
==> Installing diffutils-3.9-xoywt7ieekukkmvbkhurr4rxxdrvse4u [13/27]
==> No binary for diffutils-3.9-xoywt7ieekukkmvbkhurr4rxxdrvse4u found: installing from source
==> Using cached archive: /path/to/spack/var/spack/cache/_source-cache/archive/d8/d80d3be90a201868de83d78dad3413ad88160cc53bcc36eb9eaf7c20dbf023f1.tar.xz
==> No patches needed for diffutils
==> diffutils: Executing phase: 'autoreconf'
==> diffutils: Executing phase: 'configure'
==> diffutils: Executing phase: 'build'
==> diffutils: Executing phase: 'install'
==> diffutils: Successfully installed diffutils-3.9-xoywt7ieekukkmvbkhurr4rxxdrvse4u
  Stage: 4.79s.  Autoreconf: 0.00s.  Configure: 1m 22.65s.  Build: 5.50s.  Install: 2.18s.  Post-install: 0.31s.  Total: 1m 35.76s
[+] /path/to/spackages/cascadelake-gcc-13.2.0/diffutils-3.9_xoywt7i
==> Installing ncurses-6.4-igxnas2zdaxzi7upweko4ur54kudp4we [14/27]
==> No binary for ncurses-6.4-igxnas2zdaxzi7upweko4ur54kudp4we found: installing from source
==> Using cached archive: /path/to/spack/var/spack/cache/_source-cache/archive/69/6931283d9ac87c5073f30b6290c4c75f21632bb4fc3603ac8100812bed248159.tar.gz
==> No patches needed for ncurses
==> ncurses: Executing phase: 'autoreconf'
==> ncurses: Executing phase: 'configure'
==> ncurses: Executing phase: 'build'
==> ncurses: Executing phase: 'install'
==> ncurses: Successfully installed ncurses-6.4-igxnas2zdaxzi7upweko4ur54kudp4we
  Stage: 4.33s.  Autoreconf: 0.00s.  Configure: 1m 22.00s.  Build: 23.93s.  Install: 22.58s.  Post-install: 7.11s.  Total: 2m 20.19s
[+] /path/to/spackages/cascadelake-gcc-13.2.0/ncurses-6.4_igxnas2
==> Installing util-linux-uuid-2.38.1-s7wggxncbpgm3h77euvebdbns22xa4rd [15/27]
==> No binary for util-linux-uuid-2.38.1-s7wggxncbpgm3h77euvebdbns22xa4rd found: installing from source
==> Fetching https://mirror.spack.io/_source-cache/archive/08/0820eb8eea90408047e3715424bc6be771417047f683950fecb4bdd2e2cbbc6e.tar.gz
==> No patches needed for util-linux-uuid
==> util-linux-uuid: Executing phase: 'autoreconf'
==> util-linux-uuid: Executing phase: 'configure'
==> util-linux-uuid: Executing phase: 'build'
==> util-linux-uuid: Executing phase: 'install'
==> util-linux-uuid: Successfully installed util-linux-uuid-2.38.1-s7wggxncbpgm3h77euvebdbns22xa4rd
  Stage: 10.91s.  Autoreconf: 0.00s.  Configure: 55.68s.  Build: 2.07s.  Install: 1.77s.  Post-install: 0.42s.  Total: 1m 11.12s
[+] /path/to/spackages/cascadelake-gcc-13.2.0/util-linux-uuid-2.38.1_s7wggxn
==> Installing libxml2-2.10.3-r3le5zel7k7qbxshybffdull54p2lkjc [16/27]
==> No binary for libxml2-2.10.3-r3le5zel7k7qbxshybffdull54p2lkjc found: installing from source
==> Using cached archive: /path/to/spack/var/spack/cache/_source-cache/archive/5d/5d2cc3d78bec3dbe212a9d7fa629ada25a7da928af432c93060ff5c17ee28a9c.tar.xz
==> Using cached archive: /path/to/spack/var/spack/cache/_source-cache/archive/96/96151685cec997e1f9f3387e3626d61e6284d4d6e66e0e440c209286c03e9cc7.tar.gz
==> Moving resource stage
        source:/path/to/tmp/spack-stage/resource-xmlts-r3le5zel7k7qbxshybffdull54p2lkjc/spack-src/
        destination:/path/to/tmp/spack-stage/spack-stage-libxml2-2.10.3-r3le5zel7k7qbxshybffdull54p2lkjc/spack-src/xmlconf
==> Ran patch() for libxml2
==> libxml2: Executing phase: 'autoreconf'
==> libxml2: Executing phase: 'configure'
==> libxml2: Executing phase: 'build'
==> libxml2: Executing phase: 'install'
==> libxml2: Successfully installed libxml2-2.10.3-r3le5zel7k7qbxshybffdull54p2lkjc
  Stage: 47.20s.  Autoreconf: 0.00s.  Configure: 18.03s.  Build: 8.10s.  Install: 1.70s.  Post-install: 0.57s.  Total: 1m 15.95s
[+] /path/to/spackages/cascadelake-gcc-13.2.0/libxml2-2.10.3_r3le5ze
==> Installing expat-2.5.0-lg2lfby4baj3ba6v6pd53bdquu4jkfct [17/27]
==> No binary for expat-2.5.0-lg2lfby4baj3ba6v6pd53bdquu4jkfct found: installing from source
==> Fetching https://mirror.spack.io/_source-cache/archive/6f/6f0e6e01f7b30025fa05c85fdad1e5d0ec7fd35d9f61b22f34998de11969ff67.tar.bz2
==> No patches needed for expat
==> expat: Executing phase: 'autoreconf'
==> expat: Executing phase: 'configure'
==> expat: Executing phase: 'build'
==> expat: Executing phase: 'install'
==> expat: Successfully installed expat-2.5.0-lg2lfby4baj3ba6v6pd53bdquu4jkfct
  Stage: 0.80s.  Autoreconf: 0.00s.  Configure: 16.40s.  Build: 6.63s.  Install: 0.67s.  Post-install: 0.18s.  Total: 24.96s
[+] /path/to/spackages/cascadelake-gcc-13.2.0/expat-2.5.0_lg2lfby
==> Installing bzip2-1.0.8-gjp3mmfadnotds225mk6nm7dpaotmc4f [18/27]
==> No binary for bzip2-1.0.8-gjp3mmfadnotds225mk6nm7dpaotmc4f found: installing from source
==> Using cached archive: /path/to/spack/var/spack/cache/_source-cache/archive/ab/ab5a03176ee106d3f0fa90e381da478ddae405918153cca248e682cd0c4a2269.tar.gz
==> Ran patch() for bzip2
==> bzip2: Executing phase: 'install'
==> bzip2: Successfully installed bzip2-1.0.8-gjp3mmfadnotds225mk6nm7dpaotmc4f
  Stage: 0.37s.  Install: 3.75s.  Post-install: 0.18s.  Total: 4.50s
[+] /path/to/spackages/cascadelake-gcc-13.2.0/bzip2-1.0.8_gjp3mmf
==> Installing readline-8.2-6g36hdasomi3kmdqvmbrfngma4fz25zl [19/27]
==> No binary for readline-8.2-6g36hdasomi3kmdqvmbrfngma4fz25zl found: installing from source
==> Using cached archive: /path/to/spack/var/spack/cache/_source-cache/archive/3f/3feb7171f16a84ee82ca18a36d7b9be109a52c04f492a053331d7d1095007c35.tar.gz
==> Using cached archive: /path/to/spack/var/spack/cache/_source-cache/archive/bb/bbf97f1ec40a929edab5aa81998c1e2ef435436c597754916e6a5868f273aff7
==> Applied patch https://ftpmirror.gnu.org/readline/readline-8.2-patches/readline82-001
==> readline: Executing phase: 'autoreconf'
==> readline: Executing phase: 'configure'
==> readline: Executing phase: 'build'
==> readline: Executing phase: 'install'
==> readline: Successfully installed readline-8.2-6g36hdasomi3kmdqvmbrfngma4fz25zl
  Stage: 0.85s.  Autoreconf: 0.00s.  Configure: 21.83s.  Build: 2.01s.  Install: 0.38s.  Post-install: 0.17s.  Total: 25.49s
[+] /path/to/spackages/cascadelake-gcc-13.2.0/readline-8.2_6g36hda
==> Installing tar-1.34-ke2xxdxvqd5nc4nj5oyo2qa5pxnybmos [20/27]
==> No binary for tar-1.34-ke2xxdxvqd5nc4nj5oyo2qa5pxnybmos found: installing from source
==> Using cached archive: /path/to/spack/var/spack/cache/_source-cache/archive/03/03d908cf5768cfe6b7ad588c921c6ed21acabfb2b79b788d1330453507647aed.tar.gz
==> No patches needed for tar
==> tar: Executing phase: 'autoreconf'
==> tar: Executing phase: 'configure'
==> tar: Executing phase: 'build'
==> tar: Executing phase: 'install'
==> tar: Successfully installed tar-1.34-ke2xxdxvqd5nc4nj5oyo2qa5pxnybmos
  Stage: 3.91s.  Autoreconf: 0.00s.  Configure: 1m 44.50s.  Build: 7.04s.  Install: 2.27s.  Post-install: 0.35s.  Total: 1m 58.46s
[+] /path/to/spackages/cascadelake-gcc-13.2.0/tar-1.34_ke2xxdx
==> Installing gdbm-1.23-zhwk6gphvmuywc2vkjsrug5riwt27byn [21/27]
==> No binary for gdbm-1.23-zhwk6gphvmuywc2vkjsrug5riwt27byn found: installing from source
==> Using cached archive: /path/to/spack/var/spack/cache/_source-cache/archive/74/74b1081d21fff13ae4bd7c16e5d6e504a4c26f7cde1dca0d963a484174bbcacd.tar.gz
==> No patches needed for gdbm
==> gdbm: Executing phase: 'autoreconf'
==> gdbm: Executing phase: 'configure'
==> gdbm: Executing phase: 'build'
==> gdbm: Executing phase: 'install'
==> gdbm: Successfully installed gdbm-1.23-zhwk6gphvmuywc2vkjsrug5riwt27byn
  Stage: 0.90s.  Autoreconf: 0.00s.  Configure: 16.13s.  Build: 3.67s.  Install: 1.68s.  Post-install: 0.30s.  Total: 23.06s
[+] /path/to/spackages/cascadelake-gcc-13.2.0/gdbm-1.23_zhwk6gp
==> Installing sqlite-3.43.2-fjfkidqh4b55fmqyui44bf3sga2gg574 [22/27]
==> No binary for sqlite-3.43.2-fjfkidqh4b55fmqyui44bf3sga2gg574 found: installing from source
==> Fetching https://www.sqlite.org/2023/sqlite-autoconf-3430200.tar.gz
==> No patches needed for sqlite
==> sqlite: Executing phase: 'autoreconf'
==> sqlite: Executing phase: 'configure'
==> sqlite: Executing phase: 'build'
==> sqlite: Executing phase: 'install'
==> sqlite: Successfully installed sqlite-3.43.2-fjfkidqh4b55fmqyui44bf3sga2gg574
  Stage: 2.02s.  Autoreconf: 0.00s.  Configure: 13.38s.  Build: 1m 16.14s.  Install: 0.45s.  Post-install: 0.18s.  Total: 1m 32.47s
[+] /path/to/spackages/cascadelake-gcc-13.2.0/sqlite-3.43.2_fjfkidq
==> Installing gettext-0.22.3-2wa3cv3a2mtgkt3m4nmwsuoddup5msbu [23/27]
==> No binary for gettext-0.22.3-2wa3cv3a2mtgkt3m4nmwsuoddup5msbu found: installing from source
==> Using cached archive: /path/to/spack/var/spack/cache/_source-cache/archive/b8/b838228b3f8823a6c1eddf07297197c4db13f7e1b173b9ef93f3f945a63080b6.tar.xz
==> No patches needed for gettext
==> gettext: Executing phase: 'autoreconf'
==> gettext: Executing phase: 'configure'
==> gettext: Executing phase: 'build'
==> gettext: Executing phase: 'install'
==> gettext: Successfully installed gettext-0.22.3-2wa3cv3a2mtgkt3m4nmwsuoddup5msbu
  Stage: 27.57s.  Autoreconf: 0.00s.  Configure: 6m 5.74s.  Build: 3m 48.98s.  Install: 38.02s.  Post-install: 3.29s.  Total: 11m 4.10s
[+] /path/to/spackages/cascadelake-gcc-13.2.0/gettext-0.22.3_2wa3cv3
==> Installing perl-5.38.0-grx3gj5nzt4tjrr74h6pprlpl7xbrsry [24/27]
==> No binary for perl-5.38.0-grx3gj5nzt4tjrr74h6pprlpl7xbrsry found: installing from source
==> Using cached archive: /path/to/spack/var/spack/cache/_source-cache/archive/21/213ef58089d2f2c972ea353517dc60ec3656f050dcc027666e118b508423e517.tar.gz
==> Using cached archive: /path/to/spack/var/spack/cache/_source-cache/archive/9d/9da50e155df72bce55cb69f51f1dbb4b62d23740fb99f6178bb27f22ebdf8a46.tar.gz
==> Moving resource stage
        source:/path/to/tmp/spack-stage/resource-cpanm-grx3gj5nzt4tjrr74h6pprlpl7xbrsry/spack-src/
        destination:/path/to/tmp/spack-stage/spack-stage-perl-5.38.0-grx3gj5nzt4tjrr74h6pprlpl7xbrsry/spack-src/cpanm/cpanm
==> Applied patch /path/to/spack/var/spack/repos/builtin/packages/perl/zlib-ng.patch
==> Ran patch() for perl
==> perl: Executing phase: 'configure'
==> perl: Executing phase: 'build'
==> perl: Executing phase: 'install'
==> perl: Successfully installed perl-5.38.0-grx3gj5nzt4tjrr74h6pprlpl7xbrsry
  Stage: 27.52s.  Configure: 2m 59.15s.  Build: 37.07s.  Install: 37.90s.  Post-install: 5.81s.  Total: 4m 47.91s
[+] /path/to/spackages/cascadelake-gcc-13.2.0/perl-5.38.0_grx3gj5
==> Installing libxcrypt-4.4.35-crx3cipoul2d4ckcfn3cosnnsyj3hsb5 [25/27]
==> No binary for libxcrypt-4.4.35-crx3cipoul2d4ckcfn3cosnnsyj3hsb5 found: installing from source
==> Fetching https://mirror.spack.io/_source-cache/archive/a8/a8c935505b55f1df0d17f8bfd59468c7c6709a1d31831b0f8e3e045ab8fd455d.tar.xz
==> Applied patch /path/to/spack/var/spack/repos/builtin/packages/libxcrypt/commit-95d56e0.patch
==> libxcrypt: Executing phase: 'autoreconf'
==> libxcrypt: Executing phase: 'configure'
==> libxcrypt: Executing phase: 'build'
==> libxcrypt: Executing phase: 'install'
==> libxcrypt: Successfully installed libxcrypt-4.4.35-crx3cipoul2d4ckcfn3cosnnsyj3hsb5
  Stage: 0.90s.  Autoreconf: 0.00s.  Configure: 20.54s.  Build: 2.73s.  Install: 0.47s.  Post-install: 0.21s.  Total: 25.42s
[+] /path/to/spackages/cascadelake-gcc-13.2.0/libxcrypt-4.4.35_crx3cip
==> Installing openssl-3.1.3-ftciqywt3slgvrkr26wnnrajqz5f6uhh [26/27]
==> No binary for openssl-3.1.3-ftciqywt3slgvrkr26wnnrajqz5f6uhh found: installing from source
==> Fetching http://www.openssl.org/source/openssl-3.1.3.tar.gz
==> Ran patch() for openssl
==> openssl: Executing phase: 'install'
==> openssl: Successfully installed openssl-3.1.3-ftciqywt3slgvrkr26wnnrajqz5f6uhh
  Stage: 17.69s.  Install: 59.49s.  Post-install: 0.44s.  Total: 1m 18.02s
[+] /path/to/spackages/cascadelake-gcc-13.2.0/openssl-3.1.3_ftciqyw
==> Installing python-3.11.6-2nyjsszkz7mhyxjbqjuc6xw4pqmqo4lz [27/27]
==> No binary for python-3.11.6-2nyjsszkz7mhyxjbqjuc6xw4pqmqo4lz found: installing from source
==> Fetching https://www.python.org/ftp/python/3.11.6/Python-3.11.6.tgz
==> Applied patch /path/to/spack/var/spack/repos/builtin/packages/python/python-3.7.4+-distutils-C++-testsuite.patch
==> Applied patch /path/to/spack/var/spack/repos/builtin/packages/python/python-3.11-distutils-C++.patch
==> Applied patch /path/to/spack/var/spack/repos/builtin/packages/python/tkinter-3.11.patch
==> Applied patch /path/to/spack/var/spack/repos/builtin/packages/python/rpath-non-gcc.patch
==> Ran patch() for python
==> python: Executing phase: 'configure'
==> python: Executing phase: 'build'
==> python: Executing phase: 'install'
==> python: Successfully installed python-3.11.6-2nyjsszkz7mhyxjbqjuc6xw4pqmqo4lz
  Stage: 18.72s.  Configure: 2m 41.37s.  Build: 32.38s.  Install: 31.78s.  Post-install: 23.59s.  Total: 4m 28.69s
[+] /path/to/spackages/cascadelake-gcc-13.2.0/python-3.11.6_2nyjssz
$ spack find
-- linux-centos7-cascadelake / gcc@13.2.0 -----------------------
berkeley-db@18.1.40                 gdbm@1.23       libiconv@1.17     ncurses@6.4    readline@8.2            zstd@1.5.5
bzip2@1.0.8                         gettext@0.22.3  libmd@1.0.4       openssl@3.1.3  sqlite@3.43.2
ca-certificates-mozilla@2023-05-30  gmake@4.4.1     libxcrypt@4.4.35  perl@5.38.0    tar@1.34
diffutils@3.9                       gmp@6.2.1       libxml2@2.10.3    pigz@2.7       util-linux-uuid@2.38.1
expat@2.5.0                         libbsd@0.11.7   mpc@1.3.1         pkgconf@1.9.5  xz@5.4.1
gcc@13.2.0                          libffi@3.4.4    mpfr@4.2.0        python@3.11.6  zlib-ng@2.1.4
==> 31 installed packages
$ spack find --explicit
-- linux-centos7-cascadelake / gcc@13.2.0 -----------------------
gcc@13.2.0  python@3.11.6
==> 2 installed packages
> spack load python

> python --version
Python 3.11.6

🟩 (complete)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment