-
Notifications
You must be signed in to change notification settings - Fork 446
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
CMake build error - embedded submodule link is still pointing to an older commit of vcpkg #2440
Comments
Thanks for the detailed report. The build logs (found in the vcpkg issue) indicate:
vcpkg has been updated already: and this fix is available in opentelemetry-cpp release v1.13.0: Please retry with opentelemetry-cpp 1.13.0, and comment on the outcome. |
Hey, @marcalff! My apologies, I mistakenly attached the wrong file in my previous message. Here's the correct file: This one I've just generated after running "cmake .." on a git clone I performed yesterday. The version used is 1.13.0 of OpenTelemetry, and unfortunately, I'm still encountering the same error. |
@tashivani can you please try a fresh clone of the latest repo ( |
@ThomsonTan I've just completed a fresh |
This issue was marked as stale due to lack of activity. |
This issue was marked as stale due to lack of activity. |
Hi, I wanted to reach out regarding an issue I encountered while following the instructions to build OpenTelemetry-Cpp using CMake.
In particular, I faced a hiccup at step 2 of the instructions when running the "cmake .." command. It seems that the process attempts to download the mingw-w64-i686-libwinpthread-git-9.0.0.6373.5be8fcd83-1-any.pkg.tar.zst package from this link and encounters a 404 error. Even when attempting to open the link directly in the browser, I observe the same error message.
Upon investigating further, I discovered a message in the error suggesting reporting the issue to the vcpkg repository if the problem persists after attempting a direct download. So, I opened an issue on the vcpkg repository (microsoft/vcpkg#35516 (comment)), and one of the contributors kindly explained that the OpenTelemetry-Cpp repository's embedded submodule link is pointing to an older commit of vcpkg. This older commit lacks the necessary msys2/mingw patches, causing the issue.
The suggested solution from the vcpkg contributors was to open a ticket with the OpenTelemetry-Cpp repository to request an update to the embedded submodule link and a reset of the baseline to include the versions required by OpenTelemetry-Cpp. I've attached the CMAKE error and output logs here as well for reference.
If you need any additional information or have further questions about this issue, please feel free to reach out. Thanks!
The following is the error:
The text was updated successfully, but these errors were encountered: