-
Notifications
You must be signed in to change notification settings - Fork 69
Open
Labels
Description
8806 [spack cc] ERROR: Compiler 'apple-clang@=17.0.0' does not have a Fortran 90 compiler configured.
yet, here is our compiler setting for macOS:
compilers:
- compiler:
spec: apple-clang@=17.0.0
paths:
cc: /usr/bin/clang
cxx: /usr/bin/clang++
f77: /usr/local/bin/gfortran
fc: /usr/local/bin/gfortran
flags: {}
operating_system: sequoia
target: aarch64
modules: []
environment:
set: # needed for gfortran to link
LIBRARY_PATH: /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/lib
extra_rpaths: ["/usr/local/gfortran/lib/"]
This config has not changed in 7 months.
I have had some os updates, however I am still using clang 17.0 and that gfortran works (I tested compiling a test program)
Full details:
==> No patches needed for openblas
==> openblas: Executing phase: 'edit'
==> openblas: Executing phase: 'build'
lib/spack/spack/error.py:55 ==> [2026-01-08-09:04:14.967196] Error: ProcessError: Command exited with status 2:
'/Users/harrison37/Work/github/llnl/conduit/ul_test/spack/opt/spack/darwin-sequoia-m1/apple-clang-17.0.0/gmake-4.4.1-y4rm3r5ha2mxkdky3li6att6erlwjd4a/bin/make' '-j10' '-s' 'CC=/Users/harrison37/Work/github/llnl/conduit/ul_test/spack/lib/spack/env/clang/clang' 'FC=/Users/harrison37/Work/github/llnl/conduit/ul_test/spack/lib/spack/env/clang/flang' 'MAKE_NB_JOBS=0' 'ARCH=arm64' 'DYNAMIC_ARCH=1' 'DYNAMIC_OLDER=1' 'TARGET=GENERIC' 'DYNAMIC_ARCH=1' 'USE_LOCKING=1' 'USE_OPENMP=0' 'USE_THREAD=0' 'RANLIB=ranlib' 'NO_AVX512=1' 'all'
12 errors found in build log:
8798 182 | BLASLONG i, j, jj;
8799 | ^
8800 1 warning generated.
8801 1 warning generated.
8802 1 warning generated.
8803 [spack cc] ERROR: Compiler 'apple-clang@=17.0.0' does not have a Fortran 90 compiler configured.
>> 8804 make[2]: *** [Makefile:66: spotrf2.o] Error 1
8805 make[2]: *** Waiting for unfinished jobs....
8806 [spack cc] ERROR: Compiler 'apple-clang@=17.0.0' does not have a Fortran 90 compiler configured.
>> 8807 make[2]: *** [Makefile:66: sgbtrf.o] Error 1
8808 [spack cc] ERROR: Compiler 'apple-clang@=17.0.0' does not have a Fortran 90 compiler configured.
>> 8809 make[2]: *** [Makefile:66: sgbsvx.o] Error 1
8810 [spack cc] ERROR: Compiler 'apple-clang@=17.0.0' does not have a Fortran 90 compiler configured.
>> 8811 make[2]: *** [Makefile:66: sgbtf2.o] Error 1
8812 [spack cc] ERROR: Compiler 'apple-clang@=17.0.0' does not have a Fortran 90 compiler configured.
>> 8813 make[2]: *** [Makefile:66: sgbbrd.o] Error 1
8814 [spack cc] ERROR: Compiler 'apple-clang@=17.0.0' does not have a Fortran 90 compiler configured.
>> 8815 make[2]: *** [Makefile:66: sgetrf2.o] Error 1
8816 [spack cc] ERROR: Compiler 'apple-clang@=17.0.0' does not have a Fortran 90 compiler configured.
>> 8817 make[2]: *** [Makefile:66: sgbsv.o] Error 1
8818 [spack cc] ERROR: Compiler 'apple-clang@=17.0.0' does not have a Fortran 90 compiler configured.
>> 8819 make[2]: *** [Makefile:66: sgbrfs.o] Error 1
8820 [spack cc] ERROR: Compiler 'apple-clang@=17.0.0' does not have a Fortran 90 compiler configured.
>> 8821 make[2]: *** [Makefile:66: sgbequ.o] Error 1
8822 [spack cc] ERROR: Compiler 'apple-clang@=17.0.0' does not have a Fortran 90 compiler configured.
>> 8823 make[2]: *** [Makefile:66: sgbcon.o] Error 1
>> 8824 make[1]: *** [Makefile:27: lapacklib] Error 2
>> 8825 make: *** [Makefile:296: netlib] Error 2
See build log for details:
/var/folders/wj/jjhjt_0d3kg1vmk56d5bq_38001kr8/T/harrison37/spack-stage/spack-stage-openblas-0.3.30-ge47kurg7wcb5qi37pixaevoczvjuvbw/spack-build-out.txt
Traceback (most recent call last):
File "/Users/harrison37/Work/github/llnl/conduit/ul_test/spack/lib/spack/spack/build_environment.py", line 1205, in _setup_pkg_and_run
return_value = function(pkg, kwargs)
File "/Users/harrison37/Work/github/llnl/conduit/ul_test/spack/lib/spack/spack/installer.py", line 2492, in build_process
return installer.run()
File "/Users/harrison37/Work/github/llnl/conduit/ul_test/spack/lib/spack/spack/installer.py", line 2367, in run
self._real_install()
File "/Users/harrison37/Work/github/llnl/conduit/ul_test/spack/lib/spack/spack/installer.py", line 2457, in _real_install
phase_fn.execute()
File "/Users/harrison37/Work/github/llnl/conduit/ul_test/spack/lib/spack/spack/builder.py", line 451, in execute
self.phase_fn(pkg, pkg.spec, pkg.prefix)
File "/Users/harrison37/Work/github/llnl/conduit/ul_test/spack/lib/spack/spack/build_systems/makefile.py", line 105, in build
pkg.module.make(*self.build_targets)
File "/Users/harrison37/Work/github/llnl/conduit/ul_test/spack/lib/spack/spack/build_environment.py", line 190, in __call__
return super().__call__(*args, **kwargs)
File "/Users/harrison37/Work/github/llnl/conduit/ul_test/spack/lib/spack/spack/util/executable.py", line 253, in __call__
raise ProcessError("Command exited with status %d:" % proc.returncode, long_msg)
spack.util.executable.ProcessError: Command exited with status 2:
'/Users/harrison37/Work/github/llnl/conduit/ul_test/spack/opt/spack/darwin-sequoia-m1/apple-clang-17.0.0/gmake-4.4.1-y4rm3r5ha2mxkdky3li6att6erlwjd4a/bin/make' '-j10' '-s' 'CC=/Users/harrison37/Work/github/llnl/conduit/ul_test/spack/lib/spack/env/clang/clang' 'FC=/Users/harrison37/Work/github/llnl/conduit/ul_test/spack/lib/spack/env/clang/flang' 'MAKE_NB_JOBS=0' 'ARCH=arm64' 'DYNAMIC_ARCH=1' 'DYNAMIC_OLDER=1' 'TARGET=GENERIC' 'DYNAMIC_ARCH=1' 'USE_LOCKING=1' 'USE_OPENMP=0' 'USE_THREAD=0' 'RANLIB=ranlib' 'NO_AVX512=1' 'all'
lib/spack/spack/installer.py:1898 ==> [2026-01-08-09:04:15.305144] Flagging openblas-0.3.30-ge47kurg7wcb5qi37pixaevoczvjuvbw as failed: ProcessError: Command exited with status 2:
'/Users/harrison37/Work/github/llnl/conduit/ul_test/spack/opt/spack/darwin-sequoia-m1/apple-clang-17.0.0/gmake-4.4.1-y4rm3r5ha2mxkdky3li6att6erlwjd4a/bin/make' '-j10' '-s' 'CC=/Users/harrison37/Work/github/llnl/conduit/ul_test/spack/lib/spack/env/clang/clang' 'FC=/Users/harrison37/Work/github/llnl/conduit/ul_test/spack/lib/spack/env/clang/flang' 'MAKE_NB_JOBS=0' 'ARCH=arm64' 'DYNAMIC_ARCH=1' 'DYNAMIC_OLDER=1' 'TARGET=GENERIC' 'DYNAMIC_ARCH=1' 'USE_LOCKING=1' 'USE_OPENMP=0' 'USE_THREAD=0' 'RANLIB=ranlib' 'NO_AVX512=1' 'all'
lib/spack/spack/installer.py:1907 ==> [2026-01-08-09:04:15.307245] Warning: Skipping build of py-numpy-2.1.2-2poyfwdkxnc3muufvohuk5v2idawuoe7 since openblas-0.3.30-ge47kurg7wcb5qi37pixaevoczvjuvbw failed
lib/spack/spack/installer.py:1898 ==> [2026-01-08-09:04:15.307359] Flagging py-numpy-2.1.2-2poyfwdkxnc3muufvohuk5v2idawuoe7 as failed
lib/spack/spack/installer.py:1907 ==> [2026-01-08-09:04:15.310394] Warning: Skipping build of uberenv-conduit-develop-dbtcuqtxlf6iypv2ywoudgt3rclda6ui since py-numpy-2.1.2-2poyfwdkxnc3muufvohuk5v2idawuoe7 failed
lib/spack/spack/installer.py:1898 ==> [2026-01-08-09:04:15.310500] Flagging uberenv-conduit-develop-dbtcuqtxlf6iypv2ywoudgt3rclda6ui as failed
lib/spack/spack/installer.py:1859 ==> [2026-01-08-09:04:15.316970] Removing task for uberenv-conduit-develop-dbtcuqtxlf6iypv2ywoudgt3rclda6ui from list
lib/spack/spack/installer.py:1859 ==> [2026-01-08-09:04:15.317062] Removing task for py-numpy-2.1.2-2poyfwdkxnc3muufvohuk5v2idawuoe7 from list
lib/spack/spack/config.py:1110 ==> [2026-01-08-09:04:15.324737] Reading config from file /Users/harrison37/Work/github/llnl/conduit/ul_test/spack_env/spack.yaml
lib/spack/spack/environment/environment.py:242 ==> [2026-01-08-09:04:15.329077] Deactivated environment '/Users/harrison37/Work/github/llnl/conduit/ul_test/spack_env'
lib/spack/spack/environment/environment.py:218 ==> [2026-01-08-09:04:15.340448] Using environment '/Users/harrison37/Work/github/llnl/conduit/ul_test/spack_env'
lib/spack/spack/util/executable.py:234 ==> [2026-01-08-09:04:15.349970] '/usr/bin/git' '-C' '/Users/harrison37/Work/github/llnl/conduit/ul_test/spack' 'rev-parse' 'HEAD'
lib/spack/spack/environment/environment.py:787 ==> [2026-01-08-09:04:15.385124] View at /Users/harrison37/Work/github/llnl/conduit/ul_test/spack_env/.spack-env/view does not need regeneration.
lib/spack/spack/main.py:1016 ==> [2026-01-08-09:04:15.385273] InstallError: Terminating after first install failure: ProcessError: Command exited with status 2:
'/Users/harrison37/Work/github/llnl/conduit/ul_test/spack/opt/spack/darwin-sequoia-m1/apple-clang-17.0.0/gmake-4.4.1-y4rm3r5ha2mxkdky3li6att6erlwjd4a/bin/make' '-j10' '-s' 'CC=/Users/harrison37/Work/github/llnl/conduit/ul_test/spack/lib/spack/env/clang/clang' 'FC=/Users/harrison37/Work/github/llnl/conduit/ul_test/spack/lib/spack/env/clang/flang' 'MAKE_NB_JOBS=0' 'ARCH=arm64' 'DYNAMIC_ARCH=1' 'DYNAMIC_OLDER=1' 'TARGET=GENERIC' 'DYNAMIC_ARCH=1' 'USE_LOCKING=1' 'USE_OPENMP=0' 'USE_THREAD=0' 'RANLIB=ranlib' 'NO_AVX512=1' 'all'
lib/spack/spack/error.py:55 ==> [2026-01-08-09:04:15.385343] Error: Terminating after first install failure: ProcessError: Command exited with status 2:
'/Users/harrison37/Work/github/llnl/conduit/ul_test/spack/opt/spack/darwin-sequoia-m1/apple-clang-17.0.0/gmake-4.4.1-y4rm3r5ha2mxkdky3li6att6erlwjd4a/bin/make' '-j10' '-s' 'CC=/Users/harrison37/Work/github/llnl/conduit/ul_test/spack/lib/spack/env/clang/clang' 'FC=/Users/harrison37/Work/github/llnl/conduit/ul_test/spack/lib/spack/env/clang/flang' 'MAKE_NB_JOBS=0' 'ARCH=arm64' 'DYNAMIC_ARCH=1' 'DYNAMIC_OLDER=1' 'TARGET=GENERIC' 'DYNAMIC_ARCH=1' 'USE_LOCKING=1' 'USE_OPENMP=0' 'USE_THREAD=0' 'RANLIB=ranlib' 'NO_AVX512=1' 'all'
Traceback (most recent call last):
File "/Users/harrison37/Work/github/llnl/conduit/ul_test/spack/lib/spack/spack/installer.py", line 2160, in install
self._install_task(task, install_status)
File "/Users/harrison37/Work/github/llnl/conduit/ul_test/spack/lib/spack/spack/installer.py", line 1758, in _install_task
rc = task.execute(install_status)
File "/Users/harrison37/Work/github/llnl/conduit/ul_test/spack/lib/spack/spack/installer.py", line 1181, in execute
spack.package_base.PackageBase._verbose = spack.build_environment.start_build_process(
File "/Users/harrison37/Work/github/llnl/conduit/ul_test/spack/lib/spack/spack/build_environment.py", line 1369, in start_build_process
raise child_result
spack.build_environment.ChildError: ProcessError: Command exited with status 2:
'/Users/harrison37/Work/github/llnl/conduit/ul_test/spack/opt/spack/darwin-sequoia-m1/apple-clang-17.0.0/gmake-4.4.1-y4rm3r5ha2mxkdky3li6att6erlwjd4a/bin/make' '-j10' '-s' 'CC=/Users/harrison37/Work/github/llnl/conduit/ul_test/spack/lib/spack/env/clang/clang' 'FC=/Users/harrison37/Work/github/llnl/conduit/ul_test/spack/lib/spack/env/clang/flang' 'MAKE_NB_JOBS=0' 'ARCH=arm64' 'DYNAMIC_ARCH=1' 'DYNAMIC_OLDER=1' 'TARGET=GENERIC' 'DYNAMIC_ARCH=1' 'USE_LOCKING=1' 'USE_OPENMP=0' 'USE_THREAD=0' 'RANLIB=ranlib' 'NO_AVX512=1' 'all'
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/Users/harrison37/Work/github/llnl/conduit/ul_test/spack/lib/spack/spack/main.py", line 1013, in main
return _main(argv)
File "/Users/harrison37/Work/github/llnl/conduit/ul_test/spack/lib/spack/spack/main.py", line 966, in _main
return finish_parse_and_run(parser, cmd_name, args, env_format_error)
File "/Users/harrison37/Work/github/llnl/conduit/ul_test/spack/lib/spack/spack/main.py", line 996, in finish_parse_and_run
return _invoke_command(command, parser, args, unknown)
File "/Users/harrison37/Work/github/llnl/conduit/ul_test/spack/lib/spack/spack/main.py", line 592, in _invoke_command
return_val = command(parser, args)
File "/Users/harrison37/Work/github/llnl/conduit/ul_test/spack/lib/spack/spack/cmd/install.py", line 349, in install
install_with_active_env(env, args, install_kwargs, reporter_factory)
File "/Users/harrison37/Work/github/llnl/conduit/ul_test/spack/lib/spack/spack/cmd/install.py", line 420, in install_with_active_env
env.install_specs(specs_to_install, **install_kwargs)
File "/Users/harrison37/Work/github/llnl/conduit/ul_test/spack/lib/spack/spack/environment/environment.py", line 1911, in install_specs
PackageInstaller([spec.package for spec in specs], **install_args).install()
File "/Users/harrison37/Work/github/llnl/conduit/ul_test/spack/lib/spack/spack/installer.py", line 2209, in install
raise spack.error.InstallError(
spack.error.InstallError: Terminating after first install failure: ProcessError: Command exited with status 2:
'/Users/harrison37/Work/github/llnl/conduit/ul_test/spack/opt/spack/darwin-sequoia-m1/apple-clang-17.0.0/gmake-4.4.1-y4rm3r5ha2mxkdky3li6att6erlwjd4a/bin/make' '-j10' '-s' 'CC=/Users/harrison37/Work/github/llnl/conduit/ul_test/spack/lib/spack/env/clang/clang' 'FC=/Users/harrison37/Work/github/llnl/conduit/ul_test/spack/lib/spack/env/clang/flang' 'MAKE_NB_JOBS=0' 'ARCH=arm64' 'DYNAMIC_ARCH=1' 'DYNAMIC_OLDER=1' 'TARGET=GENERIC' 'DYNAMIC_ARCH=1' 'USE_LOCKING=1' 'USE_OPENMP=0' 'USE_THREAD=0' 'RANLIB=ranlib' 'NO_AVX512=1' 'all'
[ERROR: Failure of spack install]