Author jszakmeister
Recipients dstufft, eric.araujo, jszakmeister
Date 2014-04-19.13:21:01
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1397913662.53.0.885648478854.issue21311@psf.upfronthosting.co.za>
In-reply-to
Content
It's pretty typical for ccache packages to install symlinks for compilers that may not be present on the system, such as Homebrew's ccache package.  Unfortunately, the _osx_support.py file is mislead by the presence of the symlink and ends up backtracing.

This issue is present in 2.7 and onwards.  I'm attaching two possible fixes for the problem, both created against 2.7.  The issue is that the symlink in detected, but _read_output() returns None, which then fails when the output is examined (if 'str' in None...).  The first patch does a simple non-empty check.  The alternate version makes _read_output() return an empty string instead of None.
History
Date User Action Args
2014-04-19 13:21:02jszakmeistersetrecipients: + jszakmeister, eric.araujo, dstufft
2014-04-19 13:21:02jszakmeistersetmessageid: <1397913662.53.0.885648478854.issue21311@psf.upfronthosting.co.za>
2014-04-19 13:21:02jszakmeisterlinkissue21311 messages
2014-04-19 13:21:02jszakmeistercreate