cmake -E tar regression on zip files with symlinks and official Linux binary
New versions of CMake cannot extract zip files anymore. Worked in CMake 3.10, does not work anymore in newest version. (I did not try to find the exact version which first fails.)
Reproduce (Linux):
$ wget https://binaries.sonarsource.com/Distribution/sonar-scanner-cli/sonar-scanner-cli-4.7.0.2747-linux.zip
$ ./cmake-3.23.1-linux-x86_64/bin/cmake -E tar xf sonar-scanner-cli-4.7.0.2747-linux.zip
CMake Error: Problem with archive_read_next_header(): Unsupported ZIP compression method during decompression of link entry (8: deflation)
CMake Error: Problem extracting tar: sonar-scanner-cli-4.7.0.2747-linux.zip
$ ./cmake-3.10.3-Linux-x86_64/bin/cmake -E tar xf sonar-scanner-cli-4.7.0.2747-linux.zip
Documentation says it should work:
Are there any known workarounds?
PS: file(ARCHIVE_EXTRACT) also does not work.
PPS: In windows, both versions work.
Edited by Brad King