Skip to content

[Parity] error: Touch 'Access Denied' #9462

@kcieplak

Description

@kcieplak

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/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

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions