Details
-
Sub-task
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
None
-
None
Description
Failed to build Alluxio on Centos-7 for ppcle64:
1. Glibc-2.22 is needed to be installed for protoc-3.19.2-linux-ppcle_64.exe
/ws/build/alluxio/rpm/BUILD/alluxio-2.8.0/core/transport/src/main/proto/proto/journal/table.proto [0:0]: /ws/build/alluxio/rpm/BUILD/alluxio-2.8.0/core/transport/target/protoc-plugins/protoc-3.19.2-linux-ppcle_64.exe: /lib64/ld64.so.2: version `GLIBC_2.22' not found (required by /ws/build/alluxio/rpm/BUILD/alluxio-2.8.0/core/transport/target/protoc-plugins/protoc-3.19.2-linux-ppcle_64.exe) [[1;31mERROR[m] /ws/build/alluxio/rpm/BUILD/alluxio-2.8.0/core/transport/src/main/proto/proto/journal/file.proto [0:0]: /ws/build/alluxio/rpm/BUILD/alluxio-2.8.0/core/transport/target/protoc-plugins/protoc-3.19.2-linux-ppcle_64.exe: /lib64/ld64.so.2: version `GLIBC_2.22' not found (required by /ws/build/alluxio/rpm/BUILD/alluxio-2.8.0/core/transport/target/protoc-plugins/protoc-3.19.2-linux-ppcle_64.exe) [[1;31mERROR[m] /ws/build/alluxio/rpm/BUILD/alluxio-2.8.0/core/transport/src/main/proto/proto/journal/meta.proto [0:0]: /ws/build/alluxio/rpm/BUILD/alluxio-2.8.0/core/transport/target/protoc-plugins/protoc-3.19.2-linux-ppcle_64.exe: /lib64/ld64.so.2: version `GLIBC_2.22' not found (required by /ws/build/alluxio/rpm/BUILD/alluxio-2.8.0/core/transport/target/protoc-plugins/protoc-3.19.2-linux-ppcle_64.exe)
2. Alluxio-2.8 introduced proto-backwards-compatibility check. But it doesn't support ppc64le
it need to skip it on ppc64le.
[ERROR] Failed to execute goal com.salesforce.servicelibs:proto-backwards-compatibility:1.0.7:backwards-compatibility-check (default) on project alluxio-core-transport: OS not supported. Unable to find a protolock binary for the classifier linux-ppcle_64 -> [Help 1]
1. 'protobuf-3.17.3' was pre-installed in Bigtop toolchain for ppc64le,
and protoc grpc-java-1.28.0 was also built based on protobuf-3.17.3 in Bigtop toolchain.
So replaced the protobuf-3.19.2 with 3.17.3 here to workaound the GLIBC issue.
2. protobuf-3.17.3 doesn't support ppc64le; Also skip protoc backwards compatibility check.