Skip to content

Branch infra-update-v8 (Spack 1.1) fails to build #28

@penguian

Description

@penguian

In trying to diagnose problems with https://github.com/ACCESS-NRI/access-spack-packages/releases/tag/2026.02.004 I tried to spack install the infra-update-v8 branch of https://github.com/ACCESS-NRI/access-ram3 with the following result.

[pcl851@cylc ACCESS-rAM3]$ cat config/versions.json
{
  "$schema": "https://raw.githubusercontent.com/ACCESS-NRI/schema/main/au.org.access-nri/model/deployment/config/versions/4-0-0.json",
  "spack": "1.1",
  "access-spack-packages": "2026.02.004",
  "custom-scopes": [
    "ukmo-restricted-scope"
  ]
}
[pcl851@cylc ACCESS-rAM3]$ spack clean --downloads
==> Removing cached downloads
[pcl851@cylc ACCESS-rAM3]$ spack install --no-cache
[+] /g/data/tm70/pcl851/spack/1.1/release/linux-x86_64/compiler-wrapper-1.0-spro2dgnjjawulhw7fxxrqskm73cf4dd
[+] /apps/cmake/3.31.6 (external cmake-3.31.6-c6epq3ufiplry3hihbrr5qtcqd2xezuo)
[+] /usr (external glibc-2.28-vuczjrbyzfif5nzgt5gqbrdrzaioihy6)
==> [email protected] : has external module in ['intel-compiler/2021.10.0']
[+] /apps/intel-ct/wrapper (external intel-oneapi-compilers-classic-2021.10.0-rjzvcxkrnsiza6vps4v2kkgfn2swyhfs)
==> [email protected] : has external module in ['python3/3.11.7']
[+] /apps/python3/3.11.7 (external python-3.11.7-7loeqvkv4rl3e3bgp7oqlrr4vyabqeaz)
[+] /g/data/tm70/pcl851/spack/1.1/release/linux-x86_64/gmake-4.4.1-d5nd3lks3aornpidrxz2hbteka3uuk3r
[+] /g/data/tm70/pcl851/spack/1.1/release/linux-x86_64/fcm-2021.05.0-t2zjdq6prcofscqzamgzazexwskb7do3
[+] /g/data/tm70/pcl851/spack/1.1/release/linux-x86_64/zlib-ng-2.3.2-ilvuvnwmuk6d6ciz56tz5snlpvpmlqp4
[+] /g/data/tm70/pcl851/spack/1.1/release/linux-x86_64/pkgconf-2.5.1-r4kdoungwiova7mfdjjjxl4eqblpjnw5
==> Installing gcom-8.3-tuibhrr4semgie65pejevosbxvh27n2s [10/15]
error: /g/data/vk83/apps/spack/0.22/release/linux-rocky8-x86_64_v4/gcc-14.1.0/gh-2.43.1-qg3yh3qyl2nox4fhoixo6puzqvqel5lm/bin/gh auth git-credential get died of signal 4
error: /g/data/vk83/apps/spack/0.22/release/linux-rocky8-x86_64_v4/gcc-14.1.0/gh-2.43.1-qg3yh3qyl2nox4fhoixo6puzqvqel5lm/bin/gh auth git-credential store died of signal 4
==> No patches needed for gcom
==> gcom: Executing phase: 'install'
==> Error: ProcessError: Command exited with status 255:
    '/g/data/tm70/pcl851/spack/1.1/release/linux-x86_64/fcm-2021.05.0-t2zjdq6prcofscqzamgzazexwskb7do3/bin/fcm' 'make' '-f' 'fcm-make/gcom.cfg'
See build log for details:
  /scratch/tm70/pcl851/tmp/spack-stage/spack-stage-gcom-8.3-tuibhrr4semgie65pejevosbxvh27n2s/spack-build-out.txt

==> Warning: Skipping build of um-13.5-3tivnsdhl7pbnb6m4pfcotreymjhdga5 since gcom-8.3-tuibhrr4semgie65pejevosbxvh27n2s failed
==> Warning: Skipping build of access-ram3-latest-yundwrs6fvg2ztwtvhjqgdb54626r5jl since um-13.5-3tivnsdhl7pbnb6m4pfcotreymjhdga5 failed
[+] /g/data/tm70/pcl851/spack/1.1/release/linux-x86_64/hdf5-1.14.6-knhjqfj4qrh735eqjr6suhld7wb3ggjt
[+] /g/data/tm70/pcl851/spack/1.1/release/linux-x86_64/netcdf-c-4.9.2-dgnxg5v2avq6rqhh5ghfa2rqw7hwynls
==> Installing eccodes-2.34.0-o7vqax2mguufjwytdaynljqxaz7k5urx [13/15]
==> Fetching https://mirror.spack.io/_source-cache/archive/3c/3cd208c8ddad132789662cf8f67a9405514bfefcacac403c0d8c84507f303aba.tar.gz
    [100%]   12.19 MB @  146.7 MB/s
==> No patches needed for eccodes
==> eccodes: Executing phase: 'cmake'
==> eccodes: Executing phase: 'build'
==> Error: ProcessError: Command exited with status 2:
    '/g/data/tm70/pcl851/spack/1.1/release/linux-x86_64/gmake-4.4.1-d5nd3lks3aornpidrxz2hbteka3uuk3r/bin/make' '-j16'

713 errors found in build log:
     2895    cd /scratch/tm70/pcl851/tmp/spack-stage/spack-stage-eccodes-2.34.0-o7vqax2mguufjwytdaynljqxaz7k5urx/spack-build-o7vqax2/src && /g/data/tm70/pcl851/spack/1.1/release/linux-x86_
             64/compiler-wrapper-1.0-spro2dgnjjawulhw7fxxrqskm73cf4dd/libexec/spack/intel/icpc -DHAVE_ECCODES_CONFIG_H -I/scratch/tm70/pcl851/tmp/spack-stage/spack-stage-eccodes-2.34.0-o7v
             qax2mguufjwytdaynljqxaz7k5urx/spack-build-o7vqax2 -I/scratch/tm70/pcl851/tmp/spack-stage/spack-stage-eccodes-2.34.0-o7vqax2mguufjwytdaynljqxaz7k5urx/spack-src/src -I/scratch/t
             m70/pcl851/tmp/spack-stage/spack-stage-eccodes-2.34.0-o7vqax2mguufjwytdaynljqxaz7k5urx/spack-build-o7vqax2/src -O3 -DNDEBUG -std=gnu++17 -fPIC -MD -MT src/CMakeFiles/eccodes-s
             tatic.dir/grib_accessor_class_transient_darray.cc.o -MF CMakeFiles/eccodes-static.dir/grib_accessor_class_transient_darray.cc.o.d -o CMakeFiles/eccodes-static.dir/grib_accesso
             r_class_transient_darray.cc.o -c /scratch/tm70/pcl851/tmp/spack-stage/spack-stage-eccodes-2.34.0-o7vqax2mguufjwytdaynljqxaz7k5urx/spack-src/src/grib_accessor_class_transient_d
             array.cc
     2896    [ 80%] Building CXX object src/CMakeFiles/eccodes-static.dir/grib_accessor_class_values.cc.o
     2897    cd /scratch/tm70/pcl851/tmp/spack-stage/spack-stage-eccodes-2.34.0-o7vqax2mguufjwytdaynljqxaz7k5urx/spack-build-o7vqax2/src && /g/data/tm70/pcl851/spack/1.1/release/linux-x86_
             64/compiler-wrapper-1.0-spro2dgnjjawulhw7fxxrqskm73cf4dd/libexec/spack/intel/icpc -DHAVE_ECCODES_CONFIG_H -I/scratch/tm70/pcl851/tmp/spack-stage/spack-stage-eccodes-2.34.0-o7v
             qax2mguufjwytdaynljqxaz7k5urx/spack-build-o7vqax2 -I/scratch/tm70/pcl851/tmp/spack-stage/spack-stage-eccodes-2.34.0-o7vqax2mguufjwytdaynljqxaz7k5urx/spack-src/src -I/scratch/t
             m70/pcl851/tmp/spack-stage/spack-stage-eccodes-2.34.0-o7vqax2mguufjwytdaynljqxaz7k5urx/spack-build-o7vqax2/src -O3 -DNDEBUG -std=gnu++17 -fPIC -MD -MT src/CMakeFiles/eccodes-s
             tatic.dir/grib_accessor_class_values.cc.o -MF CMakeFiles/eccodes-static.dir/grib_accessor_class_values.cc.o.d -o CMakeFiles/eccodes-static.dir/grib_accessor_class_values.cc.o 
             -c /scratch/tm70/pcl851/tmp/spack-stage/spack-stage-eccodes-2.34.0-o7vqax2mguufjwytdaynljqxaz7k5urx/spack-src/src/grib_accessor_class_values.cc
     2898    [ 80%] Building CXX object src/CMakeFiles/eccodes-static.dir/grib_accessor_class_simple_packing_error.cc.o
     2899    cd /scratch/tm70/pcl851/tmp/spack-stage/spack-stage-eccodes-2.34.0-o7vqax2mguufjwytdaynljqxaz7k5urx/spack-build-o7vqax2/src && /g/data/tm70/pcl851/spack/1.1/release/linux-x86_
             64/compiler-wrapper-1.0-spro2dgnjjawulhw7fxxrqskm73cf4dd/libexec/spack/intel/icpc -DHAVE_ECCODES_CONFIG_H -I/scratch/tm70/pcl851/tmp/spack-stage/spack-stage-eccodes-2.34.0-o7v
             qax2mguufjwytdaynljqxaz7k5urx/spack-build-o7vqax2 -I/scratch/tm70/pcl851/tmp/spack-stage/spack-stage-eccodes-2.34.0-o7vqax2mguufjwytdaynljqxaz7k5urx/spack-src/src -I/scratch/t
             m70/pcl851/tmp/spack-stage/spack-stage-eccodes-2.34.0-o7vqax2mguufjwytdaynljqxaz7k5urx/spack-build-o7vqax2/src -O3 -DNDEBUG -std=gnu++17 -fPIC -MD -MT src/CMakeFiles/eccodes-s
             tatic.dir/grib_accessor_class_simple_packing_error.cc.o -MF CMakeFiles/eccodes-static.dir/grib_accessor_class_simple_packing_error.cc.o.d -o CMakeFiles/eccodes-static.dir/grib
             _accessor_class_simple_packing_error.cc.o -c /scratch/tm70/pcl851/tmp/spack-stage/spack-stage-eccodes-2.34.0-o7vqax2mguufjwytdaynljqxaz7k5urx/spack-src/src/grib_accessor_class
             _simple_packing_error.cc
     2900    /g/data/tm70/pcl851/spack/1.1/release/linux-x86_64/netcdf-c-4.9.2-dgnxg5v2avq6rqhh5ghfa2rqw7hwynls/lib/libnetcdf.a(libnchdf5_la-hdf5file.o): In function `nc4_enddef_netcdf4_fi
             le':
  >> 2901    hdf5file.c:(.text+0x31e): undefined reference to `H5Fflush'
...
     4048    /bin/ranlib ../lib/libeccodes.a
     4049    make[2]: Leaving directory '/scratch/tm70/pcl851/tmp/spack-stage/spack-stage-eccodes-2.34.0-o7vqax2mguufjwytdaynljqxaz7k5urx/spack-build-o7vqax2'
     4050    [100%] Built target eccodes-static
     4051    make[1]: Leaving directory '/scratch/tm70/pcl851/tmp/spack-stage/spack-stage-eccodes-2.34.0-o7vqax2mguufjwytdaynljqxaz7k5urx/spack-build-o7vqax2'
  >> 4052    make: *** [Makefile:169: all] Error 2

See build log for details:
  /scratch/tm70/pcl851/tmp/spack-stage/spack-stage-eccodes-2.34.0-o7vqax2mguufjwytdaynljqxaz7k5urx/spack-build-out.txt

==> Error: access-ram3-latest-yundwrs6fvg2ztwtvhjqgdb54626r5jl: Package was not installed
==> Error: Installation request failed.  Refer to reported errors for failing package(s).
[pcl851@cylc ACCESS-rAM3]$ git status -uno
On branch infra-update-v8
Your branch is up to date with 'origin/infra-update-v8'.

nothing to commit (use -u to show untracked files)
[pcl851@cylc ACCESS-rAM3]$ cat  /scratch/tm70/pcl851/tmp/spack-stage/spack-stage-gcom-8.3-tuibhrr4semgie65pejevosbxvh27n2s/spack-build-out.txt
==> gcom: Executing phase: 'install'
==> [2026-03-04-00:32:45.871611] '/g/data/tm70/pcl851/spack/1.1/release/linux-x86_64/fcm-2021.05.0-t2zjdq6prcofscqzamgzazexwskb7do3/bin/fcm' 'make' '-f' 'fcm-make/gcom.cfg'
[init] make                # 2026-03-03T13:32:46Z
[info] FCM 2021.05.0 (/g/data/tm70/pcl851/spack/1.1/release/linux-x86_64/fcm-2021.05.0-t2zjdq6prcofscqzamgzazexwskb7do3)
[init] make config-parse   # 2026-03-03T13:32:46Z
[info] config-file=/scratch/tm70/pcl851/tmp/spack-stage/spack-stage-gcom-8.3-tuibhrr4semgie65pejevosbxvh27n2s/spack-src/fcm-make/gcom.cfg
[info] config-file= - /scratch/tm70/pcl851/tmp/spack-stage/spack-stage-gcom-8.3-tuibhrr4semgie65pejevosbxvh27n2s/spack-src/fcm-make/machines/nci_gadi_ifort_serial.cfg
[done] make config-parse   # 0.7s
[init] make dest-init      # 2026-03-03T13:32:47Z
[info] [email protected]:/scratch/tm70/pcl851/tmp/spack-stage/spack-stage-gcom-8.3-tuibhrr4semgie65pejevosbxvh27n2s/spack-src
[info] mode=new
[done] make dest-init      # 0.0s
[init] make extract        # 2026-03-03T13:32:47Z
[info] location  gcom: 0: /scratch/tm70/pcl851/tmp/spack-stage/spack-stage-gcom-8.3-tuibhrr4semgie65pejevosbxvh27n2s/spack-src
[info]   dest:  191 [A added]
[info] source:  191 [U from base]
[done] make extract        # 1.1s
[init] make preprocess     # 2026-03-03T13:32:48Z
[info] sources: total=191, analysed=191, elapsed-time=0.3s, total-time=0.2s
[FAIL] mpicc -E -I./include /scratch/tm70/pcl851/tmp/spack-stage/spack-stage-gcom-8.3-tuibhrr4semgie65pejevosbxvh27n2s/spack-src/extract/gcom/gc/gc__abort.c: command not found
[FAIL] process    0.0 ! gcom/gc/gc__abort.c  <- gcom/gc/gc__abort.c
[info] target-tree-analysis: elapsed-time=0.0s
[FAIL] ! gcom/gc/gc__abort.c : update task failed

[info] install   targets: modified=7, unchanged=0, failed=0, total-time=0.0s
[info] process   targets: modified=183, unchanged=0, failed=1, total-time=12.2s
[info] TOTAL     targets: modified=190, unchanged=0, failed=1, elapsed-time=12.6s
[FAIL] make preprocess     # 13.0s
[FAIL] make                # 14.8s

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status

    New Issues

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions