You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Martijn Visser (Jira)" <ji...@apache.org> on 2022/06/30 08:24:00 UTC
[jira] [Closed] (FLINK-28259) flink-parquet doesn't compile on M1 mac without rosetta
[ https://issues.apache.org/jira/browse/FLINK-28259?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Martijn Visser closed FLINK-28259.
----------------------------------
Fix Version/s: 1.16.0
Resolution: Fixed
Fixed in master: f916bcf82a437740ec96e6bfddfd609a0d8fc31b
> flink-parquet doesn't compile on M1 mac without rosetta
> -------------------------------------------------------
>
> Key: FLINK-28259
> URL: https://issues.apache.org/jira/browse/FLINK-28259
> Project: Flink
> Issue Type: Sub-task
> Components: Formats (JSON, Avro, Parquet, ORC, SequenceFile)
> Affects Versions: 1.16.0
> Reporter: Robert Metzger
> Assignee: Robert Metzger
> Priority: Major
> Labels: pull-request-available
> Fix For: 1.16.0
>
>
> Compiling Flink 1.16-SNAPSHOT fails on an M1 Mac (apple silicon) without the rosetta translation layer, because the automatically downloaded "protoc-3.17.3-osx-aarch_64.exe" file is actually just a copy of "protoc-3.17.3-osx-x86_64.exe". (as you can read here: https://github.com/os72/protoc-jar/issues/93)
> This is the error:
> {code}
> [ERROR] Failed to execute goal org.xolstice.maven.plugins:protobuf-maven-plugin:0.5.1:test-compile (default) on project flink-parquet: An error occurred while invoking protoc. Error while executing process. Cannot run program "/Users/rmetzger/Projects/flink/flink-formats/flink-parquet/target/protoc-plugins/protoc-3.17.3-osx-aarch_64.exe": error=86, Bad CPU type in executable -> [Help 1]
> {code}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)