scap-workbench icon indicating copy to clipboard operation
scap-workbench copied to clipboard

Enable mac build

Open ggbecker opened this issue 3 years ago • 9 comments

I hard coded a few parts because the old code was not working so this definitely needs some improvements, but it's a proof of concept that the build actually works and people have already tried in macos monterey on intel and it works (probably newer versions of qt5 have solved compatibility problems). Jiri is going to try on macbook with m1 to see if the rosetta stuff works.

ggbecker avatar Aug 16 '22 12:08 ggbecker

building with latest Qt5 will probably help with several issues related to MacOS, like: https://github.com/OpenSCAP/scap-workbench/issues/268

ggbecker avatar Aug 16 '22 15:08 ggbecker

@j-ode will try the build with a M1 Macbook

ggbecker avatar Aug 16 '22 15:08 ggbecker

@j-ode will try the build with a M1 Macbook

someone else confirmed that it works: https://github.com/OpenSCAP/scap-workbench/issues/289#issuecomment-1216833525

ggbecker avatar Aug 16 '22 16:08 ggbecker

Build artifact: https://github.com/OpenSCAP/scap-workbench/suites/7834180074/artifacts/331355599

ggbecker avatar Sep 05 '22 10:09 ggbecker

I did some testing on an M1 machine this build does open, but I can't seem to get it to scan anything. I was able to scan a machine using an oscap-ssh command created by scap-workbench on the Mac, so I'm not sure what is up there.

Mab879 avatar Sep 29 '22 04:09 Mab879

I did some testing on an M1 machine this build does open, but I can't seem to get it to scan anything. I was able to scan a machine using an oscap-ssh command created by scap-workbench on the Mac, so I'm not sure what is up there.

That's unfortunate.

ggbecker avatar Oct 06 '22 13:10 ggbecker

This one is probably ready for review. There is still a problem which it cannot initiate a scan from the GUI, but it can be workarounded by running oscap-ssh through the command line. At least the build for Mac OS X exists and it also runs on M1 processors.

ggbecker avatar Feb 20 '23 13:02 ggbecker

Download link to latest macosx build: https://github.com/OpenSCAP/scap-workbench/suites/13785088702/artifacts/764184162

ggbecker avatar Feb 20 '23 13:02 ggbecker

any update on this? still crashes on launch mac m1 - using latest build :(

devmuppet avatar May 07 '24 09:05 devmuppet