Uploaded image for project: 'Qbs ("Cubes")'
  1. Qbs ("Cubes")
  2. QBS-1729

Use qbs at docker containers on macOS Selicon with emulation

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Out of scope
    • Icon: Not Evaluated Not Evaluated
    • None
    • 2.0.1
    • General
    • None
    • macbook air m2, docker with emulated linux/amd64 platform
    • macOS

      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.

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            kandeler Christian Kandeler
            lo1ol Petr Mikhalitsyn
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes