[MacPorts] #49300: port upgrade ld64-latest fails

MacPorts noreply at macports.org
Sat Nov 28 16:15:07 PST 2015


#49300: port upgrade ld64-latest fails
--------------------------+------------------------
  Reporter:  persramd@…   |      Owner:  jeremyhu@…
      Type:  defect       |     Status:  new
  Priority:  Normal       |  Milestone:
 Component:  ports        |    Version:  2.3.4
Resolution:               |   Keywords:
      Port:  ld64-latest  |
--------------------------+------------------------

Comment (by p.ohanlon@…):

 In my case updating to CLTools 4.6.3 did address the problem. The catch
 was that when I installed the Command line tools with Xcode 4.6.3 they
 were installed into
 /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/
 and not into /usr/bin (possibly because I kept an older version installed
 there). Anyway I renamed the old versions of clang,clang++ and softlinked
 the new ones in its place, after which ld64 built ok.

 In case anyone else finds it useful I used the xcrun command to find
 clang's location:

 {{{
 $ xcrun --find clang
 /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang
 }}}

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


More information about the macports-tickets mailing list