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

Peter Somogyi commented on HBASE-27741:
---------------------------------------

I'm using a workaround from [~apurtell] to build protoc 2.5.0 locally. Tested 
this PR and works well.
{code:java}
curl -sSL 
https://github.com/protocolbuffers/protobuf/releases/download/v2.5.0/protobuf-2.5.0.tar.gz
 | tar zx -
cd protobuf-2.5.0
curl -L -O 
https://gist.githubusercontent.com/liusheng/64aee1b27de037f8b9ccf1873b82c413/raw/118c2fce733a9a62a03281753572a45b6efb8639/protobuf-2.5.0-arm64.patch
patch -p1 < protobuf-2.5.0-arm64.patch
./configure --disable-shared
make
mvn install:install-file -DgroupId=com.google.protobuf -DartifactId=protoc 
-Dversion=2.5.0 -Dclassifier=osx-aarch_64 -Dpackaging=exe -Dfile=src/protoc 
{code}
 

> 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.5.0, 2.6.0
>            Reporter: Nick Dimiduk
>            Assignee: Nick Dimiduk
>            Priority: Minor
>
> 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