[MacPorts] #63597: graphviz-gui @2.49.1_0.darwin_15.x86_64: unknown type name 'NSToolbarItemIdentifier'
MacPorts
noreply at macports.org
Sun Mar 24 21:38:52 UTC 2024
#63597: graphviz-gui @2.49.1_0.darwin_15.x86_64: unknown type name
'NSToolbarItemIdentifier'
---------------------------+-----------------------------------------------
Reporter: thetrial | Owner: mascguy
Type: defect | Status: closed
Priority: Normal | Milestone:
Component: ports | Version: 2.7.1
Resolution: fixed | Keywords: elcapitan legacy-os patch-pending
Port: graphviz-gui |
---------------------------+-----------------------------------------------
Comment (by sambthompson):
Replying to [comment:25 ryandesign]:
> Most of our buildbot machines use the last Xcode version that contains
the SDK version that matches the OS version. That way, there is no
confusion: symbols found at build time are available at runtime. On the
10.10 and 10.11 build machines for whatever reason I had decided at some
point to update them to newer versions of Xcode that only have the next
SDK. (The 10.10 machine's Xcode only has the 10.11 SDK; the 10.11
machine's Xcode only has the 10.12 SDK.) Probably I did this because some
port would not build otherwise. But most ports for software that is not
written specifically for macOS are not aware of how macOS SDKs work and
they assume that symbols they find at build time are always available at
runtime, which is not the case when you are building with a newer SDK. I
don't know if that is exactly what's going on here, but it's one of the
reasons this type of problem can occur.
Thanks for this explanation. There certainly have been issues over the
years with SDK versions mismatch around a number of ports (it's the most
common cause of trac tickets I've raised, certainly), but these problems
always seem to show up during build, not at runtime (as far as I know). I
would have expected more issues on the buildbot machines with building
where only the later SDK is available. Apple don't seem as concerned about
maintaining backwards compatibility as say, Microsoft is.
>
> Was this problem ever reported to the Graphviz developers? I did not see
any issue filed there containing the string `NSToolbarItemIdentifier`. We
don't want to carry patches around forever; the Graphviz repository is the
correct place for a fix for this issue to be made, not in MacPorts.
Not reported by me. Per the questions raised above, I was not confident I
understood the issue well enough to make an appropriate report upstream.
Can see the preference is to get issues addressed upstream where possible
rather than patch around them, though. I assumed the patch author would be
best placed to identify upstream issues (i.e. to know whether the root
cause was upstream or macports environment specific).
>
> For now, though, graphviz-gui @9.0.0 worked fine for me on Mac OS X
10.7.5.
Just successfully built/installed same version here on 10.11.6.
--
Ticket URL: <https://trac.macports.org/ticket/63597#comment:26>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list