-
Notifications
You must be signed in to change notification settings - Fork 6.4k
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
Unable to install bzip2 #16282
Comments
Thanks for posting this issue! It looks like you have a partially functional copy of git on your path from C:\msys64\usr\bin. Could you try removing that directory from your path variable and re-run vcpkg? |
That did the trick! |
Can this be closed? As is sounds as solved ;) |
No, I think we should handle this situation. |
As written in #13602: the problem is that vcpkg cleans up the path for reproducibility, which breaks DLL loading for git helper programs for git installations on the path. At least for Jenkins, the installation on the path is the correct one, because Jenkins prepares credentials and other configuration by calling various git commands from the path, so always replacing it might break subproject checkouts or merge-after-checkout. |
Since
|
Host Environment
To Reproduce
vcpkg install tesseract:x64-windows
Failure logs
Relevant sections from the log files above.
Additional context
I globbed for the missing
git-remote-https.exe
and found it atc:\msys64\usr\lib\git-core\git-remote-https.exe
, among other places. So, if I've understood the logged error at all, it definitely shouldn't be creating an error.I had also tried dynamic installation and installing bzip2 (static and dynamic, 64 and x86) alone, but without any idea what the missing archives were supposed to be I'm unsure on how to proceed.
The text was updated successfully, but these errors were encountered: