Skip to content

Draft: Fix remaining issues of !51119: fix lfs64 in criu, and build protobuf-static needed by grpc-java

Celeste requested to merge Celeste/aports:test-criu-protobuf-24 into master

According to https://github.com/grpc/grpc-java/blob/v1.52.1/compiler/build.gradle#L112 it seems grpc-java wants to be linked with static versions of libprotoc and libprotobuf.

Those are available in Alpine 3.18, but were probably removed when protobuf switched to building with cmake, which seems to make shared and static builds mutually exclusive.

Among other things, this MR builds a protobuf-static subpackage to allow grpc-java to build successfully. I tried patching the build.gradle of grpc-java to allow linking with the shared libprotoc and libprotobuf, but it did not work out. Perhaps someone else may want to give that a try.

Edited by Celeste

Merge request reports

Loading