OpenSCAP / scap-workbench

SCAP Scanner And Tailoring Graphical User Interface
https://www.open-scap.org/tools/scap-workbench
GNU General Public License v3.0
223 stars 65 forks source link

Enable mac build #302

Open ggbecker opened 2 years ago

ggbecker commented 2 years ago

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 commented 2 years ago

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

ggbecker commented 2 years ago

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

ggbecker commented 2 years ago

@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 commented 2 years ago

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

Mab879 commented 1 year ago

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.

ggbecker commented 1 year ago

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 commented 1 year ago

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 commented 1 year ago

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

devmuppet commented 4 months ago

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