Changes between Initial Version and Version 4 of Ticket #48016


Ignore:
Timestamp:
Jun 11, 2015, 5:34:33 PM (9 years ago)
Author:
ryandesign (Ryan Carsten Schmidt)
Comment:

caulier.gilles, please remember to use WikiFormatting, that the Cc field requires complete email addresses, and that it is unnecessary to Cc yourself when you are the reporter.

What version of clang do you have? Run clang -v to find out.

You've shown that you're running Xcode 4.3.3, and the Xcode command line tools from Xcode 4.5.2... you should not mismatch these versions, and if possible you should use the latest version for each, which is 4.6.3. Upgrading these may fix the problem; if so, we can blacklist the older clang you were using before.

rjvbertin, yes, port select only affects the user's own actions on the command line; it does not affect what MacPorts does when it builds ports (or, if it does, then it is a bug).

You are correct, a user cannot change the default compiler that will be used for all of MacPorts.

Users should not get in the habit of overriding configure.compiler at the command line, however it is a useful tool to try out different compilers, which can then be added to the portfile as a compiler.blacklist.

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #48016

    • Property Cc rjvbertin@… added; ryandesign removed
    • Property Owner changed from macports-tickets@… to ryandesign@…
  • Ticket #48016 – Description

    initial v4  
    33It fail under OSX 10.7 due to a C++11 code not supported by XCode/Clang :
    44
     5{{{
    56OSX107:bundle gilles$ cat /opt/digikam/var/macports/logs//_opt_digikam_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_icu/icu/main.log
    67version:1
     
    5051:info:build                    ^
    5152:info:build 1 warning and 1 error generated.
     53}}}
    5254
    5355Configuration :
    5456---------------
    5557
    56 OSX : 10.7.3
    57 XCode : xcode_4.3.3_for_lion.dmg
     58OSX : 10.7.3\\
     59XCode : xcode_4.3.3_for_lion.dmg\\
    5860CLI Tools : xcode452cltools10_76938212a.dmg
    5961
    6062macports.conf includes these lines at end :
    6163
     64{{{
    6265cxx_stdlib         libc++
    6366buildfromsource    always
    6467delete_la_files    yes
     68}}}
    6569
    6670I tried to use another Clang version from Macports through port select without any difference :
    6771
     72{{{
    6873port install clang_select
    6974port install clang-3.6
    7075port select --set clang mp-clang-3.6
    7176port install icu
     77}}}
    7278
    7379Thanks in advance to guide me.