-
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 backendwindows
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/nikola-mladenovic/AwsSwiftDynamoDBsdk.git
Windows
The following package does not build using the 'swifbuild' backend but does with 'native'
swift build `--buildsystem=swiftbuild` fails to build package
info: Touch CryptoSwift_CryptoSwift.bundle
cd S:\\AwsSwiftDynamoDBsdk\\.build-swiftbuild\\checkouts\\CryptoSwift
C:\\WINDOWS\\system32\\cmd.exe /c copy /b S:\\AwsSwiftDynamoDBsdk\\.build-swiftbuild\\aarch64-unknown-windows-msvc\\Products\\Debug-windows\\CryptoSwift_CryptoSwift.bundle +,,
info: S:\AwsSwiftDynamoDBsdk\.build-swiftbuild\aarch64-unknown-windows-msvc\Products\Debug-windows\CryptoSwift_CryptoSwift.bundle\Info.plist
Access is denied.
S:\AwsSwiftDynamoDBsdk\.build-swiftbuild\aarch64-unknown-windows-msvc\Products\Debug-windows\CryptoSwift_CryptoSwift.bundle\PrivacyInfo.xcprivacy
1 file(s) copied.
error: Touch S:\\AwsSwiftDynamoDBsdk\\.build-swiftbuild\\aarch64-unknown-windows-msvc\\Products\\Debug-windows\\CryptoSwift_CryptoSwift.bundle failed with a nonzero exit code. Command line: cd S:\\AwsSwiftDynamoDBsdk\\.build-swiftbuild\\checkouts\\CryptoSwift
C:\\WINDOWS\\system32\\cmd.exe /c copy /b S:\\AwsSwiftDynamoDBsdk\\.build-swiftbuild\\aarch64-unknown-windows-msvc\\Products\\Debug-windows\\CryptoSwift_CryptoSwift.bundle +,,
Swift version 6.2.1 (swift-6.2.1-RELEASE)
Target: aarch64-unknown-windows-msvc
error: Build failed
Expected behaviour
Builds
Actual behavior
Fails to build
Steps to reproduce
git clone https://github.com/nikola-mladenovic/AwsSwiftDynamoDBsdk.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 backendwindows