Closed edwardhartnett closed 1 year ago
This is a typo that came from a revision of my PR to main spack. Working on this now.
@edwardhartnett Fix was just merged, please rerun.
Quick work! Did you have to make a change to the main spack repo?
Yes. The issue was the result of my PR that got merged last night, thankfully the turnaround on this was very fast.
I tried again and it failed, but in a different way:
'/usr/local/bin/cmake' '-G' 'Unix Makefiles' '-DCMAKE_INSTALL_PREFIX:STRING=/home/runner/work/NCEPLIBS-grib_util/NCEPLIBS-grib_util/spack/opt/spack/linux-ubuntu22.04-x86_64_v4/gcc-10.4.0/bacio-2.4.1-5uq4k2iozdykk5jsfyugnx3k3aojgvc6' '-DCMAKE_BUILD_TYPE:STRING=RelWithDebInfo' '-DBUILD_TESTING:BOOL=OFF' '-DCMAKE_INTERPROCEDURAL_OPTIMIZATION:BOOL=OFF' '-DCMAKE_VERBOSE_MAKEFILE:BOOL=ON' '-DCMAKE_INSTALL_RPATH_USE_LINK_PATH:BOOL=ON' '-DCMAKE_INSTALL_RPATH:STRING=/home/runner/work/NCEPLIBS-grib_util/NCEPLIBS-grib_util/spack/opt/spack/linux-ubuntu22.04-x86_64_v4/gcc-10.4.0/bacio-2.4.1-5uq4k2iozdykk5jsfyugnx3k3aojgvc6/lib;/home/runner/work/NCEPLIBS-grib_util/NCEPLIBS-grib_util/spack/opt/spack/linux-ubuntu22.04-x86_64_v4/gcc-10.4.0/bacio-2.4.1-5uq4k2iozdykk5jsfyugnx3k3aojgvc6/lib64' '-DCMAKE_PREFIX_PATH:STRING=' '-DCMAKE_POSITION_INDEPENDENT_CODE:BOOL=ON' '/tmp/runner/spack-stage/spack-stage-bacio-2.4.1-5uq4k2iozdykk5jsfyugnx3k3aojgvc6/spack-src'
1 error found in build log:
>> 3 CMake Error at CMakeLists.txt:5 (project):
4 VERSION "2.4.12.4.1" format invalid.
5
6
7 -- Configuring incomplete, errors occurred!
See build log for details:
/tmp/runner/spack-stage/spack-stage-bacio-2.4.1-5uq4k2iozdykk5jsfyugnx3k3aojgvc6/spack-build-out.txt
If you want you can rerun the test when you think the fix is in. Just rerun the failed CI jobs here: https://github.com/NOAA-EMC/NCEPLIBS-grib_util/pull/194
@AlexanderRichert-NOAA let me know when I should try this again.
Will do-- There was an issue with the Spack CI so I'm waiting on the PR to go through, I'll keep you posted.
@edwardhartnett Okay, fixed as of 536c770 (https://github.com/spack/spack/pull/34668).
I have a CI system for NCEPLIBS-grib_utils which works for spack: https://github.com/NOAA-EMC/NCEPLIBS-grib_util/pull/194
But it only works if we use our own fork of spack. When I use the main spack repo I get this error:
We need the main spack repo to build our code. Not just our own fork.