allyourcodebase / allyourcodebase/zstd

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

Ouverte
#6 1 commentaire 0 réactions 0 personnes assignées Voir sur GitHub
Langage dominant
Zig
Étoiles
16
Forks
4
Métriques de merge des PR
Aucune PR mergée en 30 j

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.

Guide de contribution

Aucun guide de contribution indexé pour ce dépôt

Évaluation

Cette issue n'a pas encore été évaluée.

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.