[ 
https://issues.apache.org/jira/browse/HBASE-27741?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17703733#comment-17703733
 ] 

Andrew Kyle Purtell edited comment on HBASE-27741 at 3/22/23 4:37 PM:
----------------------------------------------------------------------

Shame the openlabs protobuf 2.5 doesn't ship a macos aarch64 binary, only a 
Linux one. But that does point to providing one being a one time cost to 
generate the binary and release it to Maven central, and then a one time cost 
to update our pom to change the protoc related configuration based on detected 
architecture. In other words someone else already "fixed" this issue for 
aarch64 linux, we could do the same for aarch64 macos.


was (Author: apurtell):
Shame the openlabs protobuf 2.5 doesn't ship a macos aarch64 binary, only a 
Linux one. But that does point to providing one being a one time cost to 
generate the binary and release it to Maven central, and then a one time cost 
to update our pom to change the protoc related configuration based on detected 
architecture. 

> Fall back to protoc osx-x86_64 on Apple Silicon
> -----------------------------------------------
>
>                 Key: HBASE-27741
>                 URL: https://issues.apache.org/jira/browse/HBASE-27741
>             Project: HBase
>          Issue Type: Task
>          Components: build
>    Affects Versions: 2.4.0, 2.5.0, 2.6.0
>            Reporter: Nick Dimiduk
>            Assignee: Nick Dimiduk
>            Priority: Minor
>             Fix For: 2.6.0, 2.4.17, 2.5.4
>
>
> Building non-master branches on an Apple Silicon machine fails because 
> there's no protoc binary available. Use a profile to fall back to the x86 
> version of the binary, as per
> https://cwiki.apache.org/confluence/display/HADOOP/Develop+on+Apple+Silicon+%28M1%29+macOS
>  



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to