Build Information
Failed to build PacketCaptureLibpcap with Swift 5.9 for macOS (SPM).
Build Command
Build command unavailable
Build Log
========================================
RunAll
========================================
Builder version: 4.27.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/OperatorFoundation/PacketCaptureLibpcap.git
Reference: main
Initialized empty Git repository in /Users/admin/builds/J1XnyXFH/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/.git/
From https://github.com/OperatorFoundation/PacketCaptureLibpcap
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 3ca84a2 Time Interval Bug Fix
Cloned https://github.com/OperatorFoundation/PacketCaptureLibpcap.git
Revision (git rev-parse @):
3ca84a21ab599ddbb977424432875c3ba5a69039
SUCCESS checkout https://github.com/OperatorFoundation/PacketCaptureLibpcap.git at main
Fetching https://github.com/OperatorFoundation/SwiftHexTools
Fetching https://github.com/OperatorFoundation/SwiftPCAP.git
Fetching https://github.com/OperatorFoundation/PacketStream.git from cache
Fetched https://github.com/OperatorFoundation/PacketStream.git (0.25s)
[1/96] Fetching swifthextools
[94/274] Fetching swifthextools, swiftpcap
Fetched https://github.com/OperatorFoundation/SwiftPCAP.git (0.31s)
Fetched https://github.com/OperatorFoundation/SwiftHexTools (0.31s)
Computing version for https://github.com/OperatorFoundation/PacketStream.git
Computed https://github.com/OperatorFoundation/PacketStream.git at 0.2.1 (0.47s)
Computing version for https://github.com/OperatorFoundation/SwiftPCAP.git
Computed https://github.com/OperatorFoundation/SwiftPCAP.git at 1.3.1 (0.50s)
Creating working copy for https://github.com/OperatorFoundation/SwiftPCAP.git
Working copy of https://github.com/OperatorFoundation/SwiftPCAP.git resolved at 1.3.1
Creating working copy for https://github.com/OperatorFoundation/PacketStream.git
Working copy of https://github.com/OperatorFoundation/PacketStream.git resolved at 0.2.1
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
"identity": ".resolve-product-dependencies",
"name": "resolve-dependencies",
"url": "/Users/admin/builds/J1XnyXFH/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/.resolve-product-dependencies",
"version": "unspecified",
"path": "/Users/admin/builds/J1XnyXFH/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/.resolve-product-dependencies",
"dependencies": [
{
"identity": "packetcapturelibpcap",
"name": "PacketCaptureLibpcap",
"url": "https://github.com/OperatorFoundation/PacketCaptureLibpcap.git",
"version": "unspecified",
"path": "/Users/admin/builds/J1XnyXFH/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/PacketCaptureLibpcap",
"dependencies": [
{
"identity": "packetstream",
"name": "PacketStream",
"url": "https://github.com/OperatorFoundation/PacketStream.git",
"version": "0.2.1",
"path": "/Users/admin/builds/J1XnyXFH/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/PacketStream",
"dependencies": [
]
},
{
"identity": "swiftpcap",
"name": "SwiftPCAP",
"url": "https://github.com/OperatorFoundation/SwiftPCAP.git",
"version": "1.3.1",
"path": "/Users/admin/builds/J1XnyXFH/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/SwiftPCAP",
"dependencies": [
]
}
]
}
]
}
Fetching https://github.com/OperatorFoundation/PacketCaptureLibpcap.git
[1/92] Fetching packetcapturelibpcap
Fetched https://github.com/OperatorFoundation/PacketCaptureLibpcap.git (0.26s)
Fetching https://github.com/OperatorFoundation/SwiftPCAP.git from cache
Fetching https://github.com/OperatorFoundation/PacketStream.git from cache
Fetched https://github.com/OperatorFoundation/SwiftPCAP.git (0.20s)
Fetched https://github.com/OperatorFoundation/PacketStream.git (0.21s)
Computing version for https://github.com/OperatorFoundation/PacketStream.git
Computed https://github.com/OperatorFoundation/PacketStream.git at 0.2.1 (0.02s)
Computing version for https://github.com/OperatorFoundation/SwiftPCAP.git
Computed https://github.com/OperatorFoundation/SwiftPCAP.git at 1.3.1 (0.04s)
Creating working copy for https://github.com/OperatorFoundation/PacketCaptureLibpcap.git
Working copy of https://github.com/OperatorFoundation/PacketCaptureLibpcap.git resolved at main
Creating working copy for https://github.com/OperatorFoundation/SwiftPCAP.git
Working copy of https://github.com/OperatorFoundation/SwiftPCAP.git resolved at 1.3.1
Creating working copy for https://github.com/OperatorFoundation/PacketStream.git
Working copy of https://github.com/OperatorFoundation/PacketStream.git resolved at 0.2.1
warning: '.resolve-product-dependencies': dependency 'packetcapturelibpcap' is not used by any target
Found 2 product dependencies
- PacketStream
- SwiftPCAP
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 5.9
Building package at path: $PWD/checkout
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.0.0.app xcrun swift build --arch arm64
Building for debugging...
[1/6] Compiling SwiftPCAP SwiftPCAPLive.swift
/Users/admin/builds/J1XnyXFH/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/SwiftPCAP/Sources/Clibpcap/module.modulemap:4:12: error: header '/usr/local/opt/libpcap/include/pcap.h' not found
header "/usr/local/opt/libpcap/include/pcap.h"
^
/Users/admin/builds/J1XnyXFH/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/SwiftPCAP/Sources/SwiftPCAP/SwiftPCAP.swift:5:12: error: could not build Objective-C module 'ClibpcapMacOS'
import ClibpcapMacOS
^
[2/6] Compiling SwiftPCAP SwiftPCAPOffline.swift
/Users/admin/builds/J1XnyXFH/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/SwiftPCAP/Sources/Clibpcap/module.modulemap:4:12: error: header '/usr/local/opt/libpcap/include/pcap.h' not found
header "/usr/local/opt/libpcap/include/pcap.h"
^
/Users/admin/builds/J1XnyXFH/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/SwiftPCAP/Sources/SwiftPCAP/SwiftPCAP.swift:5:12: error: could not build Objective-C module 'ClibpcapMacOS'
import ClibpcapMacOS
^
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/6] Emitting module SwiftPCAP
/Users/admin/builds/J1XnyXFH/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/SwiftPCAP/Sources/Clibpcap/module.modulemap:4:12: error: header '/usr/local/opt/libpcap/include/pcap.h' not found
header "/usr/local/opt/libpcap/include/pcap.h"
^
/Users/admin/builds/J1XnyXFH/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/SwiftPCAP/Sources/SwiftPCAP/SwiftPCAP.swift:5:12: error: could not build Objective-C module 'ClibpcapMacOS'
import ClibpcapMacOS
^
[4/6] Compiling SwiftPCAP SwiftPCAP.swift
/Users/admin/builds/J1XnyXFH/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/SwiftPCAP/Sources/Clibpcap/module.modulemap:4:12: error: header '/usr/local/opt/libpcap/include/pcap.h' not found
header "/usr/local/opt/libpcap/include/pcap.h"
^
/Users/admin/builds/J1XnyXFH/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/SwiftPCAP/Sources/SwiftPCAP/SwiftPCAP.swift:5:12: error: could not build Objective-C module 'ClibpcapMacOS'
import ClibpcapMacOS
^
error: fatalError
[5/6] Emitting module PacketStream
[0/1] Planning build
Building for debugging...
[1/6] Emitting module PacketStream
[2/6] Compiling PacketStream PacketStream.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/6] Emitting module SwiftPCAP
/Users/admin/builds/J1XnyXFH/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/SwiftPCAP/Sources/Clibpcap/module.modulemap:4:12: error: header '/usr/local/opt/libpcap/include/pcap.h' not found
header "/usr/local/opt/libpcap/include/pcap.h"
^
/Users/admin/builds/J1XnyXFH/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/SwiftPCAP/Sources/SwiftPCAP/SwiftPCAP.swift:5:12: error: could not build Objective-C module 'ClibpcapMacOS'
import ClibpcapMacOS
^
[4/6] Compiling SwiftPCAP SwiftPCAPLive.swift
/Users/admin/builds/J1XnyXFH/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/SwiftPCAP/Sources/Clibpcap/module.modulemap:4:12: error: header '/usr/local/opt/libpcap/include/pcap.h' not found
header "/usr/local/opt/libpcap/include/pcap.h"
^
/Users/admin/builds/J1XnyXFH/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/SwiftPCAP/Sources/SwiftPCAP/SwiftPCAP.swift:5:12: error: could not build Objective-C module 'ClibpcapMacOS'
import ClibpcapMacOS
^
[5/6] Compiling SwiftPCAP SwiftPCAP.swift
/Users/admin/builds/J1XnyXFH/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/SwiftPCAP/Sources/Clibpcap/module.modulemap:4:12: error: header '/usr/local/opt/libpcap/include/pcap.h' not found
header "/usr/local/opt/libpcap/include/pcap.h"
^
/Users/admin/builds/J1XnyXFH/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/SwiftPCAP/Sources/SwiftPCAP/SwiftPCAP.swift:5:12: error: could not build Objective-C module 'ClibpcapMacOS'
import ClibpcapMacOS
^
[6/6] Compiling SwiftPCAP SwiftPCAPOffline.swift
/Users/admin/builds/J1XnyXFH/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/SwiftPCAP/Sources/Clibpcap/module.modulemap:4:12: error: header '/usr/local/opt/libpcap/include/pcap.h' not found
header "/usr/local/opt/libpcap/include/pcap.h"
^
/Users/admin/builds/J1XnyXFH/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/SwiftPCAP/Sources/SwiftPCAP/SwiftPCAP.swift:5:12: error: could not build Objective-C module 'ClibpcapMacOS'
import ClibpcapMacOS
^
error: fatalError
BUILD FAILURE 5.9 macosSpm