[MacPorts] #68417: graphviz-gui @9.0.0_0: error: failed to deserialize Info.plist task context: Deserialization failed: SDK lookup failed for canonical name: macosx13.3 (in target 'application' from project 'graphviz')

MacPorts noreply at macports.org
Sat Jan 25 15:15:17 UTC 2025


#68417: graphviz-gui @9.0.0_0: error: failed to deserialize Info.plist task
context: Deserialization failed: SDK lookup failed for canonical name:
macosx13.3 (in target 'application' from project 'graphviz')
---------------------------+------------------------
  Reporter:  dershow       |      Owner:  ryandesign
      Type:  defect        |     Status:  assigned
  Priority:  Normal        |  Milestone:
 Component:  ports         |    Version:
Resolution:                |   Keywords:
      Port:  graphviz-gui  |
---------------------------+------------------------

Comment (by szhorvat):

 > I will add the last os-version-matching sdk to the sdks folder if xcode
 moves the sdk up a version past the os

 Ken, could you please clarify how to do this?

 I see SDKs in two places, and it's unclear where I need to do
 modifications to make this port work.

 {{{
  $ ls -l /Library/Developer/CommandLineTools/SDKs
 total 0
 lrwxr-xr-x  1 root  wheel   14 Jan 25 11:56 MacOSX.sdk@ -> MacOSX15.2.sdk
 drwxr-xr-x  7 root  wheel  224 Nov 12  2022 MacOSX13.1.sdk/
 drwxr-xr-x  9 root  wheel  288 Jan 25 11:53 MacOSX14.5.sdk/
 lrwxr-xr-x  1 root  wheel   14 Dec 15 16:24 MacOSX14.sdk@ ->
 MacOSX14.5.sdk
 drwxr-xr-x  8 root  wheel  256 Jan 25 11:54 MacOSX15.2.sdk/
 lrwxr-xr-x  1 root  wheel   14 Dec 15 16:24 MacOSX15.sdk@ ->
 MacOSX15.2.sdk

 ~ $ ls -l
 /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/
 total 0
 drwxr-xr-x  7 root  wheel  224 Nov 21 08:06 MacOSX.sdk/
 lrwxr-xr-x  1 root  wheel   10 Dec 15 17:42 MacOSX15.2.sdk@ -> MacOSX.sdk
 lrwxr-xr-x  1 root  wheel   10 Dec 15 17:42 MacOSX15.sdk@ -> MacOSX.sdk
 }}}

 I tried to change the `MacOSX.sdk` symlink in
 `/Library/Developer/CommandLineTools/SDKs` to point to the 14.5 one, but
 it didn't help, so I reverted that change.

 I can't seem to make changes within
 `/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/`.
 I keep getting "Operation not permitted" even with `sudo`.

 During compiling this port I do see:

 {{{
 error: failed to deserialize Info.plist task context: Deserialization
 failed: SDK lookup failed for canonical name: macosx14.5 (in target
 'application' from project 'graphviz')
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/68417#comment:34>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list