Repository navigation
foundationdb 8.0.1, built from packages with no network; msgpack-cxx 9.0.0 (new) - #1791
Draft
bryan-minimal wants to merge 3 commits into
Draft
bryan-minimal wants to merge 3 commits into
bryan-minimal wants to merge 3 commits into
Conversation
…9.0.0 (new) foundationdb 7.3.81 -> 8.0.1. Its CMake downloaded msgpack, toml11, boost and doctest during the build, and a GitHub CDN 618 on the msgpack download failed pkgs#1784's arm64 build. The build now has no network: - boost: ours (shared). FDB asked for exactly 1.89 (7.3: 1.78) and fell back to downloading and building its own, so the boost build dep was never used. - msgpack: new msgpack-cxx 9.0.0 package (header-only, no Boost) instead of msgpack 3.3.0 from 2020; 9.0.0 fixes unpacker/zone memory-safety bugs. - fmt 11.1.4, toml11 3.8.1, doctest 2.4.8: pinned Sources (fmt/toml11 match upstream's URL_HASH), handed to FetchContent / ExternalProject. - RocksDB, gRPC, Swift, AWS, jemalloc, microbenchmarks: off. - FETCHCONTENT_FULLY_DISCONNECTED, needs.internet dropped; every rewrite is checked, and configure must find our boost and msgpack-cxx. OpenSSL 4 patch ported (TLSConfig.actor.cpp became TLSConfig.cpp); the Boost-asio define is gone with the bundled Boost. The gcc 16 template-id fix still applies. Tests: TokenSign JWT tests are gone with authz in 8.0; the TLS test reads 8.0's TLSPolicyFailure<NN> rule reasons. 8.0 removed multitenancy (tenant C symbols abort). minfs uses tenants. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Contributor
|
Important Draft PR not reviewedDraft PRs are not automatically reviewed by default.
To automatically review draft PRs, update your CodeRabbit configuration: reviews:
auto_review:
drafts: true
|
The 8.0.1 build found our Boost 1.92 at /usr/lib64/cmake/Boost-1.92.0; the check only allowed /usr/lib. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…ck-cxx check The msgpack-cxx check failed with configure succeeding (find_package REQUIRED passed), so the entry's shape differs from what it expected. Print the entries so the log shows it. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Draft: don't merge yet. FoundationDB 8.0 removed multitenancy, and minfs uses it (see "Breaking" below). Bryan is checking with the minfs owner.
foundationdb 7.3.81 → 8.0.1, built with no network, plus a new
msgpack-cxx9.0.0 package.Why
FDB's CMake downloaded its third-party code during the build. On pkgs#1784, GitHub's release CDN answered the msgpack download with an HTTP 618, which failed an unrelated OpenSSL PR on arm64. The downloads were also unpinned code we shipped without scanning. In particular, FDB 7.3 compiled its own Boost 1.78, because it asked for exactly that version, so our
boostbuild dep was never used.What comes from where now
boost(shared); build.sh drops FDB's exact-1.89 + static-libs request and makes it REQUIREDmsgpack-cxx9.0.0 (header-only, no Boost); 9.0.0 fixes unpacker/zone heap overflows and use-after-frees (msgpack-c#1183)Sources (sha256 = upstream's ownURL_HASH), viaFETCHCONTENT_SOURCE_DIR_*git cloneSource,file://URL + hashEXCLUDE_FROM_ALLbench dirs still clone it at configure time, so they aren't configuredFETCHCONTENT_FULLY_DISCONNECTED=ONandneeds.internet/dnsdropped. Everysedis checked afterwards, and configure must have found our boost and msgpack-cxx (CMakeCache.txt), so an upstream change fails the build instead of quietly downloading again. I ran the rewrites and guards against the 8.0.1 tree locally.Also
foundationdb-8.0.1-openssl4.patch). 7.3'sTLSConfig.actor.cppbecameTLSConfig.cpp(aPeerVerifierclass), so the change there isconstqualifiers only. MkCert is the same fix as before. It applies with GNUpatch -F0, with sha256 checks before and after. The Boost-asiorfc2818define is gone along with the bundled Boost.crypto_unittestsdrops/fdbrpc/TokenSign/JWT, which 8.0 removed along with authz.tls_loopbackreads 8.0's trace format, where a rule miss isTLSPolicyFailure00withReason="Rule.Cert.Subject.Name.NameMismatch[...]"and a chain failure is stillTLSPolicyFailure"preverification failed".runtime_depsgainssubsetOf boost ["libs"].Breaking (8.0.0 release notes)
fdb-7_3+tenant-experimental,tenant_mode=optional_experimental). It's dormant since 04-22, but it would crash on 8.0.Still open
🤖 Generated with Claude Code