libsdl-org / SDL_net

A simple, cross-platform wrapper over TCP/IP sockets.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Cannot extract SDL2_net-2.2.0.tar.gz with msys2

madebr opened this issue · comments

Extracting the latest SDL2_net 2.2.0 release on Windows, using msys2, gives the following error:

$ tar xf SDL2_net-2.2.0.tar.gz
tar: SDL2_net-2.2.0/Xcode/macOS/SDL2.framework/Resources: Cannot create symlink to ‘Versions/Current/Resources’: No such file or directory
tar: SDL2_net-2.2.0/Xcode/macOS/SDL2.framework/Headers: Cannot create symlink to ‘Versions/Current/Headers’: No such file or directory
tar: SDL2_net-2.2.0/Xcode/macOS/SDL2.framework/SDL2: Cannot create symlink to ‘Versions/Current/SDL2’: No such file or directory
tar: Exiting with failure status due to previous errors

SDL2_net had been updated to 2.2.0 in msys2. See this commit msys2/MINGW-packages@323b2cf. ZIP file is used instead of .tar.gz to resolve the symlink issue. It's common in many msys2 mingw packages.

Packaging up the Xcode directory would add an additional step for people building on Apple platforms, and given that Windows folks are expected to use the zip files in any case, I think we'll leave this as-is for now.