[MacPorts] #52396: clang-3.7 build fails on Sierra

MacPorts noreply at macports.org
Mon Sep 26 17:08:30 CEST 2016


#52396: clang-3.7 build fails on Sierra
--------------------------+--------------------------------
 Reporter:  ibethune@…    |      Owner:  macports-tickets@…
     Type:  defect        |     Status:  new
 Priority:  Normal        |  Milestone:
Component:  ports         |    Version:  2.3.4
 Keywords:  clang sierra  |       Port:  clang-3.7
--------------------------+--------------------------------
 Attemping to install clang-3.7 after upgrading to Mac OS X Sierra (from a
 clean install of macports), I run into the following error:

 {{{
 Iains-MacBook-Pro:genefer ibethune$ sudo port install clang-3.7
 Password:
 --->  Computing dependencies for clang-3.7
 --->  Building clang-3.7
 Error: org.macports.build for port clang-3.7 returned: command execution
 failed
 Please see the log file for port clang-3.7 for details:
 /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_llvm-3.7/clang-3.7/main.log
 To report a bug, follow the instructions in the guide:
     http://guide.macports.org/#project.tickets
 Error: Processing of port clang-3.7 failed
 }}}

 I attach the file
 `/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_llvm-3.7/clang-3.7/main.log`
 in which the problem seems to be a linking error:

 {{{
 :info:build ld: unexpected token: !tapi-tbd-v2 file
 '/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk/usr/lib/libc++abi.tbd'
 for architecture i386
 :info:build clang: error: linker command failed with exit code 1 (use -v
 to see invocation)
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/52396>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list