Skip to content

install expat:x64-windows #6059

@Ian321

Description

@Ian321

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 🤷‍♂️

Metadata

Metadata

Assignees

No one assigned

    Labels

    requires:reproThe issue is not currently repro-able

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions