JFYI, I also believe we need to upgrade the akka family version and it's an ugly way but anyway I could build OW on m1 mac as is like this: https://github.com/apache/openwhisk/issues/5196
In short, you can specify the osx-x86_64 version of protoc. -dom 2022년 12월 26일 (월) 오전 1:05, Brendan Doyle <bdoyle0...@gmail.com>님이 작성: > Hi Michele, > > The Akka patch should be safe. I’ve worked pretty extensively with the > 2.6.x Akka series, and it should be fine to just update the gradle to bump > to 2.6.19. Unless there’s a breaking change in protobuf from 3.4 to 3.5 > (which I highly doubt since I use proto with my Akka use as well) there > shouldn’t be any problem. > > The continued use of Lightbend Akka is going to be a large discussion point > for the community whenever we meet in January as 2.6.19 is the last Apache > licensed version. > > Brendan > > On Sun, Dec 25, 2022 at 10:21 AM Michele Sciabarra <mich...@sciabarra.com> > wrote: > > > Hello, I tried to build openwhisk on ARM (most notably on my Mac, an > Apple > > M1) and I always fails because of this error: > > > > execution failed for task ':core:scheduler:generateProto'. > > > Could not resolve all files for configuration > > ':core:scheduler:protobufToolsLocator_protoc'. > > > Could not find protoc-3.4.0-osx-aarch_64.exe > > (com.google.protobuf:protoc:3.4.0). > > Searched in the following locations: > > > > > https://repo.maven.apache.org/maven2/com/google/protobuf/protoc/3.4.0/protoc-3.4.0-osx-aarch_64.exe > > > > Looks like version 3.4 does not have an ARM version. > > The funny thing is that if we try to use version 3.5, there IS a version > > for ARM > > > > > > > https://repo.maven.apache.org/maven2/com/google/protobuf/protoc/3.5.0/protoc-3.5.0-linux-aarch_64.exe > > > > However looks like it is actually a transitive dependency of > akka-protobuf > > so we should upgrade akka. > > > > We are using akka 2.6.12, the latest version is 2.6.19, > > > > Are there any plan to upgrade akka? > > > > > > > > -- > > Michele Sciabarra > > mich...@sciabarra.com > > > [image: Mailtrack] <https://mailtrack.io?utm_source=gmail&utm_medium=signature&utm_campaign=signaturevirality11&> Sender notified by Mailtrack <https://mailtrack.io?utm_source=gmail&utm_medium=signature&utm_campaign=signaturevirality11&> 22. 12. 26. 오전 10:33:28