Build Information
Failed to build FontConfig, reference master (02b7b6
), with Swift 6.2 (beta) for macOS (SPM) on 22 Jun 2025 17:10:29 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/FontConfig.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/PureSwift/FontConfig
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at 02b7b62 Add GitHub CI
Cloned https://github.com/PureSwift/FontConfig.git
Revision (git rev-parse @):
02b7b628cfff1406731dde5e912e020f0f6f00c1
SUCCESS checkout https://github.com/PureSwift/FontConfig.git at master
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.2
Building package at path: $PWD
https://github.com/PureSwift/FontConfig.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun swift build --arch arm64
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-1EA4D86E10B52AF.txt
[3/8] 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/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/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 {
[4/8] 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/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/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/8] 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/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/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/8] 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/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/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/8] 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/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/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/8] 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/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/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 {
warning: failed to retrieve search paths with pkg-config; maybe pkg-config is not installed
warning: you may be able to install fontconfig using your system-packager:
brew install fontconfig
warning: you may be able to install fontconfig using your system-packager:
brew install fontconfig
BUILD FAILURE 6.2 macosSpm