-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Open
Labels
bugbuild systemChanges to interactions with build systemsChanges to interactions with build systemslinuxswift buildChanges impacting `swift build`Changes impacting `swift build`swiftbuild backend
Description
Is it reproducible with SwiftPM command-line tools: swift build
, swift test
, swift package
etc?
- Confirmed reproduction steps with SwiftPM CLI. The description text must include reproduction steps with either of command-line SwiftPM commands,
swift build
,swift test
,swift package
etc.
Description
https://github.com/WeirdMath/SwiftyHaru.git
Linux Ubuntu 20.04
The following package does not build using the 'swifbuild' backend but does with 'native'
swift build `--buildsystem=swiftbuild` fails to build package
error: /workspace/spi-workdir/1F026FD5-07ED-4CB0-AFD7-689F2F88DF6E/SwiftyHaru/Sources/CLibPNG/include/pnginfo.h:101:4 unknown type name 'png_colorspace'
info: /workspace/spi-workdir/1F026FD5-07ED-4CB0-AFD7-689F2F88DF6E/SwiftyHaru/Sources/CLibHaru/hpdf_image_png.c:23:10 while building module 'CLibPNG' imported from /workspace/spi-workdir/1F026FD5-07ED-4CB0-AFD7-689F2F88DF6E/SwiftyHaru/Sources/CLibHaru/hpdf_image_png.c:23:
info: /workspace/spi-workdir/1F026FD5-07ED-4CB0-AFD7-689F2F88DF6E/<module-includes>:4:10 in file included from <module-includes>:4:
error: /workspace/spi-workdir/1F026FD5-07ED-4CB0-AFD7-689F2F88DF6E/SwiftyHaru/Sources/CLibHaru/hpdf_image_png.c:23:10 could not build module 'CLibPNG'
Expected behavior
Builds
Actual behavior
Fails to build
Steps to reproduce
git clone https://github.com/WeirdMath/SwiftyHaru.git
swift build --build-system=swiftbuild
Swift Package Manager version/commit hash
No response
Swift & OS version (output of swift --version ; uname -a
)
No response
Metadata
Metadata
Assignees
Labels
bugbuild systemChanges to interactions with build systemsChanges to interactions with build systemslinuxswift buildChanges impacting `swift build`Changes impacting `swift build`swiftbuild backend