Uploaded image for project: 'Qt for Python'
  1. Qt for Python
  2. PYSIDE-2058

Unable to build PySide6.2.4 for Raspbian Bullseye

    XMLWordPrintable

Details

    • Bug
    • Resolution: Incomplete
    • P2: Important
    • None
    • 6.2.4
    • Build System, PySide, Shiboken
    • None
    • Hardware = Raspberry Pi armv7l with 4 CPUs
      OS = Raspbian Bullseye
      clang = 14.0.6 installed manuall on /usr/local
      qt = /opt/Qt/6.2.4-armv7l/bin
    • Linux/Other display system

    Description

      I'm tryinng to setup PySide6 on Raspbian BullEye and seems to be running into some build issues. Steps I've followed till now:

      1. Create fresh OS of Raspbian on SD card and setup all basic configs. 
      2. Setup and configure Clang 9 (for arm7l) following [link - Clang 9|[Raspberry Pi - Install Clang 9 and compile C++17 and C++20 programs | Solarian Programmer|https://solarianprogrammer.com/2018/04/22/raspberry-pi-raspbian-install-clang-compile-cpp-17-programs/]
      3. Build Qt and selected modules following this link - [qt |https://www.tal.org/tutorials/building-qt-62-raspberry-pi]
      4. Install dependencies and then download and build PySide [Qt |https://doc.qt.io/qtforpython/gettingstarted-linux.html]

      My Build Command - 

      python3 setup.py build --qtpaths=/opt/Qt/6.2.4-armv7l/bin/qtpaths --build-tests --debug --ignore-git --parallel=8 --verbose-build --standalone

       

      Install Command - 

      python3 setup.py install --qtpaths=/opt/Qt/6.2.4-armv7l/bin/qtpaths --build-tests --ignore-git --parallel=8 --verbose-build --standalone

       

      In both casesRuntimeError:
      setup.py invocation failed with exit code: 1., the process fails with exit message 

       

      Attached are error log for build and install process. 

       

      -----------------------------------------------------------------------------------

      Edit 1: 

      I went back to the official web for building pyside2 pyside2 , to try their CLANG repo which i ignored initially as its built for linux readhat and not for raspbian however I decided to give it a try. Although the pyside built failed when using this CLANG files, I then went back to using arm7l CLANG that i installed initially and for reason unknown, the build process did manage to move forward.  After 4-5 hours of build process however I am getting some error right at the end of the process.  I've attached three new files capturing the error I am currently getting

      1. newerror.txt - error message copied from terminal

      2. CMakeOutput.log

      3. CMakeError.log

      Hope this will help narrow down the issue. 

       

       

       

       

      Attachments

        1. build_error.log
          62 kB
        2. CMakeError.log
          3 kB
        3. CMakeOutput.log
          40 kB
        4. install_error.log
          73 kB
        5. newerror.txt
          2 kB

        Issue Links

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

          Activity

            People

              crmaurei Cristian Maureira-Fredes
              prashkd Prashant Karade
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes