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

MacPorts noreply at macports.org
Thu Oct 17 13:33:48 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 bjax):

 Ken,

 Thank you for your patience and advice.

 I ran the command you suggested from within the {{{/opt/local/ ...
 credential/osxkeychain}}} directory and got the same warning as before,
 with only slightly more information:

 {{{
 /usr/bin/clang -I. -Wall -Wl,-v -O2 -I/opt/local/include -arch x86_64 -o
 git-credential-osxkeychain git-credential-osxkeychain.o \
     -L/opt/local/lib -arch x86_64 -Wl,-framework -Wl,Security
 @(#)PROGRAM:ld  PROJECT:ld64-409.12
 BUILD 17:47:51 Sep 25 2018
 configured to support archs: armv6 armv7 armv7s arm64 i386 x86_64 x86_64h
 armv6m armv7k armv7m armv7em arm64e arm64_32
 Library search paths:
         /opt/local/lib
         /usr/lib
 Framework search paths:
         /Library/Frameworks/
         /System/Library/Frameworks/
 ld: warning: text-based stub file
 /System/Library/Frameworks//Security.framework/Security.tbd and library
 file
      /System/Library/Frameworks//Security.framework/Security are out of
 sync. Falling back to library file for linking.
 }}}

 As I reported previously, this successfully builds the {{{git-credential-
 osxkeychain}}} program in that directory.

 Is that the command that is throwing the original error, {{{ld: unexpected
 token: !tapi-tbd-v3 file
 '/System/Library/Frameworks//Security.framework/Security.tbd}}}? If so,
 I'm getting a different result when invoking that build command from the
 command line than from the {{{sudo post install git|}}} invocation.

 Perhaps now that {{{osx-credential-osxkeychain}}} is built, I can complete
 the installation by hand?

 If I'm the only one having this problem, it may not be worth your time to
 help me figure this out!

 -- Bruce

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


More information about the macports-tickets mailing list