Skip to content

CFPlatform.c:2214:10: error: call to undeclared function 'posix_spawn_file_actions_addchdir_np' #4762

Open
@tshortli

Description

@tshortli

Foundation is currently failing to build on Ubuntu:

/home/build-user/swift-corelibs-foundation/CoreFoundation/Base.subproj/CFPlatform.c:2214:10: error: call to undeclared function 'posix_spawn_file_actions_addchdir_np'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
  return posix_spawn_file_actions_addchdir_np((posix_spawn_file_actions_t *)file_actions, path);
         ^
1 error generated.

https://ci.swift.org/job/oss-swift-RA-linux-ubuntu-18_04/4169/console

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions