[MacPorts] #59076: mpich-default: ld: unexpected token: !tapi-tbd-v3 file '/Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/lib/libSystem.tbd' for architecture x86_64 (was: Mpich-default "Command execution failed".)

MacPorts noreply at macports.org
Mon Jan 25 04:40:36 UTC 2021


#59076: mpich-default: ld: unexpected token: !tapi-tbd-v3 file
'/Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/lib/libSystem.tbd'
for architecture x86_64
----------------------------+----------------------
  Reporter:  wz-billings    |      Owner:  eborisch
      Type:  defect         |     Status:  assigned
  Priority:  Normal         |  Milestone:
 Component:  ports          |    Version:
Resolution:                 |   Keywords:
      Port:  mpich-default  |
----------------------------+----------------------

Comment (by ryandesign):

 main.log says:

 {{{
 :info:configure checking whether Fortran 77 and C objects are
 compatible... no
 :info:configure checking for file... file
 :info:configure checking for linker for Fortran main program... configure:
 error: Could not determine a way to link a Fortran test program!
 }}}

 config.log says:

 {{{
 configure:42926: checking whether Fortran 77 and C objects are compatible
 configure:43005: /usr/bin/clang -c  -pipe
 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk -arch
 x86_64   -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk
 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_mpich
 /mpich-default/work/mpich-3.3.1/src/mpl/include
 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_mpich
 /mpich-default/work/mpich-3.3.1/src/mpl/include
 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_mpich
 /mpich-default/work/mpich-3.3.1/src/openpa/src
 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_mpich
 /mpich-default/work/mpich-3.3.1/src/openpa/src -D_REENTRANT
 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_mpich
 /mpich-default/work/mpich-3.3.1/src/mpi/romio/include conftest.c >&5
 configure:43005: $? = 0
 configure:43008: mv conftest.o pac_conftest.o
 configure:43011: $? = 0
 configure:43020: /opt/local/bin/gfortran-mp-9 -o conftest  -pipe -m64
 -Wl,-headerpad_max_install_names
 -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk
 -arch x86_64 conftest.f pac_conftest.o  >&5
 ld: unexpected token: !tapi-tbd-v3 file
 '/Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/lib/libSystem.tbd'
 for architecture x86_64
 collect2: error: ld returned 1 exit status
 }}}

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


More information about the macports-tickets mailing list