+cockroachdb/cockroach#13123
Open
tannevaled wants to merge 2 commits into
Open
Conversation
Distributed SQL database (BSL 1.1, open-source core). Source-built via the legacy `make buildoss` path. Capped at v23.1.x — newer cockroach branches replaced the Makefile with a bazel-only `./dev` shim, and older branches need the cockroachdb/vendored submodule which is too big to clone per build. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
cockroach publishes git tags but no GitHub Releases — the default `releases/tags` API call returns `[]` for this repo, so the versions list came back empty and the build failed before even cloning. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This was referenced May 31, 2026
Open
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.
Summary
New pantry recipe for CockroachDB — distributed SQL database (BSL 1.1, open-source core).
make buildosspath (matches the arch AUR recipe)../devshim that requires bazel + docker, neither of which is realistic for pantry builders.cockroachdb/vendoredgit submodule (~1 GB) which we'd have to clone per build.git+https://(not the GitHub archive tarball) because it needs:c-deps/{jemalloc,krb5,geos,proj,libedit}git submodules — not present in the tarball..gitdirectory (Makefile probesgit describe; we still seed.buildinfo/tagmanually to handle shallow clones).\$(CURDIR)is inside\$(GOPATH), so the script sets up a fake\$PWD/.gopath/src/github.com/cockroachdb/cockroachsymlink and chdirs into it before invokingmake.make vendor_rebuildregeneratesvendor/fromgo.mod(v23.1 stopped shipping it as a submodule)../cockroachoss; we install it asbin/cockroachand ship the runtime GEOS shared libraries underlib/.Storage engine is Pebble (pure-Go RocksDB-alike), so there is no
rust-rocksdb/bundled-C++ pain — the cgo surface is just jemalloc + libgeos + libproj + libedit, all built in-tree via cmake.Test plan
cockroach versionreportsBuild Tag: v23.1.30(or whichever v23.1.x is current)cockroach start-single-node --insecureboots a node and accepts SQL connections viacockroach sqllib/libgeos*.{so,dylib}are present and dlopened correctly when a geospatial query is issued🤖 Generated with Claude Code