### Steps to reproduce the issue
```bash
$ spack spec -l
Input spec
--------…------------------------
- cmake
Concretized
--------------------------------
- 6km3c52 cmake@3.27.7%gcc@13.2.0~doc+ncurses+ownlibs build_system=generic build_type=Release arch=darwin-sonoma-m1
[+] e2uyjwq ^curl@8.4.0%gcc@13.2.0~gssapi~ldap~libidn2~librtmp~libssh~libssh2+nghttp2 build_system=autotools libs=shared,static tls=secure_transport arch=darwin-sonoma-m1
[+] ys5tbb4 ^gmake@4.4.1%gcc@13.2.0~guile build_system=generic arch=darwin-sonoma-m1
[+] 3icqftr ^gnuconfig@2022-09-17%gcc@13.2.0 build_system=generic arch=darwin-sonoma-m1
[+] 6rc46wb ^nghttp2@1.57.0%gcc@13.2.0 build_system=autotools arch=darwin-sonoma-m1
[+] swpghib ^pkgconf@1.9.5%gcc@13.2.0 build_system=autotools arch=darwin-sonoma-m1
[+] uebg26j ^ncurses@6.4%gcc@13.2.0~symlinks+termlib abi=none build_system=autotools arch=darwin-sonoma-m1
[+] zph3t4z ^zlib-ng@2.1.4%gcc@13.2.0+compat+opt build_system=autotools arch=darwin-sonoma-m1
Input spec
--------------------------------
- openmpi
Concretized
--------------------------------
[+] es4hdse openmpi@4.1.6%gcc@13.2.0~atomics~cuda~cxx~cxx_exceptions~gpfs~internal-hwloc~internal-pmix~java~legacylaunchers~lustre~memchecker~openshmem~orterunprefix+romio+rsh~singularity+static+vt+wrapper-rpath build_system=autotools fabrics=none schedulers=none arch=darwin-sonoma-m1
[+] ys5tbb4 ^gmake@4.4.1%gcc@13.2.0~guile build_system=generic arch=darwin-sonoma-m1
[+] 3icqftr ^gnuconfig@2022-09-17%gcc@13.2.0 build_system=generic arch=darwin-sonoma-m1
[+] lgublq4 ^hwloc@2.9.1%gcc@13.2.0~cairo~cuda~gl~libudev+libxml2~netloc~nvml~oneapi-level-zero~opencl~pci~rocm build_system=autotools libs=shared,static arch=darwin-sonoma-m1
[+] 6xnql4p ^libxml2@2.10.3%gcc@13.2.0+pic~python+shared build_system=autotools arch=darwin-sonoma-m1
[+] muf3oww ^libiconv@1.17%gcc@13.2.0 build_system=autotools libs=shared,static arch=darwin-sonoma-m1
[+] 2e35uuv ^xz@5.4.1%gcc@13.2.0~pic build_system=autotools libs=shared,static arch=darwin-sonoma-m1
[+] uebg26j ^ncurses@6.4%gcc@13.2.0~symlinks+termlib abi=none build_system=autotools arch=darwin-sonoma-m1
[+] bvte3uy ^openssh@9.5p1%gcc@13.2.0+gssapi build_system=autotools patches=3505c58,d886b98 arch=darwin-sonoma-m1
[+] oketp54 ^krb5@1.20.1%gcc@13.2.0+shared build_system=autotools arch=darwin-sonoma-m1
[+] kwpxljc ^bison@3.8.2%gcc@13.2.0 build_system=autotools arch=darwin-sonoma-m1
[+] 3tv67lq ^m4@1.4.19%gcc@13.2.0+sigsegv build_system=autotools patches=9dc5fbd,bfdffa7 arch=darwin-sonoma-m1
[+] v27bzcp ^libsigsegv@2.14%gcc@13.2.0 build_system=autotools arch=darwin-sonoma-m1
[+] nornrui ^diffutils@3.9%gcc@13.2.0 build_system=autotools arch=darwin-sonoma-m1
[+] vjm3k2o ^findutils@4.9.0%gcc@13.2.0 build_system=autotools patches=440b954 arch=darwin-sonoma-m1
[+] 73pnhrn ^gettext@0.22.3%gcc@13.2.0+bzip2+curses+git~libunistring+libxml2+pic+shared+tar+xz build_system=autotools arch=darwin-sonoma-m1
[+] can6vpr ^tar@1.34%gcc@13.2.0 build_system=autotools zip=pigz arch=darwin-sonoma-m1
[+] yayvbo4 ^pigz@2.7%gcc@13.2.0 build_system=makefile arch=darwin-sonoma-m1
[+] k3ehmgf ^zstd@1.5.5%gcc@13.2.0+programs build_system=makefile compression=none libs=shared,static arch=darwin-sonoma-m1
[+] aplplbj ^libedit@3.1-20210216%gcc@13.2.0 build_system=autotools arch=darwin-sonoma-m1
[+] nqkadr6 ^libxcrypt@4.4.35%gcc@13.2.0~obsolete_api build_system=autotools patches=4885da3 arch=darwin-sonoma-m1
[+] ce5degb ^openssl@3.1.3%gcc@13.2.0~docs+shared build_system=generic certs=mozilla arch=darwin-sonoma-m1
[+] u3xylxq ^ca-certificates-mozilla@2023-05-30%gcc@13.2.0 build_system=generic arch=darwin-sonoma-m1
[+] ofcdebu ^perl@5.38.0%gcc@13.2.0+cpanm+opcode+open+shared+threads build_system=generic patches=714e4d1 arch=darwin-sonoma-m1
[+] w6nww6j ^berkeley-db@18.1.40%gcc@13.2.0+cxx~docs+stl build_system=autotools patches=26090f4,b231fcc arch=darwin-sonoma-m1
[+] rjummrn ^bzip2@1.0.8%gcc@13.2.0~debug~pic+shared build_system=generic arch=darwin-sonoma-m1
[+] z6q4bah ^gdbm@1.23%gcc@13.2.0 build_system=autotools arch=darwin-sonoma-m1
[+] fc43bvl ^readline@8.2%gcc@13.2.0 build_system=autotools patches=bbf97f1 arch=darwin-sonoma-m1
[+] swpghib ^pkgconf@1.9.5%gcc@13.2.0 build_system=autotools arch=darwin-sonoma-m1
[+] wkkrzmu ^pmix@5.0.1%gcc@13.2.0~docs+pmi_backwards_compatibility~python~restful build_system=autotools arch=darwin-sonoma-m1
[+] a4kb67w ^libevent@2.1.12%gcc@13.2.0+openssl build_system=autotools arch=darwin-sonoma-m1
[+] bxdc5jq ^autoconf@2.69%gcc@13.2.0 build_system=autotools patches=35c4492,7793209,a49dd5b arch=darwin-sonoma-m1
[+] ityqqdz ^automake@1.16.5%gcc@13.2.0 build_system=autotools arch=darwin-sonoma-m1
[+] rcssk3l ^libtool@2.4.7%gcc@13.2.0 build_system=autotools arch=darwin-sonoma-m1
[+] zph3t4z ^zlib-ng@2.1.4%gcc@13.2.0+compat+opt build_system=autotools arch=darwin-sonoma-m1
```
Steps to reproduce:
In a spack env
```bash
spack add gcc@13.2.0
spack concretize
spack install
```
Deactivate and created a new spack env. These are the contents of my package:
```yaml
# This is a Spack Environment file.
#
# It describes a set of packages to be installed, along with
# configuration settings.
spack:
# add package specs to the `specs` list
specs:
- openmpi
view: true
concretizer:
unify: true
compilers:
- compiler:
spec: gcc@=13.2.0
paths:
cc: /Users/keithhbova/spack/var/spack/environments/default/.spack-env/view/bin/gcc
cxx: /Users/keithhbova/spack/var/spack/environments/default/.spack-env/view/bin/g++
f77: /Users/keithhbova/spack/var/spack/environments/default/.spack-env/view/bin/gfortran
fc: /Users/keithhbova/spack/var/spack/environments/default/.spack-env/view/bin/gfortran
flags: {}
operating_system: sonoma
target: aarch64
modules: []
environment: {}
extra_rpaths: []
```
Then add/build cmake:
```bash
spack add cmake
spack concretize
spack install -v -j22
```
### Error message
<details><summary>Error message</summary>
<pre>
[ 82%] Building CXX object Source/CMakeFiles/CMakeLib.dir/cmLocalXCodeGenerator.cxx.o
[ 82%] Building CXX object Source/CMakeFiles/CMakeLib.dir/cmGlobalWatcomWMakeGenerator.cxx.o
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ATS.framework/Headers/ATS.h:32,
from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/ApplicationServices.framework/Headers/ApplicationServices.h:27,
from /private/var/folders/nv/nxs3xpbs20x9_r7sr_25ygb80000gn/T/keithhbova/spack-stage/spack-stage-cmake-3.27.7-6km3c52oz7suzhwptcrcfmn3ydtmi4tg/spack-src/Source/cmGlobalXCodeGenerator.cxx:62:
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ATS.framework/Headers/ATSFont.h:230:24: error: expected initializer before 'ATS_UNAVAILABLE'
230 | ATSGetGeneration(void) ATS_UNAVAILABLE;
| ^~~~~~~~~~~~~~~
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ATS.framework/Headers/ATSFont.h:370:38: error: expected initializer before 'ATS_UNAVAILABLE'
370 | ATSFontContainerRef * oContainer) ATS_UNAVAILABLE;
| ^~~~~~~~~~~~~~~
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ATS.framework/Headers/ATSFont.h:388:35: error: expected initializer before 'ATS_UNAVAILABLE'
388 | ATSOptionFlags iOptions) ATS_UNAVAILABLE;
| ^~~~~~~~~~~~~~~
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ATS.framework/Headers/ATSFont.h:480:38: error: expected initializer before 'ATS_UNAVAILABLE'
480 | ATSFontContainerRef * oContainer) ATS_UNAVAILABLE;
| ^~~~~~~~~~~~~~~
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ATS.framework/Headers/ATSFont.h:518:30: error: expected initializer before 'ATS_UNAVAILABLE'
518 | Boolean iEnabled) ATS_UNAVAILABLE;
| ^~~~~~~~~~~~~~~
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ATS.framework/Headers/ATSFont.h:544:36: error: expected initializer before 'ATS_UNAVAILABLE'
544 | ATSFontIsEnabled(ATSFontRef iFont) ATS_UNAVAILABLE;
| ^~~~~~~~~~~~~~~
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ATS.framework/Headers/ATSFont.h:564:43: error: expected initializer before 'ATS_UNAVAILABLE'
564 | void * iRefCon) ATS_UNAVAILABLE;
| ^~~~~~~~~~~~~~~
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ATS.framework/Headers/ATSFont.h:584:40: error: expected initializer before 'ATS_UNAVAILABLE'
584 | ATSFontFamilyIterator * ioIterator) ATS_UNAVAILABLE;
| ^~~~~~~~~~~~~~~
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ATS.framework/Headers/ATSFont.h:599:66: error: expected initializer before 'ATS_UNAVAILABLE'
599 | ATSFontFamilyIteratorRelease(ATSFontFamilyIterator * ioIterator) ATS_UNAVAILABLE;
| ^~~~~~~~~~~~~~~
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ATS.framework/Headers/ATSFont.h:619:63: error: expected initializer before 'ATS_UNAVAILABLE'
619 | ATSFontFamilyIterator * ioIterator) ATS_UNAVAILABLE;
| ^~~~~~~~~~~~~~~
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ATS.framework/Headers/ATSFont.h:636:63: error: expected initializer before 'ATS_UNAVAILABLE'
636 | ATSFontFamilyRef * oFamily) ATS_UNAVAILABLE;
| ^~~~~~~~~~~~~~~
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ATS.framework/Headers/ATSFont.h:653:30: error: expected initializer before 'ATS_UNAVAILABLE'
653 | ATSOptionFlags iOptions) ATS_UNAVAILABLE;
| ^~~~~~~~~~~~~~~
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ATS.framework/Headers/ATSFont.h:668:54: error: expected initializer before 'ATS_UNAVAILABLE'
668 | ATSFontFamilyGetGeneration(ATSFontFamilyRef iFamily) ATS_UNAVAILABLE;
| ^~~~~~~~~~~~~~~
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ATS.framework/Headers/ATSFont.h:686:29: error: expected initializer before 'ATS_UNAVAILABLE'
686 | CFStringRef * oName) ATS_UNAVAILABLE;
| ^~~~~~~~~~~~~~~
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ATS.framework/Headers/ATSFont.h:723:37: error: expected initializer before 'ATS_UNAVAILABLE'
723 | void * iRefCon) ATS_UNAVAILABLE;
| ^~~~~~~~~~~~~~~
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ATS.framework/Headers/ATSFont.h:744:38: error: expected initializer before 'ATS_UNAVAILABLE'
744 | ATSFontIterator * ioIterator) ATS_UNAVAILABLE;
| ^~~~~~~~~~~~~~~
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ATS.framework/Headers/ATSFont.h:759:63: error: expected initializer before 'ATS_UNAVAILABLE'
759 | ATSFontIteratorRelease(ATSFontIterator * ioIterator) ATS_UNAVAILABLE;
| ^~~~~~~~~~~~~~~
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ATS.framework/Headers/ATSFont.h:779:63: error: expected initializer before 'ATS_UNAVAILABLE'
779 | ATSFontIterator * ioIterator) ATS_UNAVAILABLE;
| ^~~~~~~~~~~~~~~
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ATS.framework/Headers/ATSFont.h:796:63: error: expected initializer before 'ATS_UNAVAILABLE'
796 | ATSFontRef * oFont) ATS_UNAVAILABLE;
| ^~~~~~~~~~~~~~~
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ATS.framework/Headers/ATSFont.h:813:31: error: expected initializer before 'ATS_UNAVAILABLE'
813 | ATSOptionFlags iOptions) ATS_UNAVAILABLE;
| ^~~~~~~~~~~~~~~
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ATS.framework/Headers/ATSFont.h:830:30: error: expected initializer before 'ATS_UNAVAILABLE'
830 | ATSOptionFlags iOptions) ATS_UNAVAILABLE;
| ^~~~~~~~~~~~~~~
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ATS.framework/Headers/ATSFont.h:850:34: error: expected initializer before 'ATS_UNAVAILABLE'
850 | ItemCount * oCount) ATS_UNAVAILABLE;
| ^~~~~~~~~~~~~~~
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ATS.framework/Headers/ATSFont.h:865:40: error: expected initializer before 'ATS_UNAVAILABLE'
865 | ATSFontGetGeneration(ATSFontRef iFont) ATS_UNAVAILABLE;
| ^~~~~~~~~~~~~~~
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ATS.framework/Headers/ATSFont.h:883:27: error: expected initializer before 'ATS_UNAVAILABLE'
883 | CFStringRef * oName) ATS_UNAVAILABLE;
| ^~~~~~~~~~~~~~~
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ATS.framework/Headers/ATSFont.h:901:27: error: expected initializer before 'ATS_UNAVAILABLE'
901 | CFStringRef * oName) ATS_UNAVAILABLE;
| ^~~~~~~~~~~~~~~
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ATS.framework/Headers/ATSFont.h:920:53: error: expected initializer before 'ATS_UNAVAILABLE'
920 | ByteCount * oSize) /* can be NULL */ ATS_UNAVAILABLE;
| ^~~~~~~~~~~~~~~
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ATS.framework/Headers/ATSFont.h:941:55: error: expected initializer before 'ATS_UNAVAILABLE'
941 | ByteCount * oSize) /* can be NULL */ ATS_UNAVAILABLE;
| ^~~~~~~~~~~~~~~
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ATS.framework/Headers/ATSFont.h:959:31: error: expected initializer before 'ATS_UNAVAILABLE'
959 | ATSFontMetrics * oMetrics) ATS_UNAVAILABLE;
| ^~~~~~~~~~~~~~~
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ATS.framework/Headers/ATSFont.h:977:31: error: expected initializer before 'ATS_UNAVAILABLE'
977 | ATSFontMetrics * oMetrics) ATS_UNAVAILABLE;
| ^~~~~~~~~~~~~~~
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ATS.framework/Headers/ATSFont.h:995:60: error: expected initializer before 'ATS_UNAVAILABLE'
995 | ATSFontFamilyFindFromQuickDrawName(ConstStr255Param iName) ATS_UNAVAILABLE;
| ^~~~~~~~~~~~~~~
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ATS.framework/Headers/ATSFont.h:1012:29: error: expected initializer before 'ATS_UNAVAILABLE'
1012 | Str255 oName) ATS_UNAVAILABLE;
| ^~~~~~~~~~~~~~~
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ATS.framework/Headers/ATSFont.h:1108:54: error: expected initializer before 'ATS_UNAVAILABLE'
1108 | ByteCount * oSize) /* can be NULL */ ATS_UNAVAILABLE;
| ^~~~~~~~~~~~~~~
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ATS.framework/Headers/ATSFont.h:1146:57: error: expected initializer before 'ATS_UNAVAILABLE'
1146 | void * info) /* can be NULL */ ATS_UNAVAILABLE;
| ^~~~~~~~~~~~~~~
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ATS.framework/Headers/ATSFont.h:1193:71: error: expected initializer before 'ATS_UNAVAILABLE'
1193 | ATSFontNotificationRef * oNotificationRef) /* can be NULL */ ATS_UNAVAILABLE;
| ^~~~~~~~~~~~~~~
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ATS.framework/Headers/ATSFont.h:1225:72: error: expected initializer before 'ATS_UNAVAILABLE'
1225 | ATSFontNotificationUnsubscribe(ATSFontNotificationRef notificationRef) ATS_UNAVAILABLE;
| ^~~~~~~~~~~~~~~
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ATS.framework/Headers/ATSFont.h:1353:75: error: expected initializer before 'ATS_UNAVAILABLE'
1353 | const ATSFontQuerySourceContext * context) /* can be NULL */ ATS_UNAVAILABLE;
| ^~~~~~~~~~~~~~~
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ATS.framework/Headers/ATSFont.h:1514:78: error: expected initializer before 'ATS_UNAVAILABLE'
1514 | ATSFontSetGlobalAutoActivationSetting(ATSFontAutoActivationSetting iSetting) ATS_UNAVAILABLE;
| ^~~~~~~~~~~~~~~
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ATS.framework/Headers/ATSFont.h:1536:45: error: expected initializer before 'ATS_UNAVAILABLE'
1536 | ATSFontGetGlobalAutoActivationSetting(void) ATS_UNAVAILABLE;
| ^~~~~~~~~~~~~~~
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ATS.framework/Headers/ATSFont.h:1579:55: error: expected initializer before 'ATS_UNAVAILABLE'
1579 | CFURLRef iApplicationFileURL) ATS_UNAVAILABLE;
| ^~~~~~~~~~~~~~~
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ATS.framework/Headers/ATSFont.h:1614:78: error: expected initializer before 'ATS_UNAVAILABLE'
1614 | ATSFontGetAutoActivationSettingForApplication(CFURLRef iApplicationFileURL) ATS_UNAVAILABLE;
| ^~~~~~~~~~~~~~~
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGContext.h:21,
from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGBitmapContext.h:9,
from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.h:11,
from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/ApplicationServices.framework/Headers/ApplicationServices.h:35:
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGPath.h:392:15: error: expected unqualified-id before '^' token
392 | typedef void (^CGPathApplyBlock)(const CGPathElement * element);
| ^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGPath.h:392:15: error: expected ')' before '^' token
392 | typedef void (^CGPathApplyBlock)(const CGPathElement * element);
| ~^
| )
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGPath.h:394:53: error: 'CGPathApplyBlock' has not been declared
394 | CG_EXTERN void CGPathApplyWithBlock(CGPathRef path, CGPathApplyBlock CF_NOESCAPE block)
| ^~~~~~~~~~~~~~~~
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGPDFDictionary.h:14,
from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGPDFPage.h:15,
from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGPDFDocument.h:16,
from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGContext.h:23:
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGPDFArray.h:103:15: error: expected unqualified-id before '^' token
103 | typedef bool (^CGPDFArrayApplierBlock)(size_t index,
| ^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGPDFArray.h:103:15: error: expected ')' before '^' token
103 | typedef bool (^CGPDFArrayApplierBlock)(size_t index,
| ~^
| )
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGPDFArray.h:113:5: error: 'CGPDFArrayApplierBlock' has not been declared
113 | CGPDFArrayApplierBlock cg_nullable block, void * __nullable info)
| ^~~~~~~~~~~~~~~~~~~~~~
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGPDFDictionary.h:116:15: error: expected unqualified-id before '^' token
116 | typedef bool (^CGPDFDictionaryApplierBlock)(const char * key,
| ^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGPDFDictionary.h:116:15: error: expected ')' before '^' token
116 | typedef bool (^CGPDFDictionaryApplierBlock)(const char * key,
| ~^
| )
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGPDFDictionary.h:126:5: error: 'CGPDFDictionaryApplierBlock' has not been declared
126 | CGPDFDictionaryApplierBlock cg_nullable block, void * __nullable info)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/ImageIO.framework/Headers/ImageIO.h:20,
from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/ApplicationServices.framework/Headers/ApplicationServices.h:47:
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/ImageIO.framework/Headers/CGImageAnimation.h:42:15: error: expected unqualified-id before '^' token
42 | typedef void (^CGImageSourceAnimationBlock)(size_t index, CGImageRef image, bool* stop);
| ^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/ImageIO.framework/Headers/CGImageAnimation.h:42:15: error: expected ')' before '^' token
42 | typedef void (^CGImageSourceAnimationBlock)(size_t index, CGImageRef image, bool* stop);
| ~^
| )
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/ImageIO.framework/Headers/CGImageAnimation.h:50:107: error: 'CGImageSourceAnimationBlock' has not been declared
50 | IMAGEIO_EXTERN OSStatus CGAnimateImageAtURLWithBlock(CFURLRef url, CFDictionaryRef _iio_Nullable options, CGImageSourceAnimationBlock block) IMAGEIO_AVAILABLE_STARTING(10.15, 13.0);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/ImageIO.framework/Headers/CGImageAnimation.h:58:108: error: 'CGImageSourceAnimationBlock' has not been declared
58 | IMAGEIO_EXTERN OSStatus CGAnimateImageDataWithBlock(CFDataRef data, CFDictionaryRef _iio_Nullable options, CGImageSourceAnimationBlock block) IMAGEIO_AVAILABLE_STARTING(10.15, 13.0);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
make[2]: *** [Source/CMakeFiles/CMakeLib.dir/cmGlobalXCodeGenerator.cxx.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[1]: *** [Source/CMakeFiles/CMakeLib.dir/all] Error 2
make: *** [all] Error 2
==> Error: ProcessError: Command exited with status 2:
'make' '-j22'
56 errors found in build log:
1646 [ 82%] Building CXX object Source/CMakeFiles/CMakeLib.dir/cmGlobalXCodeGenerator.cxx.o
1647 [ 82%] Building CXX object Source/CMakeFiles/CMakeLib.dir/cmLocalXCodeGenerator.cxx.o
1648 [ 82%] Building CXX object Source/CMakeFiles/CMakeLib.dir/cmGlobalWatcomWMakeGenerator.cxx.o
1649 In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ATS.framework/Headers/ATS.h:32,
1650 from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/ApplicationServices.framework/Headers/ApplicationServices.h:27,
1651 from /private/var/folders/nv/nxs3xpbs20x9_r7sr_25ygb80000gn/T/keithhbova/spack-stage/spack-stage-cmake-3.27.7-6km3c52oz7suzhwptcrcfmn3ydtmi4tg/spack-src/Sou
rce/cmGlobalXCodeGenerator.cxx:62:
>> 1652 /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ATS.framework/Headers/ATSFont.h:230:24: error: expecte
d initializer before 'ATS_UNAVAILABLE'
1653 230 | ATSGetGeneration(void) ATS_UNAVAILABLE;
1654 | ^~~~~~~~~~~~~~~
>> 1655 /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ATS.framework/Headers/ATSFont.h:370:38: error: expecte
d initializer before 'ATS_UNAVAILABLE'
1656 370 | ATSFontContainerRef * oContainer) ATS_UNAVAILABLE;
1657 | ^~~~~~~~~~~~~~~
>> 1658 /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ATS.framework/Headers/ATSFont.h:388:35: error: expecte
d initializer before 'ATS_UNAVAILABLE'
1659 388 | ATSOptionFlags iOptions) ATS_UNAVAILABLE;
1660 | ^~~~~~~~~~~~~~~
>> 1661 /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ATS.framework/Headers/ATSFont.h:480:38: error: expecte
d initializer before 'ATS_UNAVAILABLE'
1662 480 | ATSFontContainerRef * oContainer) ATS_UNAVAILABLE;
1663 | ^~~~~~~~~~~~~~~
>> 1664 /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ATS.framework/Headers/ATSFont.h:518:30: error: expecte
d initializer before 'ATS_UNAVAILABLE'
1665 518 | Boolean iEnabled) ATS_UNAVAILABLE;
1666 | ^~~~~~~~~~~~~~~
>> 1667 /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ATS.framework/Headers/ATSFont.h:544:36: error: expecte
d initializer before 'ATS_UNAVAILABLE'
1668 544 | ATSFontIsEnabled(ATSFontRef iFont) ATS_UNAVAILABLE;
1669 | ^~~~~~~~~~~~~~~
>> 1670 /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ATS.framework/Headers/ATSFont.h:564:43: error: expecte
d initializer before 'ATS_UNAVAILABLE'
1671 564 | void * iRefCon) ATS_UNAVAILABLE;
1672 | ^~~~~~~~~~~~~~~
>> 1673 /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ATS.framework/Headers/ATSFont.h:584:40: error: expecte
d initializer before 'ATS_UNAVAILABLE'
1674 584 | ATSFontFamilyIterator * ioIterator) ATS_UNAVAILABLE;
1675 | ^~~~~~~~~~~~~~~
>> 1676 /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ATS.framework/Headers/ATSFont.h:599:66: error: expecte
d initializer before 'ATS_UNAVAILABLE'
1677 599 | ATSFontFamilyIteratorRelease(ATSFontFamilyIterator * ioIterator) ATS_UNAVAILABLE;
1678 | ^~~~~~~~~~~~~~~
>> 1679 /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ATS.framework/Headers/ATSFont.h:619:63: error: expecte
d initializer before 'ATS_UNAVAILABLE'
1680 619 | ATSFontFamilyIterator * ioIterator) ATS_UNAVAILABLE;
1681 | ^~~~~~~~~~~~~~~
>> 1682 /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ATS.framework/Headers/ATSFont.h:636:63: error: expecte
d initializer before 'ATS_UNAVAILABLE'
1683 636 | ATSFontFamilyRef * oFamily) ATS_UNAVAILABLE;
1684 | ^~~~~~~~~~~~~~~
>> 1685 /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ATS.framework/Headers/ATSFont.h:653:30: error: expecte
d initializer before 'ATS_UNAVAILABLE'
1686 653 | ATSOptionFlags iOptions) ATS_UNAVAILABLE;
1687 | ^~~~~~~~~~~~~~~
>> 1688 /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ATS.framework/Headers/ATSFont.h:668:54: error: expecte
d initializer before 'ATS_UNAVAILABLE'
1689 668 | ATSFontFamilyGetGeneration(ATSFontFamilyRef iFamily) ATS_UNAVAILABLE;
1690 | ^~~~~~~~~~~~~~~
>> 1691 /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ATS.framework/Headers/ATSFont.h:686:29: error: expecte
d initializer before 'ATS_UNAVAILABLE'
1692 686 | CFStringRef * oName) ATS_UNAVAILABLE;
1693 | ^~~~~~~~~~~~~~~
>> 1694 /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ATS.framework/Headers/ATSFont.h:723:37: error: expecte
d initializer before 'ATS_UNAVAILABLE'
1695 723 | void * iRefCon) ATS_UNAVAILABLE;
1696 | ^~~~~~~~~~~~~~~
>> 1697 /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ATS.framework/Headers/ATSFont.h:744:38: error: expecte
d initializer before 'ATS_UNAVAILABLE'
1698 744 | ATSFontIterator * ioIterator) ATS_UNAVAILABLE;
1699 | ^~~~~~~~~~~~~~~
>> 1700 /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ATS.framework/Headers/ATSFont.h:759:63: error: expecte
d initializer before 'ATS_UNAVAILABLE'
1701 759 | ATSFontIteratorRelease(ATSFontIterator * ioIterator) ATS_UNAVAILABLE;
1702 | ^~~~~~~~~~~~~~~
>> 1703 /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ATS.framework/Headers/ATSFont.h:779:63: error: expecte
d initializer before 'ATS_UNAVAILABLE'
1704 779 | ATSFontIterator * ioIterator) ATS_UNAVAILABLE;
1705 | ^~~~~~~~~~~~~~~
>> 1706 /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ATS.framework/Headers/ATSFont.h:796:63: error: expecte
d initializer before 'ATS_UNAVAILABLE'
1707 796 | ATSFontRef * oFont) ATS_UNAVAILABLE;
1708 | ^~~~~~~~~~~~~~~
>> 1709 /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ATS.framework/Headers/ATSFont.h:813:31: error: expecte
d initializer before 'ATS_UNAVAILABLE'
1710 813 | ATSOptionFlags iOptions) ATS_UNAVAILABLE;
1711 | ^~~~~~~~~~~~~~~
>> 1712 /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ATS.framework/Headers/ATSFont.h:830:30: error: expecte
d initializer before 'ATS_UNAVAILABLE'
1713 830 | ATSOptionFlags iOptions) ATS_UNAVAILABLE;
1714 | ^~~~~~~~~~~~~~~
>> 1715 /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ATS.framework/Headers/ATSFont.h:850:34: error: expecte
d initializer before 'ATS_UNAVAILABLE'
1716 850 | ItemCount * oCount) ATS_UNAVAILABLE;
1717 | ^~~~~~~~~~~~~~~
>> 1718 /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ATS.framework/Headers/ATSFont.h:865:40: error: expecte
d initializer before 'ATS_UNAVAILABLE'
1719 865 | ATSFontGetGeneration(ATSFontRef iFont) ATS_UNAVAILABLE;
1720 | ^~~~~~~~~~~~~~~
>> 1721 /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ATS.framework/Headers/ATSFont.h:883:27: error: expecte
d initializer before 'ATS_UNAVAILABLE'
1722 883 | CFStringRef * oName) ATS_UNAVAILABLE;
1723 | ^~~~~~~~~~~~~~~
>> 1724 /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ATS.framework/Headers/ATSFont.h:901:27: error: expecte
d initializer before 'ATS_UNAVAILABLE'
1725 901 | CFStringRef * oName) ATS_UNAVAILABLE;
1726 | ^~~~~~~~~~~~~~~
>> 1727 /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ATS.framework/Headers/ATSFont.h:920:53: error: expecte
d initializer before 'ATS_UNAVAILABLE'
1728 920 | ByteCount * oSize) /* can be NULL */ ATS_UNAVAILABLE;
1729 | ^~~~~~~~~~~~~~~
>> 1730 /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ATS.framework/Headers/ATSFont.h:941:55: error: expecte
d initializer before 'ATS_UNAVAILABLE'
1731 941 | ByteCount * oSize) /* can be NULL */ ATS_UNAVAILABLE;
1732 | ^~~~~~~~~~~~~~~
>> 1733 /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ATS.framework/Headers/ATSFont.h:959:31: error: expecte
d initializer before 'ATS_UNAVAILABLE'
1734 959 | ATSFontMetrics * oMetrics) ATS_UNAVAILABLE;
1735 | ^~~~~~~~~~~~~~~
>> 1736 /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ATS.framework/Headers/ATSFont.h:977:31: error: expecte
d initializer before 'ATS_UNAVAILABLE'
1737 977 | ATSFontMetrics * oMetrics) ATS_UNAVAILABLE;
1738 | ^~~~~~~~~~~~~~~
>> 1739 /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ATS.framework/Headers/ATSFont.h:995:60: error: expecte
d initializer before 'ATS_UNAVAILABLE'
1740 995 | ATSFontFamilyFindFromQuickDrawName(ConstStr255Param iName) ATS_UNAVAILABLE;
1741 | ^~~~~~~~~~~~~~~
>> 1742 /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ATS.framework/Headers/ATSFont.h:1012:29: error: expect
ed initializer before 'ATS_UNAVAILABLE'
1743 1012 | Str255 oName) ATS_UNAVAILABLE;
1744 | ^~~~~~~~~~~~~~~
>> 1745 /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ATS.framework/Headers/ATSFont.h:1108:54: error: expect
ed initializer before 'ATS_UNAVAILABLE'
1746 1108 | ByteCount * oSize) /* can be NULL */ ATS_UNAVAILABLE;
1747 | ^~~~~~~~~~~~~~~
>> 1748 /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ATS.framework/Headers/ATSFont.h:1146:57: error: expect
ed initializer before 'ATS_UNAVAILABLE'
1749 1146 | void * info) /* can be NULL */ ATS_UNAVAILABLE;
1750 | ^~~~~~~~~~~~~~~
>> 1751 /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ATS.framework/Headers/ATSFont.h:1193:71: error: expect
ed initializer before 'ATS_UNAVAILABLE'
1752 1193 | ATSFontNotificationRef * oNotificationRef) /* can be NULL */ ATS_UNAVAILABLE;
1753 | ^~~~~~~~~~~~~~~
>> 1754 /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ATS.framework/Headers/ATSFont.h:1225:72: error: expect
ed initializer before 'ATS_UNAVAILABLE'
1755 1225 | ATSFontNotificationUnsubscribe(ATSFontNotificationRef notificationRef) ATS_UNAVAILABLE;
1756 | ^~~~~~~~~~~~~~~
>> 1757 /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ATS.framework/Headers/ATSFont.h:1353:75: error: expect
ed initializer before 'ATS_UNAVAILABLE'
1758 1353 | const ATSFontQuerySourceContext * context) /* can be NULL */ ATS_UNAVAILABLE;
1759 | ^~~~~~~~~~~~~~~
>> 1760 /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ATS.framework/Headers/ATSFont.h:1514:78: error: expect
ed initializer before 'ATS_UNAVAILABLE'
1761 1514 | ATSFontSetGlobalAutoActivationSetting(ATSFontAutoActivationSetting iSetting) ATS_UNAVAILABLE;
1762 | ^~~~~~~~~~~~~~~
>> 1763 /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ATS.framework/Headers/ATSFont.h:1536:45: error: expect
ed initializer before 'ATS_UNAVAILABLE'
1764 1536 | ATSFontGetGlobalAutoActivationSetting(void) ATS_UNAVAILABLE;
1765 | ^~~~~~~~~~~~~~~
>> 1766 /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ATS.framework/Headers/ATSFont.h:1579:55: error: expect
ed initializer before 'ATS_UNAVAILABLE'
1767 1579 | CFURLRef iApplicationFileURL) ATS_UNAVAILABLE;
1768 | ^~~~~~~~~~~~~~~
>> 1769 /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ATS.framework/Headers/ATSFont.h:1614:78: error: expect
ed initializer before 'ATS_UNAVAILABLE'
1770 1614 | ATSFontGetAutoActivationSettingForApplication(CFURLRef iApplicationFileURL) ATS_UNAVAILABLE;
1771 | ^~~~~~~~~~~~~~~
1772 In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGContext.h:21,
1773 from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGBitmapContext.h:9,
1774 from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.h:11,
1775 from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/ApplicationServices.framework/Headers/ApplicationServices.h:35:
>> 1776 /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGPath.h:392:15: error: expected unqualified-id before '^' token
1777 392 | typedef void (^CGPathApplyBlock)(const CGPathElement * element);
1778 | ^
>> 1779 /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGPath.h:392:15: error: expected ')' before '^' token
1780 392 | typedef void (^CGPathApplyBlock)(const CGPathElement * element);
1781 | ~^
1782 | )
>> 1783 /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGPath.h:394:53: error: 'CGPathApplyBlock' has not been declared
1784 394 | CG_EXTERN void CGPathApplyWithBlock(CGPathRef path, CGPathApplyBlock CF_NOESCAPE block)
1785 | ^~~~~~~~~~~~~~~~
1786 In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGPDFDictionary.h:14,
1787 from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGPDFPage.h:15,
1788 from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGPDFDocument.h:16,
1789 from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGContext.h:23:
>> 1790 /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGPDFArray.h:103:15: error: expected unqualified-id before '^' t
oken
1791 103 | typedef bool (^CGPDFArrayApplierBlock)(size_t index,
1792 | ^
>> 1793 /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGPDFArray.h:103:15: error: expected ')' before '^' token
1794 103 | typedef bool (^CGPDFArrayApplierBlock)(size_t index,
1795 | ~^
1796 | )
>> 1797 /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGPDFArray.h:113:5: error: 'CGPDFArrayApplierBlock' has not been
declared
1798 113 | CGPDFArrayApplierBlock cg_nullable block, void * __nullable info)
1799 | ^~~~~~~~~~~~~~~~~~~~~~
>> 1800 /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGPDFDictionary.h:116:15: error: expected unqualified-id before
'^' token
1801 116 | typedef bool (^CGPDFDictionaryApplierBlock)(const char * key,
1802 | ^
>> 1803 /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGPDFDictionary.h:116:15: error: expected ')' before '^' token
1804 116 | typedef bool (^CGPDFDictionaryApplierBlock)(const char * key,
1805 | ~^
1806 | )
>> 1807 /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGPDFDictionary.h:126:5: error: 'CGPDFDictionaryApplierBlock' ha
s not been declared
1808 126 | CGPDFDictionaryApplierBlock cg_nullable block, void * __nullable info)
1809 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~
1810 In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/ImageIO.framework/Headers/ImageIO.h:20,
1811 from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/ApplicationServices.framework/Headers/ApplicationServices.h:47:
>> 1812 /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/ImageIO.framework/Headers/CGImageAnimation.h:42:15: error: expected unqualified-id before '^' t
oken
1813 42 | typedef void (^CGImageSourceAnimationBlock)(size_t index, CGImageRef image, bool* stop);
1814 | ^
>> 1815 /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/ImageIO.framework/Headers/CGImageAnimation.h:42:15: error: expected ')' before '^' token
1816 42 | typedef void (^CGImageSourceAnimationBlock)(size_t index, CGImageRef image, bool* stop);
1817 | ~^
1818 | )
>> 1819 /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/ImageIO.framework/Headers/CGImageAnimation.h:50:107: error: 'CGImageSourceAnimationBlock' has n
ot been declared
1820 50 | IMAGEIO_EXTERN OSStatus CGAnimateImageAtURLWithBlock(CFURLRef url, CFDictionaryRef _iio_Nullable options, CGImageSourceAnimationBlock block) IMAGEIO_AVAILABLE_STARTI
NG(10.15, 13.0);
1821 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~
>> 1822 /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/ImageIO.framework/Headers/CGImageAnimation.h:58:108: error: 'CGImageSourceAnimationBlock' has n
ot been declared
1823 58 | IMAGEIO_EXTERN OSStatus CGAnimateImageDataWithBlock(CFDataRef data, CFDictionaryRef _iio_Nullable options, CGImageSourceAnimationBlock block) IMAGEIO_AVAILABLE_START
ING(10.15, 13.0);
1824 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~
>> 1825 make[2]: *** [Source/CMakeFiles/CMakeLib.dir/cmGlobalXCodeGenerator.cxx.o] Error 1
1826 make[2]: *** Waiting for unfinished jobs....
>> 1827 make[1]: *** [Source/CMakeFiles/CMakeLib.dir/all] Error 2
>> 1828 make: *** [all] Error 2
See build log for details:
/var/folders/nv/nxs3xpbs20x9_r7sr_25ygb80000gn/T/keithhbova/spack-stage/spack-stage-cmake-3.27.7-6km3c52oz7suzhwptcrcfmn3ydtmi4tg/spack-build-out.txt
</pre></details>
### Information on your system
* **Spack:** 0.21.0 (65d3221a9c436e77af9e802e543c71bd702ff4e2)
* **Python:** 3.9.6
* **Platform:** darwin-sonoma-m1
* **Concretizer:** clingo
### Additional information
CPU is actually a m3-pro
Link to the thread with cmake:
https://discourse.cmake.org/t/fatal-bug-in-master-december-26-2023/9719
Maintainers:
@alalazo
### General information
- [X] I have run `spack debug report` and reported the version of Spack/Python/Platform
- [X] I have run `spack maintainers <name-of-the-package>` and **@mentioned** any maintainers
- [X] I have uploaded the build log and environment files
- [X] I have searched the issues of this repo and believe this is not a duplicate