Potential problem with small subset of Cocoa ports on Xcode 10

Joshua Root jmr at macports.org
Fri Sep 28 21:40:22 UTC 2018


On 2018-9-29 07:20 , Chris Jones wrote:
> 
> 
>> On 28 Sep 2018, at 8:58 pm, Perry E. Metzger <pmetzger at macports.org> wrote:
>>
>> On Fri, 28 Sep 2018 08:22:01 -0500 Marius Schamschula
>> <lists at schamschula.com> wrote:
>>> Perry,
>>>
>>> I’ve just run into this problem with TeXShop4. The build phase
>>> succeeds, but destroot fails.
>>>
>>> How does one revert to the “old” build system under Xcode 10?
>>
>> Here's the kludge for a Portfile:
>>
>> if {[vercmp ${xcodeversion} 10.0] >= 0} {
>>    destroot.pre_args   -UseNewBuildSystem=NO
>> }
>>
>> Arguably, one should do "= 0" rather than ">=" since the bug may be
>> fixed in Xcode 10.whatever.
> 
> That would depend on whether you are correct or not in saying its a bug in Xcode. If it isn’t making it an equality will just mean the ports start failing again when Xcode is updated.

The header search strategy change is not a bug. The failure when
building and destrooting separately is definitely a bug, and can be
reproduced even with a new project using the Cocoa App template.

- Josh


More information about the macports-dev mailing list