Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Building fails with an internal error: symlinks not supported #781

Closed
libewa opened this issue Apr 5, 2024 · 1 comment
Closed

Building fails with an internal error: symlinks not supported #781

libewa opened this issue Apr 5, 2024 · 1 comment

Comments

@libewa
Copy link

libewa commented Apr 5, 2024

When trying to build or resolve package, the process exits with this error:

E:\swift\happyworkwin> swift package resolve
Updating https://github.com/compnerd/swift-win32.git
Updated https://github.com/compnerd/swift-win32.git (0.78s)
error: the package manifest at '\[email protected]' cannot be accessed (InternalError(description: "Internal error. Please file a bug at https://github.com/apple/swift-package-manager/issues with this info. symlinks not supported")) in https://github.com/compnerd/swift-win32.git
E:\swift\happyworkwin>

As the error message says, this is probably due to [email protected] just being a symlink to [email protected]. This seems like it's not needed, as I use Swift 5.9.2 which automatically failed back to the (broken) 5.8 Package.swift.

@libewa libewa mentioned this issue Apr 5, 2024
@compnerd
Copy link
Owner

compnerd commented Apr 5, 2024

This is a user configuration issue - you need to enable symbolic links on your host. SPM already uses symbolic links and requires that they be enabled, so using them here is not really an additional step.

@compnerd compnerd closed this as completed Apr 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants