[
https://issues.apache.org/jira/browse/FLINK-23230?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17446399#comment-17446399
]
Maciej Bryński edited comment on FLINK-23230 at 11/19/21, 9:53 AM:
-------------------------------------------------------------------
[~MartijnVisser]
Current status with current master and my PR is like this:
{code:java}
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 06:32 min
[INFO] Finished at: 2021-11-19T09:31:23+01:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal
org.xolstice.maven.plugins:protobuf-maven-plugin:0.5.1:test-compile (default)
on project flink-parquet_2.12: Missing:
[ERROR] ----------
[ERROR] 1) com.google.protobuf:protoc:exe:osx-aarch_64:3.5.1
[ERROR]
[ERROR] Try downloading the file manually from the project website.
[ERROR]
[ERROR] Then, install it using the command:
[ERROR] mvn install:install-file -DgroupId=com.google.protobuf
-DartifactId=protoc -Dversion=3.5.1 -Dclassifier=osx-aarch_64 -Dpackaging=exe
-Dfile=/path/to/file
[ERROR]
[ERROR] Alternatively, if you host your own repository you can deploy the
file there:
[ERROR] mvn deploy:deploy-file -DgroupId=com.google.protobuf
-DartifactId=protoc -Dversion=3.5.1 -Dclassifier=osx-aarch_64 -Dpackaging=exe
-Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
[ERROR]
[ERROR] Path to dependency:
[ERROR] 1) org.apache.flink:flink-parquet_2.12:jar:1.15-SNAPSHOT
[ERROR] 2) com.google.protobuf:protoc:exe:osx-aarch_64:3.5.1
[ERROR]
[ERROR] ----------
[ERROR] 1 required artifact is missing.
[ERROR]
[ERROR] for artifact:
[ERROR] org.apache.flink:flink-parquet_2.12:jar:1.15-SNAPSHOT
[ERROR]
[ERROR] from the specified remote repositories:
[ERROR] apache.snapshots (https://repository.apache.org/snapshots,
releases=false, snapshots=true),
[ERROR] central (https://repo.maven.apache.org/maven2, releases=true,
snapshots=false)
[ERROR] {code}
What can we do next ?
PS. Is there a chance somebody merge my PR ?
I added subtask for that: https://issues.apache.org/jira/browse/FLINK-24964
[https://github.com/apache/flink/pull/17795]
was (Author: maver1ck):
[~MartijnVisser]
Current status with current master and my PR is like this:
{code:java}
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 06:32 min
[INFO] Finished at: 2021-11-19T09:31:23+01:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal
org.xolstice.maven.plugins:protobuf-maven-plugin:0.5.1:test-compile (default)
on project flink-parquet_2.12: Missing:
[ERROR] ----------
[ERROR] 1) com.google.protobuf:protoc:exe:osx-aarch_64:3.5.1
[ERROR]
[ERROR] Try downloading the file manually from the project website.
[ERROR]
[ERROR] Then, install it using the command:
[ERROR] mvn install:install-file -DgroupId=com.google.protobuf
-DartifactId=protoc -Dversion=3.5.1 -Dclassifier=osx-aarch_64 -Dpackaging=exe
-Dfile=/path/to/file
[ERROR]
[ERROR] Alternatively, if you host your own repository you can deploy the
file there:
[ERROR] mvn deploy:deploy-file -DgroupId=com.google.protobuf
-DartifactId=protoc -Dversion=3.5.1 -Dclassifier=osx-aarch_64 -Dpackaging=exe
-Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
[ERROR]
[ERROR] Path to dependency:
[ERROR] 1) org.apache.flink:flink-parquet_2.12:jar:1.15-SNAPSHOT
[ERROR] 2) com.google.protobuf:protoc:exe:osx-aarch_64:3.5.1
[ERROR]
[ERROR] ----------
[ERROR] 1 required artifact is missing.
[ERROR]
[ERROR] for artifact:
[ERROR] org.apache.flink:flink-parquet_2.12:jar:1.15-SNAPSHOT
[ERROR]
[ERROR] from the specified remote repositories:
[ERROR] apache.snapshots (https://repository.apache.org/snapshots,
releases=false, snapshots=true),
[ERROR] central (https://repo.maven.apache.org/maven2, releases=true,
snapshots=false)
[ERROR] {code}
What can we do next ?
PS. Is there a chance somebody merge my PR ?
https://github.com/apache/flink/pull/17795
> Cannot compile Flink on MacOS with M1 chip
> ------------------------------------------
>
> Key: FLINK-23230
> URL: https://issues.apache.org/jira/browse/FLINK-23230
> Project: Flink
> Issue Type: Bug
> Components: Build System
> Affects Versions: 1.13.1
> Reporter: Osama Neiroukh
> Priority: Minor
> Labels: pull-request-available
>
> Flink doesn't currently compile on MacOS with M1 silicon.
> This is true for all recent versions (1.13.X) as well as master.
> Some of the problems have potentially easy fixes, such as installing node
> separately or updating the relevant pom.xml to use a newer version of node. I
> am getting some errors about deprecated features being used which are not
> supported by newer node, but on the surface they seem easy to resolve.
> I've had less success with complex dependencies such as protobuf.
> My long term objective is to use and contribute to Flink. If I can get some
> help with the above issues, I am willing to make the modifications, submit
> the changes as a pull request, and shepherd them to release. If compilation
> on MacOS/M1 is not a priority, I can look for a virtual machine solution
> instead. Feedback appreciated.
>
> Thanks
>
> Osama
--
This message was sent by Atlassian Jira
(v8.20.1#820001)