[MacPorts] #48430: Build from source failing on OSX 10.11 (El Capitan)
#48430: Build from source failing on OSX 10.11 (El Capitan) --------------------------+-------------------------------- Reporter: apowers313@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: base | Version: 2.3.3 Keywords: | Port: --------------------------+-------------------------------- I am running the OSX 10.11 beta. I did two builds from the source code today -- the first completed successfully, but after running port selfupdate and trying to install a package, I was required to install the new version of OSX 10.11 command line tools. After wiping that installation and building from source again, I now get the following error: {{{ configure: WARNING: GNUSTEP_SYSTEM_ROOT is not defined in your environment, preventing the use of GNUstep's Foundation library configure: error: Could not find a working Foundation implementation }}} Looking at the config.log, I see that the build is dying due to parse errors in the Foundation header files: {{{ configure:7483: clang -o conftest -g -O2 conftest.m -framework Foundation >&5 In file included from conftest.m:26: In file included from /System/Library/Frameworks/Foundation.framework/Headers/Foundation.h:10: In file included from /System/Library/Frameworks/Foundation.framework/Headers/NSArray.h:6: /System/Library/Frameworks/Foundation.framework/Headers/NSEnumerator.h:7:15: error: expected ';' after @class @class NSArray<ObjectType>; ^ /System/Library/Frameworks/Foundation.framework/Headers/NSEnumerator.h:7:16: error: cannot find protocol declaration for 'ObjectType' @class NSArray<ObjectType>; ^ [...] In file included from conftest.m:26: In file included from /System/Library/Frameworks/Foundation.framework/Headers/Foundation.h:10: /System/Library/Frameworks/Foundation.framework/Headers/NSArray.h:16:32: error: cannot find protocol declaration for 'ObjectType' @interface NSArray<__covariant ObjectType> : NSObject <NSCopying, NSMutableCopying, NSSecureCoding, NSFastEnumeration> ^ /System/Library/Frameworks/Foundation.framework/Headers/NSArray.h:16:44: error: expected identifier or '(' @interface NSArray<__covariant ObjectType> : NSObject <NSCopying, NSMutableCopying, NSSecureCoding, NSFastEnumeration> ^ [...] fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. configure:7483: $? = 1 configure: failed program was: [...] }}} I see that older releases have had errors with Foundation before as well, but none of the proposed `xcode-select` solutions seemed to fix this problem. Has anyone else had this problem and / or any ideas of solutions or potential ways to troubleshoot it? -- Ticket URL: <https://trac.macports.org/ticket/48430> MacPorts <https://www.macports.org/> Ports system for OS X
#48430: Build from source failing on OSX 10.11 (El Capitan) ---------------------------+-------------------------------- Reporter: apowers313@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: base | Version: 2.3.3 Resolution: | Keywords: Port: | ---------------------------+-------------------------------- Comment (by apowers313@…): Fixed by installing Xcode 7 beta 4: https://developer.apple.com/xcode/downloads/ -- Ticket URL: <https://trac.macports.org/ticket/48430#comment:1> MacPorts <https://www.macports.org/> Ports system for OS X
#48430: Build from source failing on OSX 10.11 (El Capitan) ---------------------------+-------------------------------- Reporter: apowers313@… | Owner: macports-tickets@… Type: defect | Status: closed Priority: Normal | Milestone: Component: base | Version: 2.3.3 Resolution: invalid | Keywords: Port: | ---------------------------+-------------------------------- Changes (by ionic@…): * cc: ionic@… (added) * status: new => closed * resolution: => invalid -- Ticket URL: <https://trac.macports.org/ticket/48430#comment:2> MacPorts <https://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts