-
-
Notifications
You must be signed in to change notification settings - Fork 556
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
Error when running through Docker #134
Comments
It works for me with Docker Desktop 4.12.0 on MacOS 12.6 (Intel CPU). Could you please upload your QR.spl, QR.sed and QR.sci to gist or somewhere? (FYI you can see the expected files here: https://github.com/mame/quine-relay/tree/spoiler) |
I've gone ahead and uploaded those files to the following gist - https://gist.github.com/virgildotcodes/92ea1b1fca0d001e8dd094125b15d9ba I did forget to mention that I'm on Apple Silicon. |
Thanks. QR.spl seems to be generated correctly. So spl2c is not working well. Because I don't have an M1 Mac, I have no way to debug it 😢 Are you using Rosetta2? |
Right now quine-relay only works on x86_64. I am not sure if this very problem is caused by arm, but there are other languages that don't work with arm. I wonder if it would work with Rosetta2 using the x86_64 docker image. |
Hmm, after some googling, I just tried running it with the added parameter If you know of another way to run it through Rosetta I'd happily report back the results. The full command I'm using for reference:
|
This thing is .. I am lost for words.
It's a work of art!
…On Fri, Oct 7, 2022 at 10:22 PM Virgil Nilson ***@***.***> wrote:
Hmm, after some googling, I just tried running it with the added parameter --platform
linux/amd64 but I got the same error.
If you know of another way to run it through Rosetta I'd happily report
back the results.
The full command I'm using for reference:
docker run --privileged --platform linux/amd64 --rm -e CI=true -v
$(pwd):/usr/local/share/quine-relay -v /usr/local/share/quine-relay/vendor
qr
—
Reply to this email directly, view it on GitHub
<#134 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAGUSK3S5SXO7GMX6OX4DWDWCA523ANCNFSM6AAAAAAQ6QJTKY>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
|
And a crazy one at that! Impossible. Wow!
…On Sat, Oct 8, 2022 at 1:12 AM Jan Filips ***@***.***> wrote:
This thing is .. I am lost for words.
It's a work of art!
On Fri, Oct 7, 2022 at 10:22 PM Virgil Nilson ***@***.***>
wrote:
> Hmm, after some googling, I just tried running it with the added
> parameter --platform linux/amd64 but I got the same error.
>
> If you know of another way to run it through Rosetta I'd happily report
> back the results.
>
> The full command I'm using for reference:
>
> docker run --privileged --platform linux/amd64 --rm -e CI=true -v
> $(pwd):/usr/local/share/quine-relay -v /usr/local/share/quine-relay/vendor
> qr
>
> —
> Reply to this email directly, view it on GitHub
> <#134 (comment)>,
> or unsubscribe
> <https://github.com/notifications/unsubscribe-auth/AAGUSK3S5SXO7GMX6OX4DWDWCA523ANCNFSM6AAAAAAQ6QJTKY>
> .
> You are receiving this because you are subscribed to this thread.Message
> ID: ***@***.***>
>
|
I don't plan on getting Arm's macOS, so it is difficult for me to debug this issue. Please let me close this issue for now. If someone has a reproduction environment, investigate and fix the issue, and send a PR, I will consider it. |
The solution is super simple actually. In your Docker (on MacOS) go to settings and enable the "Use Rosseta for x86/amd64 emulation" .. job done. |
This project is completely mind-bending, I give you that. |
Hello, I followed the instructions on building and running through Docker and encountered the following error:
Just in case it's relevant, I'm running Docker Desktop 4.12.0 on MacOS 12.6.
The text was updated successfully, but these errors were encountered: