Details
-
Bug
-
Resolution: Out of scope
-
Not Evaluated
-
None
-
2.0.1
-
None
-
macbook air m2, docker with emulated linux/amd64 platform
Description
Hi!
Today I buy new MacBook Air powered by M2 as replacement of my Linux PC. I expected to build my linux projects under Docker and prepare docker image with my build tools. Everything work fine on Arch, but not at macOS...
1. I don't know why, but qbs config command doesn't work, I have to use qbs-config (and the same problem for another sumcommands)
2. qbs can't setup any toolchain. I will get:
Failed to start compiler '/usr/bin/gcc': Resource error (fork failure): Invalid argument
But the compiler works!
I trying to research this problem and think that point in qProcess:
https://github.com/qutebrowser/qutebrowser/issues/4725
Here is my Dockerfile:
FROM archlinux:latest RUN pacman -Syu --noconfirm && \ pacman -S --noconfirm qbs gcc && \ yes | pacman -Scc RUN qbs-setup-toolchains /usr/bin/gcc gcc-profile
docker build --platform c-t test-qbs .
I'm really like an idea to build some projects at docker container. But this problem will fail all of this
Can you please help me to investigate the problem and may be fix this? I think that core of the problem at Qt and they should fix the QProcess.