clang-3.9 wrappers now broken on Snow Leopard

Richard L. Hamilton rlhamil at smart.net
Tue Oct 3 17:24:59 UTC 2017


> On Oct 2, 2017, at 19:35, Ryan Schmidt <ryandesign at macports.org> wrote:
> 
> 
> On Oct 2, 2017, at 07:18, Richard L. Hamilton wrote:
> 
>> The wrappers with the clang-3.9 port  that look like
>> 
>> #!/bin/bash
>> 
>> if [ -x /usr/bin/xcrun ] ; then
>>   exec /usr/bin/xcrun /opt/local/libexec/llvm-3.9/bin/clang "${@}"
>> else
>>   exec /opt/local/libexec/llvm-3.9/bin/clang "${@}"
>> fi
>> 
>> 
>> have a problem on Snow Leopard:
>> 
>> myeye:tmp root# clang-mp-3.9 hello.c -o hello
>> xcodebuild: error: invalid tool name - '/opt/local/libexec/llvm-3.9/bin/clang' contains '/' characters
>> /Developer-3.2.6/usr/bin/xcodebuild fails with 256 - Unknown error: 256
>> 
>> 
>> I gather that in the past, they didn't attempt to use xcrun, which at the very least, for the particular version of Xcode in use, doesn't seem to appreciate full pathnames.
>> 
>> myeye:tmp root# xcode-select -print-path
>> /Developer-3.2.6
> 
> 
> Please do file a bug report for this in our issue tracker (if one has not already been filed).
> 


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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 874 bytes
Desc: Message signed with OpenPGP
URL: <http://lists.macports.org/pipermail/macports-users/attachments/20171003/ac15dc1a/attachment.sig>


More information about the macports-users mailing list