[Openmcl-devel] (no subject)

Kevin Fowler kfowler at esterdome.com
Thu May 8 17:50:27 PDT 2014


Additional information:
  - Mac OS X 10.9.2 (build 13C1021)
 - XCode 5.1.1 (build 5B1008)
   - clang: Apple LLVM version 5.1 (clang-503.0.40) (based on LLVM 3.4svn)
 - Clozure: http://svn.clozure.com/publicsvn/openmcl/release/1.9/darwinx86/ccl
@ revision 16070
  - running ccl -> "Welcome to Clozure Common Lisp Version 1.9-r16070M
 (DarwinX8664)"
 - ffigen4: http://svn.clozure.com/publicsvn/ffigen4/branches/ffigen-apple-gcc-6465/ffigen4
@ rev 72
  - running h-to-ffi.sh to check ffigen's gcc version:

| % CFLAGS=--version h-to-ffi.sh
|...
| GNU Objective-C version 4.0.1 (Apple Inc. build 5465)
(i686-apple-darwin13.1.0)
| compiled by GNU C version 4.8.2.
| FFIGEN version 2014-05-07-09-54-01


  - Repopulating libc (succeeds):
| % cd ccl-1.9/darwin-x86-headers64/libc/C
| % ./populate.sh
|
| +++ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk/usr/include/ar.h
| +++ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk/usr/include/arpa/ftp.h
|+++ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk/usr/include/arpa/inet.h
...
| +++ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk/usr/include/zlib.h

- Repopulating cocoa (fails):
| +++ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk/usr/include/objc/objc-runtime.h
| +++ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk/usr/include/objc/objc-exception.h
| +++ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk/usr/include/objc/Object.h
| +++ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk/usr/include/objc/Protocol.h
| +++ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk/System/Library/Frameworks/Cocoa.framework/Headers/Cocoa.h
| In file included from
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.h:76,
|                  from
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk/System/Library/Frameworks/Cocoa.framework/Headers/Cocoa.h:12:
| /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSURLError.h:28:
error: syntax error before '(' token   -- [1 below]
| In file included from
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.h:76,
|                  from
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk/System/Library/Frameworks/Cocoa.framework/Headers/Cocoa.h:12:
| /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSURLError.h:28:78:
error: invalid suffix "_6" on integer constant
| /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSURLError.h:28:84:
error: invalid suffix "_0" on integer constant
| /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSURLError.h:35:
error: syntax error before '(' token
| /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSURLError.h:35:84:
error: invalid suffix "_6" on integer constant
| /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSURLError.h:35:90:
error: invalid suffix "_0" on integer constant
| /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSURLError.h:48:
error: syntax error before '(' token
| /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSURLError.h:48:87:
error: invalid suffix "_6" on integer constant
| /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSURLError.h:48:93:
error: invalid suffix "_0" on integer constant
| In file included from
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.h:77,
|                  from
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk/System/Library/Frameworks/Cocoa.framework/Headers/Cocoa.h:12:
| /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSURLProtectionSpace.h:18:
error: syntax error before '(' token -- [2]
| In file included from
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.h:77,
|                  from
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk/System/Library/Frameworks/Cocoa.framework/Headers/Cocoa.h:12:
| /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSURLProtectionSpace.h:18:74:
error: invalid suffix "_5" on integer constant
| /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSURLProtectionSpace.h:18:80:
error: invalid suffix "_0" on integer constant
| /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSURLProtectionSpace.h:24:
error: syntax error before '(' token
| /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSURLProtectionSpace.h:24:75:
error: invalid suffix "_5" on integer constant
| /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSURLProtectionSpace.h:24:81:
error: invalid suffix "_0" on integer constant
| /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSURLProtectionSpace.h:30:
error: syntax error before '(' token
| /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSURLProtectionSpace.h:30:73:
error: invalid suffix "_5" on integer constant
| /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSURLProtectionSpace.h:30:79:
error: invalid suffix "_0" on integer constant
| /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSURLProtectionSpace.h:85:
error: syntax error before '(' token
| /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSURLProtectionSpace.h:85:79:
error: invalid suffix "_5" on integer constant
| /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSURLProtectionSpace.h:85:85:
error: invalid suffix "_0" on integer constant
| /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSURLProtectionSpace.h:91:
error: syntax error before '(' token
| /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSURLProtectionSpace.h:91:84:
error: invalid suffix "_5" on integer constant
| /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSURLProtectionSpace.h:91:90:
error: invalid suffix "_0" on integer constant
| /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSURLProtectionSpace.h:97:
error: syntax error before '(' token
| /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSURLProtectionSpace.h:97:92:
error: invalid suffix "_6" on integer constant
| /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSURLProtectionSpace.h:97:98:
error: invalid suffix "_0" on integer constant
| /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSURLProtectionSpace.h:103:
error: syntax error before '(' token
| /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSURLProtectionSpace.h:103:86:
error: invalid suffix "_6" on integer constant
| /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSURLProtectionSpace.h:103:92:
error: invalid suffix "_0" on integer constant
| /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSURLProtectionSpace.h:222:
error: syntax error before '(' token
| /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSURLProtectionSpace.h:222:46:
error: invalid suffix "_6" on integer constant
| /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSURLProtectionSpace.h:222:52:
error: invalid suffix "_0" on integer constant
| /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSURLProtectionSpace.h:237:
error: syntax error before '(' token
| /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSURLProtectionSpace.h:237:41:
error: invalid suffix "_6" on integer constant
| /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSURLProtectionSpace.h:237:47:
error: invalid suffix "_0" on integer constant
| In file included from
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.h:79,
|                  from
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk/System/Library/Frameworks/Cocoa.framework/Headers/Cocoa.h:12:
| /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSURLRequest.h:283:
error: syntax error before '(' token -- [3]
...
| In file included from
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.h:159,
|                  from
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk/System/Library/Frameworks/Cocoa.framework/Headers/Cocoa.h:12:
| /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSUserScriptTask.h:36:
error: syntax error before '^' token -- [4]
| /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSUserScriptTask.h:37:
error: syntax error before 'NSUserScriptTaskCompletionHandler'
| /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSUserScriptTask.h:53:
error: syntax error before '^' token
| /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSUserScriptTask.h:54:
error: syntax error before 'NSUserUnixTaskCompletionHandler'
| /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSUserScriptTask.h:68:
error: syntax error before '^' token
| /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSUserScriptTask.h:69:
error: syntax error before 'NSUserAppleScriptTaskCompletionHandler'
| /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSUserScriptTask.h:86:
error: syntax error before '^' token
| /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSUserScriptTask.h:87:
error: syntax error before 'NSUserAutomatorTaskCompletionHandler'
| In file included from
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.h:160,
|                  from
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk/System/Library/Frameworks/Cocoa.framework/Headers/Cocoa.h:12:
| /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSXPCConnection.h:46:
error: syntax error before '^' token
| /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSXPCConnection.h:47:
error: syntax error before '^' token
| In file included from
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSResponder.h:9,
|                  from
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSView.h:8,
|                  from
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSText.h:8,
|                  from
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSCell.h:10,
|                  from
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSActionCell.h:8,
|                  from
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk/System/Library/Frameworks/AppKit.framework/Headers/AppKit.h:15,
|                  from
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk/System/Library/Frameworks/Cocoa.framework/Headers/Cocoa.h:13:
| /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSEvent.h:421:
error: syntax error before '^' token
| /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSEvent.h:421:
error: 'type name' declared as function returning a function
| Need to create info for type:
|  <real_type 0x105514380 NSAnimationProgress sizes-gimplified SF
|     size <integer_cst 0x140e00a80 type <integer_type 0x140e06620
bit_size_type> constant invariant 32>
|     unit size <integer_cst 0x140e005a0 type <integer_type
0x140e06540 long unsigned int> constant invariant 4>
|     align 32 symtab 9686 alias set -1 precision 32>
| /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSAnimation.h:108:
confused by earlier errors, bailing out

Errors:
[1] FOUNDATION_EXPORT NSString * const NSURLErrorFailingURLErrorKey
NS_AVAILABLE(10_6, 4_0);
[2] FOUNDATION_EXPORT NSString * const NSURLProtectionSpaceHTTP
NS_AVAILABLE(10_5, 2_0);
[3] - (NSURLRequestNetworkServiceType)networkServiceType
NS_AVAILABLE(10_7, 4_0);
[4] typedef void (^NSUserScriptTaskCompletionHandler)(NSError *error);

I've tried screwing around w/ the availability macro definitions, to no avail.

Thanks,

--kevin







On Thu, May 8, 2014 at 1:12 PM, Pascal J. Bourguignon
<pjb at informatimago.com> wrote:
> Kevin Fowler <kfowler at esterdome.com> writes:
>
>> I'm trying to rebuild the Framework interfaces provided with Clozure
>> (1.9-r16070M DarwinX8664) on Mac OS X 10.9.
>>
>> I'm following the instructions to build a framework interface at
>> http://trac.clozure.com/ccl/wiki/CustomFramework.
>>
>> I've built ffigen4 from
>> http://svn.clozure.com/publicsvn/ffigen4/branches/ffigen-apple-gcc-6465/ffigen4.
>>
>> Running darwin-x86-headers64/libc/C/populate.sh works. I have not been
>> able to get populate.sh to work for the other frameworks.
>>
>> Processing math.c NSTask.h, NSXPCConnection.h, etc., I get errors
>> like: "/usr/local/bin/../ffigen/include/math.h:620: error: syntax
>> error before ‘__AVAILABILITY_INTERNAL__MAC_10_9’" . Similarly for
>> "__header_always_inline".
>>
>> When I work-around those errors, I get errors in NSTask.h,
>> NSXPCConnection.h, etc.
>>
>> Are these known issues on 10.9? Is there a way to build/rebuild the
>> interface definitions from the 10.8 SDK on Mac OS 10.9?
>
> Not enough information.
>
> --
> __Pascal Bourguignon__
> http://www.informatimago.com/
> "Le mercure monte ?  C'est le moment d'acheter !"
>
> _______________________________________________
> Openmcl-devel mailing list
> Openmcl-devel at clozure.com
> http://lists.clozure.com/mailman/listinfo/openmcl-devel



More information about the Openmcl-devel mailing list