[MacPorts] #62135: py-pyside2: Could not resolve SDK --show-sdk-path for 'macosx'

MacPorts noreply at macports.org
Sun Jan 31 18:46:14 UTC 2021


#62135: py-pyside2: Could not resolve SDK --show-sdk-path for 'macosx'
---------------------------+---------------------------------
  Reporter:  chrstphrchvz  |      Owner:  MarcusCalhoun-Lopez
      Type:  defect        |     Status:  assigned
  Priority:  Normal        |  Milestone:
 Component:  ports         |    Version:  2.6.4
Resolution:                |   Keywords:
      Port:  py-pyside2    |
---------------------------+---------------------------------

Comment (by jasonliu--):

 > (I do not use py-pyside2 on the affected macOS versions.)

 However, I do (my Portfile development machine runs 10.11). PySide2
 support was recently added for the GUI viewer in the USD port, and I am
 currently in the process of updating its Portfile to this new version.

 Looking on the builders, it looks like the cause of the `pyside2` failures
 are different depending on the version of macOS. For example, the
 [https://build.macports.org/builders/ports-10.11_x86_64-builder/builds/131833/steps
 /install-port/logs/stdio build for macOS 10.11] is failing due to CMake
 errors:

 {{{
 CMake Error at CMakeLists.txt:23 (find_package):
   Could not find a configuration file for package "Qt5" that is compatible
   with requested version "5.12".

   The following configuration files were considered but not accepted:

     /opt/local/libexec/qt5/lib/cmake/Qt5/Qt5Config.cmake, version: 5.11.3
     /opt/local/lib/cmake/Qt5/Qt5Config.cmake, version: 5.11.3



 -- Configuring incomplete, errors occurred!
 See also "/opt/local/var/macports/build
 /_opt_bblocal_var_buildworker_ports_build_ports_python_py-
 pyside2/py38-pyside2/work/pyside-setup-opensource-
 src-5.15.2/pyside3_build/py3.8-qt5.11.3-64bit-
 release/shiboken2/CMakeFiles/CMakeOutput.log".
 error: Error configuring shiboken2
 Traceback (most recent call last):
   File "setup.py", line 296, in <module>
     setup_runner.run_setup()
   File "/opt/local/var/macports/build
 /_opt_bblocal_var_buildworker_ports_build_ports_python_py-
 pyside2/py38-pyside2/work/pyside-setup-opensource-
 src-5.15.2/build_scripts/setup_runner.py", line 163, in run_setup
     raise RuntimeError(msg)
 RuntimeError:
 setup.py invocation failed with exit code: 1.
 }}}

 which seems to imply that there's an error determining which version of
 Qt5 should be used (possibly related to, or could be the same error as
 Chris pointed to above), or it could also imply that there's an error
 trying to build the `shiboken2` dependency? On the other hand, the
 [https://build.macports.org/builders/ports-10.12_x86_64-builder/builds/136861/steps
 /install-dependencies/logs/stdio build for macOS 10.12] is apparently
 failing because the dependency `qt511-qtwebengine` is failing to install.

 Also, one more thing: Is there some way for `pyside2` to be used with
 `pyside-tools`? Looking at its Portfile, it looks like `pyside-tools` only
 depends on `pyside`. Perhaps there needs to be a new `pyside2-tools`
 package? If that's the case, then I can file a new, separate Trac ticket.

-- 
Ticket URL: <https://trac.macports.org/ticket/62135#comment:2>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list