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

[Source compatibility suite] swift-futures failing to build - error: no such module 'Darwin.POSIX.signal' #79799

Open
justice-adams-apple opened this issue Mar 5, 2025 · 0 comments
Labels
bug A deviation from expected or documented behavior. Also: expected but undesirable behavior. source compatibility suite Flag: An issue that surfaced in the source compatibility suite triage needed This issue needs more specific labels

Comments

@justice-adams-apple
Copy link
Contributor

Description

swift-futures is failing to build with the following error:

swift-futures/Sources/Futures/Internal/Private.swift:9:8: error: no such module 'Darwin.POSIX.signal'
  7 | 
  8 | #if canImport(Darwin)
  9 | import Darwin.POSIX.signal
    |        `- error: no such module 'Darwin.POSIX.signal'
 10 | #else
 11 | import Glibc

Reproduction

swift build --disable-sandbox --package-path swift-futures --verbose --configuration debug --build-tests -Xswiftc -swift-version -Xswiftc 5 -Xswiftc -enable-testing

Expected behavior

expected the project build to pass

Environment

Apple Swift version 6.2-dev (LLVM 3a02857b159678d, Swift c91e295)
Target: x86_64-apple-macosx13.0

Additional information

https://ci.swift.org/job/swift-main-source-compat-suite-debug/1050/

@justice-adams-apple justice-adams-apple added bug A deviation from expected or documented behavior. Also: expected but undesirable behavior. triage needed This issue needs more specific labels labels Mar 5, 2025
@compnerd compnerd added the source compatibility suite Flag: An issue that surfaced in the source compatibility suite label Mar 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug A deviation from expected or documented behavior. Also: expected but undesirable behavior. source compatibility suite Flag: An issue that surfaced in the source compatibility suite triage needed This issue needs more specific labels
Projects
None yet
Development

No branches or pull requests

2 participants