[MacPorts] #65983: yabai @ 5.0.1 Build failure
MacPorts
noreply at macports.org
Tue Oct 11 13:29:01 UTC 2022
#65983: yabai @ 5.0.1 Build failure
----------------------+--------------------
Reporter: secsaba | Owner: (none)
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.7.2
Keywords: monterey | Port: yabai
----------------------+--------------------
The "sudo port build" fails for the latest yabai port. However a "cd
work/yabai-5.0.1; sudo make" will work.
I compared the commands executed by "port build" and "make". The
difference is that "port build" will add
"-isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk" to the
clang argument that will results in the following error:
{{{
In file included from src/manifest.m:71:
src/workspace.m:109:31: error: property 'safeAreaInsets' not found on
object of type 'NSScreen *'
return screen.safeAreaInsets.top;
^
1 error generated.
}}}
Without the "-isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk"
argument to clang the program compiles fine.
In what step of "port build" is this injected and how can be fixed?
--
Ticket URL: <https://trac.macports.org/ticket/65983>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list