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
bootstrap-vcpkg.sh installation fails on MacOS (Cmake + Ninja + /usr/bin/cc) #8781
Comments
There are steps to fix this here: https://stackoverflow.com/questions/28706428/invalid-active-developer-path-on-mac-os-x-after-installing-ruby But be warned, there are a dozen "solutions" on that page and nobody bothers to research any of it to understand what went wrong in the first place (diagnosis). It seems that upgrading from one MacOS version to another either uninstalls some dev tools or it moves them to another path, and this breaks compatibility with any tool using the environment variable that points to the old location where the tools were located.
Using the install command worked for me, but it is not clear whether this simply downloaded and unpacked files and then skipped installation and simply updated an environment variable or whether it physically installed the files at the expected path. (Or it could have made links to the new folder path). Testing my theory, I probe the folder structure with
It seems apparent that the files are physically located at that folder location and the installer installed missing components. The fact that MacOS's upgrade process uninstalls my development environment is unfriendly and Apple should be reprimanded. |
Describe the bug
Cannot install via
bootstrap-vcpkg.sh
on MacOS.Environment
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Compiles
Failure logs
Invoking
clang
by itself causes failure:Invoking
gcc
by itself causes failure also:GCC is not a link to clang, either:
Additional context
Clang was working before. Now it isn't, even on its own. Weird.
The text was updated successfully, but these errors were encountered: