Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

swift-concurrency doesn't compile on linux #44

Open
LeoDog896 opened this issue Sep 11, 2022 · 0 comments
Open

swift-concurrency doesn't compile on linux #44

LeoDog896 opened this issue Sep 11, 2022 · 0 comments

Comments

@LeoDog896
Copy link

(From stackotter/delta-client#113)

When compiling the repository mentioned above, when it reaches a subdependency of swift-concurrency, it reaches this error:

Working copy of https://github.com/apple/swift-log resolved at 1.4.2
'swift-nio-zlib-support': warning: ignoring declared target(s) 'swift-nio-zlib-support' in the system package
Building for production...
In file included from ./delta-client/.build/checkouts/JJLISO8601DateFormatter/Sources/JJLISO8601DateFormatter/JJLISO8601DateFormatter.m:3:
./delta-client/.build/checkouts/JJLISO8601DateFormatter/Sources/JJLISO8601DateFormatter/include/JJLISO8601DateFormatter.h:3:9: fatal error: 'Foundation/Foundation.h' file not found
#import <Foundation/Foundation.h>
        ^~~~~~~~~~~~~~~~~~~~~~~~~
In file included from ./delta-client/.build/checkouts/swift-concurrency/Sources/ObjCBridges/AtomicBridges.m:17:
./delta-client/.build/checkouts/swift-concurrency/Sources/ObjCBridges/include/AtomicBridges.h:17:9: fatal error: 'Foundation/Foundation.h' file not found
#import <Foundation/Foundation.h>
        ^~~~~~~~~~~~~~~~~~~~~~~~~
In file included from ./delta-client/.build/checkouts/JJLISO8601DateFormatter/Sources/JJLISO8601DateFormatter/JJLInternal.c:3:
1: error: unknown type name 'ssize_t'; did you mean 'size_t'?
ssize_t jjl_saferead(int fd, void *buffer, size_t nbytes);
^~~~~~~
size_t
'size_t' declared here
typedef __SIZE_TYPE__ size_t;
                      ^



1 error generated.
1 error generated.
[4/14] Compiling c-atomics.c
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant