Skip to content

"cmake -E tar xf" symlink on Windows with Unicode UTF-8 system locale

The cmake -E tar xf functionality changed between 3.13.4 and 3.14.0 in regards to tar archives containing symlinks.

CMake 3.14.0

> cmake -E tar xf harfbuzz-harfbuzz-2.3.1.tar.gz
CMake Error: Problem with archive_write_header(): Can't create ''
CMake Error: Current file: harfbuzz-2.3.1/README
CMake Error: Problem extracting tar: harfbuzz-harfbuzz-2.3.1.tar.gz

CMake 3.13.4

> cmake -E tar xf harfbuzz-harfbuzz-2.3.1.tar.gz
cmake -E tar: warning: skipping symbolic link "harfbuzz-2.3.1/README" -> "README.md".

Tested on Windows 10 1809 with this: https://github.com/harfbuzz/harfbuzz/archive/2.3.1.tar.gz

Edited by Brad King
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information