port doctor patch

Kurt Hindenburg khindenburg at macports.org
Sat Dec 13 06:55:06 PST 2014


On Dec 13, 2014, at 12:22 AM, Joshua Root <jmr at macports.org> wrote:

> On 2014-12-13 16:18 , Joshua Root wrote:
>> On 2014-12-13 15:36 , Kurt Hindenburg wrote:
>>> Hello,
>>>  Since I have https://trac.macports.org/wiki/UsingTheRightCompiler#testing installed, port doctor fails one test.  Attached is a quick patch to just ignore the cache test for this case.  
>>>   Comments? 
>> 
>> It would make more sense to change line 249 to use /usr/bin/clang, or
>> even better, the default compiler for the current platform.
I’m not clear on what the code is testing so perhaps it has to be macports compiler?

> 
> While we're on the subject, does something guarantee a sane working
> directory for check_compilation_error_cache, or is it just creating and
> compiling test.c wherever it happens to be?
> 
It appears to save the test.c to $HOME.  It needs to be cleaned up afterwards IMHO

Kurt




More information about the macports-dev mailing list