allyourcodebase / allyourcodebase/zstd

On some Windows setups Symbolic links in Zstd source code lead to PermissionDenied error

Open
#6 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Zig
Stars
16
Forks
4
PR merge metrics
No merged PRs in 30d

Description

```
> zig build
.\zig-pkg\zstd-1.5.7-1-KEItkAMwAAD6OKY3m0OOmXG7aL-aLUfrDqbP5J5oYapU\build.zig.zon:7:20: error: unable to unpack packfile
.url = "git+https://github.com/facebook/zstd.git?ref=v1.5.7#f8745da6ff1ad1e7bab384bd1f9d742439278e99",
note: unable to create symlink from 'tests\cli-tests\bin\unzstd' to 'zstd': PermissionDenied
note: unable to create symlink from 'tests\cli-tests\bin\zstdcat' to 'zstd': PermissionDenied
```

Honestly I'm not sure if it's worth fixing this issue, because as far as I know there the only fix for this repo is to make this into a repository that forks the zstd code and removes unnecessary files.

There are other possible fixes, but they would need to be done upstream by the Zig Software Foundation, facebook, or Microsoft.

For a developer that runs into this problem, another fix is to give your Windows User the permission to create symbolic links.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.