Skip to content

[8.10] [MOD-19076] Build Redis against OpenSSL 3 on macOS CI - #11629

Merged
redisearch-backport-pull-request[bot] merged 1 commit into
8.10from
backport-agent/pr-11620-to-8.10
Sep 29, 2026
Merged

redisearch-backport-pull-request[bot] merged 1 commit into
8.10from
backport-agent/pr-11620-to-8.10

Conversation

@redisearch-backport-pull-request

Copy link
Copy Markdown
Contributor

Backport of #11620 to 8.10.
Merge commit: cf6be8195d4b6bf0401d6240e9cffa86fda9c9a6

Describe the changes in the pull request

  1. Current: Homebrew's unversioned openssl formula now installs OpenSSL 4. Every macOS CI job that compiles Redis with TLS fails before tests run: tls.c: 'X509_NAME_get_text_by_NID' is deprecated [-Werror]. This drops PRs from the merge queue on 8.6, 8.6-rse, 8.8 and 8.10, and fails the master nightly on all macOS images.
  2. Change: macOS setup installs openssl@3 explicitly, and the Redis TLS build on macOS points OPENSSL_PREFIX at it. Previously it relied on the unversioned opt/openssl.
  3. Outcome: Internal-only (CI). macOS jobs build Redis again, which unblocks the release-branch merge queues once this is backported.

Which additional issues this PR fixes

  1. MOD-19076 has the root-cause evidence from CI logs.

Main objects this PR modified

  1. build-redis action: on macOS, the TLS build passes OPENSSL_PREFIX for openssl@3.
  2. .install/macos.sh: installs openssl@3 instead of the unversioned openssl.

PR CI runs only on Ubuntu, so it does not exercise this. Validation is a manual Build on Platforms run on macos-15 and macos-26 ARM64 against this branch.

RediSearch's own CMake already prefers openssl@3 on macOS, so the module and Redis now build against the same OpenSSL. Backports need per-branch edits: 8.6, 8.6-rse and 8.4 build Redis inline in task-test.yml rather than through build-redis, and 8.8 uses make install.

Mark if applicable

  • This PR introduces API changes
  • This PR introduces serialization changes

Release Notes

  • This PR requires release notes
  • This PR does not require release notes

If a release note is required (bug fix / new feature / enhancement), describe the user impact of this PR in the title.

🤖 Generated with Claude Code

Homebrew's unversioned `openssl` formula now installs OpenSSL 4 and
unlinks openssl@3. Redis's Makefile builds against the unversioned
`opt/openssl` prefix, and its tls.c calls APIs OpenSSL 4 deprecates, so
every macOS job that compiles Redis with TLS fails under -Werror.

Install openssl@3 explicitly and point the Redis TLS build at it.

Co-authored-by: Claude Opus 5.5 <[email protected]>
(cherry picked from commit cf6be81)
@sonarqubecloud

Copy link
Copy Markdown

@redisearch-backport-pull-request
redisearch-backport-pull-request Bot added this pull request to the merge queue Sep 29, 2026
Merged via the queue into 8.10 with commit e639e37 Sep 29, 2026
38 checks passed
@redisearch-backport-pull-request
redisearch-backport-pull-request Bot deleted the backport-agent/pr-11620-to-8.10 branch September 29, 2026 17:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

auto-backport This PR was automatically backported by an agent size:S

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants