Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

libphonenumber: use Homebrew abseil #105800

Closed
wants to merge 1 commit into from

Conversation

carlocab
Copy link
Member

  • Have you followed the guidelines for contributing?
  • Have you ensured that your commits follow the commit style guide?
  • Have you checked that there aren't other open pull requests for the same formula update/change?
  • Have you built your formula locally with brew install --build-from-source <formula>, where <formula> is the name of the formula you're submitting?
  • Is your test running fine brew test <formula>, where <formula> is the name of the formula you're submitting?
  • Does your build pass brew audit --strict <formula> (after doing brew install --build-from-source <formula>)? If this is a new formula, does it pass brew audit --new <formula>?

This downloads its own abseil during the build, and then gets confused
about where to find abseil headers when you try to link with it.

Let's fix that by relying on our version of abseil instead.

This should help unblock #105712 and previous attempts to bump this
formula's version (e.g. #105188, #101703, #98994, #96834).

@carlocab carlocab requested a review from a team as a code owner July 14, 2022 06:30
@BrewTestBot BrewTestBot added boost Boost use is a significant feature of the PR or issue icu4c ICU use is a significant feature of the PR or issue labels Jul 14, 2022
SMillerDev
SMillerDev previously approved these changes Jul 14, 2022
Formula/libphonenumber.rb Outdated Show resolved Hide resolved
Formula/libphonenumber.rb Outdated Show resolved Hide resolved
# We're not using the upstream patch because it doesn't work yet.
# https://github.com/google/libphonenumber/pull/2772#issuecomment-1184289820
patch do
url "https://github.com/google/libphonenumber/commit/0774b63c844db93cfa85f79bd68021b335bea897.patch?full_index=1"
Copy link
Member Author

Choose a reason for hiding this comment

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

Yep, doesn't work.

This downloads its own `abseil` during the build, and then gets confused
about where to find `abseil` headers when you try to link with it.

Let's fix that by relying on our version of `abseil` instead.

This should help unblock Homebrew#105712 and previous attempts to bump this
formula's version (e.g. Homebrew#105188, Homebrew#101703, Homebrew#98994, Homebrew#96834).
@carlocab carlocab mentioned this pull request Jul 14, 2022
6 tasks
@carlocab
Copy link
Member Author

Merging this to take advantage of a free CI-long-timeout slot for #105712.

@BrewTestBot
Copy link
Member

:shipit: @carlocab has triggered a merge.

@carlocab carlocab deleted the libphonenumber-absl branch July 14, 2022 13:32
@carlocab
Copy link
Member Author

Upstream has merged a version of the patch. Switching to it in #106194.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
boost Boost use is a significant feature of the PR or issue icu4c ICU use is a significant feature of the PR or issue
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants