Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

macOS not supported #1955

Open
autoantwort opened this issue Mar 11, 2023 · 2 comments
Open

macOS not supported #1955

autoantwort opened this issue Mar 11, 2023 · 2 comments

Comments

@autoantwort
Copy link

I tried to build the latest release, but I got the following error:

[176/207] /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc -DHAVE_CONFIG_H -DLIBXML_STATIC -DLIBXSLT_STATIC -DOSCAP_BUILD_SHARED -DXMLSEC_NO_CRYPTO_DYNAMIC_LOADING -DXMLSEC_STATIC -D_DARWIN_C_SOURCE -I/Users/leanderSchulten/git_projekte/vcpkg/buildtrees/openscap/src/0dbee52b03-c498877e92.clean/compat -I/Users/leanderSchulten/git_projekte/vcpkg/buildtrees/openscap/src/0dbee52b03-c498877e92.clean/src -I/Users/leanderSchulten/git_projekte/vcpkg/buildtrees/openscap/src/0dbee52b03-c498877e92.clean/src/common -I/Users/leanderSchulten/git_projekte/vcpkg/buildtrees/openscap/src/0dbee52b03-c498877e92.clean/src/common/public -I/Users/leanderSchulten/git_projekte/vcpkg/buildtrees/openscap/src/0dbee52b03-c498877e92.clean/src/CPE/public -I/Users/leanderSchulten/git_projekte/vcpkg/buildtrees/openscap/src/0dbee52b03-c498877e92.clean/src/CVE/public -I/Users/leanderSchulten/git_projekte/vcpkg/buildtrees/openscap/src/0dbee52b03-c498877e92.clean/src/CVRF/public -I/Users/leanderSchulten/git_projekte/vcpkg/buildtrees/openscap/src/0dbee52b03-c498877e92.clean/src/CVSS/public -I/Users/leanderSchulten/git_projekte/vcpkg/buildtrees/openscap/src/0dbee52b03-c498877e92.clean/src/DS/public -I/Users/leanderSchulten/git_projekte/vcpkg/buildtrees/openscap/src/0dbee52b03-c498877e92.clean/src/OVAL/public -I/Users/leanderSchulten/git_projekte/vcpkg/buildtrees/openscap/src/0dbee52b03-c498877e92.clean/src/OVAL/probes/public -I/Users/leanderSchulten/git_projekte/vcpkg/buildtrees/openscap/src/0dbee52b03-c498877e92.clean/src/OVAL/probes/SEAP -I/Users/leanderSchulten/git_projekte/vcpkg/buildtrees/openscap/src/0dbee52b03-c498877e92.clean/src/OVAL/probes/SEAP/public -I/Users/leanderSchulten/git_projekte/vcpkg/buildtrees/openscap/src/0dbee52b03-c498877e92.clean/src/OVAL -I/Users/leanderSchulten/git_projekte/vcpkg/buildtrees/openscap/src/0dbee52b03-c498877e92.clean/src/source/public -I/Users/leanderSchulten/git_projekte/vcpkg/buildtrees/openscap/src/0dbee52b03-c498877e92.clean/src/XCCDF -I/Users/leanderSchulten/git_projekte/vcpkg/buildtrees/openscap/src/0dbee52b03-c498877e92.clean/src/XCCDF/public -I/Users/leanderSchulten/git_projekte/vcpkg/buildtrees/openscap/src/0dbee52b03-c498877e92.clean/src/XCCDF_POLICY -I/Users/leanderSchulten/git_projekte/vcpkg/buildtrees/openscap/src/0dbee52b03-c498877e92.clean/src/XCCDF_POLICY/public -I/Users/leanderSchulten/git_projekte/vcpkg/buildtrees/openscap/src/0dbee52b03-c498877e92.clean/yaml-filter/src -I/Users/leanderSchulten/git_projekte/vcpkg/buildtrees/openscap/arm64-osx-dbg -I/Users/leanderSchulten/git_projekte/vcpkg/vcpkg_installed/arm64-osx/include/libxml2 -I/Users/leanderSchulten/git_projekte/vcpkg/vcpkg_installed/arm64-osx/include -I/Users/leanderSchulten/git_projekte/vcpkg/buildtrees/openscap/src/0dbee52b03-c498877e92.clean/src/OVAL/probes/. -fPIC -D_POSIX_C_SOURCE=200112L -g -arch arm64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX13.1.sdk -fPIC -fvisibility=hidden -MD -MT src/OVAL/probes/unix/CMakeFiles/unix_probes_object.dir/runlevel_probe.c.o -MF src/OVAL/probes/unix/CMakeFiles/unix_probes_object.dir/runlevel_probe.c.o.d -o src/OVAL/probes/unix/CMakeFiles/unix_probes_object.dir/runlevel_probe.c.o -c /Users/leanderSchulten/git_projekte/vcpkg/buildtrees/openscap/src/0dbee52b03-c498877e92.clean/src/OVAL/probes/unix/runlevel_probe.c
FAILED: src/OVAL/probes/unix/CMakeFiles/unix_probes_object.dir/runlevel_probe.c.o 
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc -DHAVE_CONFIG_H -DLIBXML_STATIC -DLIBXSLT_STATIC -DOSCAP_BUILD_SHARED -DXMLSEC_NO_CRYPTO_DYNAMIC_LOADING -DXMLSEC_STATIC -D_DARWIN_C_SOURCE -I/Users/leanderSchulten/git_projekte/vcpkg/buildtrees/openscap/src/0dbee52b03-c498877e92.clean/compat -I/Users/leanderSchulten/git_projekte/vcpkg/buildtrees/openscap/src/0dbee52b03-c498877e92.clean/src -I/Users/leanderSchulten/git_projekte/vcpkg/buildtrees/openscap/src/0dbee52b03-c498877e92.clean/src/common -I/Users/leanderSchulten/git_projekte/vcpkg/buildtrees/openscap/src/0dbee52b03-c498877e92.clean/src/common/public -I/Users/leanderSchulten/git_projekte/vcpkg/buildtrees/openscap/src/0dbee52b03-c498877e92.clean/src/CPE/public -I/Users/leanderSchulten/git_projekte/vcpkg/buildtrees/openscap/src/0dbee52b03-c498877e92.clean/src/CVE/public -I/Users/leanderSchulten/git_projekte/vcpkg/buildtrees/openscap/src/0dbee52b03-c498877e92.clean/src/CVRF/public -I/Users/leanderSchulten/git_projekte/vcpkg/buildtrees/openscap/src/0dbee52b03-c498877e92.clean/src/CVSS/public -I/Users/leanderSchulten/git_projekte/vcpkg/buildtrees/openscap/src/0dbee52b03-c498877e92.clean/src/DS/public -I/Users/leanderSchulten/git_projekte/vcpkg/buildtrees/openscap/src/0dbee52b03-c498877e92.clean/src/OVAL/public -I/Users/leanderSchulten/git_projekte/vcpkg/buildtrees/openscap/src/0dbee52b03-c498877e92.clean/src/OVAL/probes/public -I/Users/leanderSchulten/git_projekte/vcpkg/buildtrees/openscap/src/0dbee52b03-c498877e92.clean/src/OVAL/probes/SEAP -I/Users/leanderSchulten/git_projekte/vcpkg/buildtrees/openscap/src/0dbee52b03-c498877e92.clean/src/OVAL/probes/SEAP/public -I/Users/leanderSchulten/git_projekte/vcpkg/buildtrees/openscap/src/0dbee52b03-c498877e92.clean/src/OVAL -I/Users/leanderSchulten/git_projekte/vcpkg/buildtrees/openscap/src/0dbee52b03-c498877e92.clean/src/source/public -I/Users/leanderSchulten/git_projekte/vcpkg/buildtrees/openscap/src/0dbee52b03-c498877e92.clean/src/XCCDF -I/Users/leanderSchulten/git_projekte/vcpkg/buildtrees/openscap/src/0dbee52b03-c498877e92.clean/src/XCCDF/public -I/Users/leanderSchulten/git_projekte/vcpkg/buildtrees/openscap/src/0dbee52b03-c498877e92.clean/src/XCCDF_POLICY -I/Users/leanderSchulten/git_projekte/vcpkg/buildtrees/openscap/src/0dbee52b03-c498877e92.clean/src/XCCDF_POLICY/public -I/Users/leanderSchulten/git_projekte/vcpkg/buildtrees/openscap/src/0dbee52b03-c498877e92.clean/yaml-filter/src -I/Users/leanderSchulten/git_projekte/vcpkg/buildtrees/openscap/arm64-osx-dbg -I/Users/leanderSchulten/git_projekte/vcpkg/vcpkg_installed/arm64-osx/include/libxml2 -I/Users/leanderSchulten/git_projekte/vcpkg/vcpkg_installed/arm64-osx/include -I/Users/leanderSchulten/git_projekte/vcpkg/buildtrees/openscap/src/0dbee52b03-c498877e92.clean/src/OVAL/probes/. -fPIC -D_POSIX_C_SOURCE=200112L -g -arch arm64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX13.1.sdk -fPIC -fvisibility=hidden -MD -MT src/OVAL/probes/unix/CMakeFiles/unix_probes_object.dir/runlevel_probe.c.o -MF src/OVAL/probes/unix/CMakeFiles/unix_probes_object.dir/runlevel_probe.c.o.d -o src/OVAL/probes/unix/CMakeFiles/unix_probes_object.dir/runlevel_probe.c.o -c /Users/leanderSchulten/git_projekte/vcpkg/buildtrees/openscap/src/0dbee52b03-c498877e92.clean/src/OVAL/probes/unix/runlevel_probe.c
/Users/leanderSchulten/git_projekte/vcpkg/buildtrees/openscap/src/0dbee52b03-c498877e92.clean/src/OVAL/probes/unix/runlevel_probe.c:467:3: error: "Sorry, your OS isn't supported."
# error "Sorry, your OS isn't supported."
  ^
1 error generated.

Since I saw some other macOS issues, I guess macOS is generally supported.

@evgenyz
Copy link
Contributor

evgenyz commented Mar 12, 2023

Did you follow the same procedure as in MacOS X CI action to build your copy?

What is your configuration (OS version, brew, etc)?

@autoantwort
Copy link
Author

autoantwort commented Mar 16, 2023

I am on macOS 13.2.1 with M1 Pro. I use brew but the following to build the project: https://github.com/microsoft/vcpkg/blob/ebd0e9880df7f62124b17baaf7174922687764b5/ports/openscap/portfile.cmake
For logs see here: https://cloud.hilton.rwth-aachen.de/index.php/s/cpJpqxod7de4S3c

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants