[MacPorts] #39699: Unable to build due to unknown compiler version?

MacPorts noreply at macports.org
Wed Jul 10 16:05:26 PDT 2013


#39699: Unable to build due to unknown compiler version?
-------------------------------+--------------------------------
  Reporter:  frankdmartinez@…  |      Owner:  macports-tickets@…
      Type:  defect            |     Status:  new
  Priority:  Normal            |  Milestone:
 Component:  base              |    Version:  2.1.3
Resolution:                    |   Keywords:
      Port:                    |
-------------------------------+--------------------------------

Comment (by ryandesign@…):

 So, regrettably, `xcrun` is finding your separately-installed copy of
 clang in /usr/local. I had not anticipated that this would happen when I
 wrote the compiler_blacklist_versions portgroup, and probably other parts
 of MacPorts that use the `find_developer_tool` proc (which uses `xcrun`
 internally) will be surprised by this as well, and perhaps we should do
 something in MacPorts to stop that or work around it.

 However, it is an established MacPorts policy that we do not support users
 installing software in /usr/local, for precisely this reason: software (in
 this case `xcrun`) can find software installed there (in this case clang)
 and this can cause unexpected problems. Please remove /usr/local and the
 problem should go away. For clang 3.3, or any other software you have
 installed in /usr/local that you want to keep, you should install it with
 MacPorts instead.

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


More information about the macports-tickets mailing list