[MacPorts] #59220: git @ 2.23.0_1 +credential_osxkeychain "unexpected token: !tapi-tbd-v3" - build failure

MacPorts noreply at macports.org
Fri Oct 11 17:39:28 UTC 2019


#59220: git @ 2.23.0_1 +credential_osxkeychain "unexpected token: !tapi-tbd-v3" -
build failure
---------------------+----------------------
  Reporter:  bjax    |      Owner:  ci42
      Type:  defect  |     Status:  assigned
  Priority:  Normal  |  Milestone:
 Component:  ports   |    Version:  2.6.1
Resolution:          |   Keywords:
      Port:  git     |
---------------------+----------------------

Comment (by kencu):

 This `unexpected token: !tapi-tbd-v3` means that the `ld64` that looked at
 the `tbd` file didn't know what it was.

 That means, usually, that the `ld64` is too old. All of our `ld64`
 versions on `MacPorts` are too old to know what to do with a `tbd` file,
 so we either have to uninstall them or have them pass through to the
 `ld64` in xcode; we chose the latter. Homebrew doesn't use `ld64` or
 `cctools` on any recent os versions (ie any of the versions they support).
 Simpler, but less flexible.

 Now - with that background - why is an `ld64` being called in that doesn't
 know what to do with a `tbd` file?

 Next thing I personally would do is go into the build folder and run that
 link command manually, but I'm not sure if you're up for that. Or
 otherwise ponder your installation, multiple xcode version?, some symlinks
 you made once upon a time?, any other weirdness?

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


More information about the macports-tickets mailing list