Build Information
Failed to build Cairo, reference master (646b21
), with Swift 6.2 (beta) for macOS (SPM) on 22 Jun 2025 17:03:46 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun swift build --arch arm64
Build Log
========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/pureswift/cairo.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/pureswift/cairo
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at 646b210 Updated dependencies
Cloned https://github.com/pureswift/cairo.git
Revision (git rev-parse @):
646b2104cf9d2b7b111bad1cd17a3fd27d77b5b4
SUCCESS checkout https://github.com/pureswift/cairo.git at master
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.2
Building package at path: $PWD
https://github.com/pureswift/cairo.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun swift build --arch arm64
Building for debugging...
[0/3] Write sources
[2/3] Write swift-version-1EA4D86E10B52AF.txt
[4/9] Compiling FontConfig FontWidth.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
1 | #import "shim.h"
| `- note: in file included from <module-includes>:1:
2 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/FontConfig/Sources/CFontConfig/shim.h:1:10: error: 'fontconfig/fontconfig.h' file not found
1 | #include <fontconfig/fontconfig.h>
| `- error: 'fontconfig/fontconfig.h' file not found
2 | #include <fontconfig/fcfreetype.h>
3 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/FontConfig/Sources/FontConfig/FontConfig.swift:8:8: error: could not build Objective-C module 'CFontConfig'
6 | //
7 |
8 | import CFontConfig
| `- error: could not build Objective-C module 'CFontConfig'
9 |
10 | public final class FontConfiguration {
[5/9] Compiling FontConfig Pattern.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
1 | #import "shim.h"
| `- note: in file included from <module-includes>:1:
2 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/FontConfig/Sources/CFontConfig/shim.h:1:10: error: 'fontconfig/fontconfig.h' file not found
1 | #include <fontconfig/fontconfig.h>
| `- error: 'fontconfig/fontconfig.h' file not found
2 | #include <fontconfig/fcfreetype.h>
3 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/FontConfig/Sources/FontConfig/FontConfig.swift:8:8: error: could not build Objective-C module 'CFontConfig'
6 | //
7 |
8 | import CFontConfig
| `- error: could not build Objective-C module 'CFontConfig'
9 |
10 | public final class FontConfiguration {
error: emit-module command failed with exit code 1 (use -v to see invocation)
[6/9] Emitting module FontConfig
<module-includes>:1:9: note: in file included from <module-includes>:1:
1 | #import "shim.h"
| `- note: in file included from <module-includes>:1:
2 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/FontConfig/Sources/CFontConfig/shim.h:1:10: error: 'fontconfig/fontconfig.h' file not found
1 | #include <fontconfig/fontconfig.h>
| `- error: 'fontconfig/fontconfig.h' file not found
2 | #include <fontconfig/fcfreetype.h>
3 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/FontConfig/Sources/FontConfig/FontConfig.swift:8:8: error: could not build Objective-C module 'CFontConfig'
6 | //
7 |
8 | import CFontConfig
| `- error: could not build Objective-C module 'CFontConfig'
9 |
10 | public final class FontConfiguration {
[7/9] Compiling FontConfig FontSlant.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
1 | #import "shim.h"
| `- note: in file included from <module-includes>:1:
2 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/FontConfig/Sources/CFontConfig/shim.h:1:10: error: 'fontconfig/fontconfig.h' file not found
1 | #include <fontconfig/fontconfig.h>
| `- error: 'fontconfig/fontconfig.h' file not found
2 | #include <fontconfig/fcfreetype.h>
3 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/FontConfig/Sources/FontConfig/FontConfig.swift:8:8: error: could not build Objective-C module 'CFontConfig'
6 | //
7 |
8 | import CFontConfig
| `- error: could not build Objective-C module 'CFontConfig'
9 |
10 | public final class FontConfiguration {
[8/9] Compiling FontConfig FontConfig.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
1 | #import "shim.h"
| `- note: in file included from <module-includes>:1:
2 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/FontConfig/Sources/CFontConfig/shim.h:1:10: error: 'fontconfig/fontconfig.h' file not found
1 | #include <fontconfig/fontconfig.h>
| `- error: 'fontconfig/fontconfig.h' file not found
2 | #include <fontconfig/fcfreetype.h>
3 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/FontConfig/Sources/FontConfig/FontConfig.swift:8:8: error: could not build Objective-C module 'CFontConfig'
6 | //
7 |
8 | import CFontConfig
| `- error: could not build Objective-C module 'CFontConfig'
9 |
10 | public final class FontConfiguration {
[9/9] Compiling FontConfig FontWeight.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
1 | #import "shim.h"
| `- note: in file included from <module-includes>:1:
2 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/FontConfig/Sources/CFontConfig/shim.h:1:10: error: 'fontconfig/fontconfig.h' file not found
1 | #include <fontconfig/fontconfig.h>
| `- error: 'fontconfig/fontconfig.h' file not found
2 | #include <fontconfig/fcfreetype.h>
3 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/FontConfig/Sources/FontConfig/FontConfig.swift:8:8: error: could not build Objective-C module 'CFontConfig'
6 | //
7 |
8 | import CFontConfig
| `- error: could not build Objective-C module 'CFontConfig'
9 |
10 | public final class FontConfiguration {
Fetching https://github.com/PureSwift/FontConfig.git
[1/123] Fetching fontconfig
Fetched https://github.com/PureSwift/FontConfig.git from cache (0.64s)
Creating working copy for https://github.com/PureSwift/FontConfig.git
Working copy of https://github.com/PureSwift/FontConfig.git resolved at master (02b7b62)
warning: failed to retrieve search paths with pkg-config; maybe pkg-config is not installed
warning: you may be able to install cairo using your system-packager:
brew install cairo
warning: you may be able to install freetype using your system-packager:
brew install freetype2
warning: you may be able to install fontconfig using your system-packager:
brew install fontconfig
warning: you may be able to install cairo using your system-packager:
brew install cairo
warning: you may be able to install freetype using your system-packager:
brew install freetype2
warning: you may be able to install fontconfig using your system-packager:
brew install fontconfig
BUILD FAILURE 6.2 macosSpm