hi everyone, I would like to compile flink-connector-pulsar in my company's OE system , and he operating environment of oe is k8s??and my flink version is 1.17.2. But it throwed some error during compilation. The following is the specific exception information??
[2023-10-26T18:20:30.061][CompileProject][INFO] [INFO] [2023-10-26T18:20:30.061][CompileProject][INFO] [INFO] --- maven-enforcer-plugin:3.1.0:enforce (forbid-log4j-1) @ -connector-pulsar ---[2023-10-26T18:20:30.077][CompileProject][INFO] [INFO] [2023-10-26T18:20:30.077][CompileProject][INFO] [INFO] --- maven-enforcer-plugin:3.1.0:enforce (d-direct-akka-rpc-dependencies) @ flink-connector-pulsar ---[2023-10-26T18:20:30.091][CompileProject][INFO] [INFO] [2023-10-26T18:20:30.091][CompileProject][INFO] [INFO] --- maven-enforcer-plugin:3.1.0:enforce (d-direct-table-planner-dependencies) @ flink-connector-pulsar ---[2023-10-26T18:20:30.107][CompileProject][INFO] [INFO] [2023-10-26T18:20:30.107][CompileProject][INFO] [INFO] --- maven-enforcer-plugin:3.1.0:enforce (enforce-versions) @ -connector-pulsar ---[2023-10-26T18:20:30.122][CompileProject][INFO] [INFO] [2023-10-26T18:20:30.122][CompileProject][INFO] [INFO] --- directory-maven-plugin:0.1:directory-of (directories) @ -connector-pulsar ---[2023-10-26T18:20:30.138][CompileProject][INFO] [INFO] Directory of org.apache.flink:flink-parent set to: /gaia/workspace-job/datainfra-hadoop/flink[2023-10-26T18:20:30.138][CompileProject][INFO] [INFO] [2023-10-26T18:20:30.138][CompileProject][INFO] [INFO] --- protobuf-maven-plugin:0.6.1:test-compile (default) @ flink-connector-pulsar ---2023-10-26T18:20:30.320][CompileProject][INFO] [INFO] Compiling 1 proto file(s) to /gaia/workspace-job/git.xiaojukeji.com/datainfra-hadoop/flink/flink-connectors/flink-connector-pulsar/target/generated-test-sources/protobuf/java[2023-10-26T18:20:30.334][CompileProject][INFO] [ERROR] PROTOC FAILED: /gaia/workspace-job/datainfra-hadoop/flink/flink-connectors/flink-connector-pulsar/target/protoc-plugins/protoc-3.21.9-osx-x86_64.exe: /gaia/workspace-job/datainfra-hadoop/flink/flink-connectors/flink-connector-pulsar/target/protoc-plugins/protoc-3.21.9-osx-x86_64.exe: cannot execute binary file[2023-10-26T18:20:30.334][CompileProject][INFO] [ERROR] /gaia/workspace-job/datainfra-hadoop/flink/flink-connectors/flink-connector-pulsar/src/test/resources/protobuf/sample_message.proto [0:0]: /gaia/workspace-job/datainfra-hadoop/flink/flink-connectors/flink-connector-pulsar/target/protoc-plugins/protoc-3.21.9-osx-x86_64.exe: /gaia/workspace-job/datainfra-hadoop/flink/flink-connectors/flink-connector-pulsar/target/protoc-plugins/protoc-3.21.9-osx-x86_64.exe: cannot execute binary file The code would report some error if I delete the com.google.protobuf:protoc in pom like this : <protocArtifact> com.google.protobuf:protoc:${protobuf.version}:exe:${os.detected.classifier}</protocArtifact> Does anyone know how to solve this problem ?? thanks very much !! Best, Akihito