Build Information
Failed to build Rope with Swift 5.10 for macOS (SPM).
Build Command
env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun swift build --arch arm64
Build Log
========================================
RunAll
========================================
Builder version: 4.39.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/bermudadigitalstudio/rope.git
Reference: 0.7.3
Initialized empty Git repository in /Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/.git/
From https://github.com/bermudadigitalstudio/rope
* tag 0.7.3 -> FETCH_HEAD
HEAD is now at 06dfa6c Merge pull request #93 from bermudadigitalstudio/timestamptz-support
Cloned https://github.com/bermudadigitalstudio/rope.git
Revision (git rev-parse @):
06dfa6c69767766c53a8045edf474a29d520ae1a
SUCCESS checkout https://github.com/bermudadigitalstudio/rope.git at 0.7.3
Fetching https://github.com/bermudadigitalstudio/RopeLibpq.git from cache
Fetched https://github.com/bermudadigitalstudio/RopeLibpq.git from cache (0.19s)
Computing version for https://github.com/bermudadigitalstudio/RopeLibpq.git
Computed https://github.com/bermudadigitalstudio/RopeLibpq.git at 0.3.0 (0.49s)
Creating working copy for https://github.com/bermudadigitalstudio/RopeLibpq.git
Working copy of https://github.com/bermudadigitalstudio/RopeLibpq.git resolved at 0.3.0
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
"identity": ".resolve-product-dependencies",
"name": "resolve-dependencies",
"url": "/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/.resolve-product-dependencies",
"version": "unspecified",
"path": "/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/.resolve-product-dependencies",
"dependencies": [
{
"identity": "rope",
"name": "Rope",
"url": "https://github.com/bermudadigitalstudio/rope.git",
"version": "unspecified",
"path": "/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/rope",
"dependencies": [
{
"identity": "ropelibpq",
"name": "RopeLibpq",
"url": "https://github.com/bermudadigitalstudio/RopeLibpq.git",
"version": "0.3.0",
"path": "/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/RopeLibpq",
"dependencies": [
]
}
]
}
]
}
Fetching https://github.com/bermudadigitalstudio/rope.git
[1/795] Fetching rope
Fetched https://github.com/bermudadigitalstudio/rope.git from cache (0.26s)
Fetching https://github.com/bermudadigitalstudio/RopeLibpq.git from cache
Fetched https://github.com/bermudadigitalstudio/RopeLibpq.git from cache (0.16s)
Computing version for https://github.com/bermudadigitalstudio/RopeLibpq.git
Computed https://github.com/bermudadigitalstudio/RopeLibpq.git at 0.3.0 (0.03s)
Creating working copy for https://github.com/bermudadigitalstudio/rope.git
Working copy of https://github.com/bermudadigitalstudio/rope.git resolved at 0.7.3 (06dfa6c)
Creating working copy for https://github.com/bermudadigitalstudio/RopeLibpq.git
Working copy of https://github.com/bermudadigitalstudio/RopeLibpq.git resolved at 0.3.0
warning: 'ropelibpq': ignoring declared target(s) 'RopeLibpq' in the system package
warning: '.resolve-product-dependencies': dependency 'rope' is not used by any target
Found 1 product dependencies
- RopeLibpq
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 5.10
Building package at path: $workDir
https://github.com/bermudadigitalstudio/rope.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun swift build --arch arm64
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-6044DDE57671499D.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/6] Emitting module Rope
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "shim.h"
^
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/RopeLibpq/shim.h:4:10: error: 'libpq-fe.h' file not found
#include <libpq-fe.h>
^
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Rope/Rope.swift:1:8: error: could not build Objective-C module 'RopeLibpq'
import RopeLibpq
^
[4/6] Compiling Rope PGErrorCode.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "shim.h"
^
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/RopeLibpq/shim.h:4:10: error: 'libpq-fe.h' file not found
#include <libpq-fe.h>
^
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Rope/Rope.swift:1:8: error: could not build Objective-C module 'RopeLibpq'
import RopeLibpq
^
[5/6] Compiling Rope RopeResult.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "shim.h"
^
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/RopeLibpq/shim.h:4:10: error: 'libpq-fe.h' file not found
#include <libpq-fe.h>
^
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Rope/Rope.swift:1:8: error: could not build Objective-C module 'RopeLibpq'
import RopeLibpq
^
[6/6] Compiling Rope Rope.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "shim.h"
^
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/RopeLibpq/shim.h:4:10: error: 'libpq-fe.h' file not found
#include <libpq-fe.h>
^
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Rope/Rope.swift:1:8: error: could not build Objective-C module 'RopeLibpq'
import RopeLibpq
^
error: fatalError
warning: 'ropelibpq': ignoring declared target(s) 'RopeLibpq' in the system package
warning: failed to retrieve search paths with pkg-config; maybe pkg-config is not installed
warning: you may be able to install libpq using your system-packager:
brew install postgresql
BUILD FAILURE 5.10 macosSpm