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

Build of pyside-setup for 6.8.2 fails on MacOS Intel only

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Not Evaluated
    • None
    • 6.8.2
    • Shiboken
    • None
    • macOS

    Description

      Have two systems indentically set up, one arm64 and one x86_64 with indetical MacOS versions and identical tool chains.

      Was able to successfully build pyside for 6.8.2 on Mac arm64 directly from source.
      Unfortunately the exact same sequence fails on Mac x86_64 during the configure for shiboken:

      Here is the exact output of the build on the failing platform:

      -- Found WrapAtomic: TRUE
      CMake Warning at cmake/ShibokenHelpers.cmake:211 (_message):
      Call Stack (most recent call first):
        cmake/ShibokenHelpers.cmake:182 (message)
        cmake/ShibokenSetup.cmake:37 (setup_clang)
        CMakeLists.txt:13 (include)
      
      
      CMake Error at cmake/ShibokenHelpers.cmake:211 (_message):
      Call Stack (most recent call first):
        cmake/ShibokenHelpers.cmake:188 (message)
        cmake/ShibokenSetup.cmake:37 (setup_clang)
        CMakeLists.txt:13 (include)
      
      
      -- Configuring incomplete, errors occurred!
      error: Error configuring shiboken6
      Traceback (most recent call last):
        File "/Volumes/ExtSSD/repo/devqt6/pyside-setup-everywhere-src-6.8.2/setup.py", line 43, in <module>
          setup_runner.run_setup()
          ~~~~~~~~~~~~~~~~~~~~~~^^
        File "/Volumes/ExtSSD/repo/devqt6/pyside-setup-everywhere-src-6.8.2/build_scripts/setup_runner.py", line 264, in run_setup
          raise RuntimeError(msg)
      RuntimeError: 
      setup.py invocation failed with exit code: 1.
      
      
      setup.py invocation was: /Users/kbhend/ndevpython/libraries/Frameworks/Python.framework/Versions/3.13/bin/python3 setup.py install --parallel=6 --internal-build-type=shiboken6
      
      

      Update:

      False alarm, I tracked the difference down to libclang from Qt's archive was the old LLVM "13.0" on the intel Machine but LLVM "14.0" on the arm64 machine.

      Once I upgraded that to "LLVM 14.0" all was okay.

      I just wish the warning message or the fatal error message would have actually appeared in the build as it took me a long time to track down exactly what was happening.

      Please close this issue. Sorry for the noise.

      Attachments

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

        Activity

          People

            kleint Friedemann Kleint
            kevinhendricks Kevin B. Hendricks
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes