Skip to content

Conversation

@timbess
Copy link
Contributor

@timbess timbess commented Nov 7, 2025

This prevents find_program/etc. from resolving system dependencies in the homebrew directory and implicitly picking up dependencies we intend to vendor. We were experiencing missing symbol errors after homebrew upgraded the Abseil LTS a few months back, which was implicitly pulled in by libprotobuf's CMakeLists.txt using find_package. This forces libprotobuf to failover to vendoring the abseil build and pulling in the correct headers.

Pull Request Checklist

  • Description which clearly states what problems the PR solves.
  • Description contains a link to the Github Issue, and any relevent
    Discussions, this PR applies to.
  • Include new tests that fail without this PR but passes with it.
  • Include any relevent Documentation changes related to this change.
  • Verify all commits have been signed in accordance with the DCO policy.
  • Reviewed PR commit history to remove unnecessary changes.
  • Make sure your PR passes build, test and lint steps completely.

This prevents `find_program`/etc. from resolving system dependencies in
the homebrew directory and implicitly picking up dependencies we intend to
vendor. We were experiencing missing symbol errors after homebrew upgraded the
Abseil LTS a few months back, which was implicitly pulled in by libprotobuf's
`CMakeLists.txt` using `find_package`. This forces libprotobuf to failover
to vendoring the abseil build and pulling in the correct headers.

Signed-off-by: Timothy Bess <[email protected]>
@timbess timbess force-pushed the bugfix/implicit-system-absl-usage branch from 737265b to 2cd998c Compare November 7, 2025 17:14
@timbess timbess changed the title Prevent Homebrew Resolution Prevent homebrew resolution Nov 7, 2025
@timbess timbess force-pushed the bugfix/implicit-system-absl-usage branch 4 times, most recently from f436180 to 77b60b5 Compare November 7, 2025 20:21
Signed-off-by: Andrew Stein <[email protected]>
@timbess timbess force-pushed the bugfix/implicit-system-absl-usage branch from 77b60b5 to 4fddc55 Compare November 10, 2025 15:37
@timbess timbess marked this pull request as ready for review November 10, 2025 15:38
Copy link
Member

@texodus texodus left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the PR! Looks good!

@texodus texodus merged commit e699207 into master Nov 10, 2025
14 checks passed
@texodus texodus deleted the bugfix/implicit-system-absl-usage branch November 10, 2025 16:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

3 participants