Build Information
Failed to build Cairo, reference 1.3.0 (b31d64), with Swift 6.3 for macOS (SPM) on 21 Apr 2026 14:22:34 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-26.4.0.app xcrun swift build --arch arm64Build Log
========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/aestesis/Cairo.git
Reference: 1.3.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/aestesis/Cairo
* tag 1.3.0 -> FETCH_HEAD
HEAD is now at b31d649 fixed
Cloned https://github.com/aestesis/Cairo.git
Revision (git rev-parse @):
b31d64995170299b0c086c9cd0eea8f6649dec49
SUCCESS checkout https://github.com/aestesis/Cairo.git at 1.3.0
Fetching https://github.com/aestesis/CCairo.git
[1/412] Fetching ccairo
Fetched https://github.com/aestesis/CCairo.git from cache (1.05s)
Fetching https://github.com/aestesis/CFontConfig.git
[1/45] Fetching cfontconfig
Fetched https://github.com/aestesis/CFontConfig.git from cache (0.54s)
Fetching https://github.com/aestesis/CFreeType.git
[1/39] Fetching cfreetype
Fetched https://github.com/aestesis/CFreeType.git from cache (0.60s)
Creating working copy for https://github.com/aestesis/CFreeType.git
Working copy of https://github.com/aestesis/CFreeType.git resolved at master (3442374)
Creating working copy for https://github.com/aestesis/CFontConfig.git
Working copy of https://github.com/aestesis/CFontConfig.git resolved at master (c89a356)
Creating working copy for https://github.com/aestesis/CCairo.git
Working copy of https://github.com/aestesis/CCairo.git resolved at master (86cb03f)
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
"identity": ".resolve-product-dependencies",
"name": "resolve-dependencies",
"url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"traits": [
"default"
],
"dependencies": [
{
"identity": "cairo",
"name": "Cairo",
"url": "https://github.com/aestesis/Cairo.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Cairo",
"traits": [
"default"
],
"dependencies": [
{
"identity": "ccairo",
"name": "CCairo",
"url": "https://github.com/aestesis/CCairo.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/CCairo",
"traits": [
"default"
],
"dependencies": [
]
},
{
"identity": "cfontconfig",
"name": "CFontConfig",
"url": "https://github.com/aestesis/CFontConfig.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/CFontConfig",
"traits": [
"default"
],
"dependencies": [
]
},
{
"identity": "cfreetype",
"name": "CFreeType",
"url": "https://github.com/aestesis/CFreeType.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/CFreeType",
"traits": [
"default"
],
"dependencies": [
]
}
]
}
]
}
Fetching https://github.com/aestesis/Cairo.git
[1/3464] Fetching cairo
Fetched https://github.com/aestesis/Cairo.git from cache (1.95s)
Fetching https://github.com/aestesis/CCairo.git from cache
Fetched https://github.com/aestesis/CCairo.git from cache (0.46s)
Fetching https://github.com/aestesis/CFontConfig.git from cache
Fetched https://github.com/aestesis/CFontConfig.git from cache (0.49s)
Fetching https://github.com/aestesis/CFreeType.git from cache
Fetched https://github.com/aestesis/CFreeType.git from cache (0.46s)
Creating working copy for https://github.com/aestesis/CFreeType.git
Working copy of https://github.com/aestesis/CFreeType.git resolved at master (3442374)
Creating working copy for https://github.com/aestesis/CFontConfig.git
Working copy of https://github.com/aestesis/CFontConfig.git resolved at master (c89a356)
Creating working copy for https://github.com/aestesis/Cairo.git
Working copy of https://github.com/aestesis/Cairo.git resolved at 1.3.0 (b31d649)
Creating working copy for https://github.com/aestesis/CCairo.git
Working copy of https://github.com/aestesis/CCairo.git resolved at master (86cb03f)
warning: '.resolve-product-dependencies': dependency 'cairo' is not used by any target
Found 3 product dependencies
- CCairo
- CFontConfig
- CFreeType
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.3
Building package at path: $PWD
https://github.com/aestesis/Cairo.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.4.0.app xcrun swift build --arch arm64
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version--6988338F2F200930.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/16] Emitting module Cairo
<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/CCairo/Sources/CCairo/shim.h:1:10: error: 'cairo.h' file not found
1 | #include <cairo.h>
| `- error: 'cairo.h' file not found
2 | #include <cairo-pdf.h>
3 | #include <cairo-svg.h>
/Users/admin/builder/spi-builder-workspace/Sources/Cairo/Content.swift:9:15: error: could not build Objective-C module 'CCairo'
7 | //
8 |
9 | import struct CCairo.cairo_content_t
| `- error: could not build Objective-C module 'CCairo'
10 |
11 | /// Used to describe the content that a surface will contain, whether color information,
[4/16] Compiling Cairo SurfacePDF.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/CCairo/Sources/CCairo/shim.h:1:10: error: 'cairo.h' file not found
1 | #include <cairo.h>
| `- error: 'cairo.h' file not found
2 | #include <cairo-pdf.h>
3 | #include <cairo-svg.h>
/Users/admin/builder/spi-builder-workspace/Sources/Cairo/Content.swift:9:15: error: could not build Objective-C module 'CCairo'
7 | //
8 |
9 | import struct CCairo.cairo_content_t
| `- error: could not build Objective-C module 'CCairo'
10 |
11 | /// Used to describe the content that a surface will contain, whether color information,
[5/16] Compiling Cairo SurfacePNG.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/CCairo/Sources/CCairo/shim.h:1:10: error: 'cairo.h' file not found
1 | #include <cairo.h>
| `- error: 'cairo.h' file not found
2 | #include <cairo-pdf.h>
3 | #include <cairo-svg.h>
/Users/admin/builder/spi-builder-workspace/Sources/Cairo/Content.swift:9:15: error: could not build Objective-C module 'CCairo'
7 | //
8 |
9 | import struct CCairo.cairo_content_t
| `- error: could not build Objective-C module 'CCairo'
10 |
11 | /// Used to describe the content that a surface will contain, whether color information,
[6/16] Compiling Cairo SurfaceSVG.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/CCairo/Sources/CCairo/shim.h:1:10: error: 'cairo.h' file not found
1 | #include <cairo.h>
| `- error: 'cairo.h' file not found
2 | #include <cairo-pdf.h>
3 | #include <cairo-svg.h>
/Users/admin/builder/spi-builder-workspace/Sources/Cairo/Content.swift:9:15: error: could not build Objective-C module 'CCairo'
7 | //
8 |
9 | import struct CCairo.cairo_content_t
| `- error: could not build Objective-C module 'CCairo'
10 |
11 | /// Used to describe the content that a surface will contain, whether color information,
[7/16] Compiling Cairo SurfaceImage.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/CCairo/Sources/CCairo/shim.h:1:10: error: 'cairo.h' file not found
1 | #include <cairo.h>
| `- error: 'cairo.h' file not found
2 | #include <cairo-pdf.h>
3 | #include <cairo-svg.h>
/Users/admin/builder/spi-builder-workspace/Sources/Cairo/Content.swift:9:15: error: could not build Objective-C module 'CCairo'
7 | //
8 |
9 | import struct CCairo.cairo_content_t
| `- error: could not build Objective-C module 'CCairo'
10 |
11 | /// Used to describe the content that a surface will contain, whether color information,
[8/16] Compiling Cairo Surface.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/CCairo/Sources/CCairo/shim.h:1:10: error: 'cairo.h' file not found
1 | #include <cairo.h>
| `- error: 'cairo.h' file not found
2 | #include <cairo-pdf.h>
3 | #include <cairo-svg.h>
/Users/admin/builder/spi-builder-workspace/Sources/Cairo/Content.swift:9:15: error: could not build Objective-C module 'CCairo'
7 | //
8 |
9 | import struct CCairo.cairo_content_t
| `- error: could not build Objective-C module 'CCairo'
10 |
11 | /// Used to describe the content that a surface will contain, whether color information,
[9/16] Compiling Cairo 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/CCairo/Sources/CCairo/shim.h:1:10: error: 'cairo.h' file not found
1 | #include <cairo.h>
| `- error: 'cairo.h' file not found
2 | #include <cairo-pdf.h>
3 | #include <cairo-svg.h>
/Users/admin/builder/spi-builder-workspace/Sources/Cairo/Content.swift:9:15: error: could not build Objective-C module 'CCairo'
7 | //
8 |
9 | import struct CCairo.cairo_content_t
| `- error: could not build Objective-C module 'CCairo'
10 |
11 | /// Used to describe the content that a surface will contain, whether color information,
[10/16] Compiling Cairo Status.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/CCairo/Sources/CCairo/shim.h:1:10: error: 'cairo.h' file not found
1 | #include <cairo.h>
| `- error: 'cairo.h' file not found
2 | #include <cairo-pdf.h>
3 | #include <cairo-svg.h>
/Users/admin/builder/spi-builder-workspace/Sources/Cairo/Content.swift:9:15: error: could not build Objective-C module 'CCairo'
7 | //
8 |
9 | import struct CCairo.cairo_content_t
| `- error: could not build Objective-C module 'CCairo'
10 |
11 | /// Used to describe the content that a surface will contain, whether color information,
[11/16] Compiling Cairo Matrix.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/CCairo/Sources/CCairo/shim.h:1:10: error: 'cairo.h' file not found
1 | #include <cairo.h>
| `- error: 'cairo.h' file not found
2 | #include <cairo-pdf.h>
3 | #include <cairo-svg.h>
/Users/admin/builder/spi-builder-workspace/Sources/Cairo/Content.swift:9:15: error: could not build Objective-C module 'CCairo'
7 | //
8 |
9 | import struct CCairo.cairo_content_t
| `- error: could not build Objective-C module 'CCairo'
10 |
11 | /// Used to describe the content that a surface will contain, whether color information,
[12/16] Compiling Cairo Path.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/CCairo/Sources/CCairo/shim.h:1:10: error: 'cairo.h' file not found
1 | #include <cairo.h>
| `- error: 'cairo.h' file not found
2 | #include <cairo-pdf.h>
3 | #include <cairo-svg.h>
/Users/admin/builder/spi-builder-workspace/Sources/Cairo/Content.swift:9:15: error: could not build Objective-C module 'CCairo'
7 | //
8 |
9 | import struct CCairo.cairo_content_t
| `- error: could not build Objective-C module 'CCairo'
10 |
11 | /// Used to describe the content that a surface will contain, whether color information,
[13/16] Compiling Cairo Content.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/CCairo/Sources/CCairo/shim.h:1:10: error: 'cairo.h' file not found
1 | #include <cairo.h>
| `- error: 'cairo.h' file not found
2 | #include <cairo-pdf.h>
3 | #include <cairo-svg.h>
/Users/admin/builder/spi-builder-workspace/Sources/Cairo/Content.swift:9:15: error: could not build Objective-C module 'CCairo'
7 | //
8 |
9 | import struct CCairo.cairo_content_t
| `- error: could not build Objective-C module 'CCairo'
10 |
11 | /// Used to describe the content that a surface will contain, whether color information,
[14/16] Compiling Cairo Context.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/CCairo/Sources/CCairo/shim.h:1:10: error: 'cairo.h' file not found
1 | #include <cairo.h>
| `- error: 'cairo.h' file not found
2 | #include <cairo-pdf.h>
3 | #include <cairo-svg.h>
/Users/admin/builder/spi-builder-workspace/Sources/Cairo/Content.swift:9:15: error: could not build Objective-C module 'CCairo'
7 | //
8 |
9 | import struct CCairo.cairo_content_t
| `- error: could not build Objective-C module 'CCairo'
10 |
11 | /// Used to describe the content that a surface will contain, whether color information,
[15/16] Compiling Cairo Font.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/CCairo/Sources/CCairo/shim.h:1:10: error: 'cairo.h' file not found
1 | #include <cairo.h>
| `- error: 'cairo.h' file not found
2 | #include <cairo-pdf.h>
3 | #include <cairo-svg.h>
/Users/admin/builder/spi-builder-workspace/Sources/Cairo/Content.swift:9:15: error: could not build Objective-C module 'CCairo'
7 | //
8 |
9 | import struct CCairo.cairo_content_t
| `- error: could not build Objective-C module 'CCairo'
10 |
11 | /// Used to describe the content that a surface will contain, whether color information,
[16/16] Compiling Cairo ImageFormat.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/CCairo/Sources/CCairo/shim.h:1:10: error: 'cairo.h' file not found
1 | #include <cairo.h>
| `- error: 'cairo.h' file not found
2 | #include <cairo-pdf.h>
3 | #include <cairo-svg.h>
/Users/admin/builder/spi-builder-workspace/Sources/Cairo/Content.swift:9:15: error: could not build Objective-C module 'CCairo'
7 | //
8 |
9 | import struct CCairo.cairo_content_t
| `- error: could not build Objective-C module 'CCairo'
10 |
11 | /// Used to describe the content that a surface will contain, whether color information,
[17/17] Compiling Cairo SurfaceType.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/CCairo/Sources/CCairo/shim.h:1:10: error: 'cairo.h' file not found
1 | #include <cairo.h>
| `- error: 'cairo.h' file not found
2 | #include <cairo-pdf.h>
3 | #include <cairo-svg.h>
/Users/admin/builder/spi-builder-workspace/Sources/Cairo/Content.swift:9:15: error: could not build Objective-C module 'CCairo'
7 | //
8 |
9 | import struct CCairo.cairo_content_t
| `- error: could not build Objective-C module 'CCairo'
10 |
11 | /// Used to describe the content that a surface will contain, whether color information,
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 fontconfig using your system-packager:
brew install fontconfig
warning: you may be able to install freetype2 using your system-packager:
brew install freetype2
warning: you may be able to install cairo using your system-packager:
brew install cairo
warning: you may be able to install fontconfig using your system-packager:
brew install fontconfig
warning: you may be able to install freetype2 using your system-packager:
brew install freetype2
BUILD FAILURE 6.3 macosSpm