Uploaded image for project: 'Qt Automotive Suite'
  1. Qt Automotive Suite
  2. AUTOSUITE-1645

Virtualenv doesn't work correctly on Apple M1

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Not Evaluated
    • Resolution: Done
    • 6.0
    • None
    • Qt IVI
    • None
    • macOS
    • f19607dc79930b0d5acebc7e894eae18f202ffbc (qt/qtinterfaceframework/dev) 3b93cdc8be97ca0c32bdfefcc56cad8ee5d77eba (qt/qtinterfaceframework/6.2) c39926232ee04ded0ebbe971aeb047b6d92ee4d8 (qt/qtinterfaceframework/6.2.2) c61b3f6301 (qt/qtivi/5.15)

    Description

      When creating the virtualenv environment on a Apple M1 machine the python binary cannot be executed because of a signature mismatch:

      Related upstream python tickets:
      https://github.com/pypa/virtualenv/issues/2023
      https://github.com/pypa/virtualenv/issues/2024

      A build stops with the following error:

      agent:2021/04/26 13:26:40 build.go:379: FAILED: src/tools/ivigenerator/qtivi_qface_virtualenv/bin/qface
      agent:2021/04/26 13:26:40 build.go:379: cd /Users/qt/work/workspace/Coin_test/label/mac-arm64/work/qt/qtivi/src/tools/ivigenerator && . /Users/qt/work/workspace/Coin_test/label/mac-arm64/work/qt/qtivi/src/tools/ivigenerator/qtivi_qface_virtualenv/bin/activate && pip3 install --no-index --find-links=/Users/qt/python3-wheels /Users/qt/work/workspace/Coin_test/label/mac-arm64/work/qt/qtivi/src/3rdparty/qface --verbose
      agent:2021/04/26 13:26:40 build.go:379: /bin/sh: line 1: 96523 Killed: 9 pip3 install --no-index --find-links=/Users/qt/python3-wheels /Users/qt/work/workspace/Coin_test/label/mac-arm64/work/qt/qtivi/src/3rdparty/qface --verbose

      Attachments

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

        Activity

          People

            gagi Dominik Holland
            gagi Dominik Holland
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews