Build Information
Failed to build SwiftEccodes, reference v1.0.1 (fe6ffe
), with Swift 6.0 for macOS (SPM) on 5 Nov 2024 07:24:39 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Build Log
========================================
RunAll
========================================
Builder version: 4.56.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/patrick-zippenfenig/SwiftEccodes.git
Reference: v1.0.1
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/patrick-zippenfenig/SwiftEccodes
* tag v1.0.1 -> FETCH_HEAD
HEAD is now at fe6ffe2 fix: should return nil on missing long attribute
Cloned https://github.com/patrick-zippenfenig/SwiftEccodes.git
Revision (git rev-parse @):
fe6ffe28080dde2625e772e3666c5bafcc546936
SUCCESS checkout https://github.com/patrick-zippenfenig/SwiftEccodes.git at v1.0.1
========================================
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",
"dependencies": [
{
"identity": "swifteccodes",
"name": "SwiftEccodes",
"url": "https://github.com/patrick-zippenfenig/SwiftEccodes.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/SwiftEccodes",
"dependencies": [
]
}
]
}
Fetching https://github.com/patrick-zippenfenig/SwiftEccodes.git
[1/232] Fetching swifteccodes
Fetched https://github.com/patrick-zippenfenig/SwiftEccodes.git from cache (0.86s)
Creating working copy for https://github.com/patrick-zippenfenig/SwiftEccodes.git
Working copy of https://github.com/patrick-zippenfenig/SwiftEccodes.git resolved at v1.0.1 (fe6ffe2)
warning: '.resolve-product-dependencies': dependency 'swifteccodes' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.0
Building package at path: $PWD
https://github.com/patrick-zippenfenig/SwiftEccodes.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version--7754E27361AE5C74.txt
[3/5] Compiling SwiftEccodes Lock.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/CEccodes/shim.h:1:10: error: 'eccodes.h' file not found
1 | #include <eccodes.h>
| `- error: 'eccodes.h' file not found
/Users/admin/builder/spi-builder-workspace/Sources/SwiftEccodes/SwiftEccodes.swift:1:29: error: could not build Objective-C module 'CEccodes'
1 | @_implementationOnly import CEccodes
| `- error: could not build Objective-C module 'CEccodes'
2 | import Foundation
3 |
error: emit-module command failed with exit code 1 (use -v to see invocation)
[4/5] Emitting module SwiftEccodes
<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/CEccodes/shim.h:1:10: error: 'eccodes.h' file not found
1 | #include <eccodes.h>
| `- error: 'eccodes.h' file not found
/Users/admin/builder/spi-builder-workspace/Sources/SwiftEccodes/SwiftEccodes.swift:1:29: error: could not build Objective-C module 'CEccodes'
1 | @_implementationOnly import CEccodes
| `- error: could not build Objective-C module 'CEccodes'
2 | import Foundation
3 |
[5/5] Compiling SwiftEccodes SwiftEccodes.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/CEccodes/shim.h:1:10: error: 'eccodes.h' file not found
1 | #include <eccodes.h>
| `- error: 'eccodes.h' file not found
/Users/admin/builder/spi-builder-workspace/Sources/SwiftEccodes/SwiftEccodes.swift:1:29: error: could not build Objective-C module 'CEccodes'
1 | @_implementationOnly import CEccodes
| `- error: could not build Objective-C module 'CEccodes'
2 | import Foundation
3 |
warning: failed to retrieve search paths with pkg-config; maybe pkg-config is not installed
warning: you may be able to install eccodes using your system-packager:
brew install eccodes
BUILD FAILURE 6.0 macosSpm