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

MacPorts noreply at macports.org
Mon Oct 14 19:53:46 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):

 I followed the port build procedure to the line where it attempts to build
 {{{git-credential-osxkeychain}}}.
 When I manually tried running the Makefile therein using

 {{{
 $ make CFLAGS="-I. -Wall -O2 -I/opt/local/include -arch x86_64"
 LDFLAGS="-L/opt/local/lib -arch x86_64" CC=/usr/bin/clang
 prefix=/opt/local CURLDIR=/opt/local OPENSSLDIR=/opt/local
 ICONVDIR=/opt/local PERL_PATH="/opt/local/bin/perl5.26"
 PYTHON_PATH="/opt/local/bin/python2.7" NO_FINK=1 NO_DARWIN_PORTS=1
 NO_R_TO_GCC_LINKER=1 NO_PERL_CPAN_FALLBACK=1 V=1 LIBPCREDIR=/opt/local
 USE_LIBPCRE2=1
 }}}

 it successfully built the git-credential-osxkeychain.o object file, but
 issued the following warning:

 {{{
 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.
 }}}

 and the next step,

 {{{/usr/bin/clang -I. -Wall -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}}}

 emits the same error (but does builds the {{{git-credential-osxkeychain}}}
 executable).

 I don't see (in {{{main.log}}}) the invocation of the {{{ld}}} command
 that is generating the {{{ld: unexpected token}}} error. Is it in the port
 file, or some MacPort specific Makefile?

 -- Bruce

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


More information about the macports-tickets mailing list