Skip to content

Update absl dependencies in CMakeLists.txt#3215

Open
katbohm wants to merge 1 commit into
masterfrom
katbohm-patch-1
Open

Update absl dependencies in CMakeLists.txt#3215
katbohm wants to merge 1 commit into
masterfrom
katbohm-patch-1

Conversation

@katbohm

@katbohm katbohm commented Sep 18, 2023

Copy link
Copy Markdown
Contributor

Temporary fix for b/283987730 (failing build due to new protobuf having absl dependencies).

There is currently an issue with linking of Protobuf version 22.0 and newer.
This is caused by an added dependency to Abseil, and the transitive dependencies that are not propagated correctly.

This fix is working for Protobuf version 23.4 and newer.
Approximately from Protobuf version 23.4, the find_package(protobuf) which uses the embedded FindProtobuf package from CMake, have been updated to know about the Abseil dependency.

This PR is adding some needed dependencies.

Temporary fix for b/283987730 (failing build due to new protobuf having absl dependencies).
@katbohm katbohm requested a review from a team as a code owner September 18, 2023 10:38
@Tanvir786123

Copy link
Copy Markdown

I have trialled this

However, this change seems to have no effect on fixing the build for libphonenumber?

@Tanvir786123

Copy link
Copy Markdown

I have trialled this

However, this change seems to have no effect on fixing the build for libphonenumber?

I should note that this was for building CPP

gnomesysadmins pushed a commit to GNOME/gnome-build-meta that referenced this pull request Oct 2, 2023
We need the following CMake arguments inside libphonenumber:
- USE_BOOST
- BUILD_TESTING
- FETCHCONTENT_FULLY_DISCONNECTED

These CMake arguements are required because there is a linking issue
when using the new version of protobuf, which fails to link abseil
when building.

- google/libphonenumber#3215

Above is a link that will take you to an upstream pull request that
is yet to be completed.

In the meantime, we can still achieve a successfull build by following:
- https://github.com/flathub/org.gnome.Calls/blob/master/org.gnome.Calls.yaml
nephros pushed a commit to nephros/libphonenumber that referenced this pull request Dec 9, 2023
nephros pushed a commit to nephros/libphonenumber that referenced this pull request Dec 9, 2023
nephros pushed a commit to nephros/libphonenumber that referenced this pull request Dec 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants