Build Information
Failed to build LibPNG 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/KrakenCL/LibPNG.git
Reference: master
Initialized empty Git repository in /Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/.git/
From https://github.com/KrakenCL/LibPNG
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at f5b1a8c Delete .swiftpm/xcode/package.xcworkspace directory
Cloned https://github.com/KrakenCL/LibPNG.git
Revision (git rev-parse @):
f5b1a8ca56ffa6a8229eada39c4d543fb60f42d4
SUCCESS checkout https://github.com/KrakenCL/LibPNG.git at master
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
"identity": ".resolve-product-dependencies",
"name": "resolve-dependencies",
"url": "/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/.resolve-product-dependencies",
"version": "unspecified",
"path": "/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/.resolve-product-dependencies",
"dependencies": [
{
"identity": "libpng",
"name": "LibPNG",
"url": "https://github.com/KrakenCL/LibPNG.git",
"version": "unspecified",
"path": "/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/LibPNG",
"dependencies": [
]
}
]
}
Fetching https://github.com/KrakenCL/LibPNG.git from cache
Fetched https://github.com/KrakenCL/LibPNG.git (0.17s)
Creating working copy for https://github.com/KrakenCL/LibPNG.git
Working copy of https://github.com/KrakenCL/LibPNG.git resolved at master
warning: '.resolve-product-dependencies': dependency 'libpng' is not used by any target
Found 0 product dependencies
========================================
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...
error: emit-module command failed with exit code 1 (use -v to see invocation)
[1/2] Emitting module LibPNG
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Library/CPNG/module.modulemap:2:10: error: header '/usr/local/include/png.h' not found
header "/usr/local/include/png.h"
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/LibPNG/LibPNG.swift:19:8: error: could not build Objective-C module 'CPNG'
import CPNG
^
[2/2] Compiling LibPNG LibPNG.swift
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Library/CPNG/module.modulemap:2:10: error: header '/usr/local/include/png.h' not found
header "/usr/local/include/png.h"
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/LibPNG/LibPNG.swift:19:8: error: could not build Objective-C module 'CPNG'
import CPNG
^
error: fatalError
warning: failed to retrieve search paths with pkg-config; maybe pkg-config is not installed
warning: you may be able to install libpng using your system-packager:
brew install libpng
[0/1] Planning build
Building for debugging...
error: emit-module command failed with exit code 1 (use -v to see invocation)
[1/2] Emitting module LibPNG
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Library/CPNG/module.modulemap:2:10: error: header '/usr/local/include/png.h' not found
header "/usr/local/include/png.h"
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/LibPNG/LibPNG.swift:19:8: error: could not build Objective-C module 'CPNG'
import CPNG
^
[2/2] Compiling LibPNG LibPNG.swift
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Library/CPNG/module.modulemap:2:10: error: header '/usr/local/include/png.h' not found
header "/usr/local/include/png.h"
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/LibPNG/LibPNG.swift:19:8: error: could not build Objective-C module 'CPNG'
import CPNG
^
error: fatalError
warning: failed to retrieve search paths with pkg-config; maybe pkg-config is not installed
warning: you may be able to install libpng using your system-packager:
brew install libpng
BUILD FAILURE 5.9 macosSpm