[MacPorts] #71096: Error installing py312-pyqt6 on MacOS Sequoia

MacPorts noreply at macports.org
Sun Oct 13 17:31:27 UTC 2024


#71096: Error installing py312-pyqt6 on MacOS Sequoia
-------------------------+-------------------------
 Reporter:  RivetBenoit  |      Owner:  (none)
     Type:  defect       |     Status:  new
 Priority:  Normal       |  Milestone:
Component:  ports        |    Version:
 Keywords:               |       Port:  py312-pyqt6
-------------------------+-------------------------
 Now that qt6-webengine compiles on Mac OS Sequoia (thanks to all the
 people working hard on these issues), I have been finally able to attempt
 installing py312-pyqt6. However, installation fails, it's really sad.

 According to the log file, this is due to call to deleted constructor of
 '::QXmlStreamEntityResolver'

 See the log file, starting line 32374 :

 {{{
 :info:build
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_macports_release_tarballs_ports_python_py-
 pyqt6/py312-pyqt6/work/PyQt6-6.7.1/build/QtCore/sipQtCoreQXmlStreamEntityResolver.cpp:64:97:
 error: call to deleted constructor of '::QXmlStreamEntityResolver'
 :info:build    64 |
 sipQXmlStreamEntityResolver::sipQXmlStreamEntityResolver(const
 ::QXmlStreamEntityResolver& a0): ::QXmlStreamEntityResolver(a0),
 sipPySelf(SIP_NULLPTR)
 :info:build       |
 ^                          ~~
 :info:build
 /opt/local/libexec/qt6/lib/QtCore.framework/Headers/qxmlstream.h:220:25:
 note: 'QXmlStreamEntityResolver' has been explicitly marked deleted here
 :info:build   220 |     Q_DISABLE_COPY_MOVE(QXmlStreamEntityResolver)
 :info:build       |                         ^
 :info:build
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_macports_release_tarballs_ports_python_py-
 pyqt6/py312-pyqt6/work/PyQt6-6.7.1/build/QtCore/sipQtCoreQXmlStreamEntityResolver.cpp:148:71:
 error: overload resolution selected deleted operator '='
 :info:build   148 |     reinterpret_cast<::QXmlStreamEntityResolver
 *>(sipDst)[sipDstIdx] = *reinterpret_cast<::QXmlStreamEntityResolver
 *>(sipSrc);
 :info:build       |
 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^
 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 :info:build
 /opt/local/libexec/qt6/lib/QtCore.framework/Headers/qxmlstream.h:220:5:
 note: candidate function has been explicitly deleted
 :info:build   220 |     Q_DISABLE_COPY_MOVE(QXmlStreamEntityResolver)
 :info:build       |     ^
 :info:build
 /opt/local/libexec/qt6/lib/QtCore.framework/Headers/qtclasshelpermacros.h:28:5:
 note: expanded from macro 'Q_DISABLE_COPY_MOVE'
 :info:build    28 |     Q_DISABLE_COPY(Class) \
 :info:build       |     ^
 :info:build
 /opt/local/libexec/qt6/lib/QtCore.framework/Headers/qtclasshelpermacros.h:25:12:
 note: expanded from macro 'Q_DISABLE_COPY'
 :info:build    25 |     Class &operator=(const Class &) = delete;
 :info:build       |            ^
 :info:build
 /opt/local/libexec/qt6/lib/QtCore.framework/Headers/qxmlstream.h:220:5:
 note: candidate function not viable: expects an rvalue for 1st argument
 :info:build   220 |     Q_DISABLE_COPY_MOVE(QXmlStreamEntityResolver)
 :info:build       |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 :info:build
 /opt/local/libexec/qt6/lib/QtCore.framework/Headers/qtclasshelpermacros.h:30:12:
 note: expanded from macro 'Q_DISABLE_COPY_MOVE'
 :info:build    30 |     Class &operator=(Class &&) = delete;
 :info:build       |            ^         ~~~~~~~~
 :info:build
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_macports_release_tarballs_ports_python_py-
 pyqt6/py312-pyqt6/work/PyQt6-6.7.1/build/QtCore/sipQtCoreQXmlStreamEntityResolver.cpp:155:16:
 error: call to deleted constructor of '::QXmlStreamEntityResolver'
 :info:build   155 |     return new
 ::QXmlStreamEntityResolver(reinterpret_cast<const
 ::QXmlStreamEntityResolver *>(sipSrc)[sipSrcIdx]);
 :info:build       |                ^
 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 :info:build
 /opt/local/libexec/qt6/lib/QtCore.framework/Headers/qxmlstream.h:220:25:
 note: 'QXmlStreamEntityResolver' has been explicitly marked deleted here
 :info:build   220 |     Q_DISABLE_COPY_MOVE(QXmlStreamEntityResolver)
 :info:build       |                         ^
 :info:build 3 errors generated.
 :info:build make[1]: *** [sipQtCoreQXmlStreamEntityResolver.o] Error 1
 :info:build make: *** [sub-QtCore-make_first-ordered] Error 2
 :info:build Command failed:  cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_macports_release_tarballs_ports_python_py-
 pyqt6/py312-pyqt6/work/PyQt6-6.7.1" && sip-build-3.12 --qmake
 /opt/local/libexec/qt6/bin/qmake --verbose --confirm-license
 --dbus=/opt/local/Library/Frameworks/Python.framework/Versions/3.12/include/python3.12/dbus-1.0
 :info:build Exit code: 1
 }}}

 There is also an error line 32042 :

 {{{
 :info:build Project ERROR: Unknown module(s) in QT: axcontainer
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/71096>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list