-
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 systemsswift 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 packageetc.
Description
https://github.com/atacan/swift-openai-api.git
MacOS
swift build `--buildsystem=swiftbuild` fails to build package
error: The file “Resources” couldn’t be opened because there is no such file.
error: CpResource /private/var/lib/jenkins/workspace/swift_oss/swift-package-index-metrics@3/spi-workdir/F024C594-6887-429F-8352-1CFA1F7AD249/swift-openai-api/.build-swiftbuild/arm64-apple-macosx/Products/Debug/SwiftOpenAIAPI_OpenAIAsyncHTTPClientTests.bundle/Contents/Resources/Resources /private/var/lib/jenkins/workspace/swift_oss/swift-package-index-metrics@3/spi-workdir/F024C594-6887-429F-8352-1CFA1F7AD249/swift-openai-api/Tests/OpenAIAsyncHTTPClientTests/Resources failed with a nonzero exit code
error: ClangStatCache /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang-stat-cache /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.6.sdk /private/var/lib/jenkins/workspace/swift_oss/swift-package-index-metrics@3/spi-workdir/F024C594-6887-429F-8352-1CFA1F7AD249/swift-openai-api/.build-swiftbuild/arm64-apple-macosx/SDKStatCaches.noindex/macosx15.6-24G5010s-6bc03b60bc3b31e1012288d66b31badf.sdkstatcache failed with a nonzero exit code
error: Build failed
Expected behavior
Builds
Actual behavior
Fails to build
Steps to reproduce
git clone https://github.com/atacan/swift-openai-api.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 systemsswift buildChanges impacting `swift build`Changes impacting `swift build`swiftbuild backend
Type
Projects
Status
No status