[MacPorts] #54985: clang-3.9 @3.9.1_6 wrappers broken at least with Snow Leopard/Xcode 3.2.6

MacPorts noreply at macports.org
Wed Oct 18 01:40:31 UTC 2017


#54985: clang-3.9 @3.9.1_6 wrappers broken at least with Snow Leopard/Xcode 3.2.6
------------------------+----------------------
  Reporter:  rlhamil    |      Owner:  jeremyhu
      Type:  defect     |     Status:  assigned
  Priority:  Normal     |  Milestone:
 Component:  ports      |    Version:  2.4.1
Resolution:             |   Keywords:
      Port:  clang-3.9  |
------------------------+----------------------

Comment (by kencu):

 Thanks for the input!

 On my systems here:

 on 10.6.8 with Xcode 3.2.6, `xcrun /Developer/usr/bin/clang` returns
 {{{
 xcodebuild: error: invalid tool name - '/Developer/usr/bin/clang' contains
 '/' characters
 }}}

 on 10.6.8 with Xcode 4.2, `xcrun /Developer/usr/bin/clang` returns
 {{{
 xcodebuild: error: '/Developer/usr/bin/clang' not found.
 /Developer/usr/bin/xcodebuild fails with 17664 - Unknown error: 17664
 }}}

 So it looks like either possible Xcode version for 10.6 errors out. Given
 that, I guess the system test would give the same outcome as a `[vercmp
 ${xcodeversion} 4.3] < 0` test, so it's kinda moot. You're the spearhead
 on these clang ports so I'll change it if you prefer.

 On 10.7, xcrun will accept a full path name without issues.

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


More information about the macports-tickets mailing list