Build Information
Failed to build SwiftEccodes, reference main (fe6ffe
), with Swift 5.10 for macOS (SPM) on 26 Jun 2024 02:01:05 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-15.4.0.app xcrun swift build --arch arm64
Build Log
========================================
RunAll
========================================
Builder version: 4.43.4
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/patrick-zippenfenig/SwiftEccodes.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/patrick-zippenfenig/SwiftEccodes
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
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 main
========================================
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 (1.40s)
Creating working copy for https://github.com/patrick-zippenfenig/SwiftEccodes.git
Working copy of https://github.com/patrick-zippenfenig/SwiftEccodes.git resolved at main (fe6ffe2)
warning: '.resolve-product-dependencies': dependency 'swifteccodes' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 5.10
Building package at path: $workDir
https://github.com/patrick-zippenfenig/SwiftEccodes.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.4.0.app xcrun swift build --arch arm64
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-33747A42983211AE.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/5] Emitting module SwiftEccodes
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "shim.h"
^
/Users/admin/builder/spi-builder-workspace/Sources/CEccodes/shim.h:1:10: error: 'eccodes.h' file not found
#include <eccodes.h>
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftEccodes/SwiftEccodes.swift:1:29: error: could not build Objective-C module 'CEccodes'
@_implementationOnly import CEccodes
^
[4/5] Compiling SwiftEccodes SwiftEccodes.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "shim.h"
^
/Users/admin/builder/spi-builder-workspace/Sources/CEccodes/shim.h:1:10: error: 'eccodes.h' file not found
#include <eccodes.h>
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftEccodes/SwiftEccodes.swift:1:29: error: could not build Objective-C module 'CEccodes'
@_implementationOnly import CEccodes
^
[5/5] Compiling SwiftEccodes Lock.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "shim.h"
^
/Users/admin/builder/spi-builder-workspace/Sources/CEccodes/shim.h:1:10: error: 'eccodes.h' file not found
#include <eccodes.h>
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftEccodes/SwiftEccodes.swift:1:29: error: could not build Objective-C module 'CEccodes'
@_implementationOnly import CEccodes
^
error: fatalError
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 5.10 macosSpm