这是indexloc提供的服务,不要输入任何密码
Skip to content

Conversation

@mkruskal-google
Copy link
Contributor

Cherrypick #1407 for next release.

This will address downstream Protobuf issues such as protocolbuffers/protobuf#12201

derekmauro added 2 commits May 3, 2023 16:25
they are built

abseil#1407

PiperOrigin-RevId: 513684529
Change-Id: Ie0a164eea32becfef8f8e4a112aee158fd93dd7e
@derekmauro derekmauro merged commit c2435f8 into abseil:lts_2023_01_25 May 4, 2023
@mkruskal-google mkruskal-google deleted the testonly-install branch May 4, 2023 16:27
surfacepatterns pushed a commit to surfacepatterns/fedora-rpm-abseil-cpp that referenced this pull request Aug 2, 2024
- Explicitly list all installed shared libraries

See: abseil/abseil-cpp#1442
crupest pushed a commit to crupest/abseil-cpp that referenced this pull request Feb 9, 2025
Abseil 20230125.3 exposes libraries that were formerly internal
(“test-only”) so that other packages’ unit tests can refer to them [1].
Some of the new libraries depend on Google Mock, which Debian only ships
as a static library; as a result, the new libraries can only be shipped
statically as well. Historically, however, Abseil’s Debian packaging has
linked Abseil’s unit tests dynamically to improve build speed. (Google
Mock was built as a one-off shared library during this process, but it
was only ever used in unit tests and was never shipped to users.) Static
Abseil builds were unaware that Google Mock existed, which prevented
sbuild from building the new libraries [2].

To rectify the situation, change Abseil’s Debian packaging to link
Abseil unit tests statically and to ship the new libraries as static
archives. Also make libabsl-dev recommend libgmock-dev, since the new
libraries are useless without a corresponding Google Mock build.

[1] abseil#1442
[2] https://bugs.debian.org/1034908
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.

3 participants