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

mongo-cxx-driver:[email protected] build failure #44314

Open
rculler opened this issue Mar 11, 2025 · 1 comment
Open

mongo-cxx-driver:[email protected] build failure #44314

rculler opened this issue Mar 11, 2025 · 1 comment
Assignees
Labels
requires:repro The issue is not currently repro-able

Comments

@rculler
Copy link

rculler commented Mar 11, 2025

Operating system

Windows

Compiler

Visual Studio 2019

Steps to reproduce the behavior

To specify the version I wanted, I edited vcpkg\ports\mongo-cxx-driver\vcpkg.json and set the “version” value to “3.6.5”
.\vcpkg install mongo-cxx-driver

The build fails with:
Downloading https://github.com/mongodb/mongo-cxx-driver/archive/r3.6.5.tar.gz -> mongodb-mongo-cxx-driver-r3.6.5.tar.gz
D:\vcpkg\downloads\mongodb-mongo-cxx-driver-r3.6.5.tar.gz.4312.part: error: download from https://github.com/mongodb/mongo-cxx-driver/archive/r3.6.5.tar.gz had an unexpected hash
note: Expected: 7b6564cb5087b03886f3c99aa5da9e87a898b1bd1098393a7668e39d673d6203a39f7fa95e5bef995f5e53c18654ef1806823cf643a994a8c19a1df75b9eb306
note: Actual  : fe304d2f406f65d79a030dcfd1509543a9ab3057e46328d5ca1fc58da04758b9a2c6666a6194d574f9b42022324972d41c37d00d6fba87dfba63fbfb99e821de
CMake Error at scripts/cmake/vcpkg_download_distfile.cmake:124 (message):
  Download failed, halting portfile.
Call Stack (most recent call first):
  scripts/cmake/vcpkg_from_github.cmake:106 (vcpkg_download_distfile)
  ports/mongo-cxx-driver/portfile.cmake:1 (vcpkg_from_github)
  scripts/ports.cmake:203 (include)

Failure logs

stdout-x64-windows.log

x64-windows.vcpkg_abi_info.txt

Additional context

No response

@rculler rculler added the category:port-bug The issue is with a library, which is something the port should already support label Mar 11, 2025
@WangWeiLin-MV WangWeiLin-MV added requires:repro The issue is not currently repro-able and removed category:port-bug The issue is with a library, which is something the port should already support labels Mar 12, 2025
@WangWeiLin-MV
Copy link
Contributor

Using the latest version of vcpkg for local installation does not reproduce the issue.

Installing 9/9 mongo-cxx-driver:[email protected]...
Building mongo-cxx-driver:[email protected]...
Downloading https://github.com/mongodb/mongo-cxx-driver/archive/r4.0.0.tar.gz -> mongodb-mongo-cxx-driver-r4.0.0.tar.gz
Successfully downloaded mongodb-mongo-cxx-driver-r4.0.0.tar.gz

Please try with latest vcpkg.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
requires:repro The issue is not currently repro-able
Projects
None yet
Development

No branches or pull requests

2 participants