py39-pyqt5 build fails on macOS 11.6 on Intel

Kevin Horton kevin01 at kilohotel.com
Mon Oct 18 01:36:09 UTC 2021


An attempt to build py39-pyqt5 on macOS 11.6 on Intel, using XCode 13.0, fails with:

:debug:build system:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_python_py-pyqt5/py39-pyqt5/work/PyQt5-5.15.4" && sip-build-3.9 --qmake /opt/local/libexec/qt5/bin/qmake --verbose --confirm-license --dbus=/opt/local/Library/Frameworks/Python.framework/Versions/3.9/include/python3.9/dbus-1.0 --disable QtWebKit --disable QtWebKitWidgets 
:info:build Traceback (most recent call last):
:info:build   File "/opt/local/bin/sip-build-3.9", line 33, in <module>
:info:build     sys.exit(load_entry_point('sip==6.3.1', 'console_scripts', 'sip-build')())
:info:build   File "/opt/local/bin/sip-build-3.9", line 25, in importlib_load_entry_point
:info:build     return next(matches).load()
:info:build StopIteration
:info:build Command failed:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_python_py-pyqt5/py39-pyqt5/work/PyQt5-5.15.4" && sip-build-3.9 --qmake /opt/local/libexec/qt5/bin/qmake --verbose --confirm-license --dbus=/opt/local/Library/Frameworks/Python.framework/Versions/3.9/include/python3.9/dbus-1.0 --disable QtWebKit --disable QtWebKitWidgets 
:info:build Exit code: 1
:error:build Failed to build py39-pyqt5: command execution failed
:debug:build Error code: CHILDSTATUS 65183 1
:debug:build Backtrace: command execution failed
:debug:build     while executing
:debug:build "system {*}$notty {*}$callback {*}$nice $fullcmdstring"
:debug:build     invoked from within
:debug:build "command_exec -callback portprogress::target_progress_callback build"
:debug:build     (procedure "portbuild::build_main" line 8)
:debug:build     invoked from within
:debug:build "$procedure $targetname"
:error:build See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_python_py-pyqt5/py39-pyqt5/main.log for details.

=====================================

I checked the CLI tools version:

pkgutil --pkg-info=com.apple.pkg.CLTools_Executables --pkg-info=com.apple.pkg.CLTools_Base --pkg-info=com.apple.pkg.DeveloperToolsCLI --pkg-info=com.apple.pkg.DeveloperToolsCLILeo 2>/dev/null | sed -n 's/^version: //p'

13.0.0.0.1.1630607135

=====================
I've accepted the XCode license with 'sudo xcodebuild -license'

Is there anything else I should try to get py39-pyqt5 to build, or should I file a ticket now?

Thanks,

Kevin Horton


More information about the macports-users mailing list