Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[non-Windows] vcpkg install fails from within a path containing spaces (parse_shasum_output) #6916

Closed
past-due opened this issue Jun 15, 2019 · 1 comment
Assignees
Labels
category:vcpkg-bug The issue is with the vcpkg system (including helper scripts in `scripts/cmake/`)

Comments

@past-due
Copy link
Contributor

  1. Clone the vcpkg repo into a path containing one or more spaces
  2. ./bootstrap-vcpkg.sh
  3. Run vcpkg install <any port>

(Abbreviated example log output):

The following packages will be built and installed:
    glew[core]:x64-osx
Starting package 1/1: glew:x64-osx
Building package glew[core]:x64-osx...
Expected output of the form [hash filename
] (3 tokens), but got
[<hash>  /<snip>/test build/vcpkg/triplets/x64-osx.cmake
] (4 tokens)

the test build folder contains a space, and this throws off parse_shasum_output in vcpkg/toolsrc/src/vcpkg/base/hash.cpp

@LilyWangL LilyWangL added the category:port-bug The issue is with a library, which is something the port should already support label Jun 17, 2019
@JackBoosY JackBoosY added category:vcpkg-bug The issue is with the vcpkg system (including helper scripts in `scripts/cmake/`) and removed category:port-bug The issue is with a library, which is something the port should already support labels Jun 17, 2019
@Rastaban
Copy link
Contributor

fixed with #7216

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
category:vcpkg-bug The issue is with the vcpkg system (including helper scripts in `scripts/cmake/`)
Projects
None yet
Development

No branches or pull requests

5 participants