[MacPorts] #39086: cmake 2.8.10.2 with macosx_deployment_target 10.7 fails to configure

MacPorts noreply at macports.org
Sat Sep 28 12:45:02 PDT 2013


#39086: cmake 2.8.10.2 with macosx_deployment_target 10.7 fails to configure
---------------------+----------------------
  Reporter:  help@…  |      Owner:  css@…
      Type:  defect  |     Status:  assigned
  Priority:  Normal  |  Milestone:
 Component:  ports   |    Version:  2.1.3
Resolution:          |   Keywords:
      Port:  cmake   |
---------------------+----------------------

Comment (by ville.aakko@…):

 Hi Larry,

 I have done that a bunch of times!

 {{{
 $ sudo xcode-select --switch /Applications/Xcode.app
 Password:
 $ xcode-select -print-path
 xcode-select: Error: Incorrect permissions for data file at '/usr/share
 /xcode-select/xcode_dir_link'. Run xcode-select -switch
 <xcode_folder_path> to reset the path to the Xcode folder.
 $ sudo xcode-select -print-path
 /Applications/Xcode.app/Contents/Developer
 $ ls -l /usr/share/xcode-select/
 ls: : Permission denied
 $ sudo ls -l /usr/share/xcode-select/
 total 16
 lrwx------  1 root  wheel  42 28 Syy 22:35 xcode_dir_link ->
 /Applications/Xcode.app/Contents/Developer
 -rw-------  1 root  wheel  43 28 Syy 22:35 xcode_dir_path
 $ ls -ld /usr/share/xcode-select
 drwx------  4 root  wheel  136 28 Syy 22:35 /usr/share/xcode-select
 }}}

 I have tried manually changing permissions, so that /usr/share/xcode-
 select is readable and traversable by all, and xcode_dir_path is readable.
 The xcode_dir_link is a link, and it's permissions can't be changed
 (AFAICT). But /Applications/Xcode.app/Contents/Developer is readable by
 regular users.

 But, again, this might not be a bug in Macports (but instead in XCode / OS
 X / certain upgrade paths). Sorry if I have changed this bug report into a
 support forum / discussion =). But I hope it helps to determine if this is
 a bug in MacPorts or somewhere else (or an incompatibility with Mountain
 Lion / newest version of xcode / whatever...)

 Also, FWIW, after the first time commenting on this bug, my xcode has been
 upgraded to 5.0 (since it rolled out into App Store).

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


More information about the macports-tickets mailing list