[MacPorts] #20653: Some ports do not respect a non-standard developer tools location

MacPorts noreply at macports.org
Wed Aug 12 08:05:04 PDT 2009


#20653: Some ports do not respect a non-standard developer tools location
----------------------------------+-----------------------------------------
 Reporter:  jadenb1729@…          |       Owner:  macports-tickets@…                   
     Type:  defect                |      Status:  new                                  
 Priority:  Normal                |   Milestone:                                       
Component:  ports                 |     Version:  1.7.1                                
 Keywords:                        |        Port:                                       
----------------------------------+-----------------------------------------
 STEPS TO REPRODUCE (pre-install bug):[[BR]]
 1.  Install Developer Tools in a non-standard location (for me,
 /Users/Shared/Developer).[[BR]]
 2.  Try to install MacPorts.

 EXPECTED:  MacPorts installs.

 ACTUAL RESULTS:  MacPorts fails to install (cannot link against library
 crt1.10.5o).

 Installing the Unix tools (which just installs a bunch of symlinks in
 /usr) makes this work correctly --but there's more!

 STEPS TO REPRODUCE (post-install bug):[[BR]]
 1.  Try to install vim.

 EXPECTED RESULTS:  vim builds normally.

 ACTUAL RESULTS:
 {{{
 /usr/bin/gcc-4.0 -c -I. -Iproto -DHAVE_CONFIG_H
 -I/Users/Shared/Applications/Utilities/MacPorts/include -DMACOS_X_UNIX
 -no-cpp-precomp -I/Developer/Headers/FlatCarbon  -O -D_FORTIFY_SOURCE=1
 -o objects/buffer.o buffer.c
 In file included from vim.h:315,
                  from buffer.c:28:
 os_mac.h:26:64: error: Quickdraw.h: No such file or directory
 os_mac.h:27:24: error: ToolUtils.h: No such file or directory
 os_mac.h:28:21: error: LowMem.h: No such file or directory
 os_mac.h:29:20: error: Scrap.h: No such file or directory
 os_mac.h:30:20: error: Sound.h: No such file or directory
 os_mac.h:31:24: error: TextUtils.h: No such file or directory
 os_mac.h:33:22: error: OSUtils.h: No such file or directory
 os_mac.h:34:20: error: Files.h: No such file or directory
 os_mac.h:36:22: error: Script.h: No such file or directory
 }}}

 Placing a symlink from /Developer to /Users/Shared/Developer (thanks,
 improved symlinks in 10.5!) resolves the problem, but it seems that this
 shouldn't be necessary.

-- 
Ticket URL: <http://trac.macports.org/ticket/20653>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list