Closed leifliddy closed 3 weeks ago
Update:
I was able to bypass this error by manually editing ./dependencies/vcpkg/buildtrees/versioning_/versions/boost-core/195375664be82cbc16178de90096e451de070d80/portfile.cmake
with the correct hash: a1e774c98b537dd42018742af68f5889af1afd4e6c9809399987124e56a3b9ae2f20e8173170bc6fc0ad76fb95e2da7b9d385a4037e9ee12011fc02bf8f7e009
But then I instantly ran into another hash error:
/root/cemu/dependencies/vcpkg/buildtrees/versioning_/versions/boost-describe/5bf8efca10586773cb73e95aad3cecdcff0ea57c: info: installing overlay port from here
-- Downloading https://github.com/boostorg/describe/archive/boost-1.85.0.tar.gz -> boostorg-describe-boost-1.85.0.tar.gz...
[DEBUG] To include the environment variables in debug output, pass --debug-env
[DEBUG] Trying to load bundleconfig from /root/cemu/dependencies/vcpkg/vcpkg-bundle.json
[DEBUG] Failed to open: /root/cemu/dependencies/vcpkg/vcpkg-bundle.json
[DEBUG] Bundle config: readonly=false, usegitregistry=false, embeddedsha=nullopt, deployment=Git, vsversion=nullopt
[DEBUG] Force disabling metrics with --disable-metrics
[DEBUG] Feature flag 'binarycaching' unset
[DEBUG] Feature flag 'compilertracking' unset
[DEBUG] Feature flag 'registries' unset
[DEBUG] Feature flag 'versions' unset
[DEBUG] Feature flag 'dependencygraph' unset
[DEBUG] 1000: execute_process(curl --fail -L https://github.com/boostorg/describe/archive/boost-1.85.0.tar.gz --create-dirs --output /root/cemu/dependencies/vcpkg/downloads/boostorg-describe-boost-1.85.0.tar.gz.1358.part)
[DEBUG] 1000: cmd_execute_and_stream_data() returned 0 after 440714 us
[DEBUG] Trying to hash /root/cemu/dependencies/vcpkg/downloads/boostorg-describe-boost-1.85.0.tar.gz.1358.part
[DEBUG] /root/cemu/dependencies/vcpkg/downloads/boostorg-describe-boost-1.85.0.tar.gz.1358.part has hash b1f39b2c5481a6de75bc5a77c03227fef3a889cc04b9512fadc3e689259fe4c367dec665b1f132267cf0cbe1b1d1908f521a7e9c4c622e22701b015be44f89ca
error: Failed to download from mirror set
error: File does not have the expected hash:
url: https://github.com/boostorg/describe/archive/boost-1.85.0.tar.gz
File: /root/cemu/dependencies/vcpkg/downloads/boostorg-describe-boost-1.85.0.tar.gz.1358.part
Expected hash: 19047106756e869163812439aaf2720924f1aa1e06a7cc40093330fa0260eae764ff08de57500faf49e128d3f4ebd63448c2272206e6cee77a2248ce098ccade
Actual hash: b1f39b2c5481a6de75bc5a77c03227fef3a889cc04b9512fadc3e689259fe4c367dec665b1f132267cf0cbe1b1d1908f521a7e9c4c622e22701b015be44f89ca
Something is seriously wrong here. Why are these sha512 hashes all wrong!?
WTF!? According to https://github.com/microsoft/vcpkg/blob/master/ports/boost-core/portfile.cmake
The correct hash for boost-core
is a1e774c98b537dd42018742af68f5889af1afd4e6c9809399987124e56a3b9ae2f20e8173170bc6fc0ad76fb95e2da7b9d385a4037e9ee12011fc02bf8f7e009
# Automatically generated by scripts/boost/generate-ports.ps1
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO boostorg/core
REF boost-${VERSION}
SHA512 a1e774c98b537dd42018742af68f5889af1afd4e6c9809399987124e56a3b9ae2f20e8173170bc6fc0ad76fb95e2da7b9d385a4037e9ee12011fc02bf8f7e009
HEAD_REF master
)
set(FEATURE_OPTIONS "")
boost_configure_and_install(
SOURCE_PATH "${SOURCE_PATH}"
OPTIONS ${FEATURE_OPTIONS}
)
We're aware of this issue. Here are more details https://github.com/microsoft/vcpkg/issues/38974. The gist is that boost changed files on their servers breaking all boost vcpkg ports. You should be able to checkout the latest vcpkg commit and update builtin-baseline
in vcpkg.json to a version past https://github.com/microsoft/vcpkg/commit/a8954b904ad2a6939ecd8fc213e87702fa1243ea. This will update some dependencies like wxwidgets. If you don't want to update any dependencies, you can update vcpkg to a newer commit, keep builtin-baseline
the same, and add the following to vcpkg.json
"overrides": [
{"name":"boost-core", "version": "1.85.0", "port-version": 2},
{"name":"boost-describe", "version": "1.85.0", "port-version": 2},
{"name":"boost-unordered", "version": "1.85.0", "port-version": 2},
{"name":"boost-variant2", "version": "1.85.0", "port-version": 2},
{"name":"boost-intrusive", "version": "1.85.0", "port-version": 2},
{"name":"boost-filesystem", "version": "1.85.0", "port-version": 2},
{"name":"boost-multi-index", "version": "1.85.0", "port-version": 2},
{"name":"boost-serialization", "version": "1.85.0", "port-version": 1},
{"name":"boost-tokenizer", "version": "1.85.0", "port-version": 1},
{"name":"boost-container", "version": "1.85.0", "port-version": 1},
{"name":"boost-program-options", "version": "1.85.0", "port-version": 2},
{"name":"boost-nowide", "version": "1.85.0", "port-version": 2},
{"name":"boost-algorithm", "version": "1.85.0", "port-version": 1},
{"name":"boost-functional", "version": "1.85.0", "port-version": 1},
{"name":"boost-optional", "version": "1.85.0", "port-version": 1},
{"name":"boost-signals2", "version": "1.85.0", "port-version": 1},
{"name":"boost-asio", "version": "1.85.0", "port-version": 2},
{"name":"boost-ptr-container", "version": "1.85.0", "port-version": 1},
{"name":"boost-property-tree", "version": "1.85.0", "port-version": 1},
{"name":"boost-static-string", "version": "1.85.0", "port-version": 1},
{"name":"boost-random", "version": "1.85.0", "port-version": 1}
]
Closing this since it was fixed by #1229
Current Behavior
I'm trying to build Cemu on a Fedora 40 system via my fedora cemu podman project: https://github.com/leifliddy/podman-cemu-builder
but there's an issue with downloading https://github.com/boostorg/core/archive/boost-1.85.0.tar.gz
**The issue doesn't just affect F40 -- the exact same error occurs when building with F39.
This issue should be super easy to replicate via my project.
I'm seeing this in the
vcpkg-manifest-install.log
If I run the following:
I get the following hash on that file
a1e774c98b537dd42018742af68f5889af1afd4e6c9809399987124e56a3b9ae2f20e8173170bc6fc0ad76fb95e2da7b9d385a4037e9ee12011fc02bf8f7e009
Why does it think the hash should be
3a7be75e52f5c20830fccb9e7391a1e4556ebb072e6324df95b1ba38bed46e24f4c9f27a62a1099eddc90f2ac1ede083f0c850e2dc27fd42375d028516f675b3
??Expected Behavior
The file hashes should match.
Steps to Reproduce
Run my project -- to build Cemu with Fedora 40 https://github.com/leifliddy/podman-cemu-builder
System Info (Optional)
OS: Fedora 40 GPU: Radeon RX XT/7900
Emulation Settings (Optional)
No response
Logs (Optional)