The Swift Package Index logo.Swift Package Index

Build Information

Failed to build Cairo, reference 1.3.0 (b31d64), with Swift 6.2 for macOS (SPM) on 20 Jun 2025 22:32:42 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/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
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/aestesis/Cairo.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/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,
[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 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,
[6/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,
error: emit-module command failed with exit code 1 (use -v to see invocation)
[7/17] 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,
[8/17] 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,
[9/17] 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,
[10/17] 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,
[11/17] 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/17] 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/17] 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,
[14/17] 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,
[15/17] 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,
[16/17] 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,
[17/17] 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,
Fetching https://github.com/aestesis/CCairo.git
[1/412] Fetching ccairo
Fetched https://github.com/aestesis/CCairo.git from cache (0.94s)
Fetching https://github.com/aestesis/CFontConfig.git
[1/45] Fetching cfontconfig
Fetched https://github.com/aestesis/CFontConfig.git from cache (0.60s)
Fetching https://github.com/aestesis/CFreeType.git
[1/39] Fetching cfreetype
Fetched https://github.com/aestesis/CFreeType.git from cache (0.52s)
Creating working copy for https://github.com/aestesis/CCairo.git
Working copy of https://github.com/aestesis/CCairo.git resolved at master (86cb03f)
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/CFreeType.git
Working copy of https://github.com/aestesis/CFreeType.git resolved at master (3442374)
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.2 macosSpm