-
Notifications
You must be signed in to change notification settings - Fork 6.2k
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
Can't export prefabs: Your vcpkg 'installed' tree is corrupted. #35538
Comments
When I reproduce it on my machine I get the following error:
This error also a bug in other issue: |
I had to do this as a workaround for that particular error: brew install emscripten
eval "$(brew shellenv)"
export EMSCRIPTEN_ROOT="$HOMEBREW_PREFIX/opt/emscripten/libexec" |
You need to source one of the |
@asapha Did you find the solution for the "corrupted tree" problem? |
@JonLiu1993 @dg0yt The problem is that vcpkg tries to export vcpkg-cmake as a prefab, which of course cannot work. The following packages are already built and will be exported:
|
I only answered on an emscripten comment, but emscripten seem entirely unrelated. I don't know anything about the prefab export. It is easy to see that the export has assumptions which don't fit for vcpkg-cmake. There might be other reasons for port to have no |
This installation is absolute correct and makes sense. |
The answer to your question is no. Android cannot run any host tools and the integration to the build system is done via gradle plug-in, based on meta data generated by vcpkg export --prefab. https://google.github.io/prefab/
|
No, but it was more appropriate to use manifest mode in my case. |
Thx for your suggestion. Unfortunately, the last installed triplet will be overwritten when using the manifest mode. #32631 I think I'll try conan + artifactory again. |
Describe the bug
Calling
vcpkg export --triplet arm64-android jsoncpp --prefab --prefab-maven --debug:
fails on my machine. It leads to:Doing
rm -rf ~/dev/tools/vcpkg/ && rm -rf ~/.cache/vcpkg
doesn't helpEnvironment
13.5.2 (22G91)
and13.6.2 (22G320)
To Reproduce
vcpkg install jsoncpp --triplet arm64-android vcpkg export --triplet arm64-android jsoncpp --prefab --prefab-maven --debug
To Reproduce on a fresh Apple VM using Parallels
~/.zprofile:
Expected behavior
The export call should succeed or tell us what we can do to fix the issue.
Additional context
opus
andantlr4
vcpkg-cmake:XXX-android
packages changes the export error tocopy_regular_recursive("/Users/azef/dev/tools/vcpkg/packages/vcpkg-cmake_x64-android/include", "/Users/azef/dev/tools/vcpkg/prefab/vcpkg-cmake/aar/prefab/modules/vcpkg-cmake/include"): No such file or directory
Failure logs
vcpkg export --triplet arm64-android jsoncpp --prefab --prefab-maven --debug:
The text was updated successfully, but these errors were encountered: