Skip to content

feat: add proxy utility - #288

Merged
jglogan merged 5 commits into
apple:mainfrom
mayooot:main
Sep 12, 2025
Merged

jglogan merged 5 commits into
apple:mainfrom
mayooot:main

Conversation

@mayooot

@mayooot mayooot commented Sep 11, 2025

Copy link
Copy Markdown
Contributor

No description provided.

@jglogan

jglogan commented Sep 11, 2025

Copy link
Copy Markdown
Contributor

@mayooot Sorry, I still am not seeing a verified signature on the commit?

@jglogan

jglogan commented Sep 11, 2025

Copy link
Copy Markdown
Contributor

See: https://docs.github.com/en/authentication/troubleshooting-commit-signature-verification

Here's a bit from ChatGPT on gotchas:

Common gotchas

  • The user.email in your Git config still needs to match one of your GitHub account emails (or your no-reply GitHub email).
  • If you have multiple SSH keys, specify the right one in user.signingkey. You can check which is loaded with:
    ssh-add -l

mayooot and others added 4 commits September 12, 2025 10:53
Signed-off-by: Harry Li <harrymingh@gmail.com>
The PR updates the toolchain and Static Linux SDK. This resolves the
compilation errors below:

```
Building vminitd and vmexec...
Building for debugging...
<unknown>:0: error: stack nearly exhausted; compilation time may suffer, and crashes due to stack overflow are likely
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "SwiftMusl.h"
  |          `- note: in file included from <module-includes>:1:
2 | 

/Users/Dmitry/Library/org.swift.swiftpm/swift-sdks/swift-6.2-DEVELOPMENT-SNAPSHOT-2025-06-25-a_static-linux-0.0.1.artifactbundle/swift-6.2-DEVELOPMENT-SNAPSHOT-2025-06-25-a_static-linux-0.0.1/swift-linux-musl/musl-1.2.5.sdk/aarch64/usr/lib/swift_static/linux-static/aarch64/SwiftMusl.h:135:10: error: could not build module 'sys_stropts'
133 | #include <sys/signalfd.h>
134 | #include <sys/statfs.h>
135 | #include <sys/stropts.h>
    |          `- error: could not build module 'sys_stropts'
136 | #include <sys/swap.h>
137 | #include <sys/syscall.h>

<unknown>:0: error: stack nearly exhausted; compilation time may suffer, and crashes due to stack overflow are likely
<unknown>:0: error: could not build C module 'SwiftMusl'
<unknown>:0: error: stack nearly exhausted; compilation time may suffer, and crashes due to stack overflow are likely
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "SwiftMusl.h"
  |          `- note: in file included from <module-includes>:1:
2 | 

/Users/Dmitry/Library/org.swift.swiftpm/swift-sdks/swift-6.2-DEVELOPMENT-SNAPSHOT-2025-06-25-a_static-linux-0.0.1.artifactbundle/swift-6.2-DEVELOPMENT-SNAPSHOT-2025-06-25-a_static-linux-0.0.1/swift-linux-musl/musl-1.2.5.sdk/aarch64/usr/lib/swift_static/linux-static/aarch64/SwiftMusl.h:135:10: error: could not build module 'sys_stropts'
133 | #include <sys/signalfd.h>
134 | #include <sys/statfs.h>
135 | #include <sys/stropts.h>
    |          `- error: could not build module 'sys_stropts'
136 | #include <sys/swap.h>
137 | #include <sys/syscall.h>

<unknown>:0: error: stack nearly exhausted; compilation time may suffer, and crashes due to stack overflow are likely
<unknown>:0: error: could not build C module 'SwiftMusl'
[719/1348] Compiling x_all.cc
make[1]: *** [all] Error 1
make: *** [vminitd] Error 2
```

To update:

- Run `make cross-prep`
- List the installed Static Linux SDKs using `swift sdk list`
- Remove the old Static Linux SDKs using `swift sdk remove <SDK>`

Optionally:

- List the installed toolchains using `swiftly list`
- Uninstalled the old toolchains using `swiftly uninstall <TOOLCHAIN>`
With the changes in this PR, we'll print the Swift version before
building. This mirrors a similar change in container, introduced in
apple/container#550.
This reverts commit 1cd7ec2, reversing
changes made to 1284d03.
@jglogan
jglogan merged commit 5fbae0e into apple:main Sep 12, 2025
2 checks passed
jglogan pushed a commit that referenced this pull request Sep 14, 2025
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

Successfully merging this pull request may close these issues.

3 participants