Vcpkg: install expat:x64-windows

Created on 11 Apr 2019  路  1Comment  路  Source: microsoft/vcpkg

Package: expat:x64-windows
Vcpkg version: 2018.11.23-nohash

tar is having issues with the README symlink in the expat package on windows:

CMake Error at scripts/cmake/vcpkg_execute_required_process.cmake:56 (message):
    Command failed: C:/Program Files/CMake/bin/cmake.exe;-E;tar;xjf;C:/Users/USER/git/vcpkg/downloads/libexpat-libexpat-R_2_2_6.tar.gz
    Working Directory: C:/Users/USER/git/vcpkg/buildtrees/expat/src/TEMP
    Error code: 1
    See logs for more information:
      C:\Users\USER\git\vcpkg\buildtrees\expat\extract-err.log
CMake Error: Problem with archive_write_header(): Can't create ''
CMake Error: Current file: libexpat-R_2_2_6/README.md
CMake Error: Problem extracting tar: C:/Users/ignaz/git/vcpkg/downloads/libexpat-libexpat-R_2_2_6.tar.gz

Running tar xjf libexpat-libexpat-R_2_2_6.tar.gz give the following error:

libexpat-R_2_2_6/README.md: Can't create '\\\\?\\C:\\Users\\USER\\git\\vcpkg\\buildtrees\\expat\\src\\TEMP\\libexpat-R_2_2_6\\README.md'
tar: Error exit delayed from previous errors.

You can reproduce it by running vcpkg install expat:x64-windows

UPDATE:

It works in a Windows VM I created so the issue is somewhere else :man_shrugging:

repro

Most helpful comment

in case anyone has the same issue:

Alexej Harm found the setting that causes this issue.

The UTF-8 beta in intl.cpl > Administrative > Change system locale... needs to be unticked for cmake (3.14.2) to function properly.

>All comments

in case anyone has the same issue:

Alexej Harm found the setting that causes this issue.

The UTF-8 beta in intl.cpl > Administrative > Change system locale... needs to be unticked for cmake (3.14.2) to function properly.

Was this page helpful?
0 / 5 - 0 ratings