-
-
Notifications
You must be signed in to change notification settings - Fork 259
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
Creating a Linux Binary - Mac Sonoma #1230
Comments
Same issue when building a Laravel static binary. Using an older version of the static-builder image (1.3.2) does not produce this error. |
This should have been fixed by recent SPC versions. Could you try if #1231 helps? |
@dunglas First of all, thank you for your help and contributions to the community! I have tried to exec your new code ./build-static.sh , not merge yet, returns another error... replace .build-static.shEMBED=/var/folders/cj/klh9nkwn50z2y79wj52053fh0000gn/T/my-prepared-app ./build-static.sh` Return error
|
Thanks @ardavan-ansari , yes, I have downgrade a version and it works, It dit take a long time though, I guess it is because I had all all the php extensions...
Static-build.Dockerfile -> `FROM --platform=linux/amd64 dunglas/frankenphp:static-builder-1.3.2 Copy your appWORKDIR /go/src/app/dist/app Build the static binaryWORKDIR /go/src/app/ |
Can you check that your macOS, XCode, and all homebrew packages are up to date? I didn't manage to reproduce the issue locally (and the CI is green too). |
Thanks @dunglas MacOS Sequoia 15.1.1 (updated) I've tried everything again and I still have errors.
|
In the meantime, you can try setting the |
I'm also having this error:
I tried applying #1231 on top of the Dunno how to set the |
with 1.3.6 I don't get the previous error but instead:
|
Weird, Can you try running:
Could you also copy the full command you run to build your binary? |
but if I just try to install xcaddy it gives me blank output:
|
Can you copy the command you run? Are you using the latest version of the Docker image? |
i'm not using the docker images, I'm using the clone of the repo cause I'm on macos as per https://frankenphp.dev/docs/embed/#creating-a-binary-for-other-oses |
Ok, I was confused because the title of the issue mentions Linux. Blank output is expected. It's likely a path issue. |
What happened?
I am following PHP Apps As Standalone Binaries with a simple Symfony API
First, I following commands [OK]:
Build Type
Docker (Debian Bookworm)
Worker Mode
Yes
Operating System
GNU/Linux
CPU Architecture
x86_64
PHP configuration
Relevant log output
No response
The text was updated successfully, but these errors were encountered: