Pritam, Glad to hear that. I've recently fixed the build on osx/m1 with https://github.com/apache/cloudstack/pull/6537
The latest 4.17 and main branch should build OK on osx/m1. To solve the missing 'python' issue I had symlinked 'python' to the binary installed by brew. > ls -lahi /opt/homebrew/bin/python 7067298 lrwxr-xr-x 1 rohit admin 7B Apr 7 18:21 /opt/homebrew/bin/python -> python3 I'm able to build, debug and run ACS on osx/m1 along with MySQL 8 but limited to development against simulator. Regards. ________________________________ From: Pritam Neog <neog.geek...@gmail.com> Sent: Friday, July 8, 2022 23:55 To: dev@cloudstack.apache.org <dev@cloudstack.apache.org> Subject: Re: Build fails in macOS Hi Marcus, The errors were due to my python installations. Couldn't figure out what caused it but installing python versions using pyenv seemed to solve it. On Fri, 8 Jul 2022, 9:54 pm Marcus, <shadow...@gmail.com> wrote: > Hi, sorry you didn't get a reply sooner, but I just noticed this. All I can > say is that yes, I've run into some issues as well with building on MacOS. > Most of them seem minor and scripting related, like you mention - > dependency on bash arrays was another I ran into, needed to install bash5. > Generally I have been able to get it to work by tweaking my environment so > the codebase doesn't need to be, and with a native ARM JRE it only takes ~2 > minutes to build the entire code base! > > On Fri, Jun 24, 2022 at 12:36 AM Pritam Neog <neog.geek...@gmail.com> > wrote: > > > Hi all > > > > I was trying to build cloudstack from source but it fails to build the > > Apache CloudStack marvin 4.17.0.0 pom. > > > > This is the error produced: > > > > [ERROR] Failed to execute goal > > org.codehaus.mojo:exec-maven-plugin:1.2.1:exec (package) on project > > cloud-marvin: Command execution failed.: Cannot run program "python" (in > > directory "/Users/neog/acs/cloudstack/tools/marvin"): error=2, No such > file > > or directory > > > > But the directory exists and I’ve edited my sudoers file to grant > > cloudstack root access. > > > > Previously, the build was failing at apidoc pom where ‘python’ was not > > recognised by maven even after setting alias for python=python3 and it > > works flawlessly elsewhere. I fixed it by editing out all python > > occurrences to python3 in tools/apidoc/build-apidoc.sh > > > > Environment: > > OS name: "mac os x” > > version: “12.4" > > arch: “aarch64" > > family: "mac" >