FS#69089 - [grpc-cli] libabsl_flags_internal.so is missing

Attached to Project: Community Packages
Opened by Andrew S. Grigorev (eigrad) - Thursday, 24 December 2020, 11:27 GMT
Last edited by Massimiliano Torromeo (mtorromeo) - Monday, 01 February 2021, 10:31 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Massimiliano Torromeo (mtorromeo)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

Description:

grpc_cli: error while loading shared libraries: libabsl_flags_internal.so: cannot open shared object file: No such file or directory

Additional info:
* package version(s) -grpc-cli-1.34.0-4

Steps to reproduce:

pacman -S grpc-cli
grpc_cli
This task depends upon

Closed by  Massimiliano Torromeo (mtorromeo)
Monday, 01 February 2021, 10:31 GMT
Reason for closing:  Fixed
Comment by loqs (loqs) - Sunday, 27 December 2020, 19:41 GMT
Bug in abseil-cpp [1] [2] which is bundled by grpc.

[1] https://github.com/abseil/abseil-cpp/issues/817
[2] https://github.com/abseil/abseil-cpp/commit/8f1c34a77a2ba04512b7f9cbc6013d405e6a0b31
Edit:
Different bug, the libs are built but not packaged.
Edit2:
Install the libs manually.

As [3] is not displayed and the PKGBUILD specifies DgRPC_INSTALL=ON should the libs not be in gRPC_ABSL_USED_TARGETS [4] making it an upstream bug.

[3] https://github.com/grpc/grpc/blob/v1.34.0/cmake/abseil-cpp.cmake#L33
[4] https://github.com/grpc/grpc/blob/v1.34.0/templates/CMakeLists.txt.template#L217
Edit3:
Updated PKGBUILD.diff include some libs I missed.
Comment by Massimiliano Torromeo (mtorromeo) - Tuesday, 19 January 2021, 11:58 GMT
A fixed and updated package is available in [community-testing]