Problem while trying to compile Anki

I try to compile Anki from source and during the installation of git (pacman -S git) in msys2 I recieve the following warning:

warning: warning given when extracting /usr/lib/git-core/git-remote-https.exe (Can’t create ‘/usr/lib/git-core/git-remote-https.exe’)

Then in the Powershell remote-https is not recognized

This is unrelated to Anki. See Replace hardlink with symlink · Issue #2545 · msys2/MSYS2-packages · GitHub
Or you can report the issue again in the MSYS2 bug tracker.


Problem solved. I changed folder permissions in msys64