This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author lemburg
Recipients benjamin.peterson, lemburg, ned.deily, ronaldoussoren
Date 2010-06-22.14:17:39
SpamBayes Score 2.8338608e-08
Marked as misclassified No
Message-id <4C20C602.7020108@egenix.com>
In-reply-to <1277212928.48.0.901553979994.issue9046@psf.upfronthosting.co.za>
Content
Ronald Oussoren wrote:
> 
> Ronald Oussoren <ronaldoussoren@mac.com> added the comment:
> 
> Marc-Andre: what version of Xcode do you use? (the version in the About menu of Xcode.app).

We have Xcode 2.5 and all updates on the machine. Python 2.6 and
older versions compile just fine.

The changes you added for the SDK builds in Python 2.7 made the problem
appear.

What I don't understand is why you are redirecting files under
/usr to the SDK virtual root dir. We install all the local
builds under /usr/local/ and as result, the build itself
also happens under a /usr path.

The function definition appears to be a bit coarse in this respect:

def is_macosx_sdk_path(path):
    """
    Returns True if 'path' can be located in an OSX SDK
    """
    return path.startswith('/usr/') or path.startswith('/System/')

I believe that this function should really only return True if
the path in question does exists in the SDK virtual root.
History
Date User Action Args
2010-06-22 14:17:40lemburgsetrecipients: + lemburg, ronaldoussoren, benjamin.peterson, ned.deily
2010-06-22 14:17:39lemburglinkissue9046 messages
2010-06-22 14:17:39lemburgcreate