New Ticket     Tickets     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Ticket #35004 (closed defect: duplicate)

Opened 11 months ago

Last modified 10 months ago

macports.tcl _is_valid_developer_dir is checking for Developer/Headers?

Reported by: llattanzi+McF@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: base Version: 2.1.1
Keywords: Cc: deadshort@…
Port:

Description

The checks for Library and usr make sense but why check for the non-existing Developer/Headers?

This triggers an mdfind for other Xcodes but my /Applications/Xcode.app is already adequate to build/install ports.

Change History

comment:1 Changed 10 months ago by deadshort@…

  • Cc deadshort@… added

Cc Me!

comment:2 Changed 10 months ago by deadshort@…

This becomes a noticeable problem with new Xcodes, especially if you have several of them (/Applications/Xcode4{3,4,5}-DPx.app, etc) for one reason or another. The simple case in macports::set_developer_dir falls through to a pretty confusing message, given that it cannot be fixed. That function might also select /Applications/Xcode.app, which might not be the right one.

comment:3 Changed 10 months ago by jmr@…

  • Status changed from new to closed
  • Resolution set to duplicate
Note: See TracTickets for help on using tickets.