Build Information
Failed to build LibPNG, reference master (c059e4
), with Swift 5.10 for macOS (SPM) on 1 Jul 2024 07:10:51 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-15.4.0.app xcrun swift build --arch arm64
Build Log
========================================
RunAll
========================================
Builder version: 4.44.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/LuizZak/swift-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/LuizZak/swift-libpng
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at c059e4a Adding test for PNGFile.fromArgb
Cloned https://github.com/LuizZak/swift-libpng.git
Revision (git rev-parse @):
c059e4a34d0a84a2a1cc7eac8acdb8fa3ab8142f
SUCCESS checkout https://github.com/LuizZak/swift-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": "swift-libpng",
"name": "LibPNG",
"url": "https://github.com/LuizZak/swift-libpng.git",
"version": "unspecified",
"path": "/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-libpng",
"dependencies": [
]
}
]
}
Fetching https://github.com/LuizZak/swift-libpng.git from cache
Fetched https://github.com/LuizZak/swift-libpng.git from cache (0.14s)
Creating working copy for https://github.com/LuizZak/swift-libpng.git
Working copy of https://github.com/LuizZak/swift-libpng.git resolved at master (c059e4a)
warning: '.resolve-product-dependencies': dependency 'swift-libpng' 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/LuizZak/swift-libpng.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 LibPNG
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "libpng.h"
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CLibPNG/libpng.h:1:10: error: 'png.h' file not found
#include <png.h>
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/LibPNG/LibPNG+FromData.swift:1:8: error: could not build Objective-C module 'CLibPNG'
import CLibPNG
^
[4/5] Compiling LibPNG LibPNG.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "libpng.h"
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CLibPNG/libpng.h:1:10: error: 'png.h' file not found
#include <png.h>
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/LibPNG/LibPNG+FromData.swift:1:8: error: could not build Objective-C module 'CLibPNG'
import CLibPNG
^
[5/5] Compiling LibPNG LibPNG+FromData.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "libpng.h"
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CLibPNG/libpng.h:1:10: error: 'png.h' file not found
#include <png.h>
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/LibPNG/LibPNG+FromData.swift:1:8: error: could not build Objective-C module 'CLibPNG'
import CLibPNG
^
error: fatalError
warning: 'spi-builder-workspace': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Tests/LibPNGTests/TestResources/test.png
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.10 macosSpm